]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
fix for memory leak in paste
[wxWidgets.git] / wxPython / src / msw / _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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1794 #define SWIG_From_long PyInt_FromLong
1795 /*@@*/
1796
1797
1798 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1799 {
1800 PyObject* o2;
1801 PyObject* o3;
1802 if (!result) {
1803 result = obj;
1804 } else if (result == Py_None) {
1805 Py_DECREF(result);
1806 result = obj;
1807 } else {
1808 if (!PyTuple_Check(result)) {
1809 o2 = result;
1810 result = PyTuple_New(1);
1811 PyTuple_SET_ITEM(result, 0, o2);
1812 }
1813 o3 = PyTuple_New(1);
1814 PyTuple_SetItem(o3, 0, obj);
1815 o2 = result;
1816 result = PySequence_Concat(o2, o3);
1817 Py_DECREF(o2);
1818 Py_DECREF(o3);
1819 }
1820 return result;
1821 }
1822
1823
1824 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1825 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1826 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1827 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1828
1829 #include <wx/checklst.h>
1830
1831
1832 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1833 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1834 if (clientData) {
1835 wxPyClientData* data = new wxPyClientData(clientData);
1836 self->Insert(item, pos, data);
1837 } else
1838 self->Insert(item, pos);
1839 }
1840 static PyObject *wxListBox_GetSelections(wxListBox *self){
1841 wxArrayInt lst;
1842 self->GetSelections(lst);
1843 PyObject *tup = PyTuple_New(lst.GetCount());
1844 for(size_t i=0; i<lst.GetCount(); i++) {
1845 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1846 }
1847 return tup;
1848 }
1849 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1850 #ifdef __WXMSW__
1851 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1852 self->GetItem(item)->SetTextColour(c);
1853 #endif
1854 }
1855 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1856 #ifdef __WXMSW__
1857 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1858 self->GetItem(item)->SetBackgroundColour(c);
1859 #endif
1860 }
1861 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1862 #ifdef __WXMSW__
1863 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1864 self->GetItem(item)->SetFont(f);
1865 #endif
1866 }
1867 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
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 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1951 #define SWIG_From_unsigned_SS_int SWIG_From_long
1952 /*@@*/
1953 #else
1954 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 return self;
2171
2172
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_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj = NULL;
4979 wxComboBox *arg1 = (wxComboBox *) 0 ;
4980 long *arg2 = (long *) 0 ;
4981 long *arg3 = (long *) 0 ;
4982 long temp2 ;
4983 int res2 = 0 ;
4984 long temp3 ;
4985 int res3 = 0 ;
4986 PyObject * obj0 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self", NULL
4989 };
4990
4991 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4992 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail;
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->GetSelection(arg2,arg3);
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 Py_INCREF(Py_None); resultobj = Py_None;
5004 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5005 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
5006 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5007 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
5008 return resultobj;
5009 fail:
5010 return NULL;
5011 }
5012
5013
5014 static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj = NULL;
5016 wxComboBox *arg1 = (wxComboBox *) 0 ;
5017 int result;
5018 PyObject * obj0 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5025 if (SWIG_arg_fail(1)) SWIG_fail;
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 {
5034 resultobj = SWIG_From_int(static_cast<int >(result));
5035 }
5036 return resultobj;
5037 fail:
5038 return NULL;
5039 }
5040
5041
5042 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj = NULL;
5044 wxComboBox *arg1 = (wxComboBox *) 0 ;
5045 wxString *arg2 = 0 ;
5046 bool result;
5047 bool temp2 = false ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "string", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
5055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail;
5057 {
5058 arg2 = wxString_in_helper(obj1);
5059 if (arg2 == NULL) SWIG_fail;
5060 temp2 = true;
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 {
5070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5071 }
5072 {
5073 if (temp2)
5074 delete arg2;
5075 }
5076 return resultobj;
5077 fail:
5078 {
5079 if (temp2)
5080 delete arg2;
5081 }
5082 return NULL;
5083 }
5084
5085
5086 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj = NULL;
5088 wxComboBox *arg1 = (wxComboBox *) 0 ;
5089 int arg2 ;
5090 wxString *arg3 = 0 ;
5091 bool temp3 = false ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 PyObject * obj2 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "n",(char *) "string", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
5103 arg2 = static_cast<int >(SWIG_As_int(obj1));
5104 if (SWIG_arg_fail(2)) SWIG_fail;
5105 }
5106 {
5107 arg3 = wxString_in_helper(obj2);
5108 if (arg3 == NULL) SWIG_fail;
5109 temp3 = true;
5110 }
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 (arg1)->SetString(arg2,(wxString const &)*arg3);
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 Py_INCREF(Py_None); resultobj = Py_None;
5119 {
5120 if (temp3)
5121 delete arg3;
5122 }
5123 return resultobj;
5124 fail:
5125 {
5126 if (temp3)
5127 delete arg3;
5128 }
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj = NULL;
5135 wxComboBox *arg1 = (wxComboBox *) 0 ;
5136 bool arg2 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "editable", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
5144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5145 if (SWIG_arg_fail(1)) SWIG_fail;
5146 {
5147 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5148 if (SWIG_arg_fail(2)) SWIG_fail;
5149 }
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 (arg1)->SetEditable(arg2);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 Py_INCREF(Py_None); resultobj = Py_None;
5158 return resultobj;
5159 fail:
5160 return NULL;
5161 }
5162
5163
5164 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj = NULL;
5166 wxComboBox *arg1 = (wxComboBox *) 0 ;
5167 PyObject * obj0 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->SetInsertionPointEnd();
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_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj = NULL;
5191 wxComboBox *arg1 = (wxComboBox *) 0 ;
5192 long arg2 ;
5193 long arg3 ;
5194 PyObject * obj0 = 0 ;
5195 PyObject * obj1 = 0 ;
5196 PyObject * obj2 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "from",(char *) "to", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail;
5204 {
5205 arg2 = static_cast<long >(SWIG_As_long(obj1));
5206 if (SWIG_arg_fail(2)) SWIG_fail;
5207 }
5208 {
5209 arg3 = static_cast<long >(SWIG_As_long(obj2));
5210 if (SWIG_arg_fail(3)) SWIG_fail;
5211 }
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 (arg1)->Remove(arg2,arg3);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 Py_INCREF(Py_None); resultobj = Py_None;
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj = NULL;
5228 wxComboBox *arg1 = (wxComboBox *) 0 ;
5229 bool result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail;
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj = NULL;
5256 wxComboBox *arg1 = (wxComboBox *) 0 ;
5257 PyObject * obj0 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "self", NULL
5260 };
5261
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail;
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 (arg1)->Undo();
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 Py_INCREF(Py_None); resultobj = Py_None;
5273 return resultobj;
5274 fail:
5275 return NULL;
5276 }
5277
5278
5279 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj = NULL;
5281 wxComboBox *arg1 = (wxComboBox *) 0 ;
5282 PyObject * obj0 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5289 if (SWIG_arg_fail(1)) SWIG_fail;
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 (arg1)->Redo();
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 Py_INCREF(Py_None); resultobj = Py_None;
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj = NULL;
5306 wxComboBox *arg1 = (wxComboBox *) 0 ;
5307 PyObject * obj0 = 0 ;
5308 char *kwnames[] = {
5309 (char *) "self", NULL
5310 };
5311
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5314 if (SWIG_arg_fail(1)) SWIG_fail;
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->SelectAll();
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326 }
5327
5328
5329 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj = NULL;
5331 wxComboBox *arg1 = (wxComboBox *) 0 ;
5332 bool result;
5333 PyObject * obj0 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail;
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
5349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5350 }
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj = NULL;
5359 wxComboBox *arg1 = (wxComboBox *) 0 ;
5360 bool result;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail;
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (bool)((wxComboBox const *)arg1)->CanCut();
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 {
5377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5378 }
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj = NULL;
5387 wxComboBox *arg1 = (wxComboBox *) 0 ;
5388 bool result;
5389 PyObject * obj0 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5396 if (SWIG_arg_fail(1)) SWIG_fail;
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 {
5405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5406 }
5407 return resultobj;
5408 fail:
5409 return NULL;
5410 }
5411
5412
5413 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5414 PyObject *resultobj = NULL;
5415 wxComboBox *arg1 = (wxComboBox *) 0 ;
5416 bool result;
5417 PyObject * obj0 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail;
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 {
5433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5434 }
5435 return resultobj;
5436 fail:
5437 return NULL;
5438 }
5439
5440
5441 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj = NULL;
5443 wxComboBox *arg1 = (wxComboBox *) 0 ;
5444 bool result;
5445 PyObject * obj0 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5452 if (SWIG_arg_fail(1)) SWIG_fail;
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 {
5461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5462 }
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj = NULL;
5471 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5472 wxVisualAttributes result;
5473 PyObject * obj0 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "variant", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5479 if (obj0) {
5480 {
5481 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5482 if (SWIG_arg_fail(1)) SWIG_fail;
5483 }
5484 }
5485 {
5486 if (!wxPyCheckForApp()) SWIG_fail;
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = wxComboBox::GetClassDefaultAttributes(arg1);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 {
5494 wxVisualAttributes * resultptr;
5495 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5497 }
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5505 PyObject *obj;
5506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5507 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5508 Py_INCREF(obj);
5509 return Py_BuildValue((char *)"");
5510 }
5511 static int _wrap_GaugeNameStr_set(PyObject *) {
5512 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5513 return 1;
5514 }
5515
5516
5517 static PyObject *_wrap_GaugeNameStr_get(void) {
5518 PyObject *pyobj = NULL;
5519
5520 {
5521 #if wxUSE_UNICODE
5522 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5523 #else
5524 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5525 #endif
5526 }
5527 return pyobj;
5528 }
5529
5530
5531 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj = NULL;
5533 wxWindow *arg1 = (wxWindow *) 0 ;
5534 int arg2 = (int) -1 ;
5535 int arg3 = (int) 100 ;
5536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5538 wxSize const &arg5_defvalue = wxDefaultSize ;
5539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5540 long arg6 = (long) wxGA_HORIZONTAL ;
5541 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5542 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5543 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5544 wxString *arg8 = (wxString *) &arg8_defvalue ;
5545 wxGauge *result;
5546 wxPoint temp4 ;
5547 wxSize temp5 ;
5548 bool temp8 = false ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 PyObject * obj2 = 0 ;
5552 PyObject * obj3 = 0 ;
5553 PyObject * obj4 = 0 ;
5554 PyObject * obj5 = 0 ;
5555 PyObject * obj6 = 0 ;
5556 PyObject * obj7 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5559 };
5560
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail;
5564 if (obj1) {
5565 {
5566 arg2 = static_cast<int >(SWIG_As_int(obj1));
5567 if (SWIG_arg_fail(2)) SWIG_fail;
5568 }
5569 }
5570 if (obj2) {
5571 {
5572 arg3 = static_cast<int >(SWIG_As_int(obj2));
5573 if (SWIG_arg_fail(3)) SWIG_fail;
5574 }
5575 }
5576 if (obj3) {
5577 {
5578 arg4 = &temp4;
5579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5580 }
5581 }
5582 if (obj4) {
5583 {
5584 arg5 = &temp5;
5585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5586 }
5587 }
5588 if (obj5) {
5589 {
5590 arg6 = static_cast<long >(SWIG_As_long(obj5));
5591 if (SWIG_arg_fail(6)) SWIG_fail;
5592 }
5593 }
5594 if (obj6) {
5595 {
5596 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5597 if (SWIG_arg_fail(7)) SWIG_fail;
5598 if (arg7 == NULL) {
5599 SWIG_null_ref("wxValidator");
5600 }
5601 if (SWIG_arg_fail(7)) SWIG_fail;
5602 }
5603 }
5604 if (obj7) {
5605 {
5606 arg8 = wxString_in_helper(obj7);
5607 if (arg8 == NULL) SWIG_fail;
5608 temp8 = true;
5609 }
5610 }
5611 {
5612 if (!wxPyCheckForApp()) SWIG_fail;
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5620 {
5621 if (temp8)
5622 delete arg8;
5623 }
5624 return resultobj;
5625 fail:
5626 {
5627 if (temp8)
5628 delete arg8;
5629 }
5630 return NULL;
5631 }
5632
5633
5634 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj = NULL;
5636 wxGauge *result;
5637 char *kwnames[] = {
5638 NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5642 {
5643 if (!wxPyCheckForApp()) SWIG_fail;
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxGauge *)new wxGauge();
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj = NULL;
5659 wxGauge *arg1 = (wxGauge *) 0 ;
5660 wxWindow *arg2 = (wxWindow *) 0 ;
5661 int arg3 = (int) -1 ;
5662 int arg4 = (int) 100 ;
5663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5665 wxSize const &arg6_defvalue = wxDefaultSize ;
5666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5667 long arg7 = (long) wxGA_HORIZONTAL ;
5668 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5669 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5670 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5671 wxString *arg9 = (wxString *) &arg9_defvalue ;
5672 bool result;
5673 wxPoint temp5 ;
5674 wxSize temp6 ;
5675 bool temp9 = false ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 PyObject * obj3 = 0 ;
5680 PyObject * obj4 = 0 ;
5681 PyObject * obj5 = 0 ;
5682 PyObject * obj6 = 0 ;
5683 PyObject * obj7 = 0 ;
5684 PyObject * obj8 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5691 if (SWIG_arg_fail(1)) SWIG_fail;
5692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5693 if (SWIG_arg_fail(2)) SWIG_fail;
5694 if (obj2) {
5695 {
5696 arg3 = static_cast<int >(SWIG_As_int(obj2));
5697 if (SWIG_arg_fail(3)) SWIG_fail;
5698 }
5699 }
5700 if (obj3) {
5701 {
5702 arg4 = static_cast<int >(SWIG_As_int(obj3));
5703 if (SWIG_arg_fail(4)) SWIG_fail;
5704 }
5705 }
5706 if (obj4) {
5707 {
5708 arg5 = &temp5;
5709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5710 }
5711 }
5712 if (obj5) {
5713 {
5714 arg6 = &temp6;
5715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5716 }
5717 }
5718 if (obj6) {
5719 {
5720 arg7 = static_cast<long >(SWIG_As_long(obj6));
5721 if (SWIG_arg_fail(7)) SWIG_fail;
5722 }
5723 }
5724 if (obj7) {
5725 {
5726 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5727 if (SWIG_arg_fail(8)) SWIG_fail;
5728 if (arg8 == NULL) {
5729 SWIG_null_ref("wxValidator");
5730 }
5731 if (SWIG_arg_fail(8)) SWIG_fail;
5732 }
5733 }
5734 if (obj8) {
5735 {
5736 arg9 = wxString_in_helper(obj8);
5737 if (arg9 == NULL) SWIG_fail;
5738 temp9 = true;
5739 }
5740 }
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5744
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5750 }
5751 {
5752 if (temp9)
5753 delete arg9;
5754 }
5755 return resultobj;
5756 fail:
5757 {
5758 if (temp9)
5759 delete arg9;
5760 }
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj = NULL;
5767 wxGauge *arg1 = (wxGauge *) 0 ;
5768 int arg2 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "range", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
5779 arg2 = static_cast<int >(SWIG_As_int(obj1));
5780 if (SWIG_arg_fail(2)) SWIG_fail;
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetRange(arg2);
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 Py_INCREF(Py_None); resultobj = Py_None;
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj = NULL;
5798 wxGauge *arg1 = (wxGauge *) 0 ;
5799 int result;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (int)((wxGauge const *)arg1)->GetRange();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816 resultobj = SWIG_From_int(static_cast<int >(result));
5817 }
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj = NULL;
5826 wxGauge *arg1 = (wxGauge *) 0 ;
5827 int arg2 ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "pos", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
5837 {
5838 arg2 = static_cast<int >(SWIG_As_int(obj1));
5839 if (SWIG_arg_fail(2)) SWIG_fail;
5840 }
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 (arg1)->SetValue(arg2);
5844
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 Py_INCREF(Py_None); resultobj = Py_None;
5849 return resultobj;
5850 fail:
5851 return NULL;
5852 }
5853
5854
5855 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj = NULL;
5857 wxGauge *arg1 = (wxGauge *) 0 ;
5858 int result;
5859 PyObject * obj0 = 0 ;
5860 char *kwnames[] = {
5861 (char *) "self", NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail;
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (int)((wxGauge const *)arg1)->GetValue();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 {
5875 resultobj = SWIG_From_int(static_cast<int >(result));
5876 }
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj = NULL;
5885 wxGauge *arg1 = (wxGauge *) 0 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (bool)((wxGauge const *)arg1)->IsVertical();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 {
5903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5904 }
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj = NULL;
5913 wxGauge *arg1 = (wxGauge *) 0 ;
5914 int arg2 ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self",(char *) "w", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5923 if (SWIG_arg_fail(1)) SWIG_fail;
5924 {
5925 arg2 = static_cast<int >(SWIG_As_int(obj1));
5926 if (SWIG_arg_fail(2)) SWIG_fail;
5927 }
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 (arg1)->SetShadowWidth(arg2);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 Py_INCREF(Py_None); resultobj = Py_None;
5936 return resultobj;
5937 fail:
5938 return NULL;
5939 }
5940
5941
5942 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj = NULL;
5944 wxGauge *arg1 = (wxGauge *) 0 ;
5945 int result;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 {
5962 resultobj = SWIG_From_int(static_cast<int >(result));
5963 }
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5971 PyObject *resultobj = NULL;
5972 wxGauge *arg1 = (wxGauge *) 0 ;
5973 int arg2 ;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj1 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self",(char *) "w", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5982 if (SWIG_arg_fail(1)) SWIG_fail;
5983 {
5984 arg2 = static_cast<int >(SWIG_As_int(obj1));
5985 if (SWIG_arg_fail(2)) SWIG_fail;
5986 }
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->SetBezelFace(arg2);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj = NULL;
6003 wxGauge *arg1 = (wxGauge *) 0 ;
6004 int result;
6005 PyObject * obj0 = 0 ;
6006 char *kwnames[] = {
6007 (char *) "self", NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
6011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6012 if (SWIG_arg_fail(1)) SWIG_fail;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 {
6021 resultobj = SWIG_From_int(static_cast<int >(result));
6022 }
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6030 PyObject *resultobj = NULL;
6031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6032 wxVisualAttributes result;
6033 PyObject * obj0 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "variant", NULL
6036 };
6037
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6039 if (obj0) {
6040 {
6041 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6042 if (SWIG_arg_fail(1)) SWIG_fail;
6043 }
6044 }
6045 {
6046 if (!wxPyCheckForApp()) SWIG_fail;
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = wxGauge::GetClassDefaultAttributes(arg1);
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 {
6054 wxVisualAttributes * resultptr;
6055 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6057 }
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
6065 PyObject *obj;
6066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6067 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6068 Py_INCREF(obj);
6069 return Py_BuildValue((char *)"");
6070 }
6071 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
6072 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6073 return 1;
6074 }
6075
6076
6077 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
6078 PyObject *pyobj = NULL;
6079
6080 {
6081 #if wxUSE_UNICODE
6082 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6083 #else
6084 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6085 #endif
6086 }
6087 return pyobj;
6088 }
6089
6090
6091 static int _wrap_StaticBoxNameStr_set(PyObject *) {
6092 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6093 return 1;
6094 }
6095
6096
6097 static PyObject *_wrap_StaticBoxNameStr_get(void) {
6098 PyObject *pyobj = NULL;
6099
6100 {
6101 #if wxUSE_UNICODE
6102 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6103 #else
6104 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6105 #endif
6106 }
6107 return pyobj;
6108 }
6109
6110
6111 static int _wrap_StaticTextNameStr_set(PyObject *) {
6112 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6113 return 1;
6114 }
6115
6116
6117 static PyObject *_wrap_StaticTextNameStr_get(void) {
6118 PyObject *pyobj = NULL;
6119
6120 {
6121 #if wxUSE_UNICODE
6122 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6123 #else
6124 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6125 #endif
6126 }
6127 return pyobj;
6128 }
6129
6130
6131 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj = NULL;
6133 wxWindow *arg1 = (wxWindow *) 0 ;
6134 int arg2 = (int) -1 ;
6135 wxString const &arg3_defvalue = wxPyEmptyString ;
6136 wxString *arg3 = (wxString *) &arg3_defvalue ;
6137 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6138 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6139 wxSize const &arg5_defvalue = wxDefaultSize ;
6140 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6141 long arg6 = (long) 0 ;
6142 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6143 wxString *arg7 = (wxString *) &arg7_defvalue ;
6144 wxStaticBox *result;
6145 bool temp3 = false ;
6146 wxPoint temp4 ;
6147 wxSize temp5 ;
6148 bool temp7 = false ;
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 PyObject * obj3 = 0 ;
6153 PyObject * obj4 = 0 ;
6154 PyObject * obj5 = 0 ;
6155 PyObject * obj6 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 if (obj1) {
6164 {
6165 arg2 = static_cast<int >(SWIG_As_int(obj1));
6166 if (SWIG_arg_fail(2)) SWIG_fail;
6167 }
6168 }
6169 if (obj2) {
6170 {
6171 arg3 = wxString_in_helper(obj2);
6172 if (arg3 == NULL) SWIG_fail;
6173 temp3 = true;
6174 }
6175 }
6176 if (obj3) {
6177 {
6178 arg4 = &temp4;
6179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6180 }
6181 }
6182 if (obj4) {
6183 {
6184 arg5 = &temp5;
6185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6186 }
6187 }
6188 if (obj5) {
6189 {
6190 arg6 = static_cast<long >(SWIG_As_long(obj5));
6191 if (SWIG_arg_fail(6)) SWIG_fail;
6192 }
6193 }
6194 if (obj6) {
6195 {
6196 arg7 = wxString_in_helper(obj6);
6197 if (arg7 == NULL) SWIG_fail;
6198 temp7 = true;
6199 }
6200 }
6201 {
6202 if (!wxPyCheckForApp()) SWIG_fail;
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6210 {
6211 if (temp3)
6212 delete arg3;
6213 }
6214 {
6215 if (temp7)
6216 delete arg7;
6217 }
6218 return resultobj;
6219 fail:
6220 {
6221 if (temp3)
6222 delete arg3;
6223 }
6224 {
6225 if (temp7)
6226 delete arg7;
6227 }
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj = NULL;
6234 wxStaticBox *result;
6235 char *kwnames[] = {
6236 NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6240 {
6241 if (!wxPyCheckForApp()) SWIG_fail;
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxStaticBox *)new wxStaticBox();
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj = NULL;
6257 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6258 wxWindow *arg2 = (wxWindow *) 0 ;
6259 int arg3 = (int) -1 ;
6260 wxString const &arg4_defvalue = wxPyEmptyString ;
6261 wxString *arg4 = (wxString *) &arg4_defvalue ;
6262 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6263 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6264 wxSize const &arg6_defvalue = wxDefaultSize ;
6265 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6266 long arg7 = (long) 0 ;
6267 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6268 wxString *arg8 = (wxString *) &arg8_defvalue ;
6269 bool result;
6270 bool temp4 = false ;
6271 wxPoint temp5 ;
6272 wxSize temp6 ;
6273 bool temp8 = false ;
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 PyObject * obj2 = 0 ;
6277 PyObject * obj3 = 0 ;
6278 PyObject * obj4 = 0 ;
6279 PyObject * obj5 = 0 ;
6280 PyObject * obj6 = 0 ;
6281 PyObject * obj7 = 0 ;
6282 char *kwnames[] = {
6283 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6284 };
6285
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail;
6289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6290 if (SWIG_arg_fail(2)) SWIG_fail;
6291 if (obj2) {
6292 {
6293 arg3 = static_cast<int >(SWIG_As_int(obj2));
6294 if (SWIG_arg_fail(3)) SWIG_fail;
6295 }
6296 }
6297 if (obj3) {
6298 {
6299 arg4 = wxString_in_helper(obj3);
6300 if (arg4 == NULL) SWIG_fail;
6301 temp4 = true;
6302 }
6303 }
6304 if (obj4) {
6305 {
6306 arg5 = &temp5;
6307 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6308 }
6309 }
6310 if (obj5) {
6311 {
6312 arg6 = &temp6;
6313 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6314 }
6315 }
6316 if (obj6) {
6317 {
6318 arg7 = static_cast<long >(SWIG_As_long(obj6));
6319 if (SWIG_arg_fail(7)) SWIG_fail;
6320 }
6321 }
6322 if (obj7) {
6323 {
6324 arg8 = wxString_in_helper(obj7);
6325 if (arg8 == NULL) SWIG_fail;
6326 temp8 = true;
6327 }
6328 }
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 {
6337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6338 }
6339 {
6340 if (temp4)
6341 delete arg4;
6342 }
6343 {
6344 if (temp8)
6345 delete arg8;
6346 }
6347 return resultobj;
6348 fail:
6349 {
6350 if (temp4)
6351 delete arg4;
6352 }
6353 {
6354 if (temp8)
6355 delete arg8;
6356 }
6357 return NULL;
6358 }
6359
6360
6361 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj = NULL;
6363 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6364 wxVisualAttributes result;
6365 PyObject * obj0 = 0 ;
6366 char *kwnames[] = {
6367 (char *) "variant", NULL
6368 };
6369
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6371 if (obj0) {
6372 {
6373 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6374 if (SWIG_arg_fail(1)) SWIG_fail;
6375 }
6376 }
6377 {
6378 if (!wxPyCheckForApp()) SWIG_fail;
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = wxStaticBox::GetClassDefaultAttributes(arg1);
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 {
6386 wxVisualAttributes * resultptr;
6387 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6389 }
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6397 PyObject *obj;
6398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6400 Py_INCREF(obj);
6401 return Py_BuildValue((char *)"");
6402 }
6403 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj = NULL;
6405 wxWindow *arg1 = (wxWindow *) 0 ;
6406 int arg2 = (int) -1 ;
6407 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6408 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6409 wxSize const &arg4_defvalue = wxDefaultSize ;
6410 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6411 long arg5 = (long) wxLI_HORIZONTAL ;
6412 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6413 wxString *arg6 = (wxString *) &arg6_defvalue ;
6414 wxStaticLine *result;
6415 wxPoint temp3 ;
6416 wxSize temp4 ;
6417 bool temp6 = false ;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 PyObject * obj2 = 0 ;
6421 PyObject * obj3 = 0 ;
6422 PyObject * obj4 = 0 ;
6423 PyObject * obj5 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail;
6431 if (obj1) {
6432 {
6433 arg2 = static_cast<int >(SWIG_As_int(obj1));
6434 if (SWIG_arg_fail(2)) SWIG_fail;
6435 }
6436 }
6437 if (obj2) {
6438 {
6439 arg3 = &temp3;
6440 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6441 }
6442 }
6443 if (obj3) {
6444 {
6445 arg4 = &temp4;
6446 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6447 }
6448 }
6449 if (obj4) {
6450 {
6451 arg5 = static_cast<long >(SWIG_As_long(obj4));
6452 if (SWIG_arg_fail(5)) SWIG_fail;
6453 }
6454 }
6455 if (obj5) {
6456 {
6457 arg6 = wxString_in_helper(obj5);
6458 if (arg6 == NULL) SWIG_fail;
6459 temp6 = true;
6460 }
6461 }
6462 {
6463 if (!wxPyCheckForApp()) SWIG_fail;
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6466
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6471 {
6472 if (temp6)
6473 delete arg6;
6474 }
6475 return resultobj;
6476 fail:
6477 {
6478 if (temp6)
6479 delete arg6;
6480 }
6481 return NULL;
6482 }
6483
6484
6485 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj = NULL;
6487 wxStaticLine *result;
6488 char *kwnames[] = {
6489 NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6493 {
6494 if (!wxPyCheckForApp()) SWIG_fail;
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (wxStaticLine *)new wxStaticLine();
6497
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6502 return resultobj;
6503 fail:
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6509 PyObject *resultobj = NULL;
6510 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6511 wxWindow *arg2 = (wxWindow *) 0 ;
6512 int arg3 = (int) -1 ;
6513 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6514 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6515 wxSize const &arg5_defvalue = wxDefaultSize ;
6516 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6517 long arg6 = (long) wxLI_HORIZONTAL ;
6518 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6519 wxString *arg7 = (wxString *) &arg7_defvalue ;
6520 bool result;
6521 wxPoint temp4 ;
6522 wxSize temp5 ;
6523 bool temp7 = false ;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 PyObject * obj2 = 0 ;
6527 PyObject * obj3 = 0 ;
6528 PyObject * obj4 = 0 ;
6529 PyObject * obj5 = 0 ;
6530 PyObject * obj6 = 0 ;
6531 char *kwnames[] = {
6532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6533 };
6534
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail;
6538 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6539 if (SWIG_arg_fail(2)) SWIG_fail;
6540 if (obj2) {
6541 {
6542 arg3 = static_cast<int >(SWIG_As_int(obj2));
6543 if (SWIG_arg_fail(3)) SWIG_fail;
6544 }
6545 }
6546 if (obj3) {
6547 {
6548 arg4 = &temp4;
6549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6550 }
6551 }
6552 if (obj4) {
6553 {
6554 arg5 = &temp5;
6555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6556 }
6557 }
6558 if (obj5) {
6559 {
6560 arg6 = static_cast<long >(SWIG_As_long(obj5));
6561 if (SWIG_arg_fail(6)) SWIG_fail;
6562 }
6563 }
6564 if (obj6) {
6565 {
6566 arg7 = wxString_in_helper(obj6);
6567 if (arg7 == NULL) SWIG_fail;
6568 temp7 = true;
6569 }
6570 }
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 {
6579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6580 }
6581 {
6582 if (temp7)
6583 delete arg7;
6584 }
6585 return resultobj;
6586 fail:
6587 {
6588 if (temp7)
6589 delete arg7;
6590 }
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj = NULL;
6597 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6598 bool result;
6599 PyObject * obj0 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail;
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 {
6615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6616 }
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj = NULL;
6625 int result;
6626 char *kwnames[] = {
6627 NULL
6628 };
6629
6630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (int)wxStaticLine::GetDefaultSize();
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 {
6639 resultobj = SWIG_From_int(static_cast<int >(result));
6640 }
6641 return resultobj;
6642 fail:
6643 return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj = NULL;
6649 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6650 wxVisualAttributes result;
6651 PyObject * obj0 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "variant", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6657 if (obj0) {
6658 {
6659 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6660 if (SWIG_arg_fail(1)) SWIG_fail;
6661 }
6662 }
6663 {
6664 if (!wxPyCheckForApp()) SWIG_fail;
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = wxStaticLine::GetClassDefaultAttributes(arg1);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 {
6672 wxVisualAttributes * resultptr;
6673 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6675 }
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6683 PyObject *obj;
6684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6685 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6686 Py_INCREF(obj);
6687 return Py_BuildValue((char *)"");
6688 }
6689 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj = NULL;
6691 wxWindow *arg1 = (wxWindow *) 0 ;
6692 int arg2 = (int) -1 ;
6693 wxString const &arg3_defvalue = wxPyEmptyString ;
6694 wxString *arg3 = (wxString *) &arg3_defvalue ;
6695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6697 wxSize const &arg5_defvalue = wxDefaultSize ;
6698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6699 long arg6 = (long) 0 ;
6700 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6701 wxString *arg7 = (wxString *) &arg7_defvalue ;
6702 wxStaticText *result;
6703 bool temp3 = false ;
6704 wxPoint temp4 ;
6705 wxSize temp5 ;
6706 bool temp7 = false ;
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 PyObject * obj2 = 0 ;
6710 PyObject * obj3 = 0 ;
6711 PyObject * obj4 = 0 ;
6712 PyObject * obj5 = 0 ;
6713 PyObject * obj6 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail;
6721 if (obj1) {
6722 {
6723 arg2 = static_cast<int >(SWIG_As_int(obj1));
6724 if (SWIG_arg_fail(2)) SWIG_fail;
6725 }
6726 }
6727 if (obj2) {
6728 {
6729 arg3 = wxString_in_helper(obj2);
6730 if (arg3 == NULL) SWIG_fail;
6731 temp3 = true;
6732 }
6733 }
6734 if (obj3) {
6735 {
6736 arg4 = &temp4;
6737 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6738 }
6739 }
6740 if (obj4) {
6741 {
6742 arg5 = &temp5;
6743 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6744 }
6745 }
6746 if (obj5) {
6747 {
6748 arg6 = static_cast<long >(SWIG_As_long(obj5));
6749 if (SWIG_arg_fail(6)) SWIG_fail;
6750 }
6751 }
6752 if (obj6) {
6753 {
6754 arg7 = wxString_in_helper(obj6);
6755 if (arg7 == NULL) SWIG_fail;
6756 temp7 = true;
6757 }
6758 }
6759 {
6760 if (!wxPyCheckForApp()) SWIG_fail;
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6768 {
6769 if (temp3)
6770 delete arg3;
6771 }
6772 {
6773 if (temp7)
6774 delete arg7;
6775 }
6776 return resultobj;
6777 fail:
6778 {
6779 if (temp3)
6780 delete arg3;
6781 }
6782 {
6783 if (temp7)
6784 delete arg7;
6785 }
6786 return NULL;
6787 }
6788
6789
6790 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj = NULL;
6792 wxStaticText *result;
6793 char *kwnames[] = {
6794 NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6798 {
6799 if (!wxPyCheckForApp()) SWIG_fail;
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (wxStaticText *)new wxStaticText();
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6807 return resultobj;
6808 fail:
6809 return NULL;
6810 }
6811
6812
6813 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj = NULL;
6815 wxStaticText *arg1 = (wxStaticText *) 0 ;
6816 wxWindow *arg2 = (wxWindow *) 0 ;
6817 int arg3 = (int) -1 ;
6818 wxString const &arg4_defvalue = wxPyEmptyString ;
6819 wxString *arg4 = (wxString *) &arg4_defvalue ;
6820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6822 wxSize const &arg6_defvalue = wxDefaultSize ;
6823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6824 long arg7 = (long) 0 ;
6825 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6826 wxString *arg8 = (wxString *) &arg8_defvalue ;
6827 bool result;
6828 bool temp4 = false ;
6829 wxPoint temp5 ;
6830 wxSize temp6 ;
6831 bool temp8 = false ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 PyObject * obj2 = 0 ;
6835 PyObject * obj3 = 0 ;
6836 PyObject * obj4 = 0 ;
6837 PyObject * obj5 = 0 ;
6838 PyObject * obj6 = 0 ;
6839 PyObject * obj7 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail;
6847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6848 if (SWIG_arg_fail(2)) SWIG_fail;
6849 if (obj2) {
6850 {
6851 arg3 = static_cast<int >(SWIG_As_int(obj2));
6852 if (SWIG_arg_fail(3)) SWIG_fail;
6853 }
6854 }
6855 if (obj3) {
6856 {
6857 arg4 = wxString_in_helper(obj3);
6858 if (arg4 == NULL) SWIG_fail;
6859 temp4 = true;
6860 }
6861 }
6862 if (obj4) {
6863 {
6864 arg5 = &temp5;
6865 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6866 }
6867 }
6868 if (obj5) {
6869 {
6870 arg6 = &temp6;
6871 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6872 }
6873 }
6874 if (obj6) {
6875 {
6876 arg7 = static_cast<long >(SWIG_As_long(obj6));
6877 if (SWIG_arg_fail(7)) SWIG_fail;
6878 }
6879 }
6880 if (obj7) {
6881 {
6882 arg8 = wxString_in_helper(obj7);
6883 if (arg8 == NULL) SWIG_fail;
6884 temp8 = true;
6885 }
6886 }
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
6894 {
6895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6896 }
6897 {
6898 if (temp4)
6899 delete arg4;
6900 }
6901 {
6902 if (temp8)
6903 delete arg8;
6904 }
6905 return resultobj;
6906 fail:
6907 {
6908 if (temp4)
6909 delete arg4;
6910 }
6911 {
6912 if (temp8)
6913 delete arg8;
6914 }
6915 return NULL;
6916 }
6917
6918
6919 static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj = NULL;
6921 wxStaticText *arg1 = (wxStaticText *) 0 ;
6922 int arg2 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "width", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail;
6932 {
6933 arg2 = static_cast<int >(SWIG_As_int(obj1));
6934 if (SWIG_arg_fail(2)) SWIG_fail;
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 (arg1)->Wrap(arg2);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 Py_INCREF(Py_None); resultobj = Py_None;
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj = NULL;
6952 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6953 wxVisualAttributes result;
6954 PyObject * obj0 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "variant", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6960 if (obj0) {
6961 {
6962 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6963 if (SWIG_arg_fail(1)) SWIG_fail;
6964 }
6965 }
6966 {
6967 if (!wxPyCheckForApp()) SWIG_fail;
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 result = wxStaticText::GetClassDefaultAttributes(arg1);
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 {
6975 wxVisualAttributes * resultptr;
6976 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6978 }
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6986 PyObject *obj;
6987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6988 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6989 Py_INCREF(obj);
6990 return Py_BuildValue((char *)"");
6991 }
6992 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj = NULL;
6994 wxWindow *arg1 = (wxWindow *) 0 ;
6995 int arg2 = (int) -1 ;
6996 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6997 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7000 wxSize const &arg5_defvalue = wxDefaultSize ;
7001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7002 long arg6 = (long) 0 ;
7003 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
7004 wxString *arg7 = (wxString *) &arg7_defvalue ;
7005 wxStaticBitmap *result;
7006 wxPoint temp4 ;
7007 wxSize temp5 ;
7008 bool temp7 = false ;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 PyObject * obj2 = 0 ;
7012 PyObject * obj3 = 0 ;
7013 PyObject * obj4 = 0 ;
7014 PyObject * obj5 = 0 ;
7015 PyObject * obj6 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7022 if (SWIG_arg_fail(1)) SWIG_fail;
7023 if (obj1) {
7024 {
7025 arg2 = static_cast<int >(SWIG_As_int(obj1));
7026 if (SWIG_arg_fail(2)) SWIG_fail;
7027 }
7028 }
7029 if (obj2) {
7030 {
7031 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7032 if (SWIG_arg_fail(3)) SWIG_fail;
7033 if (arg3 == NULL) {
7034 SWIG_null_ref("wxBitmap");
7035 }
7036 if (SWIG_arg_fail(3)) SWIG_fail;
7037 }
7038 }
7039 if (obj3) {
7040 {
7041 arg4 = &temp4;
7042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7043 }
7044 }
7045 if (obj4) {
7046 {
7047 arg5 = &temp5;
7048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7049 }
7050 }
7051 if (obj5) {
7052 {
7053 arg6 = static_cast<long >(SWIG_As_long(obj5));
7054 if (SWIG_arg_fail(6)) SWIG_fail;
7055 }
7056 }
7057 if (obj6) {
7058 {
7059 arg7 = wxString_in_helper(obj6);
7060 if (arg7 == NULL) SWIG_fail;
7061 temp7 = true;
7062 }
7063 }
7064 {
7065 if (!wxPyCheckForApp()) SWIG_fail;
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7073 {
7074 if (temp7)
7075 delete arg7;
7076 }
7077 return resultobj;
7078 fail:
7079 {
7080 if (temp7)
7081 delete arg7;
7082 }
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj = NULL;
7089 wxStaticBitmap *result;
7090 char *kwnames[] = {
7091 NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7095 {
7096 if (!wxPyCheckForApp()) SWIG_fail;
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 result = (wxStaticBitmap *)new wxStaticBitmap();
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7104 return resultobj;
7105 fail:
7106 return NULL;
7107 }
7108
7109
7110 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7111 PyObject *resultobj = NULL;
7112 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7113 wxWindow *arg2 = (wxWindow *) 0 ;
7114 int arg3 = (int) -1 ;
7115 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7116 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
7117 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7118 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7119 wxSize const &arg6_defvalue = wxDefaultSize ;
7120 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7121 long arg7 = (long) 0 ;
7122 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7123 wxString *arg8 = (wxString *) &arg8_defvalue ;
7124 bool result;
7125 wxPoint temp5 ;
7126 wxSize temp6 ;
7127 bool temp8 = false ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 PyObject * obj2 = 0 ;
7131 PyObject * obj3 = 0 ;
7132 PyObject * obj4 = 0 ;
7133 PyObject * obj5 = 0 ;
7134 PyObject * obj6 = 0 ;
7135 PyObject * obj7 = 0 ;
7136 char *kwnames[] = {
7137 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7142 if (SWIG_arg_fail(1)) SWIG_fail;
7143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7144 if (SWIG_arg_fail(2)) SWIG_fail;
7145 if (obj2) {
7146 {
7147 arg3 = static_cast<int >(SWIG_As_int(obj2));
7148 if (SWIG_arg_fail(3)) SWIG_fail;
7149 }
7150 }
7151 if (obj3) {
7152 {
7153 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7154 if (SWIG_arg_fail(4)) SWIG_fail;
7155 if (arg4 == NULL) {
7156 SWIG_null_ref("wxBitmap");
7157 }
7158 if (SWIG_arg_fail(4)) SWIG_fail;
7159 }
7160 }
7161 if (obj4) {
7162 {
7163 arg5 = &temp5;
7164 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7165 }
7166 }
7167 if (obj5) {
7168 {
7169 arg6 = &temp6;
7170 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7171 }
7172 }
7173 if (obj6) {
7174 {
7175 arg7 = static_cast<long >(SWIG_As_long(obj6));
7176 if (SWIG_arg_fail(7)) SWIG_fail;
7177 }
7178 }
7179 if (obj7) {
7180 {
7181 arg8 = wxString_in_helper(obj7);
7182 if (arg8 == NULL) SWIG_fail;
7183 temp8 = true;
7184 }
7185 }
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 {
7194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7195 }
7196 {
7197 if (temp8)
7198 delete arg8;
7199 }
7200 return resultobj;
7201 fail:
7202 {
7203 if (temp8)
7204 delete arg8;
7205 }
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj = NULL;
7212 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7213 wxBitmap result;
7214 PyObject * obj0 = 0 ;
7215 char *kwnames[] = {
7216 (char *) "self", NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (arg1)->GetBitmap();
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 wxBitmap * resultptr;
7231 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
7232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7233 }
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj = NULL;
7242 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7243 wxBitmap *arg2 = 0 ;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self",(char *) "bitmap", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail;
7253 {
7254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7255 if (SWIG_arg_fail(2)) SWIG_fail;
7256 if (arg2 == NULL) {
7257 SWIG_null_ref("wxBitmap");
7258 }
7259 if (SWIG_arg_fail(2)) SWIG_fail;
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 Py_INCREF(Py_None); resultobj = Py_None;
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = NULL;
7277 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7278 wxIcon *arg2 = 0 ;
7279 PyObject * obj0 = 0 ;
7280 PyObject * obj1 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self",(char *) "icon", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail;
7288 {
7289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7290 if (SWIG_arg_fail(2)) SWIG_fail;
7291 if (arg2 == NULL) {
7292 SWIG_null_ref("wxIcon");
7293 }
7294 if (SWIG_arg_fail(2)) SWIG_fail;
7295 }
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 (arg1)->SetIcon((wxIcon const &)*arg2);
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 Py_INCREF(Py_None); resultobj = Py_None;
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj = NULL;
7312 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7313 wxVisualAttributes result;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "variant", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7320 if (obj0) {
7321 {
7322 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7323 if (SWIG_arg_fail(1)) SWIG_fail;
7324 }
7325 }
7326 {
7327 if (!wxPyCheckForApp()) SWIG_fail;
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 {
7335 wxVisualAttributes * resultptr;
7336 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7338 }
7339 return resultobj;
7340 fail:
7341 return NULL;
7342 }
7343
7344
7345 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7346 PyObject *obj;
7347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7348 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7349 Py_INCREF(obj);
7350 return Py_BuildValue((char *)"");
7351 }
7352 static int _wrap_ListBoxNameStr_set(PyObject *) {
7353 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7354 return 1;
7355 }
7356
7357
7358 static PyObject *_wrap_ListBoxNameStr_get(void) {
7359 PyObject *pyobj = NULL;
7360
7361 {
7362 #if wxUSE_UNICODE
7363 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7364 #else
7365 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7366 #endif
7367 }
7368 return pyobj;
7369 }
7370
7371
7372 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj = NULL;
7374 wxWindow *arg1 = (wxWindow *) 0 ;
7375 int arg2 = (int) -1 ;
7376 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7377 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7378 wxSize const &arg4_defvalue = wxDefaultSize ;
7379 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7380 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7381 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7382 long arg6 = (long) 0 ;
7383 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7384 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7385 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7386 wxString *arg8 = (wxString *) &arg8_defvalue ;
7387 wxListBox *result;
7388 wxPoint temp3 ;
7389 wxSize temp4 ;
7390 bool temp5 = false ;
7391 bool temp8 = false ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 PyObject * obj2 = 0 ;
7395 PyObject * obj3 = 0 ;
7396 PyObject * obj4 = 0 ;
7397 PyObject * obj5 = 0 ;
7398 PyObject * obj6 = 0 ;
7399 PyObject * obj7 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail;
7407 if (obj1) {
7408 {
7409 arg2 = static_cast<int >(SWIG_As_int(obj1));
7410 if (SWIG_arg_fail(2)) SWIG_fail;
7411 }
7412 }
7413 if (obj2) {
7414 {
7415 arg3 = &temp3;
7416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7417 }
7418 }
7419 if (obj3) {
7420 {
7421 arg4 = &temp4;
7422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7423 }
7424 }
7425 if (obj4) {
7426 {
7427 if (! PySequence_Check(obj4)) {
7428 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7429 SWIG_fail;
7430 }
7431 arg5 = new wxArrayString;
7432 temp5 = true;
7433 int i, len=PySequence_Length(obj4);
7434 for (i=0; i<len; i++) {
7435 PyObject* item = PySequence_GetItem(obj4, i);
7436 wxString* s = wxString_in_helper(item);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 arg5->Add(*s);
7439 delete s;
7440 Py_DECREF(item);
7441 }
7442 }
7443 }
7444 if (obj5) {
7445 {
7446 arg6 = static_cast<long >(SWIG_As_long(obj5));
7447 if (SWIG_arg_fail(6)) SWIG_fail;
7448 }
7449 }
7450 if (obj6) {
7451 {
7452 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7453 if (SWIG_arg_fail(7)) SWIG_fail;
7454 if (arg7 == NULL) {
7455 SWIG_null_ref("wxValidator");
7456 }
7457 if (SWIG_arg_fail(7)) SWIG_fail;
7458 }
7459 }
7460 if (obj7) {
7461 {
7462 arg8 = wxString_in_helper(obj7);
7463 if (arg8 == NULL) SWIG_fail;
7464 temp8 = true;
7465 }
7466 }
7467 {
7468 if (!wxPyCheckForApp()) SWIG_fail;
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7476 {
7477 if (temp5) delete arg5;
7478 }
7479 {
7480 if (temp8)
7481 delete arg8;
7482 }
7483 return resultobj;
7484 fail:
7485 {
7486 if (temp5) delete arg5;
7487 }
7488 {
7489 if (temp8)
7490 delete arg8;
7491 }
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj = NULL;
7498 wxListBox *result;
7499 char *kwnames[] = {
7500 NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7504 {
7505 if (!wxPyCheckForApp()) SWIG_fail;
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxListBox *)new wxListBox();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj = NULL;
7521 wxListBox *arg1 = (wxListBox *) 0 ;
7522 wxWindow *arg2 = (wxWindow *) 0 ;
7523 int arg3 = (int) -1 ;
7524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7526 wxSize const &arg5_defvalue = wxDefaultSize ;
7527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7528 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7529 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7530 long arg7 = (long) 0 ;
7531 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7532 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7533 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7534 wxString *arg9 = (wxString *) &arg9_defvalue ;
7535 bool result;
7536 wxPoint temp4 ;
7537 wxSize temp5 ;
7538 bool temp6 = false ;
7539 bool temp9 = false ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 PyObject * obj2 = 0 ;
7543 PyObject * obj3 = 0 ;
7544 PyObject * obj4 = 0 ;
7545 PyObject * obj5 = 0 ;
7546 PyObject * obj6 = 0 ;
7547 PyObject * obj7 = 0 ;
7548 PyObject * obj8 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7555 if (SWIG_arg_fail(1)) SWIG_fail;
7556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7557 if (SWIG_arg_fail(2)) SWIG_fail;
7558 if (obj2) {
7559 {
7560 arg3 = static_cast<int >(SWIG_As_int(obj2));
7561 if (SWIG_arg_fail(3)) SWIG_fail;
7562 }
7563 }
7564 if (obj3) {
7565 {
7566 arg4 = &temp4;
7567 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7568 }
7569 }
7570 if (obj4) {
7571 {
7572 arg5 = &temp5;
7573 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7574 }
7575 }
7576 if (obj5) {
7577 {
7578 if (! PySequence_Check(obj5)) {
7579 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7580 SWIG_fail;
7581 }
7582 arg6 = new wxArrayString;
7583 temp6 = true;
7584 int i, len=PySequence_Length(obj5);
7585 for (i=0; i<len; i++) {
7586 PyObject* item = PySequence_GetItem(obj5, i);
7587 wxString* s = wxString_in_helper(item);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 arg6->Add(*s);
7590 delete s;
7591 Py_DECREF(item);
7592 }
7593 }
7594 }
7595 if (obj6) {
7596 {
7597 arg7 = static_cast<long >(SWIG_As_long(obj6));
7598 if (SWIG_arg_fail(7)) SWIG_fail;
7599 }
7600 }
7601 if (obj7) {
7602 {
7603 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7604 if (SWIG_arg_fail(8)) SWIG_fail;
7605 if (arg8 == NULL) {
7606 SWIG_null_ref("wxValidator");
7607 }
7608 if (SWIG_arg_fail(8)) SWIG_fail;
7609 }
7610 }
7611 if (obj8) {
7612 {
7613 arg9 = wxString_in_helper(obj8);
7614 if (arg9 == NULL) SWIG_fail;
7615 temp9 = true;
7616 }
7617 }
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 {
7626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7627 }
7628 {
7629 if (temp6) delete arg6;
7630 }
7631 {
7632 if (temp9)
7633 delete arg9;
7634 }
7635 return resultobj;
7636 fail:
7637 {
7638 if (temp6) delete arg6;
7639 }
7640 {
7641 if (temp9)
7642 delete arg9;
7643 }
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj = NULL;
7650 wxListBox *arg1 = (wxListBox *) 0 ;
7651 wxString *arg2 = 0 ;
7652 int arg3 ;
7653 PyObject *arg4 = (PyObject *) NULL ;
7654 bool temp2 = false ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 PyObject * obj2 = 0 ;
7658 PyObject * obj3 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail;
7666 {
7667 arg2 = wxString_in_helper(obj1);
7668 if (arg2 == NULL) SWIG_fail;
7669 temp2 = true;
7670 }
7671 {
7672 arg3 = static_cast<int >(SWIG_As_int(obj2));
7673 if (SWIG_arg_fail(3)) SWIG_fail;
7674 }
7675 if (obj3) {
7676 arg4 = obj3;
7677 }
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 Py_INCREF(Py_None); resultobj = Py_None;
7686 {
7687 if (temp2)
7688 delete arg2;
7689 }
7690 return resultobj;
7691 fail:
7692 {
7693 if (temp2)
7694 delete arg2;
7695 }
7696 return NULL;
7697 }
7698
7699
7700 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj = NULL;
7702 wxListBox *arg1 = (wxListBox *) 0 ;
7703 wxArrayString *arg2 = 0 ;
7704 int arg3 ;
7705 bool temp2 = false ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 PyObject * obj2 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self",(char *) "items",(char *) "pos", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail;
7716 {
7717 if (! PySequence_Check(obj1)) {
7718 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7719 SWIG_fail;
7720 }
7721 arg2 = new wxArrayString;
7722 temp2 = true;
7723 int i, len=PySequence_Length(obj1);
7724 for (i=0; i<len; i++) {
7725 PyObject* item = PySequence_GetItem(obj1, i);
7726 wxString* s = wxString_in_helper(item);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 arg2->Add(*s);
7729 delete s;
7730 Py_DECREF(item);
7731 }
7732 }
7733 {
7734 arg3 = static_cast<int >(SWIG_As_int(obj2));
7735 if (SWIG_arg_fail(3)) SWIG_fail;
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 {
7746 if (temp2) delete arg2;
7747 }
7748 return resultobj;
7749 fail:
7750 {
7751 if (temp2) delete arg2;
7752 }
7753 return NULL;
7754 }
7755
7756
7757 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj = NULL;
7759 wxListBox *arg1 = (wxListBox *) 0 ;
7760 wxArrayString *arg2 = 0 ;
7761 bool temp2 = false ;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "items", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail;
7771 {
7772 if (! PySequence_Check(obj1)) {
7773 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7774 SWIG_fail;
7775 }
7776 arg2 = new wxArrayString;
7777 temp2 = true;
7778 int i, len=PySequence_Length(obj1);
7779 for (i=0; i<len; i++) {
7780 PyObject* item = PySequence_GetItem(obj1, i);
7781 wxString* s = wxString_in_helper(item);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 arg2->Add(*s);
7784 delete s;
7785 Py_DECREF(item);
7786 }
7787 }
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->Set((wxArrayString const &)*arg2);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 Py_INCREF(Py_None); resultobj = Py_None;
7796 {
7797 if (temp2) delete arg2;
7798 }
7799 return resultobj;
7800 fail:
7801 {
7802 if (temp2) delete arg2;
7803 }
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj = NULL;
7810 wxListBox *arg1 = (wxListBox *) 0 ;
7811 int arg2 ;
7812 bool result;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "n", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail;
7822 {
7823 arg2 = static_cast<int >(SWIG_As_int(obj1));
7824 if (SWIG_arg_fail(2)) SWIG_fail;
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 {
7834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7835 }
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj = NULL;
7844 wxListBox *arg1 = (wxListBox *) 0 ;
7845 int arg2 ;
7846 bool arg3 = (bool) true ;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 PyObject * obj2 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self",(char *) "n",(char *) "select", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
7862 {
7863 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7864 if (SWIG_arg_fail(3)) SWIG_fail;
7865 }
7866 }
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->SetSelection(arg2,arg3);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj = NULL;
7883 wxListBox *arg1 = (wxListBox *) 0 ;
7884 int arg2 ;
7885 PyObject * obj0 = 0 ;
7886 PyObject * obj1 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self",(char *) "n", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail;
7894 {
7895 arg2 = static_cast<int >(SWIG_As_int(obj1));
7896 if (SWIG_arg_fail(2)) SWIG_fail;
7897 }
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 (arg1)->Select(arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 Py_INCREF(Py_None); resultobj = Py_None;
7906 return resultobj;
7907 fail:
7908 return NULL;
7909 }
7910
7911
7912 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7913 PyObject *resultobj = NULL;
7914 wxListBox *arg1 = (wxListBox *) 0 ;
7915 int arg2 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self",(char *) "n", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail;
7925 {
7926 arg2 = static_cast<int >(SWIG_As_int(obj1));
7927 if (SWIG_arg_fail(2)) SWIG_fail;
7928 }
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 (arg1)->Deselect(arg2);
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 Py_INCREF(Py_None); resultobj = Py_None;
7937 return resultobj;
7938 fail:
7939 return NULL;
7940 }
7941
7942
7943 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7944 PyObject *resultobj = NULL;
7945 wxListBox *arg1 = (wxListBox *) 0 ;
7946 int arg2 = (int) -1 ;
7947 PyObject * obj0 = 0 ;
7948 PyObject * obj1 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self",(char *) "itemToLeaveSelected", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) 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 if (obj1) {
7957 {
7958 arg2 = static_cast<int >(SWIG_As_int(obj1));
7959 if (SWIG_arg_fail(2)) SWIG_fail;
7960 }
7961 }
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->DeselectAll(arg2);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj = NULL;
7978 wxListBox *arg1 = (wxListBox *) 0 ;
7979 wxString *arg2 = 0 ;
7980 bool arg3 = (bool) true ;
7981 bool result;
7982 bool temp2 = false ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 PyObject * obj2 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "s",(char *) "select", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail;
7993 {
7994 arg2 = wxString_in_helper(obj1);
7995 if (arg2 == NULL) SWIG_fail;
7996 temp2 = true;
7997 }
7998 if (obj2) {
7999 {
8000 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8001 if (SWIG_arg_fail(3)) SWIG_fail;
8002 }
8003 }
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 {
8012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8013 }
8014 {
8015 if (temp2)
8016 delete arg2;
8017 }
8018 return resultobj;
8019 fail:
8020 {
8021 if (temp2)
8022 delete arg2;
8023 }
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj = NULL;
8030 wxListBox *arg1 = (wxListBox *) 0 ;
8031 PyObject *result;
8032 PyObject * obj0 = 0 ;
8033 char *kwnames[] = {
8034 (char *) "self", NULL
8035 };
8036
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
8038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8039 if (SWIG_arg_fail(1)) SWIG_fail;
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (PyObject *)wxListBox_GetSelections(arg1);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 resultobj = result;
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj = NULL;
8056 wxListBox *arg1 = (wxListBox *) 0 ;
8057 int arg2 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "n", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
8065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail;
8067 {
8068 arg2 = static_cast<int >(SWIG_As_int(obj1));
8069 if (SWIG_arg_fail(2)) SWIG_fail;
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 (arg1)->SetFirstItem(arg2);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 Py_INCREF(Py_None); resultobj = Py_None;
8079 return resultobj;
8080 fail:
8081 return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj = NULL;
8087 wxListBox *arg1 = (wxListBox *) 0 ;
8088 wxString *arg2 = 0 ;
8089 bool temp2 = false ;
8090 PyObject * obj0 = 0 ;
8091 PyObject * obj1 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "s", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
8097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8098 if (SWIG_arg_fail(1)) SWIG_fail;
8099 {
8100 arg2 = wxString_in_helper(obj1);
8101 if (arg2 == NULL) SWIG_fail;
8102 temp2 = true;
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->SetFirstItem((wxString const &)*arg2);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 {
8113 if (temp2)
8114 delete arg2;
8115 }
8116 return resultobj;
8117 fail:
8118 {
8119 if (temp2)
8120 delete arg2;
8121 }
8122 return NULL;
8123 }
8124
8125
8126 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj = NULL;
8128 wxListBox *arg1 = (wxListBox *) 0 ;
8129 int arg2 ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "n", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail;
8139 {
8140 arg2 = static_cast<int >(SWIG_As_int(obj1));
8141 if (SWIG_arg_fail(2)) SWIG_fail;
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->EnsureVisible(arg2);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj = NULL;
8159 wxListBox *arg1 = (wxListBox *) 0 ;
8160 wxString *arg2 = 0 ;
8161 bool temp2 = false ;
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self",(char *) "s", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
8171 {
8172 arg2 = wxString_in_helper(obj1);
8173 if (arg2 == NULL) SWIG_fail;
8174 temp2 = true;
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 {
8185 if (temp2)
8186 delete arg2;
8187 }
8188 return resultobj;
8189 fail:
8190 {
8191 if (temp2)
8192 delete arg2;
8193 }
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj = NULL;
8200 wxListBox *arg1 = (wxListBox *) 0 ;
8201 bool result;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
8208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail;
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 result = (bool)((wxListBox const *)arg1)->IsSorted();
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 {
8218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8219 }
8220 return resultobj;
8221 fail:
8222 return NULL;
8223 }
8224
8225
8226 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8227 PyObject *resultobj = NULL;
8228 wxListBox *arg1 = (wxListBox *) 0 ;
8229 int arg2 ;
8230 wxColour *arg3 = 0 ;
8231 wxColour temp3 ;
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 PyObject * obj2 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self",(char *) "item",(char *) "c", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail;
8242 {
8243 arg2 = static_cast<int >(SWIG_As_int(obj1));
8244 if (SWIG_arg_fail(2)) SWIG_fail;
8245 }
8246 {
8247 arg3 = &temp3;
8248 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8249 }
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 Py_INCREF(Py_None); resultobj = Py_None;
8258 return resultobj;
8259 fail:
8260 return NULL;
8261 }
8262
8263
8264 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8265 PyObject *resultobj = NULL;
8266 wxListBox *arg1 = (wxListBox *) 0 ;
8267 int arg2 ;
8268 wxColour *arg3 = 0 ;
8269 wxColour temp3 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 PyObject * obj2 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self",(char *) "item",(char *) "c", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",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 arg3 = &temp3;
8286 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 Py_INCREF(Py_None); resultobj = Py_None;
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj = NULL;
8304 wxListBox *arg1 = (wxListBox *) 0 ;
8305 int arg2 ;
8306 wxFont *arg3 = 0 ;
8307 PyObject * obj0 = 0 ;
8308 PyObject * obj1 = 0 ;
8309 PyObject * obj2 = 0 ;
8310 char *kwnames[] = {
8311 (char *) "self",(char *) "item",(char *) "f", NULL
8312 };
8313
8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8316 if (SWIG_arg_fail(1)) SWIG_fail;
8317 {
8318 arg2 = static_cast<int >(SWIG_As_int(obj1));
8319 if (SWIG_arg_fail(2)) SWIG_fail;
8320 }
8321 {
8322 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8323 if (SWIG_arg_fail(3)) SWIG_fail;
8324 if (arg3 == NULL) {
8325 SWIG_null_ref("wxFont");
8326 }
8327 if (SWIG_arg_fail(3)) SWIG_fail;
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 Py_INCREF(Py_None); resultobj = Py_None;
8337 return resultobj;
8338 fail:
8339 return NULL;
8340 }
8341
8342
8343 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj = NULL;
8345 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8346 wxVisualAttributes result;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "variant", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8353 if (obj0) {
8354 {
8355 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8356 if (SWIG_arg_fail(1)) SWIG_fail;
8357 }
8358 }
8359 {
8360 if (!wxPyCheckForApp()) SWIG_fail;
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = wxListBox::GetClassDefaultAttributes(arg1);
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 {
8368 wxVisualAttributes * resultptr;
8369 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8371 }
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8379 PyObject *obj;
8380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8382 Py_INCREF(obj);
8383 return Py_BuildValue((char *)"");
8384 }
8385 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj = NULL;
8387 wxWindow *arg1 = (wxWindow *) 0 ;
8388 int arg2 = (int) -1 ;
8389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8391 wxSize const &arg4_defvalue = wxDefaultSize ;
8392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8393 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8394 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8395 long arg6 = (long) 0 ;
8396 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8397 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8398 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8399 wxString *arg8 = (wxString *) &arg8_defvalue ;
8400 wxCheckListBox *result;
8401 wxPoint temp3 ;
8402 wxSize temp4 ;
8403 bool temp5 = false ;
8404 bool temp8 = false ;
8405 PyObject * obj0 = 0 ;
8406 PyObject * obj1 = 0 ;
8407 PyObject * obj2 = 0 ;
8408 PyObject * obj3 = 0 ;
8409 PyObject * obj4 = 0 ;
8410 PyObject * obj5 = 0 ;
8411 PyObject * obj6 = 0 ;
8412 PyObject * obj7 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail;
8420 if (obj1) {
8421 {
8422 arg2 = static_cast<int >(SWIG_As_int(obj1));
8423 if (SWIG_arg_fail(2)) SWIG_fail;
8424 }
8425 }
8426 if (obj2) {
8427 {
8428 arg3 = &temp3;
8429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8430 }
8431 }
8432 if (obj3) {
8433 {
8434 arg4 = &temp4;
8435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8436 }
8437 }
8438 if (obj4) {
8439 {
8440 if (! PySequence_Check(obj4)) {
8441 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8442 SWIG_fail;
8443 }
8444 arg5 = new wxArrayString;
8445 temp5 = true;
8446 int i, len=PySequence_Length(obj4);
8447 for (i=0; i<len; i++) {
8448 PyObject* item = PySequence_GetItem(obj4, i);
8449 wxString* s = wxString_in_helper(item);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 arg5->Add(*s);
8452 delete s;
8453 Py_DECREF(item);
8454 }
8455 }
8456 }
8457 if (obj5) {
8458 {
8459 arg6 = static_cast<long >(SWIG_As_long(obj5));
8460 if (SWIG_arg_fail(6)) SWIG_fail;
8461 }
8462 }
8463 if (obj6) {
8464 {
8465 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8466 if (SWIG_arg_fail(7)) SWIG_fail;
8467 if (arg7 == NULL) {
8468 SWIG_null_ref("wxValidator");
8469 }
8470 if (SWIG_arg_fail(7)) SWIG_fail;
8471 }
8472 }
8473 if (obj7) {
8474 {
8475 arg8 = wxString_in_helper(obj7);
8476 if (arg8 == NULL) SWIG_fail;
8477 temp8 = true;
8478 }
8479 }
8480 {
8481 if (!wxPyCheckForApp()) SWIG_fail;
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8489 {
8490 if (temp5) delete arg5;
8491 }
8492 {
8493 if (temp8)
8494 delete arg8;
8495 }
8496 return resultobj;
8497 fail:
8498 {
8499 if (temp5) delete arg5;
8500 }
8501 {
8502 if (temp8)
8503 delete arg8;
8504 }
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj = NULL;
8511 wxCheckListBox *result;
8512 char *kwnames[] = {
8513 NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8517 {
8518 if (!wxPyCheckForApp()) SWIG_fail;
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxCheckListBox *)new wxCheckListBox();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj = NULL;
8534 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8535 wxWindow *arg2 = (wxWindow *) 0 ;
8536 int arg3 = (int) -1 ;
8537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8539 wxSize const &arg5_defvalue = wxDefaultSize ;
8540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8541 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8542 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8543 long arg7 = (long) 0 ;
8544 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8545 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8546 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8547 wxString *arg9 = (wxString *) &arg9_defvalue ;
8548 bool result;
8549 wxPoint temp4 ;
8550 wxSize temp5 ;
8551 bool temp6 = false ;
8552 bool temp9 = false ;
8553 PyObject * obj0 = 0 ;
8554 PyObject * obj1 = 0 ;
8555 PyObject * obj2 = 0 ;
8556 PyObject * obj3 = 0 ;
8557 PyObject * obj4 = 0 ;
8558 PyObject * obj5 = 0 ;
8559 PyObject * obj6 = 0 ;
8560 PyObject * obj7 = 0 ;
8561 PyObject * obj8 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8568 if (SWIG_arg_fail(1)) SWIG_fail;
8569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8570 if (SWIG_arg_fail(2)) SWIG_fail;
8571 if (obj2) {
8572 {
8573 arg3 = static_cast<int >(SWIG_As_int(obj2));
8574 if (SWIG_arg_fail(3)) SWIG_fail;
8575 }
8576 }
8577 if (obj3) {
8578 {
8579 arg4 = &temp4;
8580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8581 }
8582 }
8583 if (obj4) {
8584 {
8585 arg5 = &temp5;
8586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8587 }
8588 }
8589 if (obj5) {
8590 {
8591 if (! PySequence_Check(obj5)) {
8592 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8593 SWIG_fail;
8594 }
8595 arg6 = new wxArrayString;
8596 temp6 = true;
8597 int i, len=PySequence_Length(obj5);
8598 for (i=0; i<len; i++) {
8599 PyObject* item = PySequence_GetItem(obj5, i);
8600 wxString* s = wxString_in_helper(item);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 arg6->Add(*s);
8603 delete s;
8604 Py_DECREF(item);
8605 }
8606 }
8607 }
8608 if (obj6) {
8609 {
8610 arg7 = static_cast<long >(SWIG_As_long(obj6));
8611 if (SWIG_arg_fail(7)) SWIG_fail;
8612 }
8613 }
8614 if (obj7) {
8615 {
8616 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8617 if (SWIG_arg_fail(8)) SWIG_fail;
8618 if (arg8 == NULL) {
8619 SWIG_null_ref("wxValidator");
8620 }
8621 if (SWIG_arg_fail(8)) SWIG_fail;
8622 }
8623 }
8624 if (obj8) {
8625 {
8626 arg9 = wxString_in_helper(obj8);
8627 if (arg9 == NULL) SWIG_fail;
8628 temp9 = true;
8629 }
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 {
8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8640 }
8641 {
8642 if (temp6) delete arg6;
8643 }
8644 {
8645 if (temp9)
8646 delete arg9;
8647 }
8648 return resultobj;
8649 fail:
8650 {
8651 if (temp6) delete arg6;
8652 }
8653 {
8654 if (temp9)
8655 delete arg9;
8656 }
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj = NULL;
8663 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8664 int arg2 ;
8665 bool result;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "index", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8674 if (SWIG_arg_fail(1)) SWIG_fail;
8675 {
8676 arg2 = static_cast<int >(SWIG_As_int(obj1));
8677 if (SWIG_arg_fail(2)) SWIG_fail;
8678 }
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (bool)(arg1)->IsChecked(arg2);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 {
8687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8688 }
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj = NULL;
8697 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8698 int arg2 ;
8699 int arg3 = (int) true ;
8700 PyObject * obj0 = 0 ;
8701 PyObject * obj1 = 0 ;
8702 PyObject * obj2 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self",(char *) "index",(char *) "check", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail;
8710 {
8711 arg2 = static_cast<int >(SWIG_As_int(obj1));
8712 if (SWIG_arg_fail(2)) SWIG_fail;
8713 }
8714 if (obj2) {
8715 {
8716 arg3 = static_cast<int >(SWIG_As_int(obj2));
8717 if (SWIG_arg_fail(3)) SWIG_fail;
8718 }
8719 }
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 (arg1)->Check(arg2,arg3);
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 Py_INCREF(Py_None); resultobj = Py_None;
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = NULL;
8736 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8737 int result;
8738 PyObject * obj0 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (int)(arg1)->GetItemHeight();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 {
8754 resultobj = SWIG_From_int(static_cast<int >(result));
8755 }
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj = NULL;
8764 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8765 wxPoint *arg2 = 0 ;
8766 int result;
8767 wxPoint temp2 ;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "pt", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail;
8777 {
8778 arg2 = &temp2;
8779 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 {
8789 resultobj = SWIG_From_int(static_cast<int >(result));
8790 }
8791 return resultobj;
8792 fail:
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj = NULL;
8799 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8800 int arg2 ;
8801 int arg3 ;
8802 int result;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 PyObject * obj2 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "x",(char *) "y", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
8813 {
8814 arg2 = static_cast<int >(SWIG_As_int(obj1));
8815 if (SWIG_arg_fail(2)) SWIG_fail;
8816 }
8817 {
8818 arg3 = static_cast<int >(SWIG_As_int(obj2));
8819 if (SWIG_arg_fail(3)) SWIG_fail;
8820 }
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 {
8829 resultobj = SWIG_From_int(static_cast<int >(result));
8830 }
8831 return resultobj;
8832 fail:
8833 return NULL;
8834 }
8835
8836
8837 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8838 PyObject *obj;
8839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8840 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8841 Py_INCREF(obj);
8842 return Py_BuildValue((char *)"");
8843 }
8844 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8845 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8846 return 1;
8847 }
8848
8849
8850 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8851 PyObject *pyobj = NULL;
8852
8853 {
8854 #if wxUSE_UNICODE
8855 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8856 #else
8857 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8858 #endif
8859 }
8860 return pyobj;
8861 }
8862
8863
8864 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj = NULL;
8866 wxColour const &arg1_defvalue = wxNullColour ;
8867 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8868 wxColour const &arg2_defvalue = wxNullColour ;
8869 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8870 wxFont const &arg3_defvalue = wxNullFont ;
8871 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8872 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8873 wxTextAttr *result;
8874 wxColour temp1 ;
8875 wxColour temp2 ;
8876 PyObject * obj0 = 0 ;
8877 PyObject * obj1 = 0 ;
8878 PyObject * obj2 = 0 ;
8879 PyObject * obj3 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8885 if (obj0) {
8886 {
8887 arg1 = &temp1;
8888 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8889 }
8890 }
8891 if (obj1) {
8892 {
8893 arg2 = &temp2;
8894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8895 }
8896 }
8897 if (obj2) {
8898 {
8899 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8900 if (SWIG_arg_fail(3)) SWIG_fail;
8901 if (arg3 == NULL) {
8902 SWIG_null_ref("wxFont");
8903 }
8904 if (SWIG_arg_fail(3)) SWIG_fail;
8905 }
8906 }
8907 if (obj3) {
8908 {
8909 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
8910 if (SWIG_arg_fail(4)) SWIG_fail;
8911 }
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj = NULL;
8929 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8930 PyObject * obj0 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8937 if (SWIG_arg_fail(1)) SWIG_fail;
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 delete arg1;
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 Py_INCREF(Py_None); resultobj = Py_None;
8946 return resultobj;
8947 fail:
8948 return NULL;
8949 }
8950
8951
8952 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj = NULL;
8954 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8955 PyObject * obj0 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8962 if (SWIG_arg_fail(1)) SWIG_fail;
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->Init();
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 Py_INCREF(Py_None); resultobj = Py_None;
8971 return resultobj;
8972 fail:
8973 return NULL;
8974 }
8975
8976
8977 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj = NULL;
8979 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8980 wxColour *arg2 = 0 ;
8981 wxColour temp2 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "colText", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
8993 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8994 }
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->SetTextColour((wxColour const &)*arg2);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 Py_INCREF(Py_None); resultobj = Py_None;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj = NULL;
9011 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9012 wxColour *arg2 = 0 ;
9013 wxColour temp2 ;
9014 PyObject * obj0 = 0 ;
9015 PyObject * obj1 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "colBack", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail;
9023 {
9024 arg2 = &temp2;
9025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038 }
9039
9040
9041 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj = NULL;
9043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9044 wxFont *arg2 = 0 ;
9045 long arg3 = (long) wxTEXT_ATTR_FONT ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 PyObject * obj2 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "font",(char *) "flags", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
9054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail;
9056 {
9057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9058 if (SWIG_arg_fail(2)) SWIG_fail;
9059 if (arg2 == NULL) {
9060 SWIG_null_ref("wxFont");
9061 }
9062 if (SWIG_arg_fail(2)) SWIG_fail;
9063 }
9064 if (obj2) {
9065 {
9066 arg3 = static_cast<long >(SWIG_As_long(obj2));
9067 if (SWIG_arg_fail(3)) SWIG_fail;
9068 }
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj = NULL;
9086 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9087 wxTextAttrAlignment arg2 ;
9088 PyObject * obj0 = 0 ;
9089 PyObject * obj1 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self",(char *) "alignment", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail;
9097 {
9098 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
9099 if (SWIG_arg_fail(2)) SWIG_fail;
9100 }
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 (arg1)->SetAlignment(arg2);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj = NULL;
9117 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9118 wxArrayInt *arg2 = 0 ;
9119 bool temp2 = false ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "tabs", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
9127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail;
9129 {
9130 if (! PySequence_Check(obj1)) {
9131 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9132 SWIG_fail;
9133 }
9134 arg2 = new wxArrayInt;
9135 temp2 = true;
9136 int i, len=PySequence_Length(obj1);
9137 for (i=0; i<len; i++) {
9138 PyObject* item = PySequence_GetItem(obj1, i);
9139 PyObject* number = PyNumber_Int(item);
9140 arg2->Add(PyInt_AS_LONG(number));
9141 Py_DECREF(item);
9142 Py_DECREF(number);
9143 }
9144 }
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 Py_INCREF(Py_None); resultobj = Py_None;
9153 {
9154 if (temp2) delete arg2;
9155 }
9156 return resultobj;
9157 fail:
9158 {
9159 if (temp2) delete arg2;
9160 }
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj = NULL;
9167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9168 int arg2 ;
9169 int arg3 = (int) 0 ;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 PyObject * obj2 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
9180 {
9181 arg2 = static_cast<int >(SWIG_As_int(obj1));
9182 if (SWIG_arg_fail(2)) SWIG_fail;
9183 }
9184 if (obj2) {
9185 {
9186 arg3 = static_cast<int >(SWIG_As_int(obj2));
9187 if (SWIG_arg_fail(3)) SWIG_fail;
9188 }
9189 }
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 (arg1)->SetLeftIndent(arg2,arg3);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 Py_INCREF(Py_None); resultobj = Py_None;
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj = NULL;
9206 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9207 int arg2 ;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "indent", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail;
9217 {
9218 arg2 = static_cast<int >(SWIG_As_int(obj1));
9219 if (SWIG_arg_fail(2)) SWIG_fail;
9220 }
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 (arg1)->SetRightIndent(arg2);
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 Py_INCREF(Py_None); resultobj = Py_None;
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj = NULL;
9237 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9238 long arg2 ;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self",(char *) "flags", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9247 if (SWIG_arg_fail(1)) SWIG_fail;
9248 {
9249 arg2 = static_cast<long >(SWIG_As_long(obj1));
9250 if (SWIG_arg_fail(2)) SWIG_fail;
9251 }
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 (arg1)->SetFlags(arg2);
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 Py_INCREF(Py_None); resultobj = Py_None;
9260 return resultobj;
9261 fail:
9262 return NULL;
9263 }
9264
9265
9266 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj = NULL;
9268 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9269 bool result;
9270 PyObject * obj0 = 0 ;
9271 char *kwnames[] = {
9272 (char *) "self", NULL
9273 };
9274
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 {
9286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9287 }
9288 return resultobj;
9289 fail:
9290 return NULL;
9291 }
9292
9293
9294 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9295 PyObject *resultobj = NULL;
9296 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9297 bool result;
9298 PyObject * obj0 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail;
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 {
9314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9315 }
9316 return resultobj;
9317 fail:
9318 return NULL;
9319 }
9320
9321
9322 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj = NULL;
9324 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9325 bool result;
9326 PyObject * obj0 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9333 if (SWIG_arg_fail(1)) SWIG_fail;
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 {
9342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9343 }
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj = NULL;
9352 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9353 bool result;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail;
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 {
9370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9371 }
9372 return resultobj;
9373 fail:
9374 return NULL;
9375 }
9376
9377
9378 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj = NULL;
9380 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9381 bool result;
9382 PyObject * obj0 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9389 if (SWIG_arg_fail(1)) SWIG_fail;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 {
9398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9399 }
9400 return resultobj;
9401 fail:
9402 return NULL;
9403 }
9404
9405
9406 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj = NULL;
9408 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9409 bool result;
9410 PyObject * obj0 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail;
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 {
9426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9427 }
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = NULL;
9436 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9437 bool result;
9438 PyObject * obj0 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail;
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 {
9454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9455 }
9456 return resultobj;
9457 fail:
9458 return NULL;
9459 }
9460
9461
9462 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9463 PyObject *resultobj = NULL;
9464 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9465 long arg2 ;
9466 bool result;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "flag", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
9476 {
9477 arg2 = static_cast<long >(SWIG_As_long(obj1));
9478 if (SWIG_arg_fail(2)) SWIG_fail;
9479 }
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9489 }
9490 return resultobj;
9491 fail:
9492 return NULL;
9493 }
9494
9495
9496 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = NULL;
9498 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9499 wxColour *result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 {
9511 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9512 result = (wxColour *) &_result_ref;
9513 }
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9519 return resultobj;
9520 fail:
9521 return NULL;
9522 }
9523
9524
9525 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj = NULL;
9527 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9528 wxColour *result;
9529 PyObject * obj0 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 {
9540 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9541 result = (wxColour *) &_result_ref;
9542 }
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9548 return resultobj;
9549 fail:
9550 return NULL;
9551 }
9552
9553
9554 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9555 PyObject *resultobj = NULL;
9556 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9557 wxFont *result;
9558 PyObject * obj0 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9565 if (SWIG_arg_fail(1)) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 {
9569 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9570 result = (wxFont *) &_result_ref;
9571 }
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 {
9577 wxFont* resultptr = new wxFont(*result);
9578 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9579 }
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj = NULL;
9588 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9589 wxTextAttrAlignment result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 resultobj = SWIG_From_int((result));
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj = NULL;
9614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9615 wxArrayInt *result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 {
9627 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9628 result = (wxArrayInt *) &_result_ref;
9629 }
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 {
9635 resultobj = PyList_New(0);
9636 size_t idx;
9637 for (idx = 0; idx < result->GetCount(); idx += 1) {
9638 PyObject* val = PyInt_FromLong( result->Item(idx) );
9639 PyList_Append(resultobj, val);
9640 Py_DECREF(val);
9641 }
9642 }
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj = NULL;
9651 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9652 long result;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 {
9669 resultobj = SWIG_From_long(static_cast<long >(result));
9670 }
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9678 PyObject *resultobj = NULL;
9679 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9680 long result;
9681 PyObject * obj0 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 resultobj = SWIG_From_long(static_cast<long >(result));
9698 }
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = NULL;
9707 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9708 long result;
9709 PyObject * obj0 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "self", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail;
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 {
9725 resultobj = SWIG_From_long(static_cast<long >(result));
9726 }
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj = NULL;
9735 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9736 long result;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 {
9753 resultobj = SWIG_From_long(static_cast<long >(result));
9754 }
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj = NULL;
9763 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9764 bool result;
9765 PyObject * obj0 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9772 if (SWIG_arg_fail(1)) SWIG_fail;
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 {
9781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9782 }
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj = NULL;
9791 wxTextAttr *arg1 = 0 ;
9792 wxTextAttr *arg2 = 0 ;
9793 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9794 wxTextAttr result;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 PyObject * obj2 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9803 {
9804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9805 if (SWIG_arg_fail(1)) SWIG_fail;
9806 if (arg1 == NULL) {
9807 SWIG_null_ref("wxTextAttr");
9808 }
9809 if (SWIG_arg_fail(1)) SWIG_fail;
9810 }
9811 {
9812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9813 if (SWIG_arg_fail(2)) SWIG_fail;
9814 if (arg2 == NULL) {
9815 SWIG_null_ref("wxTextAttr");
9816 }
9817 if (SWIG_arg_fail(2)) SWIG_fail;
9818 }
9819 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9820 if (SWIG_arg_fail(3)) SWIG_fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 {
9829 wxTextAttr * resultptr;
9830 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
9831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9832 }
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9840 PyObject *obj;
9841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9842 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9843 Py_INCREF(obj);
9844 return Py_BuildValue((char *)"");
9845 }
9846 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj = NULL;
9848 wxWindow *arg1 = (wxWindow *) 0 ;
9849 int arg2 = (int) -1 ;
9850 wxString const &arg3_defvalue = wxPyEmptyString ;
9851 wxString *arg3 = (wxString *) &arg3_defvalue ;
9852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9854 wxSize const &arg5_defvalue = wxDefaultSize ;
9855 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9856 long arg6 = (long) 0 ;
9857 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9858 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9859 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9860 wxString *arg8 = (wxString *) &arg8_defvalue ;
9861 wxTextCtrl *result;
9862 bool temp3 = false ;
9863 wxPoint temp4 ;
9864 wxSize temp5 ;
9865 bool temp8 = false ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 PyObject * obj2 = 0 ;
9869 PyObject * obj3 = 0 ;
9870 PyObject * obj4 = 0 ;
9871 PyObject * obj5 = 0 ;
9872 PyObject * obj6 = 0 ;
9873 PyObject * obj7 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail;
9881 if (obj1) {
9882 {
9883 arg2 = static_cast<int >(SWIG_As_int(obj1));
9884 if (SWIG_arg_fail(2)) SWIG_fail;
9885 }
9886 }
9887 if (obj2) {
9888 {
9889 arg3 = wxString_in_helper(obj2);
9890 if (arg3 == NULL) SWIG_fail;
9891 temp3 = true;
9892 }
9893 }
9894 if (obj3) {
9895 {
9896 arg4 = &temp4;
9897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9898 }
9899 }
9900 if (obj4) {
9901 {
9902 arg5 = &temp5;
9903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9904 }
9905 }
9906 if (obj5) {
9907 {
9908 arg6 = static_cast<long >(SWIG_As_long(obj5));
9909 if (SWIG_arg_fail(6)) SWIG_fail;
9910 }
9911 }
9912 if (obj6) {
9913 {
9914 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9915 if (SWIG_arg_fail(7)) SWIG_fail;
9916 if (arg7 == NULL) {
9917 SWIG_null_ref("wxValidator");
9918 }
9919 if (SWIG_arg_fail(7)) SWIG_fail;
9920 }
9921 }
9922 if (obj7) {
9923 {
9924 arg8 = wxString_in_helper(obj7);
9925 if (arg8 == NULL) SWIG_fail;
9926 temp8 = true;
9927 }
9928 }
9929 {
9930 if (!wxPyCheckForApp()) SWIG_fail;
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9938 {
9939 if (temp3)
9940 delete arg3;
9941 }
9942 {
9943 if (temp8)
9944 delete arg8;
9945 }
9946 return resultobj;
9947 fail:
9948 {
9949 if (temp3)
9950 delete arg3;
9951 }
9952 {
9953 if (temp8)
9954 delete arg8;
9955 }
9956 return NULL;
9957 }
9958
9959
9960 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj = NULL;
9962 wxTextCtrl *result;
9963 char *kwnames[] = {
9964 NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9968 {
9969 if (!wxPyCheckForApp()) SWIG_fail;
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (wxTextCtrl *)new wxTextCtrl();
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj = NULL;
9985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9986 wxWindow *arg2 = (wxWindow *) 0 ;
9987 int arg3 = (int) -1 ;
9988 wxString const &arg4_defvalue = wxPyEmptyString ;
9989 wxString *arg4 = (wxString *) &arg4_defvalue ;
9990 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9991 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9992 wxSize const &arg6_defvalue = wxDefaultSize ;
9993 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9994 long arg7 = (long) 0 ;
9995 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9996 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9997 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9998 wxString *arg9 = (wxString *) &arg9_defvalue ;
9999 bool result;
10000 bool temp4 = false ;
10001 wxPoint temp5 ;
10002 wxSize temp6 ;
10003 bool temp9 = false ;
10004 PyObject * obj0 = 0 ;
10005 PyObject * obj1 = 0 ;
10006 PyObject * obj2 = 0 ;
10007 PyObject * obj3 = 0 ;
10008 PyObject * obj4 = 0 ;
10009 PyObject * obj5 = 0 ;
10010 PyObject * obj6 = 0 ;
10011 PyObject * obj7 = 0 ;
10012 PyObject * obj8 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10021 if (SWIG_arg_fail(2)) SWIG_fail;
10022 if (obj2) {
10023 {
10024 arg3 = static_cast<int >(SWIG_As_int(obj2));
10025 if (SWIG_arg_fail(3)) SWIG_fail;
10026 }
10027 }
10028 if (obj3) {
10029 {
10030 arg4 = wxString_in_helper(obj3);
10031 if (arg4 == NULL) SWIG_fail;
10032 temp4 = true;
10033 }
10034 }
10035 if (obj4) {
10036 {
10037 arg5 = &temp5;
10038 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10039 }
10040 }
10041 if (obj5) {
10042 {
10043 arg6 = &temp6;
10044 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10045 }
10046 }
10047 if (obj6) {
10048 {
10049 arg7 = static_cast<long >(SWIG_As_long(obj6));
10050 if (SWIG_arg_fail(7)) SWIG_fail;
10051 }
10052 }
10053 if (obj7) {
10054 {
10055 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10056 if (SWIG_arg_fail(8)) SWIG_fail;
10057 if (arg8 == NULL) {
10058 SWIG_null_ref("wxValidator");
10059 }
10060 if (SWIG_arg_fail(8)) SWIG_fail;
10061 }
10062 }
10063 if (obj8) {
10064 {
10065 arg9 = wxString_in_helper(obj8);
10066 if (arg9 == NULL) SWIG_fail;
10067 temp9 = true;
10068 }
10069 }
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 {
10078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10079 }
10080 {
10081 if (temp4)
10082 delete arg4;
10083 }
10084 {
10085 if (temp9)
10086 delete arg9;
10087 }
10088 return resultobj;
10089 fail:
10090 {
10091 if (temp4)
10092 delete arg4;
10093 }
10094 {
10095 if (temp9)
10096 delete arg9;
10097 }
10098 return NULL;
10099 }
10100
10101
10102 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj = NULL;
10104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10105 wxString result;
10106 PyObject * obj0 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "self", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
10112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10113 if (SWIG_arg_fail(1)) SWIG_fail;
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = ((wxTextCtrl const *)arg1)->GetValue();
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 {
10122 #if wxUSE_UNICODE
10123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10124 #else
10125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10126 #endif
10127 }
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj = NULL;
10136 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10137 wxString *arg2 = 0 ;
10138 bool temp2 = false ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "value", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10147 if (SWIG_arg_fail(1)) SWIG_fail;
10148 {
10149 arg2 = wxString_in_helper(obj1);
10150 if (arg2 == NULL) SWIG_fail;
10151 temp2 = true;
10152 }
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 (arg1)->SetValue((wxString const &)*arg2);
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 Py_INCREF(Py_None); resultobj = Py_None;
10161 {
10162 if (temp2)
10163 delete arg2;
10164 }
10165 return resultobj;
10166 fail:
10167 {
10168 if (temp2)
10169 delete arg2;
10170 }
10171 return NULL;
10172 }
10173
10174
10175 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj = NULL;
10177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10178 long arg2 ;
10179 long arg3 ;
10180 wxString result;
10181 PyObject * obj0 = 0 ;
10182 PyObject * obj1 = 0 ;
10183 PyObject * obj2 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "from",(char *) "to", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail;
10191 {
10192 arg2 = static_cast<long >(SWIG_As_long(obj1));
10193 if (SWIG_arg_fail(2)) SWIG_fail;
10194 }
10195 {
10196 arg3 = static_cast<long >(SWIG_As_long(obj2));
10197 if (SWIG_arg_fail(3)) SWIG_fail;
10198 }
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 {
10207 #if wxUSE_UNICODE
10208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10209 #else
10210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10211 #endif
10212 }
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj = NULL;
10221 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10222 long arg2 ;
10223 int result;
10224 PyObject * obj0 = 0 ;
10225 PyObject * obj1 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self",(char *) "lineNo", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10232 if (SWIG_arg_fail(1)) SWIG_fail;
10233 {
10234 arg2 = static_cast<long >(SWIG_As_long(obj1));
10235 if (SWIG_arg_fail(2)) SWIG_fail;
10236 }
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 {
10245 resultobj = SWIG_From_int(static_cast<int >(result));
10246 }
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj = NULL;
10255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10256 long arg2 ;
10257 wxString result;
10258 PyObject * obj0 = 0 ;
10259 PyObject * obj1 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "lineNo", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail;
10267 {
10268 arg2 = static_cast<long >(SWIG_As_long(obj1));
10269 if (SWIG_arg_fail(2)) SWIG_fail;
10270 }
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 {
10279 #if wxUSE_UNICODE
10280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10281 #else
10282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10283 #endif
10284 }
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj = NULL;
10293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10294 int result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 {
10311 resultobj = SWIG_From_int(static_cast<int >(result));
10312 }
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj = NULL;
10321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10322 bool result;
10323 PyObject * obj0 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10330 if (SWIG_arg_fail(1)) SWIG_fail;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 {
10339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10340 }
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj = NULL;
10349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10350 bool result;
10351 PyObject * obj0 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail;
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 {
10367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10368 }
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj = NULL;
10377 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10378 bool result;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10386 if (SWIG_arg_fail(1)) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 {
10395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10396 }
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10404 PyObject *resultobj = NULL;
10405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10406 bool result;
10407 PyObject * obj0 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",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 = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 {
10423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10424 }
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj = NULL;
10433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10434 long *arg2 = (long *) 0 ;
10435 long *arg3 = (long *) 0 ;
10436 long temp2 ;
10437 int res2 = 0 ;
10438 long temp3 ;
10439 int res3 = 0 ;
10440 PyObject * obj0 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self", NULL
10443 };
10444
10445 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10446 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail;
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 Py_INCREF(Py_None); resultobj = Py_None;
10458 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10459 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10460 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10461 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10462 return resultobj;
10463 fail:
10464 return NULL;
10465 }
10466
10467
10468 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj = NULL;
10470 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10471 wxString result;
10472 PyObject * obj0 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10479 if (SWIG_arg_fail(1)) SWIG_fail;
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 {
10488 #if wxUSE_UNICODE
10489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10490 #else
10491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10492 #endif
10493 }
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj = NULL;
10502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10510 if (SWIG_arg_fail(1)) SWIG_fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->Clear();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj = NULL;
10527 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10528 long arg2 ;
10529 long arg3 ;
10530 wxString *arg4 = 0 ;
10531 bool temp4 = false ;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534 PyObject * obj2 = 0 ;
10535 PyObject * obj3 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail;
10543 {
10544 arg2 = static_cast<long >(SWIG_As_long(obj1));
10545 if (SWIG_arg_fail(2)) SWIG_fail;
10546 }
10547 {
10548 arg3 = static_cast<long >(SWIG_As_long(obj2));
10549 if (SWIG_arg_fail(3)) SWIG_fail;
10550 }
10551 {
10552 arg4 = wxString_in_helper(obj3);
10553 if (arg4 == NULL) SWIG_fail;
10554 temp4 = true;
10555 }
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 {
10565 if (temp4)
10566 delete arg4;
10567 }
10568 return resultobj;
10569 fail:
10570 {
10571 if (temp4)
10572 delete arg4;
10573 }
10574 return NULL;
10575 }
10576
10577
10578 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj = NULL;
10580 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10581 long arg2 ;
10582 long arg3 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 PyObject * obj2 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "from",(char *) "to", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail;
10593 {
10594 arg2 = static_cast<long >(SWIG_As_long(obj1));
10595 if (SWIG_arg_fail(2)) SWIG_fail;
10596 }
10597 {
10598 arg3 = static_cast<long >(SWIG_As_long(obj2));
10599 if (SWIG_arg_fail(3)) SWIG_fail;
10600 }
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->Remove(arg2,arg3);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 Py_INCREF(Py_None); resultobj = Py_None;
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj = NULL;
10617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10618 wxString *arg2 = 0 ;
10619 bool result;
10620 bool temp2 = false ;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self",(char *) "file", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail;
10630 {
10631 arg2 = wxString_in_helper(obj1);
10632 if (arg2 == NULL) SWIG_fail;
10633 temp2 = true;
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10644 }
10645 {
10646 if (temp2)
10647 delete arg2;
10648 }
10649 return resultobj;
10650 fail:
10651 {
10652 if (temp2)
10653 delete arg2;
10654 }
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj = NULL;
10661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10662 wxString const &arg2_defvalue = wxPyEmptyString ;
10663 wxString *arg2 = (wxString *) &arg2_defvalue ;
10664 bool result;
10665 bool temp2 = false ;
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self",(char *) "file", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail;
10675 if (obj1) {
10676 {
10677 arg2 = wxString_in_helper(obj1);
10678 if (arg2 == NULL) SWIG_fail;
10679 temp2 = true;
10680 }
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 {
10690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10691 }
10692 {
10693 if (temp2)
10694 delete arg2;
10695 }
10696 return resultobj;
10697 fail:
10698 {
10699 if (temp2)
10700 delete arg2;
10701 }
10702 return NULL;
10703 }
10704
10705
10706 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj = NULL;
10708 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10709 PyObject * obj0 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail;
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 (arg1)->MarkDirty();
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 Py_INCREF(Py_None); resultobj = Py_None;
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj = NULL;
10733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10734 PyObject * obj0 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail;
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 (arg1)->DiscardEdits();
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 Py_INCREF(Py_None); resultobj = Py_None;
10750 return resultobj;
10751 fail:
10752 return NULL;
10753 }
10754
10755
10756 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj = NULL;
10758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10759 unsigned long arg2 ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self",(char *) "len", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10768 if (SWIG_arg_fail(1)) SWIG_fail;
10769 {
10770 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
10771 if (SWIG_arg_fail(2)) SWIG_fail;
10772 }
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetMaxLength(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj = NULL;
10789 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10790 wxString *arg2 = 0 ;
10791 bool temp2 = false ;
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "text", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail;
10801 {
10802 arg2 = wxString_in_helper(obj1);
10803 if (arg2 == NULL) SWIG_fail;
10804 temp2 = true;
10805 }
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->WriteText((wxString const &)*arg2);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 {
10815 if (temp2)
10816 delete arg2;
10817 }
10818 return resultobj;
10819 fail:
10820 {
10821 if (temp2)
10822 delete arg2;
10823 }
10824 return NULL;
10825 }
10826
10827
10828 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10829 PyObject *resultobj = NULL;
10830 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10831 wxString *arg2 = 0 ;
10832 bool temp2 = false ;
10833 PyObject * obj0 = 0 ;
10834 PyObject * obj1 = 0 ;
10835 char *kwnames[] = {
10836 (char *) "self",(char *) "text", NULL
10837 };
10838
10839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10841 if (SWIG_arg_fail(1)) SWIG_fail;
10842 {
10843 arg2 = wxString_in_helper(obj1);
10844 if (arg2 == NULL) SWIG_fail;
10845 temp2 = true;
10846 }
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 (arg1)->AppendText((wxString const &)*arg2);
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 Py_INCREF(Py_None); resultobj = Py_None;
10855 {
10856 if (temp2)
10857 delete arg2;
10858 }
10859 return resultobj;
10860 fail:
10861 {
10862 if (temp2)
10863 delete arg2;
10864 }
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj = NULL;
10871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10872 wxKeyEvent *arg2 = 0 ;
10873 bool result;
10874 PyObject * obj0 = 0 ;
10875 PyObject * obj1 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self",(char *) "event", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail;
10883 {
10884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10885 if (SWIG_arg_fail(2)) SWIG_fail;
10886 if (arg2 == NULL) {
10887 SWIG_null_ref("wxKeyEvent");
10888 }
10889 if (SWIG_arg_fail(2)) SWIG_fail;
10890 }
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 {
10899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10900 }
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj = NULL;
10909 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10910 long arg2 ;
10911 long arg3 ;
10912 wxTextAttr *arg4 = 0 ;
10913 bool result;
10914 PyObject * obj0 = 0 ;
10915 PyObject * obj1 = 0 ;
10916 PyObject * obj2 = 0 ;
10917 PyObject * obj3 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail;
10925 {
10926 arg2 = static_cast<long >(SWIG_As_long(obj1));
10927 if (SWIG_arg_fail(2)) SWIG_fail;
10928 }
10929 {
10930 arg3 = static_cast<long >(SWIG_As_long(obj2));
10931 if (SWIG_arg_fail(3)) SWIG_fail;
10932 }
10933 {
10934 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10935 if (SWIG_arg_fail(4)) SWIG_fail;
10936 if (arg4 == NULL) {
10937 SWIG_null_ref("wxTextAttr");
10938 }
10939 if (SWIG_arg_fail(4)) SWIG_fail;
10940 }
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 {
10949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10950 }
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj = NULL;
10959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10960 long arg2 ;
10961 wxTextAttr *arg3 = 0 ;
10962 bool result;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 PyObject * obj2 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self",(char *) "position",(char *) "style", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail;
10973 {
10974 arg2 = static_cast<long >(SWIG_As_long(obj1));
10975 if (SWIG_arg_fail(2)) SWIG_fail;
10976 }
10977 {
10978 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10979 if (SWIG_arg_fail(3)) SWIG_fail;
10980 if (arg3 == NULL) {
10981 SWIG_null_ref("wxTextAttr");
10982 }
10983 if (SWIG_arg_fail(3)) SWIG_fail;
10984 }
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 {
10993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10994 }
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj = NULL;
11003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11004 wxTextAttr *arg2 = 0 ;
11005 bool result;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "style", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
11013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail;
11015 {
11016 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11017 if (SWIG_arg_fail(2)) SWIG_fail;
11018 if (arg2 == NULL) {
11019 SWIG_null_ref("wxTextAttr");
11020 }
11021 if (SWIG_arg_fail(2)) SWIG_fail;
11022 }
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 {
11031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11032 }
11033 return resultobj;
11034 fail:
11035 return NULL;
11036 }
11037
11038
11039 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj = NULL;
11041 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11042 wxTextAttr *result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
11049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 {
11054 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11055 result = (wxTextAttr *) &_result_ref;
11056 }
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj = NULL;
11070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11071 long arg2 ;
11072 long arg3 ;
11073 long result;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 PyObject * obj2 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self",(char *) "x",(char *) "y", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
11082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11083 if (SWIG_arg_fail(1)) SWIG_fail;
11084 {
11085 arg2 = static_cast<long >(SWIG_As_long(obj1));
11086 if (SWIG_arg_fail(2)) SWIG_fail;
11087 }
11088 {
11089 arg3 = static_cast<long >(SWIG_As_long(obj2));
11090 if (SWIG_arg_fail(3)) SWIG_fail;
11091 }
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 {
11100 resultobj = SWIG_From_long(static_cast<long >(result));
11101 }
11102 return resultobj;
11103 fail:
11104 return NULL;
11105 }
11106
11107
11108 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj = NULL;
11110 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11111 long arg2 ;
11112 long *arg3 = (long *) 0 ;
11113 long *arg4 = (long *) 0 ;
11114 long temp3 ;
11115 int res3 = 0 ;
11116 long temp4 ;
11117 int res4 = 0 ;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "pos", NULL
11122 };
11123
11124 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11125 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
11127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail;
11129 {
11130 arg2 = static_cast<long >(SWIG_As_long(obj1));
11131 if (SWIG_arg_fail(2)) SWIG_fail;
11132 }
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 Py_INCREF(Py_None); resultobj = Py_None;
11141 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11142 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11143 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11144 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11145 return resultobj;
11146 fail:
11147 return NULL;
11148 }
11149
11150
11151 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj = NULL;
11153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11154 long arg2 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self",(char *) "pos", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
11162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail;
11164 {
11165 arg2 = static_cast<long >(SWIG_As_long(obj1));
11166 if (SWIG_arg_fail(2)) SWIG_fail;
11167 }
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 (arg1)->ShowPosition(arg2);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 Py_INCREF(Py_None); resultobj = Py_None;
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj = NULL;
11184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11185 wxPoint *arg2 = 0 ;
11186 long *arg3 = (long *) 0 ;
11187 long *arg4 = (long *) 0 ;
11188 wxTextCtrlHitTestResult result;
11189 wxPoint temp2 ;
11190 long temp3 ;
11191 int res3 = 0 ;
11192 long temp4 ;
11193 int res4 = 0 ;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self",(char *) "pt", NULL
11198 };
11199
11200 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11201 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail;
11205 {
11206 arg2 = &temp2;
11207 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_From_int((result));
11217 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11218 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11219 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11220 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11221 return resultobj;
11222 fail:
11223 return NULL;
11224 }
11225
11226
11227 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11228 PyObject *resultobj = NULL;
11229 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11230 wxPoint *arg2 = 0 ;
11231 long *arg3 = (long *) 0 ;
11232 wxTextCtrlHitTestResult result;
11233 wxPoint temp2 ;
11234 long temp3 ;
11235 int res3 = 0 ;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "pt", NULL
11240 };
11241
11242 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11245 if (SWIG_arg_fail(1)) SWIG_fail;
11246 {
11247 arg2 = &temp2;
11248 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11249 }
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 resultobj = SWIG_From_int((result));
11258 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11259 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj = NULL;
11268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11269 PyObject * obj0 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail;
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 (arg1)->Copy();
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 Py_INCREF(Py_None); resultobj = Py_None;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj = NULL;
11293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11301 if (SWIG_arg_fail(1)) SWIG_fail;
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 (arg1)->Cut();
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 Py_INCREF(Py_None); resultobj = Py_None;
11310 return resultobj;
11311 fail:
11312 return NULL;
11313 }
11314
11315
11316 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj = NULL;
11318 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11319 PyObject * obj0 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail;
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 (arg1)->Paste();
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 Py_INCREF(Py_None); resultobj = Py_None;
11335 return resultobj;
11336 fail:
11337 return NULL;
11338 }
11339
11340
11341 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11342 PyObject *resultobj = NULL;
11343 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11344 bool result;
11345 PyObject * obj0 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail;
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11356
11357 wxPyEndAllowThreads(__tstate);
11358 if (PyErr_Occurred()) SWIG_fail;
11359 }
11360 {
11361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11362 }
11363 return resultobj;
11364 fail:
11365 return NULL;
11366 }
11367
11368
11369 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj = NULL;
11371 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11372 bool result;
11373 PyObject * obj0 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail;
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11384
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 {
11389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11390 }
11391 return resultobj;
11392 fail:
11393 return NULL;
11394 }
11395
11396
11397 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11398 PyObject *resultobj = NULL;
11399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11400 bool result;
11401 PyObject * obj0 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail;
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11418 }
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj = NULL;
11427 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11428 PyObject * obj0 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail;
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 (arg1)->Undo();
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 Py_INCREF(Py_None); resultobj = Py_None;
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj = NULL;
11452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11453 PyObject * obj0 = 0 ;
11454 char *kwnames[] = {
11455 (char *) "self", NULL
11456 };
11457
11458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail;
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 (arg1)->Redo();
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 Py_INCREF(Py_None); resultobj = Py_None;
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj = NULL;
11477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11478 bool result;
11479 PyObject * obj0 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 {
11495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11496 }
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj = NULL;
11505 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11506 bool result;
11507 PyObject * obj0 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11514 if (SWIG_arg_fail(1)) SWIG_fail;
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11524 }
11525 return resultobj;
11526 fail:
11527 return NULL;
11528 }
11529
11530
11531 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11532 PyObject *resultobj = NULL;
11533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11534 long arg2 ;
11535 PyObject * obj0 = 0 ;
11536 PyObject * obj1 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "pos", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail;
11544 {
11545 arg2 = static_cast<long >(SWIG_As_long(obj1));
11546 if (SWIG_arg_fail(2)) SWIG_fail;
11547 }
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 (arg1)->SetInsertionPoint(arg2);
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 Py_INCREF(Py_None); resultobj = Py_None;
11556 return resultobj;
11557 fail:
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj = NULL;
11564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11565 PyObject * obj0 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail;
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 (arg1)->SetInsertionPointEnd();
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 Py_INCREF(Py_None); resultobj = Py_None;
11581 return resultobj;
11582 fail:
11583 return NULL;
11584 }
11585
11586
11587 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj = NULL;
11589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11590 long result;
11591 PyObject * obj0 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11598 if (SWIG_arg_fail(1)) SWIG_fail;
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 {
11607 resultobj = SWIG_From_long(static_cast<long >(result));
11608 }
11609 return resultobj;
11610 fail:
11611 return NULL;
11612 }
11613
11614
11615 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj = NULL;
11617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11618 long result;
11619 PyObject * obj0 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "self", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11626 if (SWIG_arg_fail(1)) SWIG_fail;
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 {
11635 resultobj = SWIG_From_long(static_cast<long >(result));
11636 }
11637 return resultobj;
11638 fail:
11639 return NULL;
11640 }
11641
11642
11643 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj = NULL;
11645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11646 long arg2 ;
11647 long arg3 ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 PyObject * obj2 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "from",(char *) "to", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail;
11658 {
11659 arg2 = static_cast<long >(SWIG_As_long(obj1));
11660 if (SWIG_arg_fail(2)) SWIG_fail;
11661 }
11662 {
11663 arg3 = static_cast<long >(SWIG_As_long(obj2));
11664 if (SWIG_arg_fail(3)) SWIG_fail;
11665 }
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 (arg1)->SetSelection(arg2,arg3);
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 Py_INCREF(Py_None); resultobj = Py_None;
11674 return resultobj;
11675 fail:
11676 return NULL;
11677 }
11678
11679
11680 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj = NULL;
11682 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail;
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 (arg1)->SelectAll();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 Py_INCREF(Py_None); resultobj = Py_None;
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj = NULL;
11707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11708 bool arg2 ;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self",(char *) "editable", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail;
11718 {
11719 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11720 if (SWIG_arg_fail(2)) SWIG_fail;
11721 }
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 (arg1)->SetEditable(arg2);
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 Py_INCREF(Py_None); resultobj = Py_None;
11730 return resultobj;
11731 fail:
11732 return NULL;
11733 }
11734
11735
11736 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11737 PyObject *resultobj = NULL;
11738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11739 bool arg2 = (bool) true ;
11740 bool result;
11741 PyObject * obj0 = 0 ;
11742 PyObject * obj1 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self",(char *) "show", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
11748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail;
11750 if (obj1) {
11751 {
11752 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11753 if (SWIG_arg_fail(2)) SWIG_fail;
11754 }
11755 }
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (bool)(arg1)->ShowNativeCaret(arg2);
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 {
11764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11765 }
11766 return resultobj;
11767 fail:
11768 return NULL;
11769 }
11770
11771
11772 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11773 PyObject *resultobj = NULL;
11774 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11775 bool result;
11776 PyObject * obj0 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
11782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail;
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 result = (bool)(arg1)->HideNativeCaret();
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 {
11792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11793 }
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11801 PyObject *resultobj = NULL;
11802 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11803 wxString *arg2 = 0 ;
11804 bool temp2 = false ;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "text", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail;
11814 {
11815 arg2 = wxString_in_helper(obj1);
11816 if (arg2 == NULL) SWIG_fail;
11817 temp2 = true;
11818 }
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 Py_INCREF(Py_None); resultobj = Py_None;
11827 {
11828 if (temp2)
11829 delete arg2;
11830 }
11831 return resultobj;
11832 fail:
11833 {
11834 if (temp2)
11835 delete arg2;
11836 }
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj = NULL;
11843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11844 long arg2 ;
11845 long arg3 ;
11846 wxString result;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 PyObject * obj2 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self",(char *) "from",(char *) "to", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11856 if (SWIG_arg_fail(1)) SWIG_fail;
11857 {
11858 arg2 = static_cast<long >(SWIG_As_long(obj1));
11859 if (SWIG_arg_fail(2)) SWIG_fail;
11860 }
11861 {
11862 arg3 = static_cast<long >(SWIG_As_long(obj2));
11863 if (SWIG_arg_fail(3)) SWIG_fail;
11864 }
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 {
11873 #if wxUSE_UNICODE
11874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11875 #else
11876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11877 #endif
11878 }
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj = NULL;
11887 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11888 wxVisualAttributes result;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "variant", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11895 if (obj0) {
11896 {
11897 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
11898 if (SWIG_arg_fail(1)) SWIG_fail;
11899 }
11900 }
11901 {
11902 if (!wxPyCheckForApp()) SWIG_fail;
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 {
11910 wxVisualAttributes * resultptr;
11911 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
11912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11913 }
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11921 PyObject *obj;
11922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11923 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11924 Py_INCREF(obj);
11925 return Py_BuildValue((char *)"");
11926 }
11927 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj = NULL;
11929 int arg1 ;
11930 wxMouseEvent *arg2 = 0 ;
11931 long arg3 ;
11932 long arg4 ;
11933 wxTextUrlEvent *result;
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936 PyObject * obj2 = 0 ;
11937 PyObject * obj3 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11943 {
11944 arg1 = static_cast<int >(SWIG_As_int(obj0));
11945 if (SWIG_arg_fail(1)) SWIG_fail;
11946 }
11947 {
11948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11949 if (SWIG_arg_fail(2)) SWIG_fail;
11950 if (arg2 == NULL) {
11951 SWIG_null_ref("wxMouseEvent");
11952 }
11953 if (SWIG_arg_fail(2)) SWIG_fail;
11954 }
11955 {
11956 arg3 = static_cast<long >(SWIG_As_long(obj2));
11957 if (SWIG_arg_fail(3)) SWIG_fail;
11958 }
11959 {
11960 arg4 = static_cast<long >(SWIG_As_long(obj3));
11961 if (SWIG_arg_fail(4)) SWIG_fail;
11962 }
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11971 return resultobj;
11972 fail:
11973 return NULL;
11974 }
11975
11976
11977 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11978 PyObject *resultobj = NULL;
11979 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11980 wxMouseEvent *result;
11981 PyObject * obj0 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail;
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 {
11992 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11993 result = (wxMouseEvent *) &_result_ref;
11994 }
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj = NULL;
12008 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12009 long result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
12016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail;
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 {
12026 resultobj = SWIG_From_long(static_cast<long >(result));
12027 }
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj = NULL;
12036 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12037 long result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
12044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail;
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054 resultobj = SWIG_From_long(static_cast<long >(result));
12055 }
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
12063 PyObject *obj;
12064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12065 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12066 Py_INCREF(obj);
12067 return Py_BuildValue((char *)"");
12068 }
12069 static int _wrap_ScrollBarNameStr_set(PyObject *) {
12070 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12071 return 1;
12072 }
12073
12074
12075 static PyObject *_wrap_ScrollBarNameStr_get(void) {
12076 PyObject *pyobj = NULL;
12077
12078 {
12079 #if wxUSE_UNICODE
12080 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12081 #else
12082 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12083 #endif
12084 }
12085 return pyobj;
12086 }
12087
12088
12089 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj = NULL;
12091 wxWindow *arg1 = (wxWindow *) 0 ;
12092 int arg2 = (int) -1 ;
12093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12095 wxSize const &arg4_defvalue = wxDefaultSize ;
12096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12097 long arg5 = (long) wxSB_HORIZONTAL ;
12098 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12099 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12100 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12101 wxString *arg7 = (wxString *) &arg7_defvalue ;
12102 wxScrollBar *result;
12103 wxPoint temp3 ;
12104 wxSize temp4 ;
12105 bool temp7 = false ;
12106 PyObject * obj0 = 0 ;
12107 PyObject * obj1 = 0 ;
12108 PyObject * obj2 = 0 ;
12109 PyObject * obj3 = 0 ;
12110 PyObject * obj4 = 0 ;
12111 PyObject * obj5 = 0 ;
12112 PyObject * obj6 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail;
12120 if (obj1) {
12121 {
12122 arg2 = static_cast<int >(SWIG_As_int(obj1));
12123 if (SWIG_arg_fail(2)) SWIG_fail;
12124 }
12125 }
12126 if (obj2) {
12127 {
12128 arg3 = &temp3;
12129 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12130 }
12131 }
12132 if (obj3) {
12133 {
12134 arg4 = &temp4;
12135 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12136 }
12137 }
12138 if (obj4) {
12139 {
12140 arg5 = static_cast<long >(SWIG_As_long(obj4));
12141 if (SWIG_arg_fail(5)) SWIG_fail;
12142 }
12143 }
12144 if (obj5) {
12145 {
12146 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12147 if (SWIG_arg_fail(6)) SWIG_fail;
12148 if (arg6 == NULL) {
12149 SWIG_null_ref("wxValidator");
12150 }
12151 if (SWIG_arg_fail(6)) SWIG_fail;
12152 }
12153 }
12154 if (obj6) {
12155 {
12156 arg7 = wxString_in_helper(obj6);
12157 if (arg7 == NULL) SWIG_fail;
12158 temp7 = true;
12159 }
12160 }
12161 {
12162 if (!wxPyCheckForApp()) SWIG_fail;
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12170 {
12171 if (temp7)
12172 delete arg7;
12173 }
12174 return resultobj;
12175 fail:
12176 {
12177 if (temp7)
12178 delete arg7;
12179 }
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj = NULL;
12186 wxScrollBar *result;
12187 char *kwnames[] = {
12188 NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12192 {
12193 if (!wxPyCheckForApp()) SWIG_fail;
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (wxScrollBar *)new wxScrollBar();
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12201 return resultobj;
12202 fail:
12203 return NULL;
12204 }
12205
12206
12207 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj = NULL;
12209 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12210 wxWindow *arg2 = (wxWindow *) 0 ;
12211 int arg3 = (int) -1 ;
12212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12214 wxSize const &arg5_defvalue = wxDefaultSize ;
12215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12216 long arg6 = (long) wxSB_HORIZONTAL ;
12217 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12218 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12219 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12220 wxString *arg8 = (wxString *) &arg8_defvalue ;
12221 bool result;
12222 wxPoint temp4 ;
12223 wxSize temp5 ;
12224 bool temp8 = false ;
12225 PyObject * obj0 = 0 ;
12226 PyObject * obj1 = 0 ;
12227 PyObject * obj2 = 0 ;
12228 PyObject * obj3 = 0 ;
12229 PyObject * obj4 = 0 ;
12230 PyObject * obj5 = 0 ;
12231 PyObject * obj6 = 0 ;
12232 PyObject * obj7 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail;
12240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12241 if (SWIG_arg_fail(2)) SWIG_fail;
12242 if (obj2) {
12243 {
12244 arg3 = static_cast<int >(SWIG_As_int(obj2));
12245 if (SWIG_arg_fail(3)) SWIG_fail;
12246 }
12247 }
12248 if (obj3) {
12249 {
12250 arg4 = &temp4;
12251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12252 }
12253 }
12254 if (obj4) {
12255 {
12256 arg5 = &temp5;
12257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12258 }
12259 }
12260 if (obj5) {
12261 {
12262 arg6 = static_cast<long >(SWIG_As_long(obj5));
12263 if (SWIG_arg_fail(6)) SWIG_fail;
12264 }
12265 }
12266 if (obj6) {
12267 {
12268 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12269 if (SWIG_arg_fail(7)) SWIG_fail;
12270 if (arg7 == NULL) {
12271 SWIG_null_ref("wxValidator");
12272 }
12273 if (SWIG_arg_fail(7)) SWIG_fail;
12274 }
12275 }
12276 if (obj7) {
12277 {
12278 arg8 = wxString_in_helper(obj7);
12279 if (arg8 == NULL) SWIG_fail;
12280 temp8 = true;
12281 }
12282 }
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 {
12291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12292 }
12293 {
12294 if (temp8)
12295 delete arg8;
12296 }
12297 return resultobj;
12298 fail:
12299 {
12300 if (temp8)
12301 delete arg8;
12302 }
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj = NULL;
12309 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12310 int result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 {
12327 resultobj = SWIG_From_int(static_cast<int >(result));
12328 }
12329 return resultobj;
12330 fail:
12331 return NULL;
12332 }
12333
12334
12335 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj = NULL;
12337 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12338 int result;
12339 PyObject * obj0 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "self", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12346 if (SWIG_arg_fail(1)) SWIG_fail;
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12350
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
12354 {
12355 resultobj = SWIG_From_int(static_cast<int >(result));
12356 }
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj = NULL;
12365 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12366 int result;
12367 PyObject * obj0 = 0 ;
12368 char *kwnames[] = {
12369 (char *) "self", NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail;
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 {
12383 resultobj = SWIG_From_int(static_cast<int >(result));
12384 }
12385 return resultobj;
12386 fail:
12387 return NULL;
12388 }
12389
12390
12391 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj = NULL;
12393 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12394 int result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail;
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (int)((wxScrollBar const *)arg1)->GetRange();
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 {
12411 resultobj = SWIG_From_int(static_cast<int >(result));
12412 }
12413 return resultobj;
12414 fail:
12415 return NULL;
12416 }
12417
12418
12419 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12420 PyObject *resultobj = NULL;
12421 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12422 bool result;
12423 PyObject * obj0 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "self", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail;
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12434
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 {
12439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12440 }
12441 return resultobj;
12442 fail:
12443 return NULL;
12444 }
12445
12446
12447 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj = NULL;
12449 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12450 int arg2 ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self",(char *) "viewStart", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail;
12460 {
12461 arg2 = static_cast<int >(SWIG_As_int(obj1));
12462 if (SWIG_arg_fail(2)) SWIG_fail;
12463 }
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 (arg1)->SetThumbPosition(arg2);
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 Py_INCREF(Py_None); resultobj = Py_None;
12472 return resultobj;
12473 fail:
12474 return NULL;
12475 }
12476
12477
12478 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj = NULL;
12480 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12481 int arg2 ;
12482 int arg3 ;
12483 int arg4 ;
12484 int arg5 ;
12485 bool arg6 = (bool) true ;
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 PyObject * obj3 = 0 ;
12490 PyObject * obj4 = 0 ;
12491 PyObject * obj5 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12498 if (SWIG_arg_fail(1)) SWIG_fail;
12499 {
12500 arg2 = static_cast<int >(SWIG_As_int(obj1));
12501 if (SWIG_arg_fail(2)) SWIG_fail;
12502 }
12503 {
12504 arg3 = static_cast<int >(SWIG_As_int(obj2));
12505 if (SWIG_arg_fail(3)) SWIG_fail;
12506 }
12507 {
12508 arg4 = static_cast<int >(SWIG_As_int(obj3));
12509 if (SWIG_arg_fail(4)) SWIG_fail;
12510 }
12511 {
12512 arg5 = static_cast<int >(SWIG_As_int(obj4));
12513 if (SWIG_arg_fail(5)) SWIG_fail;
12514 }
12515 if (obj5) {
12516 {
12517 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
12518 if (SWIG_arg_fail(6)) SWIG_fail;
12519 }
12520 }
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 Py_INCREF(Py_None); resultobj = Py_None;
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj = NULL;
12537 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12538 wxVisualAttributes result;
12539 PyObject * obj0 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "variant", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12545 if (obj0) {
12546 {
12547 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12548 if (SWIG_arg_fail(1)) SWIG_fail;
12549 }
12550 }
12551 {
12552 if (!wxPyCheckForApp()) SWIG_fail;
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = wxScrollBar::GetClassDefaultAttributes(arg1);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 wxVisualAttributes * resultptr;
12561 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12563 }
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12571 PyObject *obj;
12572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12574 Py_INCREF(obj);
12575 return Py_BuildValue((char *)"");
12576 }
12577 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12578 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12579 return 1;
12580 }
12581
12582
12583 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12584 PyObject *pyobj = NULL;
12585
12586 {
12587 #if wxUSE_UNICODE
12588 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12589 #else
12590 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12591 #endif
12592 }
12593 return pyobj;
12594 }
12595
12596
12597 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12598 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12599 return 1;
12600 }
12601
12602
12603 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12604 PyObject *pyobj = NULL;
12605
12606 {
12607 #if wxUSE_UNICODE
12608 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12609 #else
12610 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12611 #endif
12612 }
12613 return pyobj;
12614 }
12615
12616
12617 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12618 PyObject *resultobj = NULL;
12619 wxWindow *arg1 = (wxWindow *) 0 ;
12620 int arg2 = (int) -1 ;
12621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12623 wxSize const &arg4_defvalue = wxDefaultSize ;
12624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12625 long arg5 = (long) wxSP_HORIZONTAL ;
12626 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12627 wxString *arg6 = (wxString *) &arg6_defvalue ;
12628 wxSpinButton *result;
12629 wxPoint temp3 ;
12630 wxSize temp4 ;
12631 bool temp6 = false ;
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
12634 PyObject * obj2 = 0 ;
12635 PyObject * obj3 = 0 ;
12636 PyObject * obj4 = 0 ;
12637 PyObject * obj5 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail;
12645 if (obj1) {
12646 {
12647 arg2 = static_cast<int >(SWIG_As_int(obj1));
12648 if (SWIG_arg_fail(2)) SWIG_fail;
12649 }
12650 }
12651 if (obj2) {
12652 {
12653 arg3 = &temp3;
12654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12655 }
12656 }
12657 if (obj3) {
12658 {
12659 arg4 = &temp4;
12660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12661 }
12662 }
12663 if (obj4) {
12664 {
12665 arg5 = static_cast<long >(SWIG_As_long(obj4));
12666 if (SWIG_arg_fail(5)) SWIG_fail;
12667 }
12668 }
12669 if (obj5) {
12670 {
12671 arg6 = wxString_in_helper(obj5);
12672 if (arg6 == NULL) SWIG_fail;
12673 temp6 = true;
12674 }
12675 }
12676 {
12677 if (!wxPyCheckForApp()) SWIG_fail;
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12685 {
12686 if (temp6)
12687 delete arg6;
12688 }
12689 return resultobj;
12690 fail:
12691 {
12692 if (temp6)
12693 delete arg6;
12694 }
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj = NULL;
12701 wxSpinButton *result;
12702 char *kwnames[] = {
12703 NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12707 {
12708 if (!wxPyCheckForApp()) SWIG_fail;
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
12710 result = (wxSpinButton *)new wxSpinButton();
12711
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12716 return resultobj;
12717 fail:
12718 return NULL;
12719 }
12720
12721
12722 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12723 PyObject *resultobj = NULL;
12724 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12725 wxWindow *arg2 = (wxWindow *) 0 ;
12726 int arg3 = (int) -1 ;
12727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12729 wxSize const &arg5_defvalue = wxDefaultSize ;
12730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12731 long arg6 = (long) wxSP_HORIZONTAL ;
12732 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12733 wxString *arg7 = (wxString *) &arg7_defvalue ;
12734 bool result;
12735 wxPoint temp4 ;
12736 wxSize temp5 ;
12737 bool temp7 = false ;
12738 PyObject * obj0 = 0 ;
12739 PyObject * obj1 = 0 ;
12740 PyObject * obj2 = 0 ;
12741 PyObject * obj3 = 0 ;
12742 PyObject * obj4 = 0 ;
12743 PyObject * obj5 = 0 ;
12744 PyObject * obj6 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail;
12752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12753 if (SWIG_arg_fail(2)) SWIG_fail;
12754 if (obj2) {
12755 {
12756 arg3 = static_cast<int >(SWIG_As_int(obj2));
12757 if (SWIG_arg_fail(3)) SWIG_fail;
12758 }
12759 }
12760 if (obj3) {
12761 {
12762 arg4 = &temp4;
12763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12764 }
12765 }
12766 if (obj4) {
12767 {
12768 arg5 = &temp5;
12769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12770 }
12771 }
12772 if (obj5) {
12773 {
12774 arg6 = static_cast<long >(SWIG_As_long(obj5));
12775 if (SWIG_arg_fail(6)) SWIG_fail;
12776 }
12777 }
12778 if (obj6) {
12779 {
12780 arg7 = wxString_in_helper(obj6);
12781 if (arg7 == NULL) SWIG_fail;
12782 temp7 = true;
12783 }
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12794 }
12795 {
12796 if (temp7)
12797 delete arg7;
12798 }
12799 return resultobj;
12800 fail:
12801 {
12802 if (temp7)
12803 delete arg7;
12804 }
12805 return NULL;
12806 }
12807
12808
12809 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj = NULL;
12811 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12812 int result;
12813 PyObject * obj0 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail;
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 result = (int)((wxSpinButton const *)arg1)->GetValue();
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 {
12829 resultobj = SWIG_From_int(static_cast<int >(result));
12830 }
12831 return resultobj;
12832 fail:
12833 return NULL;
12834 }
12835
12836
12837 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj = NULL;
12839 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12840 int result;
12841 PyObject * obj0 = 0 ;
12842 char *kwnames[] = {
12843 (char *) "self", NULL
12844 };
12845
12846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12848 if (SWIG_arg_fail(1)) SWIG_fail;
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = (int)((wxSpinButton const *)arg1)->GetMin();
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 {
12857 resultobj = SWIG_From_int(static_cast<int >(result));
12858 }
12859 return resultobj;
12860 fail:
12861 return NULL;
12862 }
12863
12864
12865 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj = NULL;
12867 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12868 int result;
12869 PyObject * obj0 = 0 ;
12870 char *kwnames[] = {
12871 (char *) "self", NULL
12872 };
12873
12874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12876 if (SWIG_arg_fail(1)) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (int)((wxSpinButton const *)arg1)->GetMax();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 {
12885 resultobj = SWIG_From_int(static_cast<int >(result));
12886 }
12887 return resultobj;
12888 fail:
12889 return NULL;
12890 }
12891
12892
12893 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj = NULL;
12895 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12896 int arg2 ;
12897 PyObject * obj0 = 0 ;
12898 PyObject * obj1 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self",(char *) "val", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
12908 if (SWIG_arg_fail(2)) SWIG_fail;
12909 }
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 (arg1)->SetValue(arg2);
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 Py_INCREF(Py_None); resultobj = Py_None;
12918 return resultobj;
12919 fail:
12920 return NULL;
12921 }
12922
12923
12924 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12925 PyObject *resultobj = NULL;
12926 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12927 int arg2 ;
12928 PyObject * obj0 = 0 ;
12929 PyObject * obj1 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self",(char *) "minVal", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail;
12937 {
12938 arg2 = static_cast<int >(SWIG_As_int(obj1));
12939 if (SWIG_arg_fail(2)) SWIG_fail;
12940 }
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 (arg1)->SetMin(arg2);
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 Py_INCREF(Py_None); resultobj = Py_None;
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj = NULL;
12957 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12958 int arg2 ;
12959 PyObject * obj0 = 0 ;
12960 PyObject * obj1 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self",(char *) "maxVal", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 {
12969 arg2 = static_cast<int >(SWIG_As_int(obj1));
12970 if (SWIG_arg_fail(2)) SWIG_fail;
12971 }
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 (arg1)->SetMax(arg2);
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 Py_INCREF(Py_None); resultobj = Py_None;
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj = NULL;
12988 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12989 int arg2 ;
12990 int arg3 ;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 PyObject * obj2 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13000 if (SWIG_arg_fail(1)) SWIG_fail;
13001 {
13002 arg2 = static_cast<int >(SWIG_As_int(obj1));
13003 if (SWIG_arg_fail(2)) SWIG_fail;
13004 }
13005 {
13006 arg3 = static_cast<int >(SWIG_As_int(obj2));
13007 if (SWIG_arg_fail(3)) SWIG_fail;
13008 }
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 (arg1)->SetRange(arg2,arg3);
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 Py_INCREF(Py_None); resultobj = Py_None;
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj = NULL;
13025 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13026 bool result;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
13033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 {
13043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13044 }
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj = NULL;
13053 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13054 wxVisualAttributes result;
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "variant", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13061 if (obj0) {
13062 {
13063 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13064 if (SWIG_arg_fail(1)) SWIG_fail;
13065 }
13066 }
13067 {
13068 if (!wxPyCheckForApp()) SWIG_fail;
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 result = wxSpinButton::GetClassDefaultAttributes(arg1);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 {
13076 wxVisualAttributes * resultptr;
13077 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13079 }
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
13087 PyObject *obj;
13088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13089 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13090 Py_INCREF(obj);
13091 return Py_BuildValue((char *)"");
13092 }
13093 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj = NULL;
13095 wxWindow *arg1 = (wxWindow *) 0 ;
13096 int arg2 = (int) -1 ;
13097 wxString const &arg3_defvalue = wxPyEmptyString ;
13098 wxString *arg3 = (wxString *) &arg3_defvalue ;
13099 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13100 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13101 wxSize const &arg5_defvalue = wxDefaultSize ;
13102 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13103 long arg6 = (long) wxSP_ARROW_KEYS ;
13104 int arg7 = (int) 0 ;
13105 int arg8 = (int) 100 ;
13106 int arg9 = (int) 0 ;
13107 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13108 wxString *arg10 = (wxString *) &arg10_defvalue ;
13109 wxSpinCtrl *result;
13110 bool temp3 = false ;
13111 wxPoint temp4 ;
13112 wxSize temp5 ;
13113 bool temp10 = false ;
13114 PyObject * obj0 = 0 ;
13115 PyObject * obj1 = 0 ;
13116 PyObject * obj2 = 0 ;
13117 PyObject * obj3 = 0 ;
13118 PyObject * obj4 = 0 ;
13119 PyObject * obj5 = 0 ;
13120 PyObject * obj6 = 0 ;
13121 PyObject * obj7 = 0 ;
13122 PyObject * obj8 = 0 ;
13123 PyObject * obj9 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 if (obj1) {
13132 {
13133 arg2 = static_cast<int >(SWIG_As_int(obj1));
13134 if (SWIG_arg_fail(2)) SWIG_fail;
13135 }
13136 }
13137 if (obj2) {
13138 {
13139 arg3 = wxString_in_helper(obj2);
13140 if (arg3 == NULL) SWIG_fail;
13141 temp3 = true;
13142 }
13143 }
13144 if (obj3) {
13145 {
13146 arg4 = &temp4;
13147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13148 }
13149 }
13150 if (obj4) {
13151 {
13152 arg5 = &temp5;
13153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13154 }
13155 }
13156 if (obj5) {
13157 {
13158 arg6 = static_cast<long >(SWIG_As_long(obj5));
13159 if (SWIG_arg_fail(6)) SWIG_fail;
13160 }
13161 }
13162 if (obj6) {
13163 {
13164 arg7 = static_cast<int >(SWIG_As_int(obj6));
13165 if (SWIG_arg_fail(7)) SWIG_fail;
13166 }
13167 }
13168 if (obj7) {
13169 {
13170 arg8 = static_cast<int >(SWIG_As_int(obj7));
13171 if (SWIG_arg_fail(8)) SWIG_fail;
13172 }
13173 }
13174 if (obj8) {
13175 {
13176 arg9 = static_cast<int >(SWIG_As_int(obj8));
13177 if (SWIG_arg_fail(9)) SWIG_fail;
13178 }
13179 }
13180 if (obj9) {
13181 {
13182 arg10 = wxString_in_helper(obj9);
13183 if (arg10 == NULL) SWIG_fail;
13184 temp10 = true;
13185 }
13186 }
13187 {
13188 if (!wxPyCheckForApp()) SWIG_fail;
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13196 {
13197 if (temp3)
13198 delete arg3;
13199 }
13200 {
13201 if (temp10)
13202 delete arg10;
13203 }
13204 return resultobj;
13205 fail:
13206 {
13207 if (temp3)
13208 delete arg3;
13209 }
13210 {
13211 if (temp10)
13212 delete arg10;
13213 }
13214 return NULL;
13215 }
13216
13217
13218 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj = NULL;
13220 wxSpinCtrl *result;
13221 char *kwnames[] = {
13222 NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13226 {
13227 if (!wxPyCheckForApp()) SWIG_fail;
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (wxSpinCtrl *)new wxSpinCtrl();
13230
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
13234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj = NULL;
13243 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13244 wxWindow *arg2 = (wxWindow *) 0 ;
13245 int arg3 = (int) -1 ;
13246 wxString const &arg4_defvalue = wxPyEmptyString ;
13247 wxString *arg4 = (wxString *) &arg4_defvalue ;
13248 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13249 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13250 wxSize const &arg6_defvalue = wxDefaultSize ;
13251 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13252 long arg7 = (long) wxSP_ARROW_KEYS ;
13253 int arg8 = (int) 0 ;
13254 int arg9 = (int) 100 ;
13255 int arg10 = (int) 0 ;
13256 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13257 wxString *arg11 = (wxString *) &arg11_defvalue ;
13258 bool result;
13259 bool temp4 = false ;
13260 wxPoint temp5 ;
13261 wxSize temp6 ;
13262 bool temp11 = false ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 PyObject * obj3 = 0 ;
13267 PyObject * obj4 = 0 ;
13268 PyObject * obj5 = 0 ;
13269 PyObject * obj6 = 0 ;
13270 PyObject * obj7 = 0 ;
13271 PyObject * obj8 = 0 ;
13272 PyObject * obj9 = 0 ;
13273 PyObject * obj10 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13280 if (SWIG_arg_fail(1)) SWIG_fail;
13281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13282 if (SWIG_arg_fail(2)) SWIG_fail;
13283 if (obj2) {
13284 {
13285 arg3 = static_cast<int >(SWIG_As_int(obj2));
13286 if (SWIG_arg_fail(3)) SWIG_fail;
13287 }
13288 }
13289 if (obj3) {
13290 {
13291 arg4 = wxString_in_helper(obj3);
13292 if (arg4 == NULL) SWIG_fail;
13293 temp4 = true;
13294 }
13295 }
13296 if (obj4) {
13297 {
13298 arg5 = &temp5;
13299 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13300 }
13301 }
13302 if (obj5) {
13303 {
13304 arg6 = &temp6;
13305 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13306 }
13307 }
13308 if (obj6) {
13309 {
13310 arg7 = static_cast<long >(SWIG_As_long(obj6));
13311 if (SWIG_arg_fail(7)) SWIG_fail;
13312 }
13313 }
13314 if (obj7) {
13315 {
13316 arg8 = static_cast<int >(SWIG_As_int(obj7));
13317 if (SWIG_arg_fail(8)) SWIG_fail;
13318 }
13319 }
13320 if (obj8) {
13321 {
13322 arg9 = static_cast<int >(SWIG_As_int(obj8));
13323 if (SWIG_arg_fail(9)) SWIG_fail;
13324 }
13325 }
13326 if (obj9) {
13327 {
13328 arg10 = static_cast<int >(SWIG_As_int(obj9));
13329 if (SWIG_arg_fail(10)) SWIG_fail;
13330 }
13331 }
13332 if (obj10) {
13333 {
13334 arg11 = wxString_in_helper(obj10);
13335 if (arg11 == NULL) SWIG_fail;
13336 temp11 = true;
13337 }
13338 }
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 {
13347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13348 }
13349 {
13350 if (temp4)
13351 delete arg4;
13352 }
13353 {
13354 if (temp11)
13355 delete arg11;
13356 }
13357 return resultobj;
13358 fail:
13359 {
13360 if (temp4)
13361 delete arg4;
13362 }
13363 {
13364 if (temp11)
13365 delete arg11;
13366 }
13367 return NULL;
13368 }
13369
13370
13371 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13372 PyObject *resultobj = NULL;
13373 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13374 int result;
13375 PyObject * obj0 = 0 ;
13376 char *kwnames[] = {
13377 (char *) "self", NULL
13378 };
13379
13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13382 if (SWIG_arg_fail(1)) SWIG_fail;
13383 {
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13386
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 {
13391 resultobj = SWIG_From_int(static_cast<int >(result));
13392 }
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj = NULL;
13401 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13402 int arg2 ;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "value", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13411 if (SWIG_arg_fail(1)) SWIG_fail;
13412 {
13413 arg2 = static_cast<int >(SWIG_As_int(obj1));
13414 if (SWIG_arg_fail(2)) SWIG_fail;
13415 }
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->SetValue(arg2);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 Py_INCREF(Py_None); resultobj = Py_None;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427 }
13428
13429
13430 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj = NULL;
13432 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13433 wxString *arg2 = 0 ;
13434 bool temp2 = false ;
13435 PyObject * obj0 = 0 ;
13436 PyObject * obj1 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self",(char *) "text", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail;
13444 {
13445 arg2 = wxString_in_helper(obj1);
13446 if (arg2 == NULL) SWIG_fail;
13447 temp2 = true;
13448 }
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 (arg1)->SetValue((wxString const &)*arg2);
13452
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 Py_INCREF(Py_None); resultobj = Py_None;
13457 {
13458 if (temp2)
13459 delete arg2;
13460 }
13461 return resultobj;
13462 fail:
13463 {
13464 if (temp2)
13465 delete arg2;
13466 }
13467 return NULL;
13468 }
13469
13470
13471 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj = NULL;
13473 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13474 int arg2 ;
13475 int arg3 ;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 PyObject * obj2 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail;
13486 {
13487 arg2 = static_cast<int >(SWIG_As_int(obj1));
13488 if (SWIG_arg_fail(2)) SWIG_fail;
13489 }
13490 {
13491 arg3 = static_cast<int >(SWIG_As_int(obj2));
13492 if (SWIG_arg_fail(3)) SWIG_fail;
13493 }
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 (arg1)->SetRange(arg2,arg3);
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 Py_INCREF(Py_None); resultobj = Py_None;
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13509 PyObject *resultobj = NULL;
13510 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13511 int result;
13512 PyObject * obj0 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13519 if (SWIG_arg_fail(1)) SWIG_fail;
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 {
13528 resultobj = SWIG_From_int(static_cast<int >(result));
13529 }
13530 return resultobj;
13531 fail:
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj = NULL;
13538 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13539 int result;
13540 PyObject * obj0 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 resultobj = SWIG_From_int(static_cast<int >(result));
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj = NULL;
13566 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13567 long arg2 ;
13568 long arg3 ;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 PyObject * obj2 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "from",(char *) "to", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 {
13580 arg2 = static_cast<long >(SWIG_As_long(obj1));
13581 if (SWIG_arg_fail(2)) SWIG_fail;
13582 }
13583 {
13584 arg3 = static_cast<long >(SWIG_As_long(obj2));
13585 if (SWIG_arg_fail(3)) SWIG_fail;
13586 }
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 (arg1)->SetSelection(arg2,arg3);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598 }
13599
13600
13601 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj = NULL;
13603 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13604 wxVisualAttributes result;
13605 PyObject * obj0 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "variant", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13611 if (obj0) {
13612 {
13613 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13614 if (SWIG_arg_fail(1)) SWIG_fail;
13615 }
13616 }
13617 {
13618 if (!wxPyCheckForApp()) SWIG_fail;
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
13621
13622 wxPyEndAllowThreads(__tstate);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 }
13625 {
13626 wxVisualAttributes * resultptr;
13627 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13629 }
13630 return resultobj;
13631 fail:
13632 return NULL;
13633 }
13634
13635
13636 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13637 PyObject *obj;
13638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13639 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13640 Py_INCREF(obj);
13641 return Py_BuildValue((char *)"");
13642 }
13643 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13644 PyObject *resultobj = NULL;
13645 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13646 int arg2 = (int) 0 ;
13647 wxSpinEvent *result;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "commandType",(char *) "winid", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13655 if (obj0) {
13656 {
13657 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13658 if (SWIG_arg_fail(1)) SWIG_fail;
13659 }
13660 }
13661 if (obj1) {
13662 {
13663 arg2 = static_cast<int >(SWIG_As_int(obj1));
13664 if (SWIG_arg_fail(2)) SWIG_fail;
13665 }
13666 }
13667 {
13668 PyThreadState* __tstate = wxPyBeginAllowThreads();
13669 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13670
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13675 return resultobj;
13676 fail:
13677 return NULL;
13678 }
13679
13680
13681 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj = NULL;
13683 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13684 int result;
13685 PyObject * obj0 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 {
13701 resultobj = SWIG_From_int(static_cast<int >(result));
13702 }
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj = NULL;
13711 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13712 int arg2 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "pos", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail;
13722 {
13723 arg2 = static_cast<int >(SWIG_As_int(obj1));
13724 if (SWIG_arg_fail(2)) SWIG_fail;
13725 }
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->SetPosition(arg2);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13741 PyObject *obj;
13742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13743 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13744 Py_INCREF(obj);
13745 return Py_BuildValue((char *)"");
13746 }
13747 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13748 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13749 return 1;
13750 }
13751
13752
13753 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13754 PyObject *pyobj = NULL;
13755
13756 {
13757 #if wxUSE_UNICODE
13758 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13759 #else
13760 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13761 #endif
13762 }
13763 return pyobj;
13764 }
13765
13766
13767 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13768 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13769 return 1;
13770 }
13771
13772
13773 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13774 PyObject *pyobj = NULL;
13775
13776 {
13777 #if wxUSE_UNICODE
13778 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13779 #else
13780 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13781 #endif
13782 }
13783 return pyobj;
13784 }
13785
13786
13787 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj = NULL;
13789 wxWindow *arg1 = (wxWindow *) 0 ;
13790 int arg2 = (int) -1 ;
13791 wxString const &arg3_defvalue = wxPyEmptyString ;
13792 wxString *arg3 = (wxString *) &arg3_defvalue ;
13793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13795 wxSize const &arg5_defvalue = wxDefaultSize ;
13796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13797 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13798 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13799 int arg7 = (int) 0 ;
13800 long arg8 = (long) wxRA_HORIZONTAL ;
13801 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13802 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13803 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13804 wxString *arg10 = (wxString *) &arg10_defvalue ;
13805 wxRadioBox *result;
13806 bool temp3 = false ;
13807 wxPoint temp4 ;
13808 wxSize temp5 ;
13809 bool temp6 = false ;
13810 bool temp10 = false ;
13811 PyObject * obj0 = 0 ;
13812 PyObject * obj1 = 0 ;
13813 PyObject * obj2 = 0 ;
13814 PyObject * obj3 = 0 ;
13815 PyObject * obj4 = 0 ;
13816 PyObject * obj5 = 0 ;
13817 PyObject * obj6 = 0 ;
13818 PyObject * obj7 = 0 ;
13819 PyObject * obj8 = 0 ;
13820 PyObject * obj9 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail;
13828 if (obj1) {
13829 {
13830 arg2 = static_cast<int >(SWIG_As_int(obj1));
13831 if (SWIG_arg_fail(2)) SWIG_fail;
13832 }
13833 }
13834 if (obj2) {
13835 {
13836 arg3 = wxString_in_helper(obj2);
13837 if (arg3 == NULL) SWIG_fail;
13838 temp3 = true;
13839 }
13840 }
13841 if (obj3) {
13842 {
13843 arg4 = &temp4;
13844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13845 }
13846 }
13847 if (obj4) {
13848 {
13849 arg5 = &temp5;
13850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13851 }
13852 }
13853 if (obj5) {
13854 {
13855 if (! PySequence_Check(obj5)) {
13856 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13857 SWIG_fail;
13858 }
13859 arg6 = new wxArrayString;
13860 temp6 = true;
13861 int i, len=PySequence_Length(obj5);
13862 for (i=0; i<len; i++) {
13863 PyObject* item = PySequence_GetItem(obj5, i);
13864 wxString* s = wxString_in_helper(item);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 arg6->Add(*s);
13867 delete s;
13868 Py_DECREF(item);
13869 }
13870 }
13871 }
13872 if (obj6) {
13873 {
13874 arg7 = static_cast<int >(SWIG_As_int(obj6));
13875 if (SWIG_arg_fail(7)) SWIG_fail;
13876 }
13877 }
13878 if (obj7) {
13879 {
13880 arg8 = static_cast<long >(SWIG_As_long(obj7));
13881 if (SWIG_arg_fail(8)) SWIG_fail;
13882 }
13883 }
13884 if (obj8) {
13885 {
13886 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13887 if (SWIG_arg_fail(9)) SWIG_fail;
13888 if (arg9 == NULL) {
13889 SWIG_null_ref("wxValidator");
13890 }
13891 if (SWIG_arg_fail(9)) SWIG_fail;
13892 }
13893 }
13894 if (obj9) {
13895 {
13896 arg10 = wxString_in_helper(obj9);
13897 if (arg10 == NULL) SWIG_fail;
13898 temp10 = true;
13899 }
13900 }
13901 {
13902 if (!wxPyCheckForApp()) SWIG_fail;
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 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);
13905
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13910 {
13911 if (temp3)
13912 delete arg3;
13913 }
13914 {
13915 if (temp6) delete arg6;
13916 }
13917 {
13918 if (temp10)
13919 delete arg10;
13920 }
13921 return resultobj;
13922 fail:
13923 {
13924 if (temp3)
13925 delete arg3;
13926 }
13927 {
13928 if (temp6) delete arg6;
13929 }
13930 {
13931 if (temp10)
13932 delete arg10;
13933 }
13934 return NULL;
13935 }
13936
13937
13938 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13939 PyObject *resultobj = NULL;
13940 wxRadioBox *result;
13941 char *kwnames[] = {
13942 NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13946 {
13947 if (!wxPyCheckForApp()) SWIG_fail;
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (wxRadioBox *)new wxRadioBox();
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13955 return resultobj;
13956 fail:
13957 return NULL;
13958 }
13959
13960
13961 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj = NULL;
13963 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13964 wxWindow *arg2 = (wxWindow *) 0 ;
13965 int arg3 = (int) -1 ;
13966 wxString const &arg4_defvalue = wxPyEmptyString ;
13967 wxString *arg4 = (wxString *) &arg4_defvalue ;
13968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13970 wxSize const &arg6_defvalue = wxDefaultSize ;
13971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13972 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13973 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13974 int arg8 = (int) 0 ;
13975 long arg9 = (long) wxRA_HORIZONTAL ;
13976 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13977 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13978 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13979 wxString *arg11 = (wxString *) &arg11_defvalue ;
13980 bool result;
13981 bool temp4 = false ;
13982 wxPoint temp5 ;
13983 wxSize temp6 ;
13984 bool temp7 = false ;
13985 bool temp11 = false ;
13986 PyObject * obj0 = 0 ;
13987 PyObject * obj1 = 0 ;
13988 PyObject * obj2 = 0 ;
13989 PyObject * obj3 = 0 ;
13990 PyObject * obj4 = 0 ;
13991 PyObject * obj5 = 0 ;
13992 PyObject * obj6 = 0 ;
13993 PyObject * obj7 = 0 ;
13994 PyObject * obj8 = 0 ;
13995 PyObject * obj9 = 0 ;
13996 PyObject * obj10 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14003 if (SWIG_arg_fail(1)) SWIG_fail;
14004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14005 if (SWIG_arg_fail(2)) SWIG_fail;
14006 if (obj2) {
14007 {
14008 arg3 = static_cast<int >(SWIG_As_int(obj2));
14009 if (SWIG_arg_fail(3)) SWIG_fail;
14010 }
14011 }
14012 if (obj3) {
14013 {
14014 arg4 = wxString_in_helper(obj3);
14015 if (arg4 == NULL) SWIG_fail;
14016 temp4 = true;
14017 }
14018 }
14019 if (obj4) {
14020 {
14021 arg5 = &temp5;
14022 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14023 }
14024 }
14025 if (obj5) {
14026 {
14027 arg6 = &temp6;
14028 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14029 }
14030 }
14031 if (obj6) {
14032 {
14033 if (! PySequence_Check(obj6)) {
14034 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14035 SWIG_fail;
14036 }
14037 arg7 = new wxArrayString;
14038 temp7 = true;
14039 int i, len=PySequence_Length(obj6);
14040 for (i=0; i<len; i++) {
14041 PyObject* item = PySequence_GetItem(obj6, i);
14042 wxString* s = wxString_in_helper(item);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 arg7->Add(*s);
14045 delete s;
14046 Py_DECREF(item);
14047 }
14048 }
14049 }
14050 if (obj7) {
14051 {
14052 arg8 = static_cast<int >(SWIG_As_int(obj7));
14053 if (SWIG_arg_fail(8)) SWIG_fail;
14054 }
14055 }
14056 if (obj8) {
14057 {
14058 arg9 = static_cast<long >(SWIG_As_long(obj8));
14059 if (SWIG_arg_fail(9)) SWIG_fail;
14060 }
14061 }
14062 if (obj9) {
14063 {
14064 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14065 if (SWIG_arg_fail(10)) SWIG_fail;
14066 if (arg10 == NULL) {
14067 SWIG_null_ref("wxValidator");
14068 }
14069 if (SWIG_arg_fail(10)) SWIG_fail;
14070 }
14071 }
14072 if (obj10) {
14073 {
14074 arg11 = wxString_in_helper(obj10);
14075 if (arg11 == NULL) SWIG_fail;
14076 temp11 = true;
14077 }
14078 }
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 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);
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14088 }
14089 {
14090 if (temp4)
14091 delete arg4;
14092 }
14093 {
14094 if (temp7) delete arg7;
14095 }
14096 {
14097 if (temp11)
14098 delete arg11;
14099 }
14100 return resultobj;
14101 fail:
14102 {
14103 if (temp4)
14104 delete arg4;
14105 }
14106 {
14107 if (temp7) delete arg7;
14108 }
14109 {
14110 if (temp11)
14111 delete arg11;
14112 }
14113 return NULL;
14114 }
14115
14116
14117 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj = NULL;
14119 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14120 int arg2 ;
14121 PyObject * obj0 = 0 ;
14122 PyObject * obj1 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self",(char *) "n", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14129 if (SWIG_arg_fail(1)) SWIG_fail;
14130 {
14131 arg2 = static_cast<int >(SWIG_As_int(obj1));
14132 if (SWIG_arg_fail(2)) SWIG_fail;
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 (arg1)->SetSelection(arg2);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 Py_INCREF(Py_None); resultobj = Py_None;
14142 return resultobj;
14143 fail:
14144 return NULL;
14145 }
14146
14147
14148 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14149 PyObject *resultobj = NULL;
14150 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14151 int result;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
14158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 {
14168 resultobj = SWIG_From_int(static_cast<int >(result));
14169 }
14170 return resultobj;
14171 fail:
14172 return NULL;
14173 }
14174
14175
14176 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj = NULL;
14178 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14179 wxString result;
14180 PyObject * obj0 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
14186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail;
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 {
14196 #if wxUSE_UNICODE
14197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14198 #else
14199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14200 #endif
14201 }
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj = NULL;
14210 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14211 wxString *arg2 = 0 ;
14212 bool result;
14213 bool temp2 = false ;
14214 PyObject * obj0 = 0 ;
14215 PyObject * obj1 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self",(char *) "s", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
14221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail;
14223 {
14224 arg2 = wxString_in_helper(obj1);
14225 if (arg2 == NULL) SWIG_fail;
14226 temp2 = true;
14227 }
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14231
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 {
14236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14237 }
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj = NULL;
14254 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14255 int result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (int)((wxRadioBox const *)arg1)->GetCount();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272 resultobj = SWIG_From_int(static_cast<int >(result));
14273 }
14274 return resultobj;
14275 fail:
14276 return NULL;
14277 }
14278
14279
14280 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj = NULL;
14282 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14283 wxString *arg2 = 0 ;
14284 int result;
14285 bool temp2 = false ;
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self",(char *) "s", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) 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 = wxString_in_helper(obj1);
14297 if (arg2 == NULL) SWIG_fail;
14298 temp2 = true;
14299 }
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 {
14308 resultobj = SWIG_From_int(static_cast<int >(result));
14309 }
14310 {
14311 if (temp2)
14312 delete arg2;
14313 }
14314 return resultobj;
14315 fail:
14316 {
14317 if (temp2)
14318 delete arg2;
14319 }
14320 return NULL;
14321 }
14322
14323
14324 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj = NULL;
14326 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14327 int arg2 ;
14328 wxString result;
14329 PyObject * obj0 = 0 ;
14330 PyObject * obj1 = 0 ;
14331 char *kwnames[] = {
14332 (char *) "self",(char *) "n", NULL
14333 };
14334
14335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14337 if (SWIG_arg_fail(1)) SWIG_fail;
14338 {
14339 arg2 = static_cast<int >(SWIG_As_int(obj1));
14340 if (SWIG_arg_fail(2)) SWIG_fail;
14341 }
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 {
14350 #if wxUSE_UNICODE
14351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14352 #else
14353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14354 #endif
14355 }
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj = NULL;
14364 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14365 int arg2 ;
14366 wxString *arg3 = 0 ;
14367 bool temp3 = false ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj1 = 0 ;
14370 PyObject * obj2 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self",(char *) "n",(char *) "label", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14377 if (SWIG_arg_fail(1)) SWIG_fail;
14378 {
14379 arg2 = static_cast<int >(SWIG_As_int(obj1));
14380 if (SWIG_arg_fail(2)) SWIG_fail;
14381 }
14382 {
14383 arg3 = wxString_in_helper(obj2);
14384 if (arg3 == NULL) SWIG_fail;
14385 temp3 = true;
14386 }
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 (arg1)->SetString(arg2,(wxString const &)*arg3);
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 Py_INCREF(Py_None); resultobj = Py_None;
14395 {
14396 if (temp3)
14397 delete arg3;
14398 }
14399 return resultobj;
14400 fail:
14401 {
14402 if (temp3)
14403 delete arg3;
14404 }
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj = NULL;
14411 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14412 int arg2 ;
14413 bool arg3 = (bool) true ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 PyObject * obj2 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self",(char *) "n",(char *) "enable", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail;
14424 {
14425 arg2 = static_cast<int >(SWIG_As_int(obj1));
14426 if (SWIG_arg_fail(2)) SWIG_fail;
14427 }
14428 if (obj2) {
14429 {
14430 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14431 if (SWIG_arg_fail(3)) SWIG_fail;
14432 }
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 (arg1)->Enable(arg2,arg3);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 return resultobj;
14443 fail:
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj = NULL;
14450 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14451 int arg2 ;
14452 bool arg3 = (bool) true ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "n",(char *) "show", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14462 if (SWIG_arg_fail(1)) SWIG_fail;
14463 {
14464 arg2 = static_cast<int >(SWIG_As_int(obj1));
14465 if (SWIG_arg_fail(2)) SWIG_fail;
14466 }
14467 if (obj2) {
14468 {
14469 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14470 if (SWIG_arg_fail(3)) SWIG_fail;
14471 }
14472 }
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 (arg1)->Show(arg2,arg3);
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 Py_INCREF(Py_None); resultobj = Py_None;
14481 return resultobj;
14482 fail:
14483 return NULL;
14484 }
14485
14486
14487 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj = NULL;
14489 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14490 int result;
14491 PyObject * obj0 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail;
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 {
14507 resultobj = SWIG_From_int(static_cast<int >(result));
14508 }
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj = NULL;
14517 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14518 int result;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 {
14535 resultobj = SWIG_From_int(static_cast<int >(result));
14536 }
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj = NULL;
14545 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14546 int arg2 ;
14547 wxDirection arg3 ;
14548 long arg4 ;
14549 int result;
14550 PyObject * obj0 = 0 ;
14551 PyObject * obj1 = 0 ;
14552 PyObject * obj2 = 0 ;
14553 PyObject * obj3 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail;
14561 {
14562 arg2 = static_cast<int >(SWIG_As_int(obj1));
14563 if (SWIG_arg_fail(2)) SWIG_fail;
14564 }
14565 {
14566 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
14567 if (SWIG_arg_fail(3)) SWIG_fail;
14568 }
14569 {
14570 arg4 = static_cast<long >(SWIG_As_long(obj3));
14571 if (SWIG_arg_fail(4)) SWIG_fail;
14572 }
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 {
14581 resultobj = SWIG_From_int(static_cast<int >(result));
14582 }
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj = NULL;
14591 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14592 wxVisualAttributes result;
14593 PyObject * obj0 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "variant", NULL
14596 };
14597
14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14599 if (obj0) {
14600 {
14601 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14602 if (SWIG_arg_fail(1)) SWIG_fail;
14603 }
14604 }
14605 {
14606 if (!wxPyCheckForApp()) SWIG_fail;
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = wxRadioBox::GetClassDefaultAttributes(arg1);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 {
14614 wxVisualAttributes * resultptr;
14615 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14617 }
14618 return resultobj;
14619 fail:
14620 return NULL;
14621 }
14622
14623
14624 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14625 PyObject *obj;
14626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14627 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14628 Py_INCREF(obj);
14629 return Py_BuildValue((char *)"");
14630 }
14631 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj = NULL;
14633 wxWindow *arg1 = (wxWindow *) 0 ;
14634 int arg2 = (int) -1 ;
14635 wxString const &arg3_defvalue = wxPyEmptyString ;
14636 wxString *arg3 = (wxString *) &arg3_defvalue ;
14637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14639 wxSize const &arg5_defvalue = wxDefaultSize ;
14640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14641 long arg6 = (long) 0 ;
14642 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14643 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14644 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14645 wxString *arg8 = (wxString *) &arg8_defvalue ;
14646 wxRadioButton *result;
14647 bool temp3 = false ;
14648 wxPoint temp4 ;
14649 wxSize temp5 ;
14650 bool temp8 = false ;
14651 PyObject * obj0 = 0 ;
14652 PyObject * obj1 = 0 ;
14653 PyObject * obj2 = 0 ;
14654 PyObject * obj3 = 0 ;
14655 PyObject * obj4 = 0 ;
14656 PyObject * obj5 = 0 ;
14657 PyObject * obj6 = 0 ;
14658 PyObject * obj7 = 0 ;
14659 char *kwnames[] = {
14660 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14661 };
14662
14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14665 if (SWIG_arg_fail(1)) SWIG_fail;
14666 if (obj1) {
14667 {
14668 arg2 = static_cast<int >(SWIG_As_int(obj1));
14669 if (SWIG_arg_fail(2)) SWIG_fail;
14670 }
14671 }
14672 if (obj2) {
14673 {
14674 arg3 = wxString_in_helper(obj2);
14675 if (arg3 == NULL) SWIG_fail;
14676 temp3 = true;
14677 }
14678 }
14679 if (obj3) {
14680 {
14681 arg4 = &temp4;
14682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14683 }
14684 }
14685 if (obj4) {
14686 {
14687 arg5 = &temp5;
14688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14689 }
14690 }
14691 if (obj5) {
14692 {
14693 arg6 = static_cast<long >(SWIG_As_long(obj5));
14694 if (SWIG_arg_fail(6)) SWIG_fail;
14695 }
14696 }
14697 if (obj6) {
14698 {
14699 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14700 if (SWIG_arg_fail(7)) SWIG_fail;
14701 if (arg7 == NULL) {
14702 SWIG_null_ref("wxValidator");
14703 }
14704 if (SWIG_arg_fail(7)) SWIG_fail;
14705 }
14706 }
14707 if (obj7) {
14708 {
14709 arg8 = wxString_in_helper(obj7);
14710 if (arg8 == NULL) SWIG_fail;
14711 temp8 = true;
14712 }
14713 }
14714 {
14715 if (!wxPyCheckForApp()) SWIG_fail;
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14723 {
14724 if (temp3)
14725 delete arg3;
14726 }
14727 {
14728 if (temp8)
14729 delete arg8;
14730 }
14731 return resultobj;
14732 fail:
14733 {
14734 if (temp3)
14735 delete arg3;
14736 }
14737 {
14738 if (temp8)
14739 delete arg8;
14740 }
14741 return NULL;
14742 }
14743
14744
14745 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj = NULL;
14747 wxRadioButton *result;
14748 char *kwnames[] = {
14749 NULL
14750 };
14751
14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14753 {
14754 if (!wxPyCheckForApp()) SWIG_fail;
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (wxRadioButton *)new wxRadioButton();
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14762 return resultobj;
14763 fail:
14764 return NULL;
14765 }
14766
14767
14768 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj = NULL;
14770 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14771 wxWindow *arg2 = (wxWindow *) 0 ;
14772 int arg3 = (int) -1 ;
14773 wxString const &arg4_defvalue = wxPyEmptyString ;
14774 wxString *arg4 = (wxString *) &arg4_defvalue ;
14775 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14776 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14777 wxSize const &arg6_defvalue = wxDefaultSize ;
14778 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14779 long arg7 = (long) 0 ;
14780 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14781 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14782 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14783 wxString *arg9 = (wxString *) &arg9_defvalue ;
14784 bool result;
14785 bool temp4 = false ;
14786 wxPoint temp5 ;
14787 wxSize temp6 ;
14788 bool temp9 = false ;
14789 PyObject * obj0 = 0 ;
14790 PyObject * obj1 = 0 ;
14791 PyObject * obj2 = 0 ;
14792 PyObject * obj3 = 0 ;
14793 PyObject * obj4 = 0 ;
14794 PyObject * obj5 = 0 ;
14795 PyObject * obj6 = 0 ;
14796 PyObject * obj7 = 0 ;
14797 PyObject * obj8 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail;
14805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14806 if (SWIG_arg_fail(2)) SWIG_fail;
14807 if (obj2) {
14808 {
14809 arg3 = static_cast<int >(SWIG_As_int(obj2));
14810 if (SWIG_arg_fail(3)) SWIG_fail;
14811 }
14812 }
14813 if (obj3) {
14814 {
14815 arg4 = wxString_in_helper(obj3);
14816 if (arg4 == NULL) SWIG_fail;
14817 temp4 = true;
14818 }
14819 }
14820 if (obj4) {
14821 {
14822 arg5 = &temp5;
14823 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14824 }
14825 }
14826 if (obj5) {
14827 {
14828 arg6 = &temp6;
14829 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14830 }
14831 }
14832 if (obj6) {
14833 {
14834 arg7 = static_cast<long >(SWIG_As_long(obj6));
14835 if (SWIG_arg_fail(7)) SWIG_fail;
14836 }
14837 }
14838 if (obj7) {
14839 {
14840 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14841 if (SWIG_arg_fail(8)) SWIG_fail;
14842 if (arg8 == NULL) {
14843 SWIG_null_ref("wxValidator");
14844 }
14845 if (SWIG_arg_fail(8)) SWIG_fail;
14846 }
14847 }
14848 if (obj8) {
14849 {
14850 arg9 = wxString_in_helper(obj8);
14851 if (arg9 == NULL) SWIG_fail;
14852 temp9 = true;
14853 }
14854 }
14855 {
14856 PyThreadState* __tstate = wxPyBeginAllowThreads();
14857 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14858
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 {
14863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14864 }
14865 {
14866 if (temp4)
14867 delete arg4;
14868 }
14869 {
14870 if (temp9)
14871 delete arg9;
14872 }
14873 return resultobj;
14874 fail:
14875 {
14876 if (temp4)
14877 delete arg4;
14878 }
14879 {
14880 if (temp9)
14881 delete arg9;
14882 }
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj = NULL;
14889 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14890 bool result;
14891 PyObject * obj0 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14898 if (SWIG_arg_fail(1)) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (bool)(arg1)->GetValue();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj = NULL;
14917 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14918 bool arg2 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self",(char *) "value", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail;
14928 {
14929 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
14930 if (SWIG_arg_fail(2)) SWIG_fail;
14931 }
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 (arg1)->SetValue(arg2);
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 Py_INCREF(Py_None); resultobj = Py_None;
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj = NULL;
14948 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14949 wxVisualAttributes result;
14950 PyObject * obj0 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "variant", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14956 if (obj0) {
14957 {
14958 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14959 if (SWIG_arg_fail(1)) SWIG_fail;
14960 }
14961 }
14962 {
14963 if (!wxPyCheckForApp()) SWIG_fail;
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = wxRadioButton::GetClassDefaultAttributes(arg1);
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 {
14971 wxVisualAttributes * resultptr;
14972 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14974 }
14975 return resultobj;
14976 fail:
14977 return NULL;
14978 }
14979
14980
14981 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14982 PyObject *obj;
14983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14984 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14985 Py_INCREF(obj);
14986 return Py_BuildValue((char *)"");
14987 }
14988 static int _wrap_SliderNameStr_set(PyObject *) {
14989 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14990 return 1;
14991 }
14992
14993
14994 static PyObject *_wrap_SliderNameStr_get(void) {
14995 PyObject *pyobj = NULL;
14996
14997 {
14998 #if wxUSE_UNICODE
14999 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15000 #else
15001 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
15002 #endif
15003 }
15004 return pyobj;
15005 }
15006
15007
15008 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj = NULL;
15010 wxWindow *arg1 = (wxWindow *) 0 ;
15011 int arg2 = (int) -1 ;
15012 int arg3 = (int) 0 ;
15013 int arg4 = (int) 0 ;
15014 int arg5 = (int) 100 ;
15015 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15016 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15017 wxSize const &arg7_defvalue = wxDefaultSize ;
15018 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
15019 long arg8 = (long) wxSL_HORIZONTAL ;
15020 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15021 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15022 wxString const &arg10_defvalue = wxPySliderNameStr ;
15023 wxString *arg10 = (wxString *) &arg10_defvalue ;
15024 wxSlider *result;
15025 wxPoint temp6 ;
15026 wxSize temp7 ;
15027 bool temp10 = false ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 PyObject * obj2 = 0 ;
15031 PyObject * obj3 = 0 ;
15032 PyObject * obj4 = 0 ;
15033 PyObject * obj5 = 0 ;
15034 PyObject * obj6 = 0 ;
15035 PyObject * obj7 = 0 ;
15036 PyObject * obj8 = 0 ;
15037 PyObject * obj9 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail;
15045 if (obj1) {
15046 {
15047 arg2 = static_cast<int >(SWIG_As_int(obj1));
15048 if (SWIG_arg_fail(2)) SWIG_fail;
15049 }
15050 }
15051 if (obj2) {
15052 {
15053 arg3 = static_cast<int >(SWIG_As_int(obj2));
15054 if (SWIG_arg_fail(3)) SWIG_fail;
15055 }
15056 }
15057 if (obj3) {
15058 {
15059 arg4 = static_cast<int >(SWIG_As_int(obj3));
15060 if (SWIG_arg_fail(4)) SWIG_fail;
15061 }
15062 }
15063 if (obj4) {
15064 {
15065 arg5 = static_cast<int >(SWIG_As_int(obj4));
15066 if (SWIG_arg_fail(5)) SWIG_fail;
15067 }
15068 }
15069 if (obj5) {
15070 {
15071 arg6 = &temp6;
15072 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15073 }
15074 }
15075 if (obj6) {
15076 {
15077 arg7 = &temp7;
15078 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15079 }
15080 }
15081 if (obj7) {
15082 {
15083 arg8 = static_cast<long >(SWIG_As_long(obj7));
15084 if (SWIG_arg_fail(8)) SWIG_fail;
15085 }
15086 }
15087 if (obj8) {
15088 {
15089 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15090 if (SWIG_arg_fail(9)) SWIG_fail;
15091 if (arg9 == NULL) {
15092 SWIG_null_ref("wxValidator");
15093 }
15094 if (SWIG_arg_fail(9)) SWIG_fail;
15095 }
15096 }
15097 if (obj9) {
15098 {
15099 arg10 = wxString_in_helper(obj9);
15100 if (arg10 == NULL) SWIG_fail;
15101 temp10 = true;
15102 }
15103 }
15104 {
15105 if (!wxPyCheckForApp()) SWIG_fail;
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15113 {
15114 if (temp10)
15115 delete arg10;
15116 }
15117 return resultobj;
15118 fail:
15119 {
15120 if (temp10)
15121 delete arg10;
15122 }
15123 return NULL;
15124 }
15125
15126
15127 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj = NULL;
15129 wxSlider *result;
15130 char *kwnames[] = {
15131 NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15135 {
15136 if (!wxPyCheckForApp()) SWIG_fail;
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (wxSlider *)new wxSlider();
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15144 return resultobj;
15145 fail:
15146 return NULL;
15147 }
15148
15149
15150 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj = NULL;
15152 wxSlider *arg1 = (wxSlider *) 0 ;
15153 wxWindow *arg2 = (wxWindow *) 0 ;
15154 int arg3 = (int) -1 ;
15155 int arg4 = (int) 0 ;
15156 int arg5 = (int) 0 ;
15157 int arg6 = (int) 100 ;
15158 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15159 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15160 wxSize const &arg8_defvalue = wxDefaultSize ;
15161 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15162 long arg9 = (long) wxSL_HORIZONTAL ;
15163 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15164 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15165 wxString const &arg11_defvalue = wxPySliderNameStr ;
15166 wxString *arg11 = (wxString *) &arg11_defvalue ;
15167 bool result;
15168 wxPoint temp7 ;
15169 wxSize temp8 ;
15170 bool temp11 = false ;
15171 PyObject * obj0 = 0 ;
15172 PyObject * obj1 = 0 ;
15173 PyObject * obj2 = 0 ;
15174 PyObject * obj3 = 0 ;
15175 PyObject * obj4 = 0 ;
15176 PyObject * obj5 = 0 ;
15177 PyObject * obj6 = 0 ;
15178 PyObject * obj7 = 0 ;
15179 PyObject * obj8 = 0 ;
15180 PyObject * obj9 = 0 ;
15181 PyObject * obj10 = 0 ;
15182 char *kwnames[] = {
15183 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15184 };
15185
15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail;
15189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15190 if (SWIG_arg_fail(2)) SWIG_fail;
15191 if (obj2) {
15192 {
15193 arg3 = static_cast<int >(SWIG_As_int(obj2));
15194 if (SWIG_arg_fail(3)) SWIG_fail;
15195 }
15196 }
15197 if (obj3) {
15198 {
15199 arg4 = static_cast<int >(SWIG_As_int(obj3));
15200 if (SWIG_arg_fail(4)) SWIG_fail;
15201 }
15202 }
15203 if (obj4) {
15204 {
15205 arg5 = static_cast<int >(SWIG_As_int(obj4));
15206 if (SWIG_arg_fail(5)) SWIG_fail;
15207 }
15208 }
15209 if (obj5) {
15210 {
15211 arg6 = static_cast<int >(SWIG_As_int(obj5));
15212 if (SWIG_arg_fail(6)) SWIG_fail;
15213 }
15214 }
15215 if (obj6) {
15216 {
15217 arg7 = &temp7;
15218 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15219 }
15220 }
15221 if (obj7) {
15222 {
15223 arg8 = &temp8;
15224 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15225 }
15226 }
15227 if (obj8) {
15228 {
15229 arg9 = static_cast<long >(SWIG_As_long(obj8));
15230 if (SWIG_arg_fail(9)) SWIG_fail;
15231 }
15232 }
15233 if (obj9) {
15234 {
15235 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15236 if (SWIG_arg_fail(10)) SWIG_fail;
15237 if (arg10 == NULL) {
15238 SWIG_null_ref("wxValidator");
15239 }
15240 if (SWIG_arg_fail(10)) SWIG_fail;
15241 }
15242 }
15243 if (obj10) {
15244 {
15245 arg11 = wxString_in_helper(obj10);
15246 if (arg11 == NULL) SWIG_fail;
15247 temp11 = true;
15248 }
15249 }
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 {
15258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15259 }
15260 {
15261 if (temp11)
15262 delete arg11;
15263 }
15264 return resultobj;
15265 fail:
15266 {
15267 if (temp11)
15268 delete arg11;
15269 }
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = NULL;
15276 wxSlider *arg1 = (wxSlider *) 0 ;
15277 int result;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (int)((wxSlider const *)arg1)->GetValue();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 {
15294 resultobj = SWIG_From_int(static_cast<int >(result));
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj = NULL;
15304 wxSlider *arg1 = (wxSlider *) 0 ;
15305 int arg2 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self",(char *) "value", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail;
15315 {
15316 arg2 = static_cast<int >(SWIG_As_int(obj1));
15317 if (SWIG_arg_fail(2)) SWIG_fail;
15318 }
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 (arg1)->SetValue(arg2);
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 Py_INCREF(Py_None); resultobj = Py_None;
15327 return resultobj;
15328 fail:
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj = NULL;
15335 wxSlider *arg1 = (wxSlider *) 0 ;
15336 int arg2 ;
15337 int arg3 ;
15338 PyObject * obj0 = 0 ;
15339 PyObject * obj1 = 0 ;
15340 PyObject * obj2 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail;
15348 {
15349 arg2 = static_cast<int >(SWIG_As_int(obj1));
15350 if (SWIG_arg_fail(2)) SWIG_fail;
15351 }
15352 {
15353 arg3 = static_cast<int >(SWIG_As_int(obj2));
15354 if (SWIG_arg_fail(3)) SWIG_fail;
15355 }
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 (arg1)->SetRange(arg2,arg3);
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 Py_INCREF(Py_None); resultobj = Py_None;
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj = NULL;
15372 wxSlider *arg1 = (wxSlider *) 0 ;
15373 int result;
15374 PyObject * obj0 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail;
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (int)((wxSlider const *)arg1)->GetMin();
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 {
15390 resultobj = SWIG_From_int(static_cast<int >(result));
15391 }
15392 return resultobj;
15393 fail:
15394 return NULL;
15395 }
15396
15397
15398 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj = NULL;
15400 wxSlider *arg1 = (wxSlider *) 0 ;
15401 int result;
15402 PyObject * obj0 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15409 if (SWIG_arg_fail(1)) SWIG_fail;
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (int)((wxSlider const *)arg1)->GetMax();
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 {
15418 resultobj = SWIG_From_int(static_cast<int >(result));
15419 }
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj = NULL;
15428 wxSlider *arg1 = (wxSlider *) 0 ;
15429 int arg2 ;
15430 PyObject * obj0 = 0 ;
15431 PyObject * obj1 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "minValue", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail;
15439 {
15440 arg2 = static_cast<int >(SWIG_As_int(obj1));
15441 if (SWIG_arg_fail(2)) SWIG_fail;
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->SetMin(arg2);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 return resultobj;
15452 fail:
15453 return NULL;
15454 }
15455
15456
15457 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj = NULL;
15459 wxSlider *arg1 = (wxSlider *) 0 ;
15460 int arg2 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self",(char *) "maxValue", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15469 if (SWIG_arg_fail(1)) SWIG_fail;
15470 {
15471 arg2 = static_cast<int >(SWIG_As_int(obj1));
15472 if (SWIG_arg_fail(2)) SWIG_fail;
15473 }
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 (arg1)->SetMax(arg2);
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 Py_INCREF(Py_None); resultobj = Py_None;
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj = NULL;
15490 wxSlider *arg1 = (wxSlider *) 0 ;
15491 int arg2 ;
15492 PyObject * obj0 = 0 ;
15493 PyObject * obj1 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self",(char *) "lineSize", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15500 if (SWIG_arg_fail(1)) SWIG_fail;
15501 {
15502 arg2 = static_cast<int >(SWIG_As_int(obj1));
15503 if (SWIG_arg_fail(2)) SWIG_fail;
15504 }
15505 {
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 (arg1)->SetLineSize(arg2);
15508
15509 wxPyEndAllowThreads(__tstate);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 }
15512 Py_INCREF(Py_None); resultobj = Py_None;
15513 return resultobj;
15514 fail:
15515 return NULL;
15516 }
15517
15518
15519 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj = NULL;
15521 wxSlider *arg1 = (wxSlider *) 0 ;
15522 int arg2 ;
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self",(char *) "pageSize", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail;
15532 {
15533 arg2 = static_cast<int >(SWIG_As_int(obj1));
15534 if (SWIG_arg_fail(2)) SWIG_fail;
15535 }
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 (arg1)->SetPageSize(arg2);
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 Py_INCREF(Py_None); resultobj = Py_None;
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj = NULL;
15552 wxSlider *arg1 = (wxSlider *) 0 ;
15553 int result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (int)((wxSlider const *)arg1)->GetLineSize();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 {
15570 resultobj = SWIG_From_int(static_cast<int >(result));
15571 }
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj = NULL;
15580 wxSlider *arg1 = (wxSlider *) 0 ;
15581 int result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (int)((wxSlider const *)arg1)->GetPageSize();
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 {
15598 resultobj = SWIG_From_int(static_cast<int >(result));
15599 }
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj = NULL;
15608 wxSlider *arg1 = (wxSlider *) 0 ;
15609 int arg2 ;
15610 PyObject * obj0 = 0 ;
15611 PyObject * obj1 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self",(char *) "lenPixels", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15618 if (SWIG_arg_fail(1)) SWIG_fail;
15619 {
15620 arg2 = static_cast<int >(SWIG_As_int(obj1));
15621 if (SWIG_arg_fail(2)) SWIG_fail;
15622 }
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 (arg1)->SetThumbLength(arg2);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj = NULL;
15639 wxSlider *arg1 = (wxSlider *) 0 ;
15640 int result;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail;
15649 {
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15652
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 {
15657 resultobj = SWIG_From_int(static_cast<int >(result));
15658 }
15659 return resultobj;
15660 fail:
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj = NULL;
15667 wxSlider *arg1 = (wxSlider *) 0 ;
15668 int arg2 ;
15669 int arg3 = (int) 1 ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 PyObject * obj2 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self",(char *) "n",(char *) "pos", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail;
15680 {
15681 arg2 = static_cast<int >(SWIG_As_int(obj1));
15682 if (SWIG_arg_fail(2)) SWIG_fail;
15683 }
15684 if (obj2) {
15685 {
15686 arg3 = static_cast<int >(SWIG_As_int(obj2));
15687 if (SWIG_arg_fail(3)) SWIG_fail;
15688 }
15689 }
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 (arg1)->SetTickFreq(arg2,arg3);
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 Py_INCREF(Py_None); resultobj = Py_None;
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj = NULL;
15706 wxSlider *arg1 = (wxSlider *) 0 ;
15707 int result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 {
15724 resultobj = SWIG_From_int(static_cast<int >(result));
15725 }
15726 return resultobj;
15727 fail:
15728 return NULL;
15729 }
15730
15731
15732 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj = NULL;
15734 wxSlider *arg1 = (wxSlider *) 0 ;
15735 PyObject * obj0 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15742 if (SWIG_arg_fail(1)) SWIG_fail;
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 (arg1)->ClearTicks();
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 Py_INCREF(Py_None); resultobj = Py_None;
15751 return resultobj;
15752 fail:
15753 return NULL;
15754 }
15755
15756
15757 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj = NULL;
15759 wxSlider *arg1 = (wxSlider *) 0 ;
15760 int arg2 ;
15761 PyObject * obj0 = 0 ;
15762 PyObject * obj1 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self",(char *) "tickPos", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15769 if (SWIG_arg_fail(1)) SWIG_fail;
15770 {
15771 arg2 = static_cast<int >(SWIG_As_int(obj1));
15772 if (SWIG_arg_fail(2)) SWIG_fail;
15773 }
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 (arg1)->SetTick(arg2);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 Py_INCREF(Py_None); resultobj = Py_None;
15782 return resultobj;
15783 fail:
15784 return NULL;
15785 }
15786
15787
15788 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15789 PyObject *resultobj = NULL;
15790 wxSlider *arg1 = (wxSlider *) 0 ;
15791 PyObject * obj0 = 0 ;
15792 char *kwnames[] = {
15793 (char *) "self", NULL
15794 };
15795
15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15798 if (SWIG_arg_fail(1)) SWIG_fail;
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->ClearSel();
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj = NULL;
15815 wxSlider *arg1 = (wxSlider *) 0 ;
15816 int result;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail;
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 {
15833 resultobj = SWIG_From_int(static_cast<int >(result));
15834 }
15835 return resultobj;
15836 fail:
15837 return NULL;
15838 }
15839
15840
15841 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj = NULL;
15843 wxSlider *arg1 = (wxSlider *) 0 ;
15844 int result;
15845 PyObject * obj0 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15852 if (SWIG_arg_fail(1)) SWIG_fail;
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 result = (int)((wxSlider const *)arg1)->GetSelStart();
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 {
15861 resultobj = SWIG_From_int(static_cast<int >(result));
15862 }
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj = NULL;
15871 wxSlider *arg1 = (wxSlider *) 0 ;
15872 int arg2 ;
15873 int arg3 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 PyObject * obj2 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self",(char *) "min",(char *) "max", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15883 if (SWIG_arg_fail(1)) SWIG_fail;
15884 {
15885 arg2 = static_cast<int >(SWIG_As_int(obj1));
15886 if (SWIG_arg_fail(2)) SWIG_fail;
15887 }
15888 {
15889 arg3 = static_cast<int >(SWIG_As_int(obj2));
15890 if (SWIG_arg_fail(3)) SWIG_fail;
15891 }
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 (arg1)->SetSelection(arg2,arg3);
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 Py_INCREF(Py_None); resultobj = Py_None;
15900 return resultobj;
15901 fail:
15902 return NULL;
15903 }
15904
15905
15906 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15907 PyObject *resultobj = NULL;
15908 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15909 wxVisualAttributes result;
15910 PyObject * obj0 = 0 ;
15911 char *kwnames[] = {
15912 (char *) "variant", NULL
15913 };
15914
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15916 if (obj0) {
15917 {
15918 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
15919 if (SWIG_arg_fail(1)) SWIG_fail;
15920 }
15921 }
15922 {
15923 if (!wxPyCheckForApp()) SWIG_fail;
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 result = wxSlider::GetClassDefaultAttributes(arg1);
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 {
15931 wxVisualAttributes * resultptr;
15932 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
15933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15934 }
15935 return resultobj;
15936 fail:
15937 return NULL;
15938 }
15939
15940
15941 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15942 PyObject *obj;
15943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15944 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15945 Py_INCREF(obj);
15946 return Py_BuildValue((char *)"");
15947 }
15948 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15949 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15950 return 1;
15951 }
15952
15953
15954 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15955 PyObject *pyobj = NULL;
15956
15957 {
15958 #if wxUSE_UNICODE
15959 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15960 #else
15961 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15962 #endif
15963 }
15964 return pyobj;
15965 }
15966
15967
15968 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj = NULL;
15970 wxWindow *arg1 = (wxWindow *) 0 ;
15971 int arg2 = (int) -1 ;
15972 wxString const &arg3_defvalue = wxPyEmptyString ;
15973 wxString *arg3 = (wxString *) &arg3_defvalue ;
15974 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15975 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15976 wxSize const &arg5_defvalue = wxDefaultSize ;
15977 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15978 long arg6 = (long) 0 ;
15979 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15980 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15981 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15982 wxString *arg8 = (wxString *) &arg8_defvalue ;
15983 wxToggleButton *result;
15984 bool temp3 = false ;
15985 wxPoint temp4 ;
15986 wxSize temp5 ;
15987 bool temp8 = false ;
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 PyObject * obj2 = 0 ;
15991 PyObject * obj3 = 0 ;
15992 PyObject * obj4 = 0 ;
15993 PyObject * obj5 = 0 ;
15994 PyObject * obj6 = 0 ;
15995 PyObject * obj7 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15998 };
15999
16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail;
16003 if (obj1) {
16004 {
16005 arg2 = static_cast<int >(SWIG_As_int(obj1));
16006 if (SWIG_arg_fail(2)) SWIG_fail;
16007 }
16008 }
16009 if (obj2) {
16010 {
16011 arg3 = wxString_in_helper(obj2);
16012 if (arg3 == NULL) SWIG_fail;
16013 temp3 = true;
16014 }
16015 }
16016 if (obj3) {
16017 {
16018 arg4 = &temp4;
16019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16020 }
16021 }
16022 if (obj4) {
16023 {
16024 arg5 = &temp5;
16025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16026 }
16027 }
16028 if (obj5) {
16029 {
16030 arg6 = static_cast<long >(SWIG_As_long(obj5));
16031 if (SWIG_arg_fail(6)) SWIG_fail;
16032 }
16033 }
16034 if (obj6) {
16035 {
16036 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16037 if (SWIG_arg_fail(7)) SWIG_fail;
16038 if (arg7 == NULL) {
16039 SWIG_null_ref("wxValidator");
16040 }
16041 if (SWIG_arg_fail(7)) SWIG_fail;
16042 }
16043 }
16044 if (obj7) {
16045 {
16046 arg8 = wxString_in_helper(obj7);
16047 if (arg8 == NULL) SWIG_fail;
16048 temp8 = true;
16049 }
16050 }
16051 {
16052 if (!wxPyCheckForApp()) SWIG_fail;
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16060 {
16061 if (temp3)
16062 delete arg3;
16063 }
16064 {
16065 if (temp8)
16066 delete arg8;
16067 }
16068 return resultobj;
16069 fail:
16070 {
16071 if (temp3)
16072 delete arg3;
16073 }
16074 {
16075 if (temp8)
16076 delete arg8;
16077 }
16078 return NULL;
16079 }
16080
16081
16082 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj = NULL;
16084 wxToggleButton *result;
16085 char *kwnames[] = {
16086 NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16090 {
16091 if (!wxPyCheckForApp()) SWIG_fail;
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (wxToggleButton *)new wxToggleButton();
16094
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj = NULL;
16107 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16108 wxWindow *arg2 = (wxWindow *) 0 ;
16109 int arg3 = (int) -1 ;
16110 wxString const &arg4_defvalue = wxPyEmptyString ;
16111 wxString *arg4 = (wxString *) &arg4_defvalue ;
16112 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16113 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16114 wxSize const &arg6_defvalue = wxDefaultSize ;
16115 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16116 long arg7 = (long) 0 ;
16117 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16118 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16119 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16120 wxString *arg9 = (wxString *) &arg9_defvalue ;
16121 bool result;
16122 bool temp4 = false ;
16123 wxPoint temp5 ;
16124 wxSize temp6 ;
16125 bool temp9 = false ;
16126 PyObject * obj0 = 0 ;
16127 PyObject * obj1 = 0 ;
16128 PyObject * obj2 = 0 ;
16129 PyObject * obj3 = 0 ;
16130 PyObject * obj4 = 0 ;
16131 PyObject * obj5 = 0 ;
16132 PyObject * obj6 = 0 ;
16133 PyObject * obj7 = 0 ;
16134 PyObject * obj8 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail;
16142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16143 if (SWIG_arg_fail(2)) SWIG_fail;
16144 if (obj2) {
16145 {
16146 arg3 = static_cast<int >(SWIG_As_int(obj2));
16147 if (SWIG_arg_fail(3)) SWIG_fail;
16148 }
16149 }
16150 if (obj3) {
16151 {
16152 arg4 = wxString_in_helper(obj3);
16153 if (arg4 == NULL) SWIG_fail;
16154 temp4 = true;
16155 }
16156 }
16157 if (obj4) {
16158 {
16159 arg5 = &temp5;
16160 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16161 }
16162 }
16163 if (obj5) {
16164 {
16165 arg6 = &temp6;
16166 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16167 }
16168 }
16169 if (obj6) {
16170 {
16171 arg7 = static_cast<long >(SWIG_As_long(obj6));
16172 if (SWIG_arg_fail(7)) SWIG_fail;
16173 }
16174 }
16175 if (obj7) {
16176 {
16177 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16178 if (SWIG_arg_fail(8)) SWIG_fail;
16179 if (arg8 == NULL) {
16180 SWIG_null_ref("wxValidator");
16181 }
16182 if (SWIG_arg_fail(8)) SWIG_fail;
16183 }
16184 }
16185 if (obj8) {
16186 {
16187 arg9 = wxString_in_helper(obj8);
16188 if (arg9 == NULL) SWIG_fail;
16189 temp9 = true;
16190 }
16191 }
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 {
16200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16201 }
16202 {
16203 if (temp4)
16204 delete arg4;
16205 }
16206 {
16207 if (temp9)
16208 delete arg9;
16209 }
16210 return resultobj;
16211 fail:
16212 {
16213 if (temp4)
16214 delete arg4;
16215 }
16216 {
16217 if (temp9)
16218 delete arg9;
16219 }
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj = NULL;
16226 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16227 bool arg2 ;
16228 PyObject * obj0 = 0 ;
16229 PyObject * obj1 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self",(char *) "value", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
16235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail;
16237 {
16238 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16239 if (SWIG_arg_fail(2)) SWIG_fail;
16240 }
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 (arg1)->SetValue(arg2);
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 Py_INCREF(Py_None); resultobj = Py_None;
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj = NULL;
16257 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16258 bool result;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail;
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16276 }
16277 return resultobj;
16278 fail:
16279 return NULL;
16280 }
16281
16282
16283 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16284 PyObject *resultobj = NULL;
16285 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16286 wxString *arg2 = 0 ;
16287 bool temp2 = false ;
16288 PyObject * obj0 = 0 ;
16289 PyObject * obj1 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self",(char *) "label", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail;
16297 {
16298 arg2 = wxString_in_helper(obj1);
16299 if (arg2 == NULL) SWIG_fail;
16300 temp2 = true;
16301 }
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 (arg1)->SetLabel((wxString const &)*arg2);
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 Py_INCREF(Py_None); resultobj = Py_None;
16310 {
16311 if (temp2)
16312 delete arg2;
16313 }
16314 return resultobj;
16315 fail:
16316 {
16317 if (temp2)
16318 delete arg2;
16319 }
16320 return NULL;
16321 }
16322
16323
16324 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj = NULL;
16326 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16327 wxVisualAttributes result;
16328 PyObject * obj0 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "variant", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16334 if (obj0) {
16335 {
16336 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
16337 if (SWIG_arg_fail(1)) SWIG_fail;
16338 }
16339 }
16340 {
16341 if (!wxPyCheckForApp()) SWIG_fail;
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = wxToggleButton::GetClassDefaultAttributes(arg1);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 wxVisualAttributes * resultptr;
16350 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
16351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16352 }
16353 return resultobj;
16354 fail:
16355 return NULL;
16356 }
16357
16358
16359 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16360 PyObject *obj;
16361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16362 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16363 Py_INCREF(obj);
16364 return Py_BuildValue((char *)"");
16365 }
16366 static int _wrap_NotebookNameStr_set(PyObject *) {
16367 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16368 return 1;
16369 }
16370
16371
16372 static PyObject *_wrap_NotebookNameStr_get(void) {
16373 PyObject *pyobj = NULL;
16374
16375 {
16376 #if wxUSE_UNICODE
16377 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16378 #else
16379 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16380 #endif
16381 }
16382 return pyobj;
16383 }
16384
16385
16386 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj = NULL;
16388 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16389 size_t result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16397 if (SWIG_arg_fail(1)) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
16407 }
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj = NULL;
16416 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16417 size_t arg2 ;
16418 wxWindow *result;
16419 PyObject * obj0 = 0 ;
16420 PyObject * obj1 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self",(char *) "n", NULL
16423 };
16424
16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail;
16428 {
16429 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16430 if (SWIG_arg_fail(2)) SWIG_fail;
16431 }
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 result = (wxWindow *)(arg1)->GetPage(arg2);
16435
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 {
16440 resultobj = wxPyMake_wxObject(result, 0);
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj = NULL;
16450 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16451 wxWindow *result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail;
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 {
16468 resultobj = wxPyMake_wxObject(result, 0);
16469 }
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj = NULL;
16478 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16479 int result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 resultobj = SWIG_From_int(static_cast<int >(result));
16497 }
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj = NULL;
16506 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16507 size_t arg2 ;
16508 wxString *arg3 = 0 ;
16509 bool result;
16510 bool temp3 = false ;
16511 PyObject * obj0 = 0 ;
16512 PyObject * obj1 = 0 ;
16513 PyObject * obj2 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self",(char *) "n",(char *) "strText", NULL
16516 };
16517
16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail;
16521 {
16522 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16523 if (SWIG_arg_fail(2)) SWIG_fail;
16524 }
16525 {
16526 arg3 = wxString_in_helper(obj2);
16527 if (arg3 == NULL) SWIG_fail;
16528 temp3 = true;
16529 }
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 {
16538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16539 }
16540 {
16541 if (temp3)
16542 delete arg3;
16543 }
16544 return resultobj;
16545 fail:
16546 {
16547 if (temp3)
16548 delete arg3;
16549 }
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj = NULL;
16556 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16557 size_t arg2 ;
16558 wxString result;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "n", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail;
16568 {
16569 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16570 if (SWIG_arg_fail(2)) SWIG_fail;
16571 }
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 #if wxUSE_UNICODE
16581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16582 #else
16583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16584 #endif
16585 }
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj = NULL;
16594 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16595 wxImageList *arg2 = (wxImageList *) 0 ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "imageList", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16604 if (SWIG_arg_fail(1)) SWIG_fail;
16605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16606 if (SWIG_arg_fail(2)) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 (arg1)->SetImageList(arg2);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618 }
16619
16620
16621 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj = NULL;
16623 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16624 wxImageList *arg2 = (wxImageList *) 0 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "imageList", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16633 if (SWIG_arg_fail(1)) SWIG_fail;
16634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16635 if (SWIG_arg_fail(2)) SWIG_fail;
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->AssignImageList(arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 return resultobj;
16645 fail:
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj = NULL;
16652 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16653 wxImageList *result;
16654 PyObject * obj0 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail;
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
16670 resultobj = wxPyMake_wxObject(result, (bool)0);
16671 }
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj = NULL;
16680 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16681 size_t arg2 ;
16682 int result;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "n", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16691 if (SWIG_arg_fail(1)) SWIG_fail;
16692 {
16693 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16694 if (SWIG_arg_fail(2)) SWIG_fail;
16695 }
16696 {
16697 PyThreadState* __tstate = wxPyBeginAllowThreads();
16698 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16699
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 {
16704 resultobj = SWIG_From_int(static_cast<int >(result));
16705 }
16706 return resultobj;
16707 fail:
16708 return NULL;
16709 }
16710
16711
16712 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj = NULL;
16714 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16715 size_t arg2 ;
16716 int arg3 ;
16717 bool result;
16718 PyObject * obj0 = 0 ;
16719 PyObject * obj1 = 0 ;
16720 PyObject * obj2 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self",(char *) "n",(char *) "imageId", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16727 if (SWIG_arg_fail(1)) SWIG_fail;
16728 {
16729 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16730 if (SWIG_arg_fail(2)) SWIG_fail;
16731 }
16732 {
16733 arg3 = static_cast<int >(SWIG_As_int(obj2));
16734 if (SWIG_arg_fail(3)) SWIG_fail;
16735 }
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj = NULL;
16754 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16755 wxSize *arg2 = 0 ;
16756 wxSize temp2 ;
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self",(char *) "size", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail;
16766 {
16767 arg2 = &temp2;
16768 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 (arg1)->SetPageSize((wxSize const &)*arg2);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 Py_INCREF(Py_None); resultobj = Py_None;
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj = NULL;
16786 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16787 wxSize *arg2 = 0 ;
16788 wxSize result;
16789 wxSize temp2 ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self",(char *) "sizePage", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail;
16799 {
16800 arg2 = &temp2;
16801 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16802 }
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 wxSize * resultptr;
16812 resultptr = new wxSize(static_cast<wxSize & >(result));
16813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16814 }
16815 return resultobj;
16816 fail:
16817 return NULL;
16818 }
16819
16820
16821 static PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj = NULL;
16823 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16824 unsigned int result;
16825 PyObject * obj0 = 0 ;
16826 char *kwnames[] = {
16827 (char *) "self", NULL
16828 };
16829
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetInternalBorder",kwnames,&obj0)) goto fail;
16831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16832 if (SWIG_arg_fail(1)) SWIG_fail;
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 {
16841 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
16842 }
16843 return resultobj;
16844 fail:
16845 return NULL;
16846 }
16847
16848
16849 static PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj = NULL;
16851 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16852 unsigned int arg2 ;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self",(char *) "internalBorder", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) goto fail;
16860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16861 if (SWIG_arg_fail(1)) SWIG_fail;
16862 {
16863 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
16864 if (SWIG_arg_fail(2)) SWIG_fail;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 (arg1)->SetInternalBorder(arg2);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 Py_INCREF(Py_None); resultobj = Py_None;
16874 return resultobj;
16875 fail:
16876 return NULL;
16877 }
16878
16879
16880 static PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj = NULL;
16882 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16883 bool result;
16884 PyObject * obj0 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "self", NULL
16887 };
16888
16889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_IsVertical",kwnames,&obj0)) goto fail;
16890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 {
16900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj = NULL;
16910 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16911 bool arg2 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self",(char *) "fit", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) goto fail;
16919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail;
16921 {
16922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16923 if (SWIG_arg_fail(2)) SWIG_fail;
16924 }
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 (arg1)->SetFitToCurrentPage(arg2);
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 Py_INCREF(Py_None); resultobj = Py_None;
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 static PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj = NULL;
16941 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16942 bool result;
16943 PyObject * obj0 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetFitToCurrentPage",kwnames,&obj0)) goto fail;
16949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
16959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16960 }
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj = NULL;
16969 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16970 size_t arg2 ;
16971 bool result;
16972 PyObject * obj0 = 0 ;
16973 PyObject * obj1 = 0 ;
16974 char *kwnames[] = {
16975 (char *) "self",(char *) "n", NULL
16976 };
16977
16978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail;
16981 {
16982 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16983 if (SWIG_arg_fail(2)) SWIG_fail;
16984 }
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (bool)(arg1)->DeletePage(arg2);
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 {
16993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16994 }
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj = NULL;
17003 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17004 size_t arg2 ;
17005 bool result;
17006 PyObject * obj0 = 0 ;
17007 PyObject * obj1 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "self",(char *) "n", NULL
17010 };
17011
17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
17013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail;
17015 {
17016 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17017 if (SWIG_arg_fail(2)) SWIG_fail;
17018 }
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 result = (bool)(arg1)->RemovePage(arg2);
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 {
17027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17028 }
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj = NULL;
17037 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17038 bool result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
17045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail;
17047 {
17048 PyThreadState* __tstate = wxPyBeginAllowThreads();
17049 result = (bool)(arg1)->DeleteAllPages();
17050
17051 wxPyEndAllowThreads(__tstate);
17052 if (PyErr_Occurred()) SWIG_fail;
17053 }
17054 {
17055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17056 }
17057 return resultobj;
17058 fail:
17059 return NULL;
17060 }
17061
17062
17063 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj = NULL;
17065 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17066 wxWindow *arg2 = (wxWindow *) 0 ;
17067 wxString *arg3 = 0 ;
17068 bool arg4 = (bool) false ;
17069 int arg5 = (int) -1 ;
17070 bool result;
17071 bool temp3 = false ;
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj2 = 0 ;
17075 PyObject * obj3 = 0 ;
17076 PyObject * obj4 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17083 if (SWIG_arg_fail(1)) SWIG_fail;
17084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17085 if (SWIG_arg_fail(2)) SWIG_fail;
17086 {
17087 arg3 = wxString_in_helper(obj2);
17088 if (arg3 == NULL) SWIG_fail;
17089 temp3 = true;
17090 }
17091 if (obj3) {
17092 {
17093 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
17094 if (SWIG_arg_fail(4)) SWIG_fail;
17095 }
17096 }
17097 if (obj4) {
17098 {
17099 arg5 = static_cast<int >(SWIG_As_int(obj4));
17100 if (SWIG_arg_fail(5)) SWIG_fail;
17101 }
17102 }
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
17111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17112 }
17113 {
17114 if (temp3)
17115 delete arg3;
17116 }
17117 return resultobj;
17118 fail:
17119 {
17120 if (temp3)
17121 delete arg3;
17122 }
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj = NULL;
17129 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17130 size_t arg2 ;
17131 wxWindow *arg3 = (wxWindow *) 0 ;
17132 wxString *arg4 = 0 ;
17133 bool arg5 = (bool) false ;
17134 int arg6 = (int) -1 ;
17135 bool result;
17136 bool temp4 = false ;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 PyObject * obj2 = 0 ;
17140 PyObject * obj3 = 0 ;
17141 PyObject * obj4 = 0 ;
17142 PyObject * obj5 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail;
17150 {
17151 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17152 if (SWIG_arg_fail(2)) SWIG_fail;
17153 }
17154 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17155 if (SWIG_arg_fail(3)) SWIG_fail;
17156 {
17157 arg4 = wxString_in_helper(obj3);
17158 if (arg4 == NULL) SWIG_fail;
17159 temp4 = true;
17160 }
17161 if (obj4) {
17162 {
17163 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
17164 if (SWIG_arg_fail(5)) SWIG_fail;
17165 }
17166 }
17167 if (obj5) {
17168 {
17169 arg6 = static_cast<int >(SWIG_As_int(obj5));
17170 if (SWIG_arg_fail(6)) SWIG_fail;
17171 }
17172 }
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 {
17181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17182 }
17183 {
17184 if (temp4)
17185 delete arg4;
17186 }
17187 return resultobj;
17188 fail:
17189 {
17190 if (temp4)
17191 delete arg4;
17192 }
17193 return NULL;
17194 }
17195
17196
17197 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj = NULL;
17199 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17200 size_t arg2 ;
17201 int result;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self",(char *) "n", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail;
17211 {
17212 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17213 if (SWIG_arg_fail(2)) SWIG_fail;
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (int)(arg1)->SetSelection(arg2);
17218
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 {
17223 resultobj = SWIG_From_int(static_cast<int >(result));
17224 }
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj = NULL;
17233 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17234 bool arg2 = (bool) true ;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "forward", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
17242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17243 if (SWIG_arg_fail(1)) SWIG_fail;
17244 if (obj1) {
17245 {
17246 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17247 if (SWIG_arg_fail(2)) SWIG_fail;
17248 }
17249 }
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->AdvanceSelection(arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj = NULL;
17266 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17267 wxVisualAttributes result;
17268 PyObject * obj0 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "variant", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17274 if (obj0) {
17275 {
17276 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17277 if (SWIG_arg_fail(1)) SWIG_fail;
17278 }
17279 }
17280 {
17281 if (!wxPyCheckForApp()) SWIG_fail;
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 wxVisualAttributes * resultptr;
17290 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17292 }
17293 return resultobj;
17294 fail:
17295 return NULL;
17296 }
17297
17298
17299 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
17300 PyObject *obj;
17301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17302 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
17303 Py_INCREF(obj);
17304 return Py_BuildValue((char *)"");
17305 }
17306 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj = NULL;
17308 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17309 int arg2 = (int) 0 ;
17310 int arg3 = (int) -1 ;
17311 int arg4 = (int) -1 ;
17312 wxBookCtrlBaseEvent *result;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 PyObject * obj2 = 0 ;
17316 PyObject * obj3 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17322 if (obj0) {
17323 {
17324 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17325 if (SWIG_arg_fail(1)) SWIG_fail;
17326 }
17327 }
17328 if (obj1) {
17329 {
17330 arg2 = static_cast<int >(SWIG_As_int(obj1));
17331 if (SWIG_arg_fail(2)) SWIG_fail;
17332 }
17333 }
17334 if (obj2) {
17335 {
17336 arg3 = static_cast<int >(SWIG_As_int(obj2));
17337 if (SWIG_arg_fail(3)) SWIG_fail;
17338 }
17339 }
17340 if (obj3) {
17341 {
17342 arg4 = static_cast<int >(SWIG_As_int(obj3));
17343 if (SWIG_arg_fail(4)) SWIG_fail;
17344 }
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj = NULL;
17362 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17363 int result;
17364 PyObject * obj0 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "self", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
17370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail;
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 {
17380 resultobj = SWIG_From_int(static_cast<int >(result));
17381 }
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj = NULL;
17390 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17391 int arg2 ;
17392 PyObject * obj0 = 0 ;
17393 PyObject * obj1 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "nSel", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail;
17401 {
17402 arg2 = static_cast<int >(SWIG_As_int(obj1));
17403 if (SWIG_arg_fail(2)) SWIG_fail;
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->SetSelection(arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 Py_INCREF(Py_None); resultobj = Py_None;
17413 return resultobj;
17414 fail:
17415 return NULL;
17416 }
17417
17418
17419 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj = NULL;
17421 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17422 int result;
17423 PyObject * obj0 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17430 if (SWIG_arg_fail(1)) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 resultobj = SWIG_From_int(static_cast<int >(result));
17440 }
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj = NULL;
17449 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17450 int arg2 ;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 char *kwnames[] = {
17454 (char *) "self",(char *) "nOldSel", NULL
17455 };
17456
17457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17459 if (SWIG_arg_fail(1)) SWIG_fail;
17460 {
17461 arg2 = static_cast<int >(SWIG_As_int(obj1));
17462 if (SWIG_arg_fail(2)) SWIG_fail;
17463 }
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->SetOldSelection(arg2);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17479 PyObject *obj;
17480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17481 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17482 Py_INCREF(obj);
17483 return Py_BuildValue((char *)"");
17484 }
17485 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj = NULL;
17487 wxWindow *arg1 = (wxWindow *) 0 ;
17488 int arg2 = (int) -1 ;
17489 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17490 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17491 wxSize const &arg4_defvalue = wxDefaultSize ;
17492 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17493 long arg5 = (long) 0 ;
17494 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17495 wxString *arg6 = (wxString *) &arg6_defvalue ;
17496 wxNotebook *result;
17497 wxPoint temp3 ;
17498 wxSize temp4 ;
17499 bool temp6 = false ;
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 PyObject * obj3 = 0 ;
17504 PyObject * obj4 = 0 ;
17505 PyObject * obj5 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail;
17513 if (obj1) {
17514 {
17515 arg2 = static_cast<int >(SWIG_As_int(obj1));
17516 if (SWIG_arg_fail(2)) SWIG_fail;
17517 }
17518 }
17519 if (obj2) {
17520 {
17521 arg3 = &temp3;
17522 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17523 }
17524 }
17525 if (obj3) {
17526 {
17527 arg4 = &temp4;
17528 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17529 }
17530 }
17531 if (obj4) {
17532 {
17533 arg5 = static_cast<long >(SWIG_As_long(obj4));
17534 if (SWIG_arg_fail(5)) SWIG_fail;
17535 }
17536 }
17537 if (obj5) {
17538 {
17539 arg6 = wxString_in_helper(obj5);
17540 if (arg6 == NULL) SWIG_fail;
17541 temp6 = true;
17542 }
17543 }
17544 {
17545 if (!wxPyCheckForApp()) SWIG_fail;
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17553 {
17554 if (temp6)
17555 delete arg6;
17556 }
17557 return resultobj;
17558 fail:
17559 {
17560 if (temp6)
17561 delete arg6;
17562 }
17563 return NULL;
17564 }
17565
17566
17567 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj = NULL;
17569 wxNotebook *result;
17570 char *kwnames[] = {
17571 NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17575 {
17576 if (!wxPyCheckForApp()) SWIG_fail;
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (wxNotebook *)new wxNotebook();
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17584 return resultobj;
17585 fail:
17586 return NULL;
17587 }
17588
17589
17590 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17591 PyObject *resultobj = NULL;
17592 wxNotebook *arg1 = (wxNotebook *) 0 ;
17593 wxWindow *arg2 = (wxWindow *) 0 ;
17594 int arg3 = (int) -1 ;
17595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17597 wxSize const &arg5_defvalue = wxDefaultSize ;
17598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17599 long arg6 = (long) 0 ;
17600 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17601 wxString *arg7 = (wxString *) &arg7_defvalue ;
17602 bool result;
17603 wxPoint temp4 ;
17604 wxSize temp5 ;
17605 bool temp7 = false ;
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 PyObject * obj2 = 0 ;
17609 PyObject * obj3 = 0 ;
17610 PyObject * obj4 = 0 ;
17611 PyObject * obj5 = 0 ;
17612 PyObject * obj6 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17619 if (SWIG_arg_fail(1)) SWIG_fail;
17620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17621 if (SWIG_arg_fail(2)) SWIG_fail;
17622 if (obj2) {
17623 {
17624 arg3 = static_cast<int >(SWIG_As_int(obj2));
17625 if (SWIG_arg_fail(3)) SWIG_fail;
17626 }
17627 }
17628 if (obj3) {
17629 {
17630 arg4 = &temp4;
17631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17632 }
17633 }
17634 if (obj4) {
17635 {
17636 arg5 = &temp5;
17637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17638 }
17639 }
17640 if (obj5) {
17641 {
17642 arg6 = static_cast<long >(SWIG_As_long(obj5));
17643 if (SWIG_arg_fail(6)) SWIG_fail;
17644 }
17645 }
17646 if (obj6) {
17647 {
17648 arg7 = wxString_in_helper(obj6);
17649 if (arg7 == NULL) SWIG_fail;
17650 temp7 = true;
17651 }
17652 }
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 {
17661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17662 }
17663 {
17664 if (temp7)
17665 delete arg7;
17666 }
17667 return resultobj;
17668 fail:
17669 {
17670 if (temp7)
17671 delete arg7;
17672 }
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj = NULL;
17679 wxNotebook *arg1 = (wxNotebook *) 0 ;
17680 int result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail;
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 {
17697 resultobj = SWIG_From_int(static_cast<int >(result));
17698 }
17699 return resultobj;
17700 fail:
17701 return NULL;
17702 }
17703
17704
17705 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj = NULL;
17707 wxNotebook *arg1 = (wxNotebook *) 0 ;
17708 wxSize *arg2 = 0 ;
17709 wxSize temp2 ;
17710 PyObject * obj0 = 0 ;
17711 PyObject * obj1 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self",(char *) "padding", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail;
17719 {
17720 arg2 = &temp2;
17721 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17722 }
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 (arg1)->SetPadding((wxSize const &)*arg2);
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 Py_INCREF(Py_None); resultobj = Py_None;
17731 return resultobj;
17732 fail:
17733 return NULL;
17734 }
17735
17736
17737 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj = NULL;
17739 wxNotebook *arg1 = (wxNotebook *) 0 ;
17740 wxSize *arg2 = 0 ;
17741 wxSize temp2 ;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self",(char *) "sz", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail;
17751 {
17752 arg2 = &temp2;
17753 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17754 }
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 (arg1)->SetTabSize((wxSize const &)*arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 Py_INCREF(Py_None); resultobj = Py_None;
17763 return resultobj;
17764 fail:
17765 return NULL;
17766 }
17767
17768
17769 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj = NULL;
17771 wxNotebook *arg1 = (wxNotebook *) 0 ;
17772 wxPoint *arg2 = 0 ;
17773 long *arg3 = (long *) 0 ;
17774 int result;
17775 wxPoint temp2 ;
17776 long temp3 ;
17777 int res3 = 0 ;
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self",(char *) "pt", NULL
17782 };
17783
17784 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail;
17788 {
17789 arg2 = &temp2;
17790 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17791 }
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
17799 {
17800 resultobj = SWIG_From_int(static_cast<int >(result));
17801 }
17802 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17803 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj = NULL;
17812 wxNotebook *arg1 = (wxNotebook *) 0 ;
17813 wxSize *arg2 = 0 ;
17814 wxSize result;
17815 wxSize temp2 ;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 char *kwnames[] = {
17819 (char *) "self",(char *) "sizePage", NULL
17820 };
17821
17822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17824 if (SWIG_arg_fail(1)) SWIG_fail;
17825 {
17826 arg2 = &temp2;
17827 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 {
17837 wxSize * resultptr;
17838 resultptr = new wxSize(static_cast<wxSize & >(result));
17839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17840 }
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj = NULL;
17849 wxNotebook *arg1 = (wxNotebook *) 0 ;
17850 wxColour result;
17851 PyObject * obj0 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail;
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 {
17867 wxColour * resultptr;
17868 resultptr = new wxColour(static_cast<wxColour & >(result));
17869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17870 }
17871 return resultobj;
17872 fail:
17873 return NULL;
17874 }
17875
17876
17877 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17878 PyObject *resultobj = NULL;
17879 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17880 wxVisualAttributes result;
17881 PyObject * obj0 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "variant", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17887 if (obj0) {
17888 {
17889 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17890 if (SWIG_arg_fail(1)) SWIG_fail;
17891 }
17892 }
17893 {
17894 if (!wxPyCheckForApp()) SWIG_fail;
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = wxNotebook::GetClassDefaultAttributes(arg1);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 {
17902 wxVisualAttributes * resultptr;
17903 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17905 }
17906 return resultobj;
17907 fail:
17908 return NULL;
17909 }
17910
17911
17912 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17913 PyObject *obj;
17914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17916 Py_INCREF(obj);
17917 return Py_BuildValue((char *)"");
17918 }
17919 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj = NULL;
17921 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17922 int arg2 = (int) 0 ;
17923 int arg3 = (int) -1 ;
17924 int arg4 = (int) -1 ;
17925 wxNotebookEvent *result;
17926 PyObject * obj0 = 0 ;
17927 PyObject * obj1 = 0 ;
17928 PyObject * obj2 = 0 ;
17929 PyObject * obj3 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17935 if (obj0) {
17936 {
17937 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17938 if (SWIG_arg_fail(1)) SWIG_fail;
17939 }
17940 }
17941 if (obj1) {
17942 {
17943 arg2 = static_cast<int >(SWIG_As_int(obj1));
17944 if (SWIG_arg_fail(2)) SWIG_fail;
17945 }
17946 }
17947 if (obj2) {
17948 {
17949 arg3 = static_cast<int >(SWIG_As_int(obj2));
17950 if (SWIG_arg_fail(3)) SWIG_fail;
17951 }
17952 }
17953 if (obj3) {
17954 {
17955 arg4 = static_cast<int >(SWIG_As_int(obj3));
17956 if (SWIG_arg_fail(4)) SWIG_fail;
17957 }
17958 }
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17974 PyObject *obj;
17975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17976 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17977 Py_INCREF(obj);
17978 return Py_BuildValue((char *)"");
17979 }
17980 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj = NULL;
17982 wxWindow *arg1 = (wxWindow *) 0 ;
17983 int arg2 = (int) -1 ;
17984 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17985 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17986 wxSize const &arg4_defvalue = wxDefaultSize ;
17987 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17988 long arg5 = (long) 0 ;
17989 wxString const &arg6_defvalue = wxPyEmptyString ;
17990 wxString *arg6 = (wxString *) &arg6_defvalue ;
17991 wxListbook *result;
17992 wxPoint temp3 ;
17993 wxSize temp4 ;
17994 bool temp6 = false ;
17995 PyObject * obj0 = 0 ;
17996 PyObject * obj1 = 0 ;
17997 PyObject * obj2 = 0 ;
17998 PyObject * obj3 = 0 ;
17999 PyObject * obj4 = 0 ;
18000 PyObject * obj5 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail;
18008 if (obj1) {
18009 {
18010 arg2 = static_cast<int >(SWIG_As_int(obj1));
18011 if (SWIG_arg_fail(2)) SWIG_fail;
18012 }
18013 }
18014 if (obj2) {
18015 {
18016 arg3 = &temp3;
18017 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18018 }
18019 }
18020 if (obj3) {
18021 {
18022 arg4 = &temp4;
18023 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18024 }
18025 }
18026 if (obj4) {
18027 {
18028 arg5 = static_cast<long >(SWIG_As_long(obj4));
18029 if (SWIG_arg_fail(5)) SWIG_fail;
18030 }
18031 }
18032 if (obj5) {
18033 {
18034 arg6 = wxString_in_helper(obj5);
18035 if (arg6 == NULL) SWIG_fail;
18036 temp6 = true;
18037 }
18038 }
18039 {
18040 if (!wxPyCheckForApp()) SWIG_fail;
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18048 {
18049 if (temp6)
18050 delete arg6;
18051 }
18052 return resultobj;
18053 fail:
18054 {
18055 if (temp6)
18056 delete arg6;
18057 }
18058 return NULL;
18059 }
18060
18061
18062 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
18063 PyObject *resultobj = NULL;
18064 wxListbook *result;
18065 char *kwnames[] = {
18066 NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
18070 {
18071 if (!wxPyCheckForApp()) SWIG_fail;
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (wxListbook *)new wxListbook();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj = NULL;
18087 wxListbook *arg1 = (wxListbook *) 0 ;
18088 wxWindow *arg2 = (wxWindow *) 0 ;
18089 int arg3 = (int) -1 ;
18090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18092 wxSize const &arg5_defvalue = wxDefaultSize ;
18093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18094 long arg6 = (long) 0 ;
18095 wxString const &arg7_defvalue = wxPyEmptyString ;
18096 wxString *arg7 = (wxString *) &arg7_defvalue ;
18097 bool result;
18098 wxPoint temp4 ;
18099 wxSize temp5 ;
18100 bool temp7 = false ;
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 PyObject * obj2 = 0 ;
18104 PyObject * obj3 = 0 ;
18105 PyObject * obj4 = 0 ;
18106 PyObject * obj5 = 0 ;
18107 PyObject * obj6 = 0 ;
18108 char *kwnames[] = {
18109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18110 };
18111
18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18114 if (SWIG_arg_fail(1)) SWIG_fail;
18115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18116 if (SWIG_arg_fail(2)) SWIG_fail;
18117 if (obj2) {
18118 {
18119 arg3 = static_cast<int >(SWIG_As_int(obj2));
18120 if (SWIG_arg_fail(3)) SWIG_fail;
18121 }
18122 }
18123 if (obj3) {
18124 {
18125 arg4 = &temp4;
18126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18127 }
18128 }
18129 if (obj4) {
18130 {
18131 arg5 = &temp5;
18132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18133 }
18134 }
18135 if (obj5) {
18136 {
18137 arg6 = static_cast<long >(SWIG_As_long(obj5));
18138 if (SWIG_arg_fail(6)) SWIG_fail;
18139 }
18140 }
18141 if (obj6) {
18142 {
18143 arg7 = wxString_in_helper(obj6);
18144 if (arg7 == NULL) SWIG_fail;
18145 temp7 = true;
18146 }
18147 }
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 {
18159 if (temp7)
18160 delete arg7;
18161 }
18162 return resultobj;
18163 fail:
18164 {
18165 if (temp7)
18166 delete arg7;
18167 }
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj = NULL;
18174 wxListbook *arg1 = (wxListbook *) 0 ;
18175 wxListView *result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (wxListView *)(arg1)->GetListView();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18192 return resultobj;
18193 fail:
18194 return NULL;
18195 }
18196
18197
18198 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18199 PyObject *obj;
18200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18201 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18202 Py_INCREF(obj);
18203 return Py_BuildValue((char *)"");
18204 }
18205 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj = NULL;
18207 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18208 int arg2 = (int) 0 ;
18209 int arg3 = (int) -1 ;
18210 int arg4 = (int) -1 ;
18211 wxListbookEvent *result;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 PyObject * obj2 = 0 ;
18215 PyObject * obj3 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18221 if (obj0) {
18222 {
18223 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18224 if (SWIG_arg_fail(1)) SWIG_fail;
18225 }
18226 }
18227 if (obj1) {
18228 {
18229 arg2 = static_cast<int >(SWIG_As_int(obj1));
18230 if (SWIG_arg_fail(2)) SWIG_fail;
18231 }
18232 }
18233 if (obj2) {
18234 {
18235 arg3 = static_cast<int >(SWIG_As_int(obj2));
18236 if (SWIG_arg_fail(3)) SWIG_fail;
18237 }
18238 }
18239 if (obj3) {
18240 {
18241 arg4 = static_cast<int >(SWIG_As_int(obj3));
18242 if (SWIG_arg_fail(4)) SWIG_fail;
18243 }
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18260 PyObject *obj;
18261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18262 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18263 Py_INCREF(obj);
18264 return Py_BuildValue((char *)"");
18265 }
18266 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj = NULL;
18268 wxWindow *arg1 = (wxWindow *) 0 ;
18269 int arg2 ;
18270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18272 wxSize const &arg4_defvalue = wxDefaultSize ;
18273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18274 long arg5 = (long) 0 ;
18275 wxString const &arg6_defvalue = wxPyEmptyString ;
18276 wxString *arg6 = (wxString *) &arg6_defvalue ;
18277 wxChoicebook *result;
18278 wxPoint temp3 ;
18279 wxSize temp4 ;
18280 bool temp6 = false ;
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 PyObject * obj2 = 0 ;
18284 PyObject * obj3 = 0 ;
18285 PyObject * obj4 = 0 ;
18286 PyObject * obj5 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
18294 {
18295 arg2 = static_cast<int >(SWIG_As_int(obj1));
18296 if (SWIG_arg_fail(2)) SWIG_fail;
18297 }
18298 if (obj2) {
18299 {
18300 arg3 = &temp3;
18301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18302 }
18303 }
18304 if (obj3) {
18305 {
18306 arg4 = &temp4;
18307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18308 }
18309 }
18310 if (obj4) {
18311 {
18312 arg5 = static_cast<long >(SWIG_As_long(obj4));
18313 if (SWIG_arg_fail(5)) SWIG_fail;
18314 }
18315 }
18316 if (obj5) {
18317 {
18318 arg6 = wxString_in_helper(obj5);
18319 if (arg6 == NULL) SWIG_fail;
18320 temp6 = true;
18321 }
18322 }
18323 {
18324 if (!wxPyCheckForApp()) SWIG_fail;
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18332 {
18333 if (temp6)
18334 delete arg6;
18335 }
18336 return resultobj;
18337 fail:
18338 {
18339 if (temp6)
18340 delete arg6;
18341 }
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj = NULL;
18348 wxChoicebook *result;
18349 char *kwnames[] = {
18350 NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18354 {
18355 if (!wxPyCheckForApp()) SWIG_fail;
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 result = (wxChoicebook *)new wxChoicebook();
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18363 return resultobj;
18364 fail:
18365 return NULL;
18366 }
18367
18368
18369 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj = NULL;
18371 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18372 wxWindow *arg2 = (wxWindow *) 0 ;
18373 int arg3 ;
18374 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18375 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18376 wxSize const &arg5_defvalue = wxDefaultSize ;
18377 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18378 long arg6 = (long) 0 ;
18379 wxString const &arg7_defvalue = wxPyEmptyString ;
18380 wxString *arg7 = (wxString *) &arg7_defvalue ;
18381 bool result;
18382 wxPoint temp4 ;
18383 wxSize temp5 ;
18384 bool temp7 = false ;
18385 PyObject * obj0 = 0 ;
18386 PyObject * obj1 = 0 ;
18387 PyObject * obj2 = 0 ;
18388 PyObject * obj3 = 0 ;
18389 PyObject * obj4 = 0 ;
18390 PyObject * obj5 = 0 ;
18391 PyObject * obj6 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail;
18399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18400 if (SWIG_arg_fail(2)) SWIG_fail;
18401 {
18402 arg3 = static_cast<int >(SWIG_As_int(obj2));
18403 if (SWIG_arg_fail(3)) SWIG_fail;
18404 }
18405 if (obj3) {
18406 {
18407 arg4 = &temp4;
18408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18409 }
18410 }
18411 if (obj4) {
18412 {
18413 arg5 = &temp5;
18414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18415 }
18416 }
18417 if (obj5) {
18418 {
18419 arg6 = static_cast<long >(SWIG_As_long(obj5));
18420 if (SWIG_arg_fail(6)) SWIG_fail;
18421 }
18422 }
18423 if (obj6) {
18424 {
18425 arg7 = wxString_in_helper(obj6);
18426 if (arg7 == NULL) SWIG_fail;
18427 temp7 = true;
18428 }
18429 }
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18439 }
18440 {
18441 if (temp7)
18442 delete arg7;
18443 }
18444 return resultobj;
18445 fail:
18446 {
18447 if (temp7)
18448 delete arg7;
18449 }
18450 return NULL;
18451 }
18452
18453
18454 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj = NULL;
18456 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18457 wxChoice *result;
18458 PyObject * obj0 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18481 PyObject *resultobj = NULL;
18482 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18483 bool result;
18484 PyObject * obj0 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail;
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 result = (bool)(arg1)->DeleteAllPages();
18495
18496 wxPyEndAllowThreads(__tstate);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 }
18499 {
18500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18501 }
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18509 PyObject *obj;
18510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18512 Py_INCREF(obj);
18513 return Py_BuildValue((char *)"");
18514 }
18515 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj = NULL;
18517 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18518 int arg2 = (int) 0 ;
18519 int arg3 = (int) -1 ;
18520 int arg4 = (int) -1 ;
18521 wxChoicebookEvent *result;
18522 PyObject * obj0 = 0 ;
18523 PyObject * obj1 = 0 ;
18524 PyObject * obj2 = 0 ;
18525 PyObject * obj3 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18531 if (obj0) {
18532 {
18533 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18534 if (SWIG_arg_fail(1)) SWIG_fail;
18535 }
18536 }
18537 if (obj1) {
18538 {
18539 arg2 = static_cast<int >(SWIG_As_int(obj1));
18540 if (SWIG_arg_fail(2)) SWIG_fail;
18541 }
18542 }
18543 if (obj2) {
18544 {
18545 arg3 = static_cast<int >(SWIG_As_int(obj2));
18546 if (SWIG_arg_fail(3)) SWIG_fail;
18547 }
18548 }
18549 if (obj3) {
18550 {
18551 arg4 = static_cast<int >(SWIG_As_int(obj3));
18552 if (SWIG_arg_fail(4)) SWIG_fail;
18553 }
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18570 PyObject *obj;
18571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18572 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18573 Py_INCREF(obj);
18574 return Py_BuildValue((char *)"");
18575 }
18576 static PyObject *_wrap_new_Treebook(PyObject *, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj = NULL;
18578 wxWindow *arg1 = (wxWindow *) 0 ;
18579 int arg2 ;
18580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18582 wxSize const &arg4_defvalue = wxDefaultSize ;
18583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18584 long arg5 = (long) wxBK_DEFAULT ;
18585 wxString const &arg6_defvalue = wxPyEmptyString ;
18586 wxString *arg6 = (wxString *) &arg6_defvalue ;
18587 wxTreebook *result;
18588 wxPoint temp3 ;
18589 wxSize temp4 ;
18590 bool temp6 = false ;
18591 PyObject * obj0 = 0 ;
18592 PyObject * obj1 = 0 ;
18593 PyObject * obj2 = 0 ;
18594 PyObject * obj3 = 0 ;
18595 PyObject * obj4 = 0 ;
18596 PyObject * obj5 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18603 if (SWIG_arg_fail(1)) SWIG_fail;
18604 {
18605 arg2 = static_cast<int >(SWIG_As_int(obj1));
18606 if (SWIG_arg_fail(2)) SWIG_fail;
18607 }
18608 if (obj2) {
18609 {
18610 arg3 = &temp3;
18611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18612 }
18613 }
18614 if (obj3) {
18615 {
18616 arg4 = &temp4;
18617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18618 }
18619 }
18620 if (obj4) {
18621 {
18622 arg5 = static_cast<long >(SWIG_As_long(obj4));
18623 if (SWIG_arg_fail(5)) SWIG_fail;
18624 }
18625 }
18626 if (obj5) {
18627 {
18628 arg6 = wxString_in_helper(obj5);
18629 if (arg6 == NULL) SWIG_fail;
18630 temp6 = true;
18631 }
18632 }
18633 {
18634 if (!wxPyCheckForApp()) SWIG_fail;
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18642 {
18643 if (temp6)
18644 delete arg6;
18645 }
18646 return resultobj;
18647 fail:
18648 {
18649 if (temp6)
18650 delete arg6;
18651 }
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_new_PreTreebook(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj = NULL;
18658 wxTreebook *result;
18659 char *kwnames[] = {
18660 NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreebook",kwnames)) goto fail;
18664 {
18665 if (!wxPyCheckForApp()) SWIG_fail;
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (wxTreebook *)new wxTreebook();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebook, 1);
18673 return resultobj;
18674 fail:
18675 return NULL;
18676 }
18677
18678
18679 static PyObject *_wrap_Treebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj = NULL;
18681 wxTreebook *arg1 = (wxTreebook *) 0 ;
18682 wxWindow *arg2 = (wxWindow *) 0 ;
18683 int arg3 ;
18684 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18685 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18686 wxSize const &arg5_defvalue = wxDefaultSize ;
18687 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18688 long arg6 = (long) wxBK_DEFAULT ;
18689 wxString const &arg7_defvalue = wxPyEmptyString ;
18690 wxString *arg7 = (wxString *) &arg7_defvalue ;
18691 bool result;
18692 wxPoint temp4 ;
18693 wxSize temp5 ;
18694 bool temp7 = false ;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697 PyObject * obj2 = 0 ;
18698 PyObject * obj3 = 0 ;
18699 PyObject * obj4 = 0 ;
18700 PyObject * obj5 = 0 ;
18701 PyObject * obj6 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail;
18709 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18710 if (SWIG_arg_fail(2)) SWIG_fail;
18711 {
18712 arg3 = static_cast<int >(SWIG_As_int(obj2));
18713 if (SWIG_arg_fail(3)) SWIG_fail;
18714 }
18715 if (obj3) {
18716 {
18717 arg4 = &temp4;
18718 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18719 }
18720 }
18721 if (obj4) {
18722 {
18723 arg5 = &temp5;
18724 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18725 }
18726 }
18727 if (obj5) {
18728 {
18729 arg6 = static_cast<long >(SWIG_As_long(obj5));
18730 if (SWIG_arg_fail(6)) SWIG_fail;
18731 }
18732 }
18733 if (obj6) {
18734 {
18735 arg7 = wxString_in_helper(obj6);
18736 if (arg7 == NULL) SWIG_fail;
18737 temp7 = true;
18738 }
18739 }
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18749 }
18750 {
18751 if (temp7)
18752 delete arg7;
18753 }
18754 return resultobj;
18755 fail:
18756 {
18757 if (temp7)
18758 delete arg7;
18759 }
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_Treebook_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj = NULL;
18766 wxTreebook *arg1 = (wxTreebook *) 0 ;
18767 size_t arg2 ;
18768 wxWindow *arg3 = (wxWindow *) 0 ;
18769 wxString *arg4 = 0 ;
18770 bool arg5 = (bool) false ;
18771 int arg6 = (int) wxNOT_FOUND ;
18772 bool result;
18773 bool temp4 = false ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 PyObject * obj2 = 0 ;
18777 PyObject * obj3 = 0 ;
18778 PyObject * obj4 = 0 ;
18779 PyObject * obj5 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail;
18787 {
18788 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18789 if (SWIG_arg_fail(2)) SWIG_fail;
18790 }
18791 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18792 if (SWIG_arg_fail(3)) SWIG_fail;
18793 {
18794 arg4 = wxString_in_helper(obj3);
18795 if (arg4 == NULL) SWIG_fail;
18796 temp4 = true;
18797 }
18798 if (obj4) {
18799 {
18800 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18801 if (SWIG_arg_fail(5)) SWIG_fail;
18802 }
18803 }
18804 if (obj5) {
18805 {
18806 arg6 = static_cast<int >(SWIG_As_int(obj5));
18807 if (SWIG_arg_fail(6)) SWIG_fail;
18808 }
18809 }
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 {
18818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18819 }
18820 {
18821 if (temp4)
18822 delete arg4;
18823 }
18824 return resultobj;
18825 fail:
18826 {
18827 if (temp4)
18828 delete arg4;
18829 }
18830 return NULL;
18831 }
18832
18833
18834 static PyObject *_wrap_Treebook_InsertSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj = NULL;
18836 wxTreebook *arg1 = (wxTreebook *) 0 ;
18837 size_t arg2 ;
18838 wxWindow *arg3 = (wxWindow *) 0 ;
18839 wxString *arg4 = 0 ;
18840 bool arg5 = (bool) false ;
18841 int arg6 = (int) wxNOT_FOUND ;
18842 bool result;
18843 bool temp4 = false ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 PyObject * obj2 = 0 ;
18847 PyObject * obj3 = 0 ;
18848 PyObject * obj4 = 0 ;
18849 PyObject * obj5 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail;
18857 {
18858 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
18859 if (SWIG_arg_fail(2)) SWIG_fail;
18860 }
18861 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18862 if (SWIG_arg_fail(3)) SWIG_fail;
18863 {
18864 arg4 = wxString_in_helper(obj3);
18865 if (arg4 == NULL) SWIG_fail;
18866 temp4 = true;
18867 }
18868 if (obj4) {
18869 {
18870 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
18871 if (SWIG_arg_fail(5)) SWIG_fail;
18872 }
18873 }
18874 if (obj5) {
18875 {
18876 arg6 = static_cast<int >(SWIG_As_int(obj5));
18877 if (SWIG_arg_fail(6)) SWIG_fail;
18878 }
18879 }
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18889 }
18890 {
18891 if (temp4)
18892 delete arg4;
18893 }
18894 return resultobj;
18895 fail:
18896 {
18897 if (temp4)
18898 delete arg4;
18899 }
18900 return NULL;
18901 }
18902
18903
18904 static PyObject *_wrap_Treebook_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj = NULL;
18906 wxTreebook *arg1 = (wxTreebook *) 0 ;
18907 wxWindow *arg2 = (wxWindow *) 0 ;
18908 wxString *arg3 = 0 ;
18909 bool arg4 = (bool) false ;
18910 int arg5 = (int) wxNOT_FOUND ;
18911 bool result;
18912 bool temp3 = false ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 PyObject * obj2 = 0 ;
18916 PyObject * obj3 = 0 ;
18917 PyObject * obj4 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail;
18925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18926 if (SWIG_arg_fail(2)) SWIG_fail;
18927 {
18928 arg3 = wxString_in_helper(obj2);
18929 if (arg3 == NULL) SWIG_fail;
18930 temp3 = true;
18931 }
18932 if (obj3) {
18933 {
18934 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18935 if (SWIG_arg_fail(4)) SWIG_fail;
18936 }
18937 }
18938 if (obj4) {
18939 {
18940 arg5 = static_cast<int >(SWIG_As_int(obj4));
18941 if (SWIG_arg_fail(5)) SWIG_fail;
18942 }
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18953 }
18954 {
18955 if (temp3)
18956 delete arg3;
18957 }
18958 return resultobj;
18959 fail:
18960 {
18961 if (temp3)
18962 delete arg3;
18963 }
18964 return NULL;
18965 }
18966
18967
18968 static PyObject *_wrap_Treebook_AddSubPage(PyObject *, PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj = NULL;
18970 wxTreebook *arg1 = (wxTreebook *) 0 ;
18971 wxWindow *arg2 = (wxWindow *) 0 ;
18972 wxString *arg3 = 0 ;
18973 bool arg4 = (bool) false ;
18974 int arg5 = (int) wxNOT_FOUND ;
18975 bool result;
18976 bool temp3 = false ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 PyObject * obj2 = 0 ;
18980 PyObject * obj3 = 0 ;
18981 PyObject * obj4 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
18989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18990 if (SWIG_arg_fail(2)) SWIG_fail;
18991 {
18992 arg3 = wxString_in_helper(obj2);
18993 if (arg3 == NULL) SWIG_fail;
18994 temp3 = true;
18995 }
18996 if (obj3) {
18997 {
18998 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
18999 if (SWIG_arg_fail(4)) SWIG_fail;
19000 }
19001 }
19002 if (obj4) {
19003 {
19004 arg5 = static_cast<int >(SWIG_As_int(obj4));
19005 if (SWIG_arg_fail(5)) SWIG_fail;
19006 }
19007 }
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19017 }
19018 {
19019 if (temp3)
19020 delete arg3;
19021 }
19022 return resultobj;
19023 fail:
19024 {
19025 if (temp3)
19026 delete arg3;
19027 }
19028 return NULL;
19029 }
19030
19031
19032 static PyObject *_wrap_Treebook_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = NULL;
19034 wxTreebook *arg1 = (wxTreebook *) 0 ;
19035 size_t arg2 ;
19036 bool result;
19037 PyObject * obj0 = 0 ;
19038 PyObject * obj1 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self",(char *) "pos", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_DeletePage",kwnames,&obj0,&obj1)) goto fail;
19044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19045 if (SWIG_arg_fail(1)) SWIG_fail;
19046 {
19047 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19048 if (SWIG_arg_fail(2)) SWIG_fail;
19049 }
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 result = (bool)(arg1)->DeletePage(arg2);
19053
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 {
19058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19059 }
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj = NULL;
19068 wxTreebook *arg1 = (wxTreebook *) 0 ;
19069 size_t arg2 ;
19070 bool result;
19071 PyObject * obj0 = 0 ;
19072 PyObject * obj1 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "pos", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) goto fail;
19078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail;
19080 {
19081 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19082 if (SWIG_arg_fail(2)) SWIG_fail;
19083 }
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 {
19092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19093 }
19094 return resultobj;
19095 fail:
19096 return NULL;
19097 }
19098
19099
19100 static PyObject *_wrap_Treebook_ExpandNode(PyObject *, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj = NULL;
19102 wxTreebook *arg1 = (wxTreebook *) 0 ;
19103 size_t arg2 ;
19104 bool arg3 = (bool) true ;
19105 bool result;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 PyObject * obj2 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self",(char *) "pos",(char *) "expand", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) goto fail;
19114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19115 if (SWIG_arg_fail(1)) SWIG_fail;
19116 {
19117 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19118 if (SWIG_arg_fail(2)) SWIG_fail;
19119 }
19120 if (obj2) {
19121 {
19122 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
19123 if (SWIG_arg_fail(3)) SWIG_fail;
19124 }
19125 }
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 result = (bool)(arg1)->ExpandNode(arg2,arg3);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 {
19134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19135 }
19136 return resultobj;
19137 fail:
19138 return NULL;
19139 }
19140
19141
19142 static PyObject *_wrap_Treebook_CollapseNode(PyObject *, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj = NULL;
19144 wxTreebook *arg1 = (wxTreebook *) 0 ;
19145 size_t arg2 ;
19146 bool result;
19147 PyObject * obj0 = 0 ;
19148 PyObject * obj1 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self",(char *) "pos", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) goto fail;
19154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail;
19156 {
19157 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19158 if (SWIG_arg_fail(2)) SWIG_fail;
19159 }
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 result = (bool)(arg1)->CollapseNode(arg2);
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 {
19168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19169 }
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_Treebook_GetPageParent(PyObject *, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj = NULL;
19178 wxTreebook *arg1 = (wxTreebook *) 0 ;
19179 size_t arg2 ;
19180 int result;
19181 PyObject * obj0 = 0 ;
19182 PyObject * obj1 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "pos", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) goto fail;
19188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail;
19190 {
19191 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19192 if (SWIG_arg_fail(2)) SWIG_fail;
19193 }
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 resultobj = SWIG_From_int(static_cast<int >(result));
19203 }
19204 return resultobj;
19205 fail:
19206 return NULL;
19207 }
19208
19209
19210 static PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19211 PyObject *resultobj = NULL;
19212 wxTreebook *arg1 = (wxTreebook *) 0 ;
19213 wxTreeCtrl *result;
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Treebook_GetTreeCtrl",kwnames,&obj0)) goto fail;
19220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreebook, SWIG_POINTER_EXCEPTION | 0);
19221 if (SWIG_arg_fail(1)) SWIG_fail;
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject * Treebook_swigregister(PyObject *, PyObject *args) {
19237 PyObject *obj;
19238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19239 SWIG_TypeClientData(SWIGTYPE_p_wxTreebook, obj);
19240 Py_INCREF(obj);
19241 return Py_BuildValue((char *)"");
19242 }
19243 static PyObject *_wrap_new_TreebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj = NULL;
19245 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19246 int arg2 = (int) 0 ;
19247 int arg3 = (int) wxNOT_FOUND ;
19248 int arg4 = (int) wxNOT_FOUND ;
19249 wxTreebookEvent *result;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 PyObject * obj2 = 0 ;
19253 PyObject * obj3 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19259 if (obj0) {
19260 {
19261 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
19262 if (SWIG_arg_fail(1)) SWIG_fail;
19263 }
19264 }
19265 if (obj1) {
19266 {
19267 arg2 = static_cast<int >(SWIG_As_int(obj1));
19268 if (SWIG_arg_fail(2)) SWIG_fail;
19269 }
19270 }
19271 if (obj2) {
19272 {
19273 arg3 = static_cast<int >(SWIG_As_int(obj2));
19274 if (SWIG_arg_fail(3)) SWIG_fail;
19275 }
19276 }
19277 if (obj3) {
19278 {
19279 arg4 = static_cast<int >(SWIG_As_int(obj3));
19280 if (SWIG_arg_fail(4)) SWIG_fail;
19281 }
19282 }
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreebookEvent, 1);
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject * TreebookEvent_swigregister(PyObject *, PyObject *args) {
19298 PyObject *obj;
19299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19300 SWIG_TypeClientData(SWIGTYPE_p_wxTreebookEvent, obj);
19301 Py_INCREF(obj);
19302 return Py_BuildValue((char *)"");
19303 }
19304 static PyObject *_wrap_new_Toolbook(PyObject *, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj = NULL;
19306 wxWindow *arg1 = (wxWindow *) 0 ;
19307 int arg2 ;
19308 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19309 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19310 wxSize const &arg4_defvalue = wxDefaultSize ;
19311 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19312 long arg5 = (long) wxBK_DEFAULT ;
19313 wxString const &arg6_defvalue = wxPyEmptyString ;
19314 wxString *arg6 = (wxString *) &arg6_defvalue ;
19315 wxToolbook *result;
19316 wxPoint temp3 ;
19317 wxSize temp4 ;
19318 bool temp6 = false ;
19319 PyObject * obj0 = 0 ;
19320 PyObject * obj1 = 0 ;
19321 PyObject * obj2 = 0 ;
19322 PyObject * obj3 = 0 ;
19323 PyObject * obj4 = 0 ;
19324 PyObject * obj5 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19331 if (SWIG_arg_fail(1)) SWIG_fail;
19332 {
19333 arg2 = static_cast<int >(SWIG_As_int(obj1));
19334 if (SWIG_arg_fail(2)) SWIG_fail;
19335 }
19336 if (obj2) {
19337 {
19338 arg3 = &temp3;
19339 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19340 }
19341 }
19342 if (obj3) {
19343 {
19344 arg4 = &temp4;
19345 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19346 }
19347 }
19348 if (obj4) {
19349 {
19350 arg5 = static_cast<long >(SWIG_As_long(obj4));
19351 if (SWIG_arg_fail(5)) SWIG_fail;
19352 }
19353 }
19354 if (obj5) {
19355 {
19356 arg6 = wxString_in_helper(obj5);
19357 if (arg6 == NULL) SWIG_fail;
19358 temp6 = true;
19359 }
19360 }
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
19363 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19364
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
19369 {
19370 if (temp6)
19371 delete arg6;
19372 }
19373 return resultobj;
19374 fail:
19375 {
19376 if (temp6)
19377 delete arg6;
19378 }
19379 return NULL;
19380 }
19381
19382
19383 static PyObject *_wrap_new_PreToolbook(PyObject *, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj = NULL;
19385 wxToolbook *result;
19386 char *kwnames[] = {
19387 NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolbook",kwnames)) goto fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = (wxToolbook *)new wxToolbook();
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbook, 1);
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 static PyObject *_wrap_Toolbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj = NULL;
19407 wxToolbook *arg1 = (wxToolbook *) 0 ;
19408 wxWindow *arg2 = (wxWindow *) 0 ;
19409 int arg3 ;
19410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19412 wxSize const &arg5_defvalue = wxDefaultSize ;
19413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19414 long arg6 = (long) 0 ;
19415 wxString const &arg7_defvalue = wxEmptyString ;
19416 wxString *arg7 = (wxString *) &arg7_defvalue ;
19417 bool result;
19418 wxPoint temp4 ;
19419 wxSize temp5 ;
19420 bool temp7 = false ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 PyObject * obj2 = 0 ;
19424 PyObject * obj3 = 0 ;
19425 PyObject * obj4 = 0 ;
19426 PyObject * obj5 = 0 ;
19427 PyObject * obj6 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail;
19435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19436 if (SWIG_arg_fail(2)) SWIG_fail;
19437 {
19438 arg3 = static_cast<int >(SWIG_As_int(obj2));
19439 if (SWIG_arg_fail(3)) SWIG_fail;
19440 }
19441 if (obj3) {
19442 {
19443 arg4 = &temp4;
19444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19445 }
19446 }
19447 if (obj4) {
19448 {
19449 arg5 = &temp5;
19450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19451 }
19452 }
19453 if (obj5) {
19454 {
19455 arg6 = static_cast<long >(SWIG_As_long(obj5));
19456 if (SWIG_arg_fail(6)) SWIG_fail;
19457 }
19458 }
19459 if (obj6) {
19460 {
19461 arg7 = wxString_in_helper(obj6);
19462 if (arg7 == NULL) SWIG_fail;
19463 temp7 = true;
19464 }
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 {
19474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19475 }
19476 {
19477 if (temp7)
19478 delete arg7;
19479 }
19480 return resultobj;
19481 fail:
19482 {
19483 if (temp7)
19484 delete arg7;
19485 }
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_Toolbook_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj = NULL;
19492 wxToolbook *arg1 = (wxToolbook *) 0 ;
19493 wxToolBarBase *result;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_GetToolBar",kwnames,&obj0)) goto fail;
19500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 {
19510 resultobj = wxPyMake_wxObject(result, (bool)0);
19511 }
19512 return resultobj;
19513 fail:
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_Toolbook_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj = NULL;
19520 wxToolbook *arg1 = (wxToolbook *) 0 ;
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Toolbook_Realize",kwnames,&obj0)) goto fail;
19527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolbook, SWIG_POINTER_EXCEPTION | 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 (arg1)->Realize();
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 Py_INCREF(Py_None); resultobj = Py_None;
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject * Toolbook_swigregister(PyObject *, PyObject *args) {
19544 PyObject *obj;
19545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19546 SWIG_TypeClientData(SWIGTYPE_p_wxToolbook, obj);
19547 Py_INCREF(obj);
19548 return Py_BuildValue((char *)"");
19549 }
19550 static PyObject *_wrap_new_ToolbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19551 PyObject *resultobj = NULL;
19552 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19553 int arg2 = (int) 0 ;
19554 int arg3 = (int) wxNOT_FOUND ;
19555 int arg4 = (int) wxNOT_FOUND ;
19556 wxToolbookEvent *result;
19557 PyObject * obj0 = 0 ;
19558 PyObject * obj1 = 0 ;
19559 PyObject * obj2 = 0 ;
19560 PyObject * obj3 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19563 };
19564
19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19566 if (obj0) {
19567 {
19568 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
19569 if (SWIG_arg_fail(1)) SWIG_fail;
19570 }
19571 }
19572 if (obj1) {
19573 {
19574 arg2 = static_cast<int >(SWIG_As_int(obj1));
19575 if (SWIG_arg_fail(2)) SWIG_fail;
19576 }
19577 }
19578 if (obj2) {
19579 {
19580 arg3 = static_cast<int >(SWIG_As_int(obj2));
19581 if (SWIG_arg_fail(3)) SWIG_fail;
19582 }
19583 }
19584 if (obj3) {
19585 {
19586 arg4 = static_cast<int >(SWIG_As_int(obj3));
19587 if (SWIG_arg_fail(4)) SWIG_fail;
19588 }
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolbookEvent, 1);
19598 return resultobj;
19599 fail:
19600 return NULL;
19601 }
19602
19603
19604 static PyObject * ToolbookEvent_swigregister(PyObject *, PyObject *args) {
19605 PyObject *obj;
19606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19607 SWIG_TypeClientData(SWIGTYPE_p_wxToolbookEvent, obj);
19608 Py_INCREF(obj);
19609 return Py_BuildValue((char *)"");
19610 }
19611 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj = NULL;
19613 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19614 int result;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
19621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(1)) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (int)(arg1)->GetId();
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 resultobj = SWIG_From_int(static_cast<int >(result));
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj = NULL;
19641 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19642 wxControl *result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
19649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19650 if (SWIG_arg_fail(1)) SWIG_fail;
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (wxControl *)(arg1)->GetControl();
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 {
19659 resultobj = wxPyMake_wxObject(result, 0);
19660 }
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj = NULL;
19669 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19670 wxToolBarBase *result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
19677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (wxToolBarBase *)(arg1)->GetToolBar();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 {
19687 resultobj = wxPyMake_wxObject(result, (bool)0);
19688 }
19689 return resultobj;
19690 fail:
19691 return NULL;
19692 }
19693
19694
19695 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj = NULL;
19697 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19698 int result;
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
19705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (int)(arg1)->IsButton();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 {
19715 resultobj = SWIG_From_int(static_cast<int >(result));
19716 }
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj = NULL;
19725 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19726 int result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
19733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (int)(arg1)->IsControl();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 {
19743 resultobj = SWIG_From_int(static_cast<int >(result));
19744 }
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj = NULL;
19753 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19754 int result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
19761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19762 if (SWIG_arg_fail(1)) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (int)(arg1)->IsSeparator();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 {
19771 resultobj = SWIG_From_int(static_cast<int >(result));
19772 }
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj = NULL;
19781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19782 int result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
19789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (int)(arg1)->GetStyle();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 {
19799 resultobj = SWIG_From_int(static_cast<int >(result));
19800 }
19801 return resultobj;
19802 fail:
19803 return NULL;
19804 }
19805
19806
19807 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj = NULL;
19809 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19810 wxItemKind result;
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 result = (wxItemKind)(arg1)->GetKind();
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 resultobj = SWIG_From_int((result));
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj = NULL;
19835 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19836 bool result;
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
19843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19844 if (SWIG_arg_fail(1)) SWIG_fail;
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 result = (bool)(arg1)->IsEnabled();
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 {
19853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj = NULL;
19863 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19864 bool result;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
19871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19872 if (SWIG_arg_fail(1)) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 result = (bool)(arg1)->IsToggled();
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 {
19881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19882 }
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj = NULL;
19891 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19892 bool result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
19899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail;
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (bool)(arg1)->CanBeToggled();
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19910 }
19911 return resultobj;
19912 fail:
19913 return NULL;
19914 }
19915
19916
19917 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19918 PyObject *resultobj = NULL;
19919 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19920 wxBitmap *result;
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
19926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
19927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail;
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 {
19932 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
19933 result = (wxBitmap *) &_result_ref;
19934 }
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 {
19940 wxBitmap* resultptr = new wxBitmap(*result);
19941 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19942 }
19943 return resultobj;
19944 fail:
19945 return NULL;
19946 }
19947
19948
19949 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj = NULL;
19951 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19952 wxBitmap *result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
19959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19960 if (SWIG_arg_fail(1)) SWIG_fail;
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 {
19964 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
19965 result = (wxBitmap *) &_result_ref;
19966 }
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972 wxBitmap* resultptr = new wxBitmap(*result);
19973 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19974 }
19975 return resultobj;
19976 fail:
19977 return NULL;
19978 }
19979
19980
19981 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19982 PyObject *resultobj = NULL;
19983 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19984 wxBitmap result;
19985 PyObject * obj0 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
19991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail;
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 result = (arg1)->GetBitmap();
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 {
20001 wxBitmap * resultptr;
20002 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
20003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
20004 }
20005 return resultobj;
20006 fail:
20007 return NULL;
20008 }
20009
20010
20011 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj = NULL;
20013 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20014 wxString result;
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",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 result = (arg1)->GetLabel();
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 {
20031 #if wxUSE_UNICODE
20032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20033 #else
20034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20035 #endif
20036 }
20037 return resultobj;
20038 fail:
20039 return NULL;
20040 }
20041
20042
20043 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20044 PyObject *resultobj = NULL;
20045 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20046 wxString result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
20053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail;
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (arg1)->GetShortHelp();
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 {
20063 #if wxUSE_UNICODE
20064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20065 #else
20066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20067 #endif
20068 }
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj = NULL;
20077 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20078 wxString result;
20079 PyObject * obj0 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
20085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail;
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (arg1)->GetLongHelp();
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 {
20095 #if wxUSE_UNICODE
20096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20097 #else
20098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20099 #endif
20100 }
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj = NULL;
20109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20110 bool arg2 ;
20111 bool result;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 char *kwnames[] = {
20115 (char *) "self",(char *) "enable", NULL
20116 };
20117
20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
20119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail;
20121 {
20122 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
20123 if (SWIG_arg_fail(2)) SWIG_fail;
20124 }
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 result = (bool)(arg1)->Enable(arg2);
20128
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 {
20133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20134 }
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj = NULL;
20143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20144 PyObject * obj0 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
20150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail;
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 (arg1)->Toggle();
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 Py_INCREF(Py_None); resultobj = Py_None;
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj = NULL;
20168 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20169 bool arg2 ;
20170 bool result;
20171 PyObject * obj0 = 0 ;
20172 PyObject * obj1 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self",(char *) "toggle", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
20178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20179 if (SWIG_arg_fail(1)) SWIG_fail;
20180 {
20181 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
20182 if (SWIG_arg_fail(2)) SWIG_fail;
20183 }
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (bool)(arg1)->SetToggle(arg2);
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 {
20192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20193 }
20194 return resultobj;
20195 fail:
20196 return NULL;
20197 }
20198
20199
20200 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20201 PyObject *resultobj = NULL;
20202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20203 wxString *arg2 = 0 ;
20204 bool result;
20205 bool temp2 = false ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "help", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
20213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20214 if (SWIG_arg_fail(1)) SWIG_fail;
20215 {
20216 arg2 = wxString_in_helper(obj1);
20217 if (arg2 == NULL) SWIG_fail;
20218 temp2 = true;
20219 }
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 {
20228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20229 }
20230 {
20231 if (temp2)
20232 delete arg2;
20233 }
20234 return resultobj;
20235 fail:
20236 {
20237 if (temp2)
20238 delete arg2;
20239 }
20240 return NULL;
20241 }
20242
20243
20244 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20245 PyObject *resultobj = NULL;
20246 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20247 wxString *arg2 = 0 ;
20248 bool result;
20249 bool temp2 = false ;
20250 PyObject * obj0 = 0 ;
20251 PyObject * obj1 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "help", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
20257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail;
20259 {
20260 arg2 = wxString_in_helper(obj1);
20261 if (arg2 == NULL) SWIG_fail;
20262 temp2 = true;
20263 }
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 {
20272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20273 }
20274 {
20275 if (temp2)
20276 delete arg2;
20277 }
20278 return resultobj;
20279 fail:
20280 {
20281 if (temp2)
20282 delete arg2;
20283 }
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj = NULL;
20290 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20291 wxBitmap *arg2 = 0 ;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "bmp", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
20299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail;
20301 {
20302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(2)) SWIG_fail;
20304 if (arg2 == NULL) {
20305 SWIG_null_ref("wxBitmap");
20306 }
20307 if (SWIG_arg_fail(2)) SWIG_fail;
20308 }
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 Py_INCREF(Py_None); resultobj = Py_None;
20317 return resultobj;
20318 fail:
20319 return NULL;
20320 }
20321
20322
20323 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj = NULL;
20325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20326 wxBitmap *arg2 = 0 ;
20327 PyObject * obj0 = 0 ;
20328 PyObject * obj1 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "bmp", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20338 if (SWIG_arg_fail(2)) SWIG_fail;
20339 if (arg2 == NULL) {
20340 SWIG_null_ref("wxBitmap");
20341 }
20342 if (SWIG_arg_fail(2)) SWIG_fail;
20343 }
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 Py_INCREF(Py_None); resultobj = Py_None;
20352 return resultobj;
20353 fail:
20354 return NULL;
20355 }
20356
20357
20358 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj = NULL;
20360 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20361 wxString *arg2 = 0 ;
20362 bool temp2 = false ;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "label", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail;
20372 {
20373 arg2 = wxString_in_helper(obj1);
20374 if (arg2 == NULL) SWIG_fail;
20375 temp2 = true;
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 (arg1)->SetLabel((wxString const &)*arg2);
20380
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 Py_INCREF(Py_None); resultobj = Py_None;
20385 {
20386 if (temp2)
20387 delete arg2;
20388 }
20389 return resultobj;
20390 fail:
20391 {
20392 if (temp2)
20393 delete arg2;
20394 }
20395 return NULL;
20396 }
20397
20398
20399 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj = NULL;
20401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20402 PyObject * obj0 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
20408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 (arg1)->Detach();
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 Py_INCREF(Py_None); resultobj = Py_None;
20418 return resultobj;
20419 fail:
20420 return NULL;
20421 }
20422
20423
20424 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
20425 PyObject *resultobj = NULL;
20426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20427 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self",(char *) "tbar", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
20435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail;
20437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20438 if (SWIG_arg_fail(2)) SWIG_fail;
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->Attach(arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj = NULL;
20455 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20456 PyObject *result;
20457 PyObject * obj0 = 0 ;
20458 char *kwnames[] = {
20459 (char *) "self", NULL
20460 };
20461
20462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
20463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20464 if (SWIG_arg_fail(1)) SWIG_fail;
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 resultobj = result;
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj = NULL;
20481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
20482 PyObject *arg2 = (PyObject *) 0 ;
20483 PyObject * obj0 = 0 ;
20484 PyObject * obj1 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self",(char *) "clientData", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
20490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20491 if (SWIG_arg_fail(1)) SWIG_fail;
20492 arg2 = obj1;
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 wxToolBarToolBase_SetClientData(arg1,arg2);
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 Py_INCREF(Py_None); resultobj = Py_None;
20501 return resultobj;
20502 fail:
20503 return NULL;
20504 }
20505
20506
20507 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
20508 PyObject *obj;
20509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20510 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
20511 Py_INCREF(obj);
20512 return Py_BuildValue((char *)"");
20513 }
20514 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj = NULL;
20516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20517 int arg2 ;
20518 wxString *arg3 = 0 ;
20519 wxBitmap *arg4 = 0 ;
20520 wxBitmap const &arg5_defvalue = wxNullBitmap ;
20521 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
20522 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
20523 wxString const &arg7_defvalue = wxPyEmptyString ;
20524 wxString *arg7 = (wxString *) &arg7_defvalue ;
20525 wxString const &arg8_defvalue = wxPyEmptyString ;
20526 wxString *arg8 = (wxString *) &arg8_defvalue ;
20527 PyObject *arg9 = (PyObject *) NULL ;
20528 wxToolBarToolBase *result;
20529 bool temp3 = false ;
20530 bool temp7 = false ;
20531 bool temp8 = false ;
20532 PyObject * obj0 = 0 ;
20533 PyObject * obj1 = 0 ;
20534 PyObject * obj2 = 0 ;
20535 PyObject * obj3 = 0 ;
20536 PyObject * obj4 = 0 ;
20537 PyObject * obj5 = 0 ;
20538 PyObject * obj6 = 0 ;
20539 PyObject * obj7 = 0 ;
20540 PyObject * obj8 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
20546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20547 if (SWIG_arg_fail(1)) SWIG_fail;
20548 {
20549 arg2 = static_cast<int >(SWIG_As_int(obj1));
20550 if (SWIG_arg_fail(2)) SWIG_fail;
20551 }
20552 {
20553 arg3 = wxString_in_helper(obj2);
20554 if (arg3 == NULL) SWIG_fail;
20555 temp3 = true;
20556 }
20557 {
20558 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20559 if (SWIG_arg_fail(4)) SWIG_fail;
20560 if (arg4 == NULL) {
20561 SWIG_null_ref("wxBitmap");
20562 }
20563 if (SWIG_arg_fail(4)) SWIG_fail;
20564 }
20565 if (obj4) {
20566 {
20567 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20568 if (SWIG_arg_fail(5)) SWIG_fail;
20569 if (arg5 == NULL) {
20570 SWIG_null_ref("wxBitmap");
20571 }
20572 if (SWIG_arg_fail(5)) SWIG_fail;
20573 }
20574 }
20575 if (obj5) {
20576 {
20577 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
20578 if (SWIG_arg_fail(6)) SWIG_fail;
20579 }
20580 }
20581 if (obj6) {
20582 {
20583 arg7 = wxString_in_helper(obj6);
20584 if (arg7 == NULL) SWIG_fail;
20585 temp7 = true;
20586 }
20587 }
20588 if (obj7) {
20589 {
20590 arg8 = wxString_in_helper(obj7);
20591 if (arg8 == NULL) SWIG_fail;
20592 temp8 = true;
20593 }
20594 }
20595 if (obj8) {
20596 arg9 = obj8;
20597 }
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 {
20606 resultobj = wxPyMake_wxObject(result, (bool)0);
20607 }
20608 {
20609 if (temp3)
20610 delete arg3;
20611 }
20612 {
20613 if (temp7)
20614 delete arg7;
20615 }
20616 {
20617 if (temp8)
20618 delete arg8;
20619 }
20620 return resultobj;
20621 fail:
20622 {
20623 if (temp3)
20624 delete arg3;
20625 }
20626 {
20627 if (temp7)
20628 delete arg7;
20629 }
20630 {
20631 if (temp8)
20632 delete arg8;
20633 }
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj = NULL;
20640 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20641 size_t arg2 ;
20642 int arg3 ;
20643 wxString *arg4 = 0 ;
20644 wxBitmap *arg5 = 0 ;
20645 wxBitmap const &arg6_defvalue = wxNullBitmap ;
20646 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
20647 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
20648 wxString const &arg8_defvalue = wxPyEmptyString ;
20649 wxString *arg8 = (wxString *) &arg8_defvalue ;
20650 wxString const &arg9_defvalue = wxPyEmptyString ;
20651 wxString *arg9 = (wxString *) &arg9_defvalue ;
20652 PyObject *arg10 = (PyObject *) NULL ;
20653 wxToolBarToolBase *result;
20654 bool temp4 = false ;
20655 bool temp8 = false ;
20656 bool temp9 = false ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 PyObject * obj2 = 0 ;
20660 PyObject * obj3 = 0 ;
20661 PyObject * obj4 = 0 ;
20662 PyObject * obj5 = 0 ;
20663 PyObject * obj6 = 0 ;
20664 PyObject * obj7 = 0 ;
20665 PyObject * obj8 = 0 ;
20666 PyObject * obj9 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
20672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail;
20674 {
20675 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20676 if (SWIG_arg_fail(2)) SWIG_fail;
20677 }
20678 {
20679 arg3 = static_cast<int >(SWIG_As_int(obj2));
20680 if (SWIG_arg_fail(3)) SWIG_fail;
20681 }
20682 {
20683 arg4 = wxString_in_helper(obj3);
20684 if (arg4 == NULL) SWIG_fail;
20685 temp4 = true;
20686 }
20687 {
20688 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20689 if (SWIG_arg_fail(5)) SWIG_fail;
20690 if (arg5 == NULL) {
20691 SWIG_null_ref("wxBitmap");
20692 }
20693 if (SWIG_arg_fail(5)) SWIG_fail;
20694 }
20695 if (obj5) {
20696 {
20697 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20698 if (SWIG_arg_fail(6)) SWIG_fail;
20699 if (arg6 == NULL) {
20700 SWIG_null_ref("wxBitmap");
20701 }
20702 if (SWIG_arg_fail(6)) SWIG_fail;
20703 }
20704 }
20705 if (obj6) {
20706 {
20707 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
20708 if (SWIG_arg_fail(7)) SWIG_fail;
20709 }
20710 }
20711 if (obj7) {
20712 {
20713 arg8 = wxString_in_helper(obj7);
20714 if (arg8 == NULL) SWIG_fail;
20715 temp8 = true;
20716 }
20717 }
20718 if (obj8) {
20719 {
20720 arg9 = wxString_in_helper(obj8);
20721 if (arg9 == NULL) SWIG_fail;
20722 temp9 = true;
20723 }
20724 }
20725 if (obj9) {
20726 arg10 = obj9;
20727 }
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 {
20736 resultobj = wxPyMake_wxObject(result, (bool)0);
20737 }
20738 {
20739 if (temp4)
20740 delete arg4;
20741 }
20742 {
20743 if (temp8)
20744 delete arg8;
20745 }
20746 {
20747 if (temp9)
20748 delete arg9;
20749 }
20750 return resultobj;
20751 fail:
20752 {
20753 if (temp4)
20754 delete arg4;
20755 }
20756 {
20757 if (temp8)
20758 delete arg8;
20759 }
20760 {
20761 if (temp9)
20762 delete arg9;
20763 }
20764 return NULL;
20765 }
20766
20767
20768 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj = NULL;
20770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20771 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
20772 wxToolBarToolBase *result;
20773 PyObject * obj0 = 0 ;
20774 PyObject * obj1 = 0 ;
20775 char *kwnames[] = {
20776 (char *) "self",(char *) "tool", NULL
20777 };
20778
20779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
20780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail;
20782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20783 if (SWIG_arg_fail(2)) SWIG_fail;
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
20792 resultobj = wxPyMake_wxObject(result, (bool)0);
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797 }
20798
20799
20800 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj = NULL;
20802 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20803 size_t arg2 ;
20804 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
20805 wxToolBarToolBase *result;
20806 PyObject * obj0 = 0 ;
20807 PyObject * obj1 = 0 ;
20808 PyObject * obj2 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self",(char *) "pos",(char *) "tool", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20815 if (SWIG_arg_fail(1)) SWIG_fail;
20816 {
20817 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20818 if (SWIG_arg_fail(2)) SWIG_fail;
20819 }
20820 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(3)) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
20830 resultobj = wxPyMake_wxObject(result, (bool)0);
20831 }
20832 return resultobj;
20833 fail:
20834 return NULL;
20835 }
20836
20837
20838 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj = NULL;
20840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20841 wxControl *arg2 = (wxControl *) 0 ;
20842 wxToolBarToolBase *result;
20843 PyObject * obj0 = 0 ;
20844 PyObject * obj1 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self",(char *) "control", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
20850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20851 if (SWIG_arg_fail(1)) SWIG_fail;
20852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(2)) SWIG_fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 resultobj = wxPyMake_wxObject(result, (bool)0);
20863 }
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj = NULL;
20872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20873 size_t arg2 ;
20874 wxControl *arg3 = (wxControl *) 0 ;
20875 wxToolBarToolBase *result;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 PyObject * obj2 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self",(char *) "pos",(char *) "control", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
20884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20885 if (SWIG_arg_fail(1)) SWIG_fail;
20886 {
20887 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20888 if (SWIG_arg_fail(2)) SWIG_fail;
20889 }
20890 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(3)) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 resultobj = wxPyMake_wxObject(result, (bool)0);
20901 }
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj = NULL;
20910 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20911 int arg2 ;
20912 wxControl *result;
20913 PyObject * obj0 = 0 ;
20914 PyObject * obj1 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self",(char *) "id", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
20920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail;
20922 {
20923 arg2 = static_cast<int >(SWIG_As_int(obj1));
20924 if (SWIG_arg_fail(2)) SWIG_fail;
20925 }
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 result = (wxControl *)(arg1)->FindControl(arg2);
20929
20930 wxPyEndAllowThreads(__tstate);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 {
20934 resultobj = wxPyMake_wxObject(result, 0);
20935 }
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj = NULL;
20944 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20945 wxToolBarToolBase *result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
20952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail;
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 {
20962 resultobj = wxPyMake_wxObject(result, (bool)0);
20963 }
20964 return resultobj;
20965 fail:
20966 return NULL;
20967 }
20968
20969
20970 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
20971 PyObject *resultobj = NULL;
20972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20973 size_t arg2 ;
20974 wxToolBarToolBase *result;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "pos", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
20982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20983 if (SWIG_arg_fail(1)) SWIG_fail;
20984 {
20985 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
20986 if (SWIG_arg_fail(2)) SWIG_fail;
20987 }
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
20996 resultobj = wxPyMake_wxObject(result, (bool)0);
20997 }
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj = NULL;
21006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21007 int arg2 ;
21008 wxToolBarToolBase *result;
21009 PyObject * obj0 = 0 ;
21010 PyObject * obj1 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "id", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
21016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail;
21018 {
21019 arg2 = static_cast<int >(SWIG_As_int(obj1));
21020 if (SWIG_arg_fail(2)) SWIG_fail;
21021 }
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 {
21030 resultobj = wxPyMake_wxObject(result, (bool)0);
21031 }
21032 return resultobj;
21033 fail:
21034 return NULL;
21035 }
21036
21037
21038 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj = NULL;
21040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21041 size_t arg2 ;
21042 bool result;
21043 PyObject * obj0 = 0 ;
21044 PyObject * obj1 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self",(char *) "pos", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
21050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21051 if (SWIG_arg_fail(1)) SWIG_fail;
21052 {
21053 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
21054 if (SWIG_arg_fail(2)) SWIG_fail;
21055 }
21056 {
21057 PyThreadState* __tstate = wxPyBeginAllowThreads();
21058 result = (bool)(arg1)->DeleteToolByPos(arg2);
21059
21060 wxPyEndAllowThreads(__tstate);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 {
21064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21065 }
21066 return resultobj;
21067 fail:
21068 return NULL;
21069 }
21070
21071
21072 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj = NULL;
21074 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21075 int arg2 ;
21076 bool result;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "id", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
21084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail;
21086 {
21087 arg2 = static_cast<int >(SWIG_As_int(obj1));
21088 if (SWIG_arg_fail(2)) SWIG_fail;
21089 }
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = (bool)(arg1)->DeleteTool(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 {
21098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21099 }
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj = NULL;
21108 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
21115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21116 if (SWIG_arg_fail(1)) SWIG_fail;
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 (arg1)->ClearTools();
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 Py_INCREF(Py_None); resultobj = Py_None;
21125 return resultobj;
21126 fail:
21127 return NULL;
21128 }
21129
21130
21131 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj = NULL;
21133 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21134 bool result;
21135 PyObject * obj0 = 0 ;
21136 char *kwnames[] = {
21137 (char *) "self", NULL
21138 };
21139
21140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
21141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail;
21143 {
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 result = (bool)(arg1)->Realize();
21146
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 {
21151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21152 }
21153 return resultobj;
21154 fail:
21155 return NULL;
21156 }
21157
21158
21159 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
21160 PyObject *resultobj = NULL;
21161 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21162 int arg2 ;
21163 bool arg3 ;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 PyObject * obj2 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self",(char *) "id",(char *) "enable", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
21172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail;
21174 {
21175 arg2 = static_cast<int >(SWIG_As_int(obj1));
21176 if (SWIG_arg_fail(2)) SWIG_fail;
21177 }
21178 {
21179 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21180 if (SWIG_arg_fail(3)) SWIG_fail;
21181 }
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 (arg1)->EnableTool(arg2,arg3);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 Py_INCREF(Py_None); resultobj = Py_None;
21190 return resultobj;
21191 fail:
21192 return NULL;
21193 }
21194
21195
21196 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
21197 PyObject *resultobj = NULL;
21198 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21199 int arg2 ;
21200 bool arg3 ;
21201 PyObject * obj0 = 0 ;
21202 PyObject * obj1 = 0 ;
21203 PyObject * obj2 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self",(char *) "id",(char *) "toggle", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
21209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail;
21211 {
21212 arg2 = static_cast<int >(SWIG_As_int(obj1));
21213 if (SWIG_arg_fail(2)) SWIG_fail;
21214 }
21215 {
21216 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21217 if (SWIG_arg_fail(3)) SWIG_fail;
21218 }
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 (arg1)->ToggleTool(arg2,arg3);
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 Py_INCREF(Py_None); resultobj = Py_None;
21227 return resultobj;
21228 fail:
21229 return NULL;
21230 }
21231
21232
21233 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
21234 PyObject *resultobj = NULL;
21235 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21236 int arg2 ;
21237 bool arg3 ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self",(char *) "id",(char *) "toggle", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21247 if (SWIG_arg_fail(1)) SWIG_fail;
21248 {
21249 arg2 = static_cast<int >(SWIG_As_int(obj1));
21250 if (SWIG_arg_fail(2)) SWIG_fail;
21251 }
21252 {
21253 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
21254 if (SWIG_arg_fail(3)) SWIG_fail;
21255 }
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 (arg1)->SetToggle(arg2,arg3);
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 Py_INCREF(Py_None); resultobj = Py_None;
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj = NULL;
21272 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21273 int arg2 ;
21274 PyObject *result;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "id", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
21282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail;
21284 {
21285 arg2 = static_cast<int >(SWIG_As_int(obj1));
21286 if (SWIG_arg_fail(2)) SWIG_fail;
21287 }
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = result;
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj = NULL;
21304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21305 int arg2 ;
21306 PyObject *arg3 = (PyObject *) 0 ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self",(char *) "id",(char *) "clientData", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail;
21317 {
21318 arg2 = static_cast<int >(SWIG_As_int(obj1));
21319 if (SWIG_arg_fail(2)) SWIG_fail;
21320 }
21321 arg3 = obj2;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 Py_INCREF(Py_None); resultobj = Py_None;
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj = NULL;
21338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21339 int arg2 ;
21340 int result;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "id", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
21348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail;
21350 {
21351 arg2 = static_cast<int >(SWIG_As_int(obj1));
21352 if (SWIG_arg_fail(2)) SWIG_fail;
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 {
21362 resultobj = SWIG_From_int(static_cast<int >(result));
21363 }
21364 return resultobj;
21365 fail:
21366 return NULL;
21367 }
21368
21369
21370 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
21371 PyObject *resultobj = NULL;
21372 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21373 int arg2 ;
21374 bool result;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self",(char *) "id", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
21382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail;
21384 {
21385 arg2 = static_cast<int >(SWIG_As_int(obj1));
21386 if (SWIG_arg_fail(2)) SWIG_fail;
21387 }
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = (bool)(arg1)->GetToolState(arg2);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21397 }
21398 return resultobj;
21399 fail:
21400 return NULL;
21401 }
21402
21403
21404 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj = NULL;
21406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21407 int arg2 ;
21408 bool result;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "id", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
21416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail;
21418 {
21419 arg2 = static_cast<int >(SWIG_As_int(obj1));
21420 if (SWIG_arg_fail(2)) SWIG_fail;
21421 }
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 result = (bool)(arg1)->GetToolEnabled(arg2);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 {
21430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21431 }
21432 return resultobj;
21433 fail:
21434 return NULL;
21435 }
21436
21437
21438 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj = NULL;
21440 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21441 int arg2 ;
21442 wxString *arg3 = 0 ;
21443 bool temp3 = false ;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 PyObject * obj2 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "id",(char *) "helpString", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
21452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail;
21454 {
21455 arg2 = static_cast<int >(SWIG_As_int(obj1));
21456 if (SWIG_arg_fail(2)) SWIG_fail;
21457 }
21458 {
21459 arg3 = wxString_in_helper(obj2);
21460 if (arg3 == NULL) SWIG_fail;
21461 temp3 = true;
21462 }
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 Py_INCREF(Py_None); resultobj = Py_None;
21471 {
21472 if (temp3)
21473 delete arg3;
21474 }
21475 return resultobj;
21476 fail:
21477 {
21478 if (temp3)
21479 delete arg3;
21480 }
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj = NULL;
21487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21488 int arg2 ;
21489 wxString result;
21490 PyObject * obj0 = 0 ;
21491 PyObject * obj1 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self",(char *) "id", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
21497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21498 if (SWIG_arg_fail(1)) SWIG_fail;
21499 {
21500 arg2 = static_cast<int >(SWIG_As_int(obj1));
21501 if (SWIG_arg_fail(2)) SWIG_fail;
21502 }
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 result = (arg1)->GetToolShortHelp(arg2);
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 {
21511 #if wxUSE_UNICODE
21512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21513 #else
21514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21515 #endif
21516 }
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj = NULL;
21525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21526 int arg2 ;
21527 wxString *arg3 = 0 ;
21528 bool temp3 = false ;
21529 PyObject * obj0 = 0 ;
21530 PyObject * obj1 = 0 ;
21531 PyObject * obj2 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "id",(char *) "helpString", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
21537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail;
21539 {
21540 arg2 = static_cast<int >(SWIG_As_int(obj1));
21541 if (SWIG_arg_fail(2)) SWIG_fail;
21542 }
21543 {
21544 arg3 = wxString_in_helper(obj2);
21545 if (arg3 == NULL) SWIG_fail;
21546 temp3 = true;
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 {
21557 if (temp3)
21558 delete arg3;
21559 }
21560 return resultobj;
21561 fail:
21562 {
21563 if (temp3)
21564 delete arg3;
21565 }
21566 return NULL;
21567 }
21568
21569
21570 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj = NULL;
21572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21573 int arg2 ;
21574 wxString result;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self",(char *) "id", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
21582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21583 if (SWIG_arg_fail(1)) SWIG_fail;
21584 {
21585 arg2 = static_cast<int >(SWIG_As_int(obj1));
21586 if (SWIG_arg_fail(2)) SWIG_fail;
21587 }
21588 {
21589 PyThreadState* __tstate = wxPyBeginAllowThreads();
21590 result = (arg1)->GetToolLongHelp(arg2);
21591
21592 wxPyEndAllowThreads(__tstate);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 {
21596 #if wxUSE_UNICODE
21597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21598 #else
21599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21600 #endif
21601 }
21602 return resultobj;
21603 fail:
21604 return NULL;
21605 }
21606
21607
21608 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj = NULL;
21610 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21611 int arg2 ;
21612 int arg3 ;
21613 PyObject * obj0 = 0 ;
21614 PyObject * obj1 = 0 ;
21615 PyObject * obj2 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self",(char *) "x",(char *) "y", NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
21621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail;
21623 {
21624 arg2 = static_cast<int >(SWIG_As_int(obj1));
21625 if (SWIG_arg_fail(2)) SWIG_fail;
21626 }
21627 {
21628 arg3 = static_cast<int >(SWIG_As_int(obj2));
21629 if (SWIG_arg_fail(3)) SWIG_fail;
21630 }
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 (arg1)->SetMargins(arg2,arg3);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 Py_INCREF(Py_None); resultobj = Py_None;
21639 return resultobj;
21640 fail:
21641 return NULL;
21642 }
21643
21644
21645 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21646 PyObject *resultobj = NULL;
21647 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21648 wxSize *arg2 = 0 ;
21649 wxSize temp2 ;
21650 PyObject * obj0 = 0 ;
21651 PyObject * obj1 = 0 ;
21652 char *kwnames[] = {
21653 (char *) "self",(char *) "size", NULL
21654 };
21655
21656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
21657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail;
21659 {
21660 arg2 = &temp2;
21661 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21662 }
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->SetMargins((wxSize const &)*arg2);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj = NULL;
21679 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21680 int arg2 ;
21681 PyObject * obj0 = 0 ;
21682 PyObject * obj1 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self",(char *) "packing", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
21688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail;
21690 {
21691 arg2 = static_cast<int >(SWIG_As_int(obj1));
21692 if (SWIG_arg_fail(2)) SWIG_fail;
21693 }
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 (arg1)->SetToolPacking(arg2);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 Py_INCREF(Py_None); resultobj = Py_None;
21702 return resultobj;
21703 fail:
21704 return NULL;
21705 }
21706
21707
21708 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
21709 PyObject *resultobj = NULL;
21710 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21711 int arg2 ;
21712 PyObject * obj0 = 0 ;
21713 PyObject * obj1 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self",(char *) "separation", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
21719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail;
21721 {
21722 arg2 = static_cast<int >(SWIG_As_int(obj1));
21723 if (SWIG_arg_fail(2)) SWIG_fail;
21724 }
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 (arg1)->SetToolSeparation(arg2);
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 Py_INCREF(Py_None); resultobj = Py_None;
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj = NULL;
21741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21742 wxSize result;
21743 PyObject * obj0 = 0 ;
21744 char *kwnames[] = {
21745 (char *) "self", NULL
21746 };
21747
21748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
21749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail;
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 result = (arg1)->GetToolMargins();
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 {
21759 wxSize * resultptr;
21760 resultptr = new wxSize(static_cast<wxSize & >(result));
21761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21762 }
21763 return resultobj;
21764 fail:
21765 return NULL;
21766 }
21767
21768
21769 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj = NULL;
21771 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21772 wxSize result;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
21779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail;
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 result = (arg1)->GetMargins();
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 {
21789 wxSize * resultptr;
21790 resultptr = new wxSize(static_cast<wxSize & >(result));
21791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21792 }
21793 return resultobj;
21794 fail:
21795 return NULL;
21796 }
21797
21798
21799 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
21800 PyObject *resultobj = NULL;
21801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21802 int result;
21803 PyObject * obj0 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
21809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21810 if (SWIG_arg_fail(1)) SWIG_fail;
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 result = (int)(arg1)->GetToolPacking();
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 {
21819 resultobj = SWIG_From_int(static_cast<int >(result));
21820 }
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj = NULL;
21829 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21830 int result;
21831 PyObject * obj0 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
21837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21838 if (SWIG_arg_fail(1)) SWIG_fail;
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 result = (int)(arg1)->GetToolSeparation();
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 {
21847 resultobj = SWIG_From_int(static_cast<int >(result));
21848 }
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj = NULL;
21857 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21858 int arg2 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "nRows", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
21868 {
21869 arg2 = static_cast<int >(SWIG_As_int(obj1));
21870 if (SWIG_arg_fail(2)) SWIG_fail;
21871 }
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 (arg1)->SetRows(arg2);
21875
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 Py_INCREF(Py_None); resultobj = Py_None;
21880 return resultobj;
21881 fail:
21882 return NULL;
21883 }
21884
21885
21886 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj = NULL;
21888 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21889 int arg2 ;
21890 int arg3 ;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 PyObject * obj2 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "rows",(char *) "cols", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
21899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail;
21901 {
21902 arg2 = static_cast<int >(SWIG_As_int(obj1));
21903 if (SWIG_arg_fail(2)) SWIG_fail;
21904 }
21905 {
21906 arg3 = static_cast<int >(SWIG_As_int(obj2));
21907 if (SWIG_arg_fail(3)) SWIG_fail;
21908 }
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 (arg1)->SetMaxRowsCols(arg2,arg3);
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 Py_INCREF(Py_None); resultobj = Py_None;
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
21924 PyObject *resultobj = NULL;
21925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21926 int result;
21927 PyObject * obj0 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
21933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21934 if (SWIG_arg_fail(1)) SWIG_fail;
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = (int)(arg1)->GetMaxRows();
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 {
21943 resultobj = SWIG_From_int(static_cast<int >(result));
21944 }
21945 return resultobj;
21946 fail:
21947 return NULL;
21948 }
21949
21950
21951 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj = NULL;
21953 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21954 int result;
21955 PyObject * obj0 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
21961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21962 if (SWIG_arg_fail(1)) SWIG_fail;
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 result = (int)(arg1)->GetMaxCols();
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 {
21971 resultobj = SWIG_From_int(static_cast<int >(result));
21972 }
21973 return resultobj;
21974 fail:
21975 return NULL;
21976 }
21977
21978
21979 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj = NULL;
21981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21982 wxSize *arg2 = 0 ;
21983 wxSize temp2 ;
21984 PyObject * obj0 = 0 ;
21985 PyObject * obj1 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "size", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
21991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail;
21993 {
21994 arg2 = &temp2;
21995 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj = NULL;
22013 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22014 wxSize result;
22015 PyObject * obj0 = 0 ;
22016 char *kwnames[] = {
22017 (char *) "self", NULL
22018 };
22019
22020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
22021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail;
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (arg1)->GetToolBitmapSize();
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 {
22031 wxSize * resultptr;
22032 resultptr = new wxSize(static_cast<wxSize & >(result));
22033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22034 }
22035 return resultobj;
22036 fail:
22037 return NULL;
22038 }
22039
22040
22041 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj = NULL;
22043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22044 wxSize result;
22045 PyObject * obj0 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
22051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail;
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (arg1)->GetToolSize();
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 {
22061 wxSize * resultptr;
22062 resultptr = new wxSize(static_cast<wxSize & >(result));
22063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22064 }
22065 return resultobj;
22066 fail:
22067 return NULL;
22068 }
22069
22070
22071 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22072 PyObject *resultobj = NULL;
22073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22074 int arg2 ;
22075 int arg3 ;
22076 wxToolBarToolBase *result;
22077 PyObject * obj0 = 0 ;
22078 PyObject * obj1 = 0 ;
22079 PyObject * obj2 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self",(char *) "x",(char *) "y", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail;
22087 {
22088 arg2 = static_cast<int >(SWIG_As_int(obj1));
22089 if (SWIG_arg_fail(2)) SWIG_fail;
22090 }
22091 {
22092 arg3 = static_cast<int >(SWIG_As_int(obj2));
22093 if (SWIG_arg_fail(3)) SWIG_fail;
22094 }
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 {
22103 resultobj = wxPyMake_wxObject(result, (bool)0);
22104 }
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj = NULL;
22113 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22114 int arg2 ;
22115 wxToolBarToolBase *result;
22116 PyObject * obj0 = 0 ;
22117 PyObject * obj1 = 0 ;
22118 char *kwnames[] = {
22119 (char *) "self",(char *) "toolid", NULL
22120 };
22121
22122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
22123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22124 if (SWIG_arg_fail(1)) SWIG_fail;
22125 {
22126 arg2 = static_cast<int >(SWIG_As_int(obj1));
22127 if (SWIG_arg_fail(2)) SWIG_fail;
22128 }
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 {
22137 resultobj = wxPyMake_wxObject(result, (bool)0);
22138 }
22139 return resultobj;
22140 fail:
22141 return NULL;
22142 }
22143
22144
22145 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22146 PyObject *resultobj = NULL;
22147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
22148 bool result;
22149 PyObject * obj0 = 0 ;
22150 char *kwnames[] = {
22151 (char *) "self", NULL
22152 };
22153
22154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
22155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail;
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (bool)(arg1)->IsVertical();
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 {
22165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22166 }
22167 return resultobj;
22168 fail:
22169 return NULL;
22170 }
22171
22172
22173 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
22174 PyObject *obj;
22175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22176 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
22177 Py_INCREF(obj);
22178 return Py_BuildValue((char *)"");
22179 }
22180 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj = NULL;
22182 wxWindow *arg1 = (wxWindow *) 0 ;
22183 int arg2 = (int) -1 ;
22184 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22185 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22186 wxSize const &arg4_defvalue = wxDefaultSize ;
22187 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22188 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22189 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
22190 wxString *arg6 = (wxString *) &arg6_defvalue ;
22191 wxToolBar *result;
22192 wxPoint temp3 ;
22193 wxSize temp4 ;
22194 bool temp6 = false ;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 PyObject * obj2 = 0 ;
22198 PyObject * obj3 = 0 ;
22199 PyObject * obj4 = 0 ;
22200 PyObject * obj5 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail;
22208 if (obj1) {
22209 {
22210 arg2 = static_cast<int >(SWIG_As_int(obj1));
22211 if (SWIG_arg_fail(2)) SWIG_fail;
22212 }
22213 }
22214 if (obj2) {
22215 {
22216 arg3 = &temp3;
22217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22218 }
22219 }
22220 if (obj3) {
22221 {
22222 arg4 = &temp4;
22223 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22224 }
22225 }
22226 if (obj4) {
22227 {
22228 arg5 = static_cast<long >(SWIG_As_long(obj4));
22229 if (SWIG_arg_fail(5)) SWIG_fail;
22230 }
22231 }
22232 if (obj5) {
22233 {
22234 arg6 = wxString_in_helper(obj5);
22235 if (arg6 == NULL) SWIG_fail;
22236 temp6 = true;
22237 }
22238 }
22239 {
22240 if (!wxPyCheckForApp()) SWIG_fail;
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
22248 {
22249 if (temp6)
22250 delete arg6;
22251 }
22252 return resultobj;
22253 fail:
22254 {
22255 if (temp6)
22256 delete arg6;
22257 }
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj = NULL;
22264 wxToolBar *result;
22265 char *kwnames[] = {
22266 NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
22270 {
22271 if (!wxPyCheckForApp()) SWIG_fail;
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (wxToolBar *)new wxToolBar();
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
22279 return resultobj;
22280 fail:
22281 return NULL;
22282 }
22283
22284
22285 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj = NULL;
22287 wxToolBar *arg1 = (wxToolBar *) 0 ;
22288 wxWindow *arg2 = (wxWindow *) 0 ;
22289 int arg3 = (int) -1 ;
22290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22292 wxSize const &arg5_defvalue = wxDefaultSize ;
22293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22294 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
22295 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
22296 wxString *arg7 = (wxString *) &arg7_defvalue ;
22297 bool result;
22298 wxPoint temp4 ;
22299 wxSize temp5 ;
22300 bool temp7 = false ;
22301 PyObject * obj0 = 0 ;
22302 PyObject * obj1 = 0 ;
22303 PyObject * obj2 = 0 ;
22304 PyObject * obj3 = 0 ;
22305 PyObject * obj4 = 0 ;
22306 PyObject * obj5 = 0 ;
22307 PyObject * obj6 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22310 };
22311
22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail;
22315 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22316 if (SWIG_arg_fail(2)) SWIG_fail;
22317 if (obj2) {
22318 {
22319 arg3 = static_cast<int >(SWIG_As_int(obj2));
22320 if (SWIG_arg_fail(3)) SWIG_fail;
22321 }
22322 }
22323 if (obj3) {
22324 {
22325 arg4 = &temp4;
22326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22327 }
22328 }
22329 if (obj4) {
22330 {
22331 arg5 = &temp5;
22332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22333 }
22334 }
22335 if (obj5) {
22336 {
22337 arg6 = static_cast<long >(SWIG_As_long(obj5));
22338 if (SWIG_arg_fail(6)) SWIG_fail;
22339 }
22340 }
22341 if (obj6) {
22342 {
22343 arg7 = wxString_in_helper(obj6);
22344 if (arg7 == NULL) SWIG_fail;
22345 temp7 = true;
22346 }
22347 }
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 {
22356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22357 }
22358 {
22359 if (temp7)
22360 delete arg7;
22361 }
22362 return resultobj;
22363 fail:
22364 {
22365 if (temp7)
22366 delete arg7;
22367 }
22368 return NULL;
22369 }
22370
22371
22372 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj = NULL;
22374 wxToolBar *arg1 = (wxToolBar *) 0 ;
22375 int arg2 ;
22376 int arg3 ;
22377 wxToolBarToolBase *result;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 PyObject * obj2 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self",(char *) "x",(char *) "y", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
22387 if (SWIG_arg_fail(1)) SWIG_fail;
22388 {
22389 arg2 = static_cast<int >(SWIG_As_int(obj1));
22390 if (SWIG_arg_fail(2)) SWIG_fail;
22391 }
22392 {
22393 arg3 = static_cast<int >(SWIG_As_int(obj2));
22394 if (SWIG_arg_fail(3)) SWIG_fail;
22395 }
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 {
22404 resultobj = wxPyMake_wxObject(result, (bool)0);
22405 }
22406 return resultobj;
22407 fail:
22408 return NULL;
22409 }
22410
22411
22412 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22413 PyObject *resultobj = NULL;
22414 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22415 wxVisualAttributes result;
22416 PyObject * obj0 = 0 ;
22417 char *kwnames[] = {
22418 (char *) "variant", NULL
22419 };
22420
22421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22422 if (obj0) {
22423 {
22424 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
22425 if (SWIG_arg_fail(1)) SWIG_fail;
22426 }
22427 }
22428 {
22429 if (!wxPyCheckForApp()) SWIG_fail;
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = wxToolBar::GetClassDefaultAttributes(arg1);
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 {
22437 wxVisualAttributes * resultptr;
22438 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22440 }
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
22448 PyObject *obj;
22449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22450 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
22451 Py_INCREF(obj);
22452 return Py_BuildValue((char *)"");
22453 }
22454 static int _wrap_ListCtrlNameStr_set(PyObject *) {
22455 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
22456 return 1;
22457 }
22458
22459
22460 static PyObject *_wrap_ListCtrlNameStr_get(void) {
22461 PyObject *pyobj = NULL;
22462
22463 {
22464 #if wxUSE_UNICODE
22465 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22466 #else
22467 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
22468 #endif
22469 }
22470 return pyobj;
22471 }
22472
22473
22474 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj = NULL;
22476 wxColour const &arg1_defvalue = wxNullColour ;
22477 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
22478 wxColour const &arg2_defvalue = wxNullColour ;
22479 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
22480 wxFont const &arg3_defvalue = wxNullFont ;
22481 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
22482 wxListItemAttr *result;
22483 wxColour temp1 ;
22484 wxColour temp2 ;
22485 PyObject * obj0 = 0 ;
22486 PyObject * obj1 = 0 ;
22487 PyObject * obj2 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "colText",(char *) "colBack",(char *) "font", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
22493 if (obj0) {
22494 {
22495 arg1 = &temp1;
22496 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
22497 }
22498 }
22499 if (obj1) {
22500 {
22501 arg2 = &temp2;
22502 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22503 }
22504 }
22505 if (obj2) {
22506 {
22507 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22508 if (SWIG_arg_fail(3)) SWIG_fail;
22509 if (arg3 == NULL) {
22510 SWIG_null_ref("wxFont");
22511 }
22512 if (SWIG_arg_fail(3)) SWIG_fail;
22513 }
22514 }
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
22523 return resultobj;
22524 fail:
22525 return NULL;
22526 }
22527
22528
22529 static PyObject *_wrap_delete_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
22530 PyObject *resultobj = NULL;
22531 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22532 PyObject * obj0 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItemAttr",kwnames,&obj0)) goto fail;
22538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail;
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 delete arg1;
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 Py_INCREF(Py_None); resultobj = Py_None;
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj = NULL;
22556 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22557 wxColour *arg2 = 0 ;
22558 wxColour temp2 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "colText", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22567 if (SWIG_arg_fail(1)) SWIG_fail;
22568 {
22569 arg2 = &temp2;
22570 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22571 }
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 (arg1)->SetTextColour((wxColour const &)*arg2);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 Py_INCREF(Py_None); resultobj = Py_None;
22580 return resultobj;
22581 fail:
22582 return NULL;
22583 }
22584
22585
22586 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22587 PyObject *resultobj = NULL;
22588 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22589 wxColour *arg2 = 0 ;
22590 wxColour temp2 ;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "colBack", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail;
22600 {
22601 arg2 = &temp2;
22602 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22603 }
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj = NULL;
22620 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22621 wxFont *arg2 = 0 ;
22622 PyObject * obj0 = 0 ;
22623 PyObject * obj1 = 0 ;
22624 char *kwnames[] = {
22625 (char *) "self",(char *) "font", NULL
22626 };
22627
22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
22629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22630 if (SWIG_arg_fail(1)) SWIG_fail;
22631 {
22632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(2)) SWIG_fail;
22634 if (arg2 == NULL) {
22635 SWIG_null_ref("wxFont");
22636 }
22637 if (SWIG_arg_fail(2)) SWIG_fail;
22638 }
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 (arg1)->SetFont((wxFont const &)*arg2);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 Py_INCREF(Py_None); resultobj = Py_None;
22647 return resultobj;
22648 fail:
22649 return NULL;
22650 }
22651
22652
22653 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj = NULL;
22655 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22656 bool result;
22657 PyObject * obj0 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
22663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail;
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 result = (bool)(arg1)->HasTextColour();
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 {
22673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22674 }
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj = NULL;
22683 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22684 bool result;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
22691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22692 if (SWIG_arg_fail(1)) SWIG_fail;
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 result = (bool)(arg1)->HasBackgroundColour();
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 {
22701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22702 }
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj = NULL;
22711 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22712 bool result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
22719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail;
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = (bool)(arg1)->HasFont();
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 {
22729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj = NULL;
22739 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22740 wxColour result;
22741 PyObject * obj0 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
22747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail;
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 result = (arg1)->GetTextColour();
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 {
22757 wxColour * resultptr;
22758 resultptr = new wxColour(static_cast<wxColour & >(result));
22759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22760 }
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj = NULL;
22769 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22770 wxColour result;
22771 PyObject * obj0 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
22777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail;
22779 {
22780 PyThreadState* __tstate = wxPyBeginAllowThreads();
22781 result = (arg1)->GetBackgroundColour();
22782
22783 wxPyEndAllowThreads(__tstate);
22784 if (PyErr_Occurred()) SWIG_fail;
22785 }
22786 {
22787 wxColour * resultptr;
22788 resultptr = new wxColour(static_cast<wxColour & >(result));
22789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22790 }
22791 return resultobj;
22792 fail:
22793 return NULL;
22794 }
22795
22796
22797 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22798 PyObject *resultobj = NULL;
22799 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22800 wxFont result;
22801 PyObject * obj0 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "self", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
22807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail;
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 result = (arg1)->GetFont();
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 {
22817 wxFont * resultptr;
22818 resultptr = new wxFont(static_cast<wxFont & >(result));
22819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22820 }
22821 return resultobj;
22822 fail:
22823 return NULL;
22824 }
22825
22826
22827 static PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *, PyObject *args, PyObject *kwargs) {
22828 PyObject *resultobj = NULL;
22829 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22830 wxListItemAttr *arg2 = 0 ;
22831 PyObject * obj0 = 0 ;
22832 PyObject * obj1 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self",(char *) "source", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) goto fail;
22838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail;
22840 {
22841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(2)) SWIG_fail;
22843 if (arg2 == NULL) {
22844 SWIG_null_ref("wxListItemAttr");
22845 }
22846 if (SWIG_arg_fail(2)) SWIG_fail;
22847 }
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
22851
22852 wxPyEndAllowThreads(__tstate);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 }
22855 Py_INCREF(Py_None); resultobj = Py_None;
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj = NULL;
22864 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
22865 PyObject * obj0 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
22871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail;
22873 {
22874 PyThreadState* __tstate = wxPyBeginAllowThreads();
22875 wxListItemAttr_Destroy(arg1);
22876
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 Py_INCREF(Py_None); resultobj = Py_None;
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
22888 PyObject *obj;
22889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22890 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
22891 Py_INCREF(obj);
22892 return Py_BuildValue((char *)"");
22893 }
22894 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj = NULL;
22896 wxListItem *result;
22897 char *kwnames[] = {
22898 NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 result = (wxListItem *)new wxListItem();
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 {
22910 resultobj = wxPyMake_wxObject(result, (bool)1);
22911 }
22912 return resultobj;
22913 fail:
22914 return NULL;
22915 }
22916
22917
22918 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
22919 PyObject *resultobj = NULL;
22920 wxListItem *arg1 = (wxListItem *) 0 ;
22921 PyObject * obj0 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
22927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail;
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 delete arg1;
22932
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 Py_INCREF(Py_None); resultobj = Py_None;
22937 return resultobj;
22938 fail:
22939 return NULL;
22940 }
22941
22942
22943 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
22944 PyObject *resultobj = NULL;
22945 wxListItem *arg1 = (wxListItem *) 0 ;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
22952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 (arg1)->Clear();
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 Py_INCREF(Py_None); resultobj = Py_None;
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj = NULL;
22970 wxListItem *arg1 = (wxListItem *) 0 ;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
22977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail;
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 (arg1)->ClearAttributes();
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 Py_INCREF(Py_None); resultobj = Py_None;
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22994 PyObject *resultobj = NULL;
22995 wxListItem *arg1 = (wxListItem *) 0 ;
22996 long arg2 ;
22997 PyObject * obj0 = 0 ;
22998 PyObject * obj1 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self",(char *) "mask", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
23004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23005 if (SWIG_arg_fail(1)) SWIG_fail;
23006 {
23007 arg2 = static_cast<long >(SWIG_As_long(obj1));
23008 if (SWIG_arg_fail(2)) SWIG_fail;
23009 }
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 (arg1)->SetMask(arg2);
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 return resultobj;
23019 fail:
23020 return NULL;
23021 }
23022
23023
23024 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
23025 PyObject *resultobj = NULL;
23026 wxListItem *arg1 = (wxListItem *) 0 ;
23027 long arg2 ;
23028 PyObject * obj0 = 0 ;
23029 PyObject * obj1 = 0 ;
23030 char *kwnames[] = {
23031 (char *) "self",(char *) "id", NULL
23032 };
23033
23034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
23035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23036 if (SWIG_arg_fail(1)) SWIG_fail;
23037 {
23038 arg2 = static_cast<long >(SWIG_As_long(obj1));
23039 if (SWIG_arg_fail(2)) SWIG_fail;
23040 }
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 (arg1)->SetId(arg2);
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 Py_INCREF(Py_None); resultobj = Py_None;
23049 return resultobj;
23050 fail:
23051 return NULL;
23052 }
23053
23054
23055 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23056 PyObject *resultobj = NULL;
23057 wxListItem *arg1 = (wxListItem *) 0 ;
23058 int arg2 ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self",(char *) "col", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
23066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail;
23068 {
23069 arg2 = static_cast<int >(SWIG_As_int(obj1));
23070 if (SWIG_arg_fail(2)) SWIG_fail;
23071 }
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 (arg1)->SetColumn(arg2);
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 Py_INCREF(Py_None); resultobj = Py_None;
23080 return resultobj;
23081 fail:
23082 return NULL;
23083 }
23084
23085
23086 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
23087 PyObject *resultobj = NULL;
23088 wxListItem *arg1 = (wxListItem *) 0 ;
23089 long arg2 ;
23090 PyObject * obj0 = 0 ;
23091 PyObject * obj1 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self",(char *) "state", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
23097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail;
23099 {
23100 arg2 = static_cast<long >(SWIG_As_long(obj1));
23101 if (SWIG_arg_fail(2)) SWIG_fail;
23102 }
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 (arg1)->SetState(arg2);
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 Py_INCREF(Py_None); resultobj = Py_None;
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj = NULL;
23119 wxListItem *arg1 = (wxListItem *) 0 ;
23120 long arg2 ;
23121 PyObject * obj0 = 0 ;
23122 PyObject * obj1 = 0 ;
23123 char *kwnames[] = {
23124 (char *) "self",(char *) "stateMask", NULL
23125 };
23126
23127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
23128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23129 if (SWIG_arg_fail(1)) SWIG_fail;
23130 {
23131 arg2 = static_cast<long >(SWIG_As_long(obj1));
23132 if (SWIG_arg_fail(2)) SWIG_fail;
23133 }
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 (arg1)->SetStateMask(arg2);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 Py_INCREF(Py_None); resultobj = Py_None;
23142 return resultobj;
23143 fail:
23144 return NULL;
23145 }
23146
23147
23148 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj = NULL;
23150 wxListItem *arg1 = (wxListItem *) 0 ;
23151 wxString *arg2 = 0 ;
23152 bool temp2 = false ;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "text", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
23162 {
23163 arg2 = wxString_in_helper(obj1);
23164 if (arg2 == NULL) SWIG_fail;
23165 temp2 = true;
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->SetText((wxString const &)*arg2);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 {
23176 if (temp2)
23177 delete arg2;
23178 }
23179 return resultobj;
23180 fail:
23181 {
23182 if (temp2)
23183 delete arg2;
23184 }
23185 return NULL;
23186 }
23187
23188
23189 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23190 PyObject *resultobj = NULL;
23191 wxListItem *arg1 = (wxListItem *) 0 ;
23192 int arg2 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "image", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
23200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail;
23202 {
23203 arg2 = static_cast<int >(SWIG_As_int(obj1));
23204 if (SWIG_arg_fail(2)) SWIG_fail;
23205 }
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 (arg1)->SetImage(arg2);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 Py_INCREF(Py_None); resultobj = Py_None;
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj = NULL;
23222 wxListItem *arg1 = (wxListItem *) 0 ;
23223 long arg2 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "data", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
23231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail;
23233 {
23234 arg2 = static_cast<long >(SWIG_As_long(obj1));
23235 if (SWIG_arg_fail(2)) SWIG_fail;
23236 }
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 (arg1)->SetData(arg2);
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 Py_INCREF(Py_None); resultobj = Py_None;
23245 return resultobj;
23246 fail:
23247 return NULL;
23248 }
23249
23250
23251 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
23252 PyObject *resultobj = NULL;
23253 wxListItem *arg1 = (wxListItem *) 0 ;
23254 int arg2 ;
23255 PyObject * obj0 = 0 ;
23256 PyObject * obj1 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self",(char *) "width", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
23262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail;
23264 {
23265 arg2 = static_cast<int >(SWIG_As_int(obj1));
23266 if (SWIG_arg_fail(2)) SWIG_fail;
23267 }
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 (arg1)->SetWidth(arg2);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 Py_INCREF(Py_None); resultobj = Py_None;
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj = NULL;
23284 wxListItem *arg1 = (wxListItem *) 0 ;
23285 wxListColumnFormat arg2 ;
23286 PyObject * obj0 = 0 ;
23287 PyObject * obj1 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self",(char *) "align", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) 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 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
23297 if (SWIG_arg_fail(2)) SWIG_fail;
23298 }
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
23301 (arg1)->SetAlign(arg2);
23302
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 Py_INCREF(Py_None); resultobj = Py_None;
23307 return resultobj;
23308 fail:
23309 return NULL;
23310 }
23311
23312
23313 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23314 PyObject *resultobj = NULL;
23315 wxListItem *arg1 = (wxListItem *) 0 ;
23316 wxColour *arg2 = 0 ;
23317 wxColour temp2 ;
23318 PyObject * obj0 = 0 ;
23319 PyObject * obj1 = 0 ;
23320 char *kwnames[] = {
23321 (char *) "self",(char *) "colText", NULL
23322 };
23323
23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
23325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail;
23327 {
23328 arg2 = &temp2;
23329 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23330 }
23331 {
23332 PyThreadState* __tstate = wxPyBeginAllowThreads();
23333 (arg1)->SetTextColour((wxColour const &)*arg2);
23334
23335 wxPyEndAllowThreads(__tstate);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 Py_INCREF(Py_None); resultobj = Py_None;
23339 return resultobj;
23340 fail:
23341 return NULL;
23342 }
23343
23344
23345 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23346 PyObject *resultobj = NULL;
23347 wxListItem *arg1 = (wxListItem *) 0 ;
23348 wxColour *arg2 = 0 ;
23349 wxColour temp2 ;
23350 PyObject * obj0 = 0 ;
23351 PyObject * obj1 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self",(char *) "colBack", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail;
23359 {
23360 arg2 = &temp2;
23361 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23362 }
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374 }
23375
23376
23377 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj = NULL;
23379 wxListItem *arg1 = (wxListItem *) 0 ;
23380 wxFont *arg2 = 0 ;
23381 PyObject * obj0 = 0 ;
23382 PyObject * obj1 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "font", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
23388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail;
23390 {
23391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
23392 if (SWIG_arg_fail(2)) SWIG_fail;
23393 if (arg2 == NULL) {
23394 SWIG_null_ref("wxFont");
23395 }
23396 if (SWIG_arg_fail(2)) SWIG_fail;
23397 }
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 (arg1)->SetFont((wxFont const &)*arg2);
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 Py_INCREF(Py_None); resultobj = Py_None;
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23413 PyObject *resultobj = NULL;
23414 wxListItem *arg1 = (wxListItem *) 0 ;
23415 long result;
23416 PyObject * obj0 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "self", NULL
23419 };
23420
23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
23422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (long)(arg1)->GetMask();
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 {
23432 resultobj = SWIG_From_long(static_cast<long >(result));
23433 }
23434 return resultobj;
23435 fail:
23436 return NULL;
23437 }
23438
23439
23440 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
23441 PyObject *resultobj = NULL;
23442 wxListItem *arg1 = (wxListItem *) 0 ;
23443 long result;
23444 PyObject * obj0 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
23450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail;
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = (long)(arg1)->GetId();
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 resultobj = SWIG_From_long(static_cast<long >(result));
23461 }
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj = NULL;
23470 wxListItem *arg1 = (wxListItem *) 0 ;
23471 int result;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
23478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail;
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = (int)(arg1)->GetColumn();
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 {
23488 resultobj = SWIG_From_int(static_cast<int >(result));
23489 }
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
23497 PyObject *resultobj = NULL;
23498 wxListItem *arg1 = (wxListItem *) 0 ;
23499 long result;
23500 PyObject * obj0 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
23506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail;
23508 {
23509 PyThreadState* __tstate = wxPyBeginAllowThreads();
23510 result = (long)(arg1)->GetState();
23511
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
23515 {
23516 resultobj = SWIG_From_long(static_cast<long >(result));
23517 }
23518 return resultobj;
23519 fail:
23520 return NULL;
23521 }
23522
23523
23524 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23525 PyObject *resultobj = NULL;
23526 wxListItem *arg1 = (wxListItem *) 0 ;
23527 wxString *result;
23528 PyObject * obj0 = 0 ;
23529 char *kwnames[] = {
23530 (char *) "self", NULL
23531 };
23532
23533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
23534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23535 if (SWIG_arg_fail(1)) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 {
23539 wxString const &_result_ref = (arg1)->GetText();
23540 result = (wxString *) &_result_ref;
23541 }
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 {
23547 #if wxUSE_UNICODE
23548 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23549 #else
23550 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23551 #endif
23552 }
23553 return resultobj;
23554 fail:
23555 return NULL;
23556 }
23557
23558
23559 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23560 PyObject *resultobj = NULL;
23561 wxListItem *arg1 = (wxListItem *) 0 ;
23562 int result;
23563 PyObject * obj0 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
23569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail;
23571 {
23572 PyThreadState* __tstate = wxPyBeginAllowThreads();
23573 result = (int)(arg1)->GetImage();
23574
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 {
23579 resultobj = SWIG_From_int(static_cast<int >(result));
23580 }
23581 return resultobj;
23582 fail:
23583 return NULL;
23584 }
23585
23586
23587 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23588 PyObject *resultobj = NULL;
23589 wxListItem *arg1 = (wxListItem *) 0 ;
23590 long result;
23591 PyObject * obj0 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
23597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 result = (long)(arg1)->GetData();
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 {
23607 resultobj = SWIG_From_long(static_cast<long >(result));
23608 }
23609 return resultobj;
23610 fail:
23611 return NULL;
23612 }
23613
23614
23615 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj = NULL;
23617 wxListItem *arg1 = (wxListItem *) 0 ;
23618 int result;
23619 PyObject * obj0 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
23625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail;
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 result = (int)(arg1)->GetWidth();
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 {
23635 resultobj = SWIG_From_int(static_cast<int >(result));
23636 }
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj = NULL;
23645 wxListItem *arg1 = (wxListItem *) 0 ;
23646 wxListColumnFormat result;
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
23653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (wxListColumnFormat)(arg1)->GetAlign();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 resultobj = SWIG_From_int((result));
23663 return resultobj;
23664 fail:
23665 return NULL;
23666 }
23667
23668
23669 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
23670 PyObject *resultobj = NULL;
23671 wxListItem *arg1 = (wxListItem *) 0 ;
23672 wxListItemAttr *result;
23673 PyObject * obj0 = 0 ;
23674 char *kwnames[] = {
23675 (char *) "self", NULL
23676 };
23677
23678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
23679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23680 if (SWIG_arg_fail(1)) SWIG_fail;
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (wxListItemAttr *)(arg1)->GetAttributes();
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
23689 return resultobj;
23690 fail:
23691 return NULL;
23692 }
23693
23694
23695 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj = NULL;
23697 wxListItem *arg1 = (wxListItem *) 0 ;
23698 bool result;
23699 PyObject * obj0 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
23705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail;
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (bool)(arg1)->HasAttributes();
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 {
23715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj = NULL;
23725 wxListItem *arg1 = (wxListItem *) 0 ;
23726 wxColour result;
23727 PyObject * obj0 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
23733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23734 if (SWIG_arg_fail(1)) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = ((wxListItem const *)arg1)->GetTextColour();
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 wxColour * resultptr;
23744 resultptr = new wxColour(static_cast<wxColour & >(result));
23745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj = NULL;
23755 wxListItem *arg1 = (wxListItem *) 0 ;
23756 wxColour result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
23763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail;
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = ((wxListItem const *)arg1)->GetBackgroundColour();
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 {
23773 wxColour * resultptr;
23774 resultptr = new wxColour(static_cast<wxColour & >(result));
23775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23776 }
23777 return resultobj;
23778 fail:
23779 return NULL;
23780 }
23781
23782
23783 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
23784 PyObject *resultobj = NULL;
23785 wxListItem *arg1 = (wxListItem *) 0 ;
23786 wxFont result;
23787 PyObject * obj0 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = ((wxListItem const *)arg1)->GetFont();
23798
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 {
23803 wxFont * resultptr;
23804 resultptr = new wxFont(static_cast<wxFont & >(result));
23805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
23806 }
23807 return resultobj;
23808 fail:
23809 return NULL;
23810 }
23811
23812
23813 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
23814 PyObject *resultobj = NULL;
23815 wxListItem *arg1 = (wxListItem *) 0 ;
23816 long arg2 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "m_mask", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
23824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail;
23826 {
23827 arg2 = static_cast<long >(SWIG_As_long(obj1));
23828 if (SWIG_arg_fail(2)) SWIG_fail;
23829 }
23830 if (arg1) (arg1)->m_mask = arg2;
23831
23832 Py_INCREF(Py_None); resultobj = Py_None;
23833 return resultobj;
23834 fail:
23835 return NULL;
23836 }
23837
23838
23839 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
23840 PyObject *resultobj = NULL;
23841 wxListItem *arg1 = (wxListItem *) 0 ;
23842 long result;
23843 PyObject * obj0 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
23849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23850 if (SWIG_arg_fail(1)) SWIG_fail;
23851 result = (long) ((arg1)->m_mask);
23852
23853 {
23854 resultobj = SWIG_From_long(static_cast<long >(result));
23855 }
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj = NULL;
23864 wxListItem *arg1 = (wxListItem *) 0 ;
23865 long arg2 ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "self",(char *) "m_itemId", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
23873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail;
23875 {
23876 arg2 = static_cast<long >(SWIG_As_long(obj1));
23877 if (SWIG_arg_fail(2)) SWIG_fail;
23878 }
23879 if (arg1) (arg1)->m_itemId = arg2;
23880
23881 Py_INCREF(Py_None); resultobj = Py_None;
23882 return resultobj;
23883 fail:
23884 return NULL;
23885 }
23886
23887
23888 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
23889 PyObject *resultobj = NULL;
23890 wxListItem *arg1 = (wxListItem *) 0 ;
23891 long result;
23892 PyObject * obj0 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
23898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail;
23900 result = (long) ((arg1)->m_itemId);
23901
23902 {
23903 resultobj = SWIG_From_long(static_cast<long >(result));
23904 }
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj = NULL;
23913 wxListItem *arg1 = (wxListItem *) 0 ;
23914 int arg2 ;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "m_col", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23923 if (SWIG_arg_fail(1)) SWIG_fail;
23924 {
23925 arg2 = static_cast<int >(SWIG_As_int(obj1));
23926 if (SWIG_arg_fail(2)) SWIG_fail;
23927 }
23928 if (arg1) (arg1)->m_col = arg2;
23929
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj = NULL;
23939 wxListItem *arg1 = (wxListItem *) 0 ;
23940 int result;
23941 PyObject * obj0 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
23947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail;
23949 result = (int) ((arg1)->m_col);
23950
23951 {
23952 resultobj = SWIG_From_int(static_cast<int >(result));
23953 }
23954 return resultobj;
23955 fail:
23956 return NULL;
23957 }
23958
23959
23960 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj = NULL;
23962 wxListItem *arg1 = (wxListItem *) 0 ;
23963 long arg2 ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "m_state", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
23971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23972 if (SWIG_arg_fail(1)) SWIG_fail;
23973 {
23974 arg2 = static_cast<long >(SWIG_As_long(obj1));
23975 if (SWIG_arg_fail(2)) SWIG_fail;
23976 }
23977 if (arg1) (arg1)->m_state = arg2;
23978
23979 Py_INCREF(Py_None); resultobj = Py_None;
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj = NULL;
23988 wxListItem *arg1 = (wxListItem *) 0 ;
23989 long result;
23990 PyObject * obj0 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
23996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23997 if (SWIG_arg_fail(1)) SWIG_fail;
23998 result = (long) ((arg1)->m_state);
23999
24000 {
24001 resultobj = SWIG_From_long(static_cast<long >(result));
24002 }
24003 return resultobj;
24004 fail:
24005 return NULL;
24006 }
24007
24008
24009 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj = NULL;
24011 wxListItem *arg1 = (wxListItem *) 0 ;
24012 long arg2 ;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "m_stateMask", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
24020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail;
24022 {
24023 arg2 = static_cast<long >(SWIG_As_long(obj1));
24024 if (SWIG_arg_fail(2)) SWIG_fail;
24025 }
24026 if (arg1) (arg1)->m_stateMask = arg2;
24027
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj = NULL;
24037 wxListItem *arg1 = (wxListItem *) 0 ;
24038 long result;
24039 PyObject * obj0 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "self", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
24045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24046 if (SWIG_arg_fail(1)) SWIG_fail;
24047 result = (long) ((arg1)->m_stateMask);
24048
24049 {
24050 resultobj = SWIG_From_long(static_cast<long >(result));
24051 }
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj = NULL;
24060 wxListItem *arg1 = (wxListItem *) 0 ;
24061 wxString *arg2 = (wxString *) 0 ;
24062 bool temp2 = false ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self",(char *) "m_text", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
24070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24071 if (SWIG_arg_fail(1)) SWIG_fail;
24072 {
24073 arg2 = wxString_in_helper(obj1);
24074 if (arg2 == NULL) SWIG_fail;
24075 temp2 = true;
24076 }
24077 if (arg1) (arg1)->m_text = *arg2;
24078
24079 Py_INCREF(Py_None); resultobj = Py_None;
24080 {
24081 if (temp2)
24082 delete arg2;
24083 }
24084 return resultobj;
24085 fail:
24086 {
24087 if (temp2)
24088 delete arg2;
24089 }
24090 return NULL;
24091 }
24092
24093
24094 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj = NULL;
24096 wxListItem *arg1 = (wxListItem *) 0 ;
24097 wxString *result;
24098 PyObject * obj0 = 0 ;
24099 char *kwnames[] = {
24100 (char *) "self", NULL
24101 };
24102
24103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
24104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail;
24106 result = (wxString *)& ((arg1)->m_text);
24107
24108 {
24109 #if wxUSE_UNICODE
24110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24111 #else
24112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24113 #endif
24114 }
24115 return resultobj;
24116 fail:
24117 return NULL;
24118 }
24119
24120
24121 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj = NULL;
24123 wxListItem *arg1 = (wxListItem *) 0 ;
24124 int arg2 ;
24125 PyObject * obj0 = 0 ;
24126 PyObject * obj1 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "self",(char *) "m_image", NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
24132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24133 if (SWIG_arg_fail(1)) SWIG_fail;
24134 {
24135 arg2 = static_cast<int >(SWIG_As_int(obj1));
24136 if (SWIG_arg_fail(2)) SWIG_fail;
24137 }
24138 if (arg1) (arg1)->m_image = arg2;
24139
24140 Py_INCREF(Py_None); resultobj = Py_None;
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj = NULL;
24149 wxListItem *arg1 = (wxListItem *) 0 ;
24150 int result;
24151 PyObject * obj0 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "self", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
24157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail;
24159 result = (int) ((arg1)->m_image);
24160
24161 {
24162 resultobj = SWIG_From_int(static_cast<int >(result));
24163 }
24164 return resultobj;
24165 fail:
24166 return NULL;
24167 }
24168
24169
24170 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj = NULL;
24172 wxListItem *arg1 = (wxListItem *) 0 ;
24173 long arg2 ;
24174 PyObject * obj0 = 0 ;
24175 PyObject * obj1 = 0 ;
24176 char *kwnames[] = {
24177 (char *) "self",(char *) "m_data", NULL
24178 };
24179
24180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
24181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24182 if (SWIG_arg_fail(1)) SWIG_fail;
24183 {
24184 arg2 = static_cast<long >(SWIG_As_long(obj1));
24185 if (SWIG_arg_fail(2)) SWIG_fail;
24186 }
24187 if (arg1) (arg1)->m_data = arg2;
24188
24189 Py_INCREF(Py_None); resultobj = Py_None;
24190 return resultobj;
24191 fail:
24192 return NULL;
24193 }
24194
24195
24196 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
24197 PyObject *resultobj = NULL;
24198 wxListItem *arg1 = (wxListItem *) 0 ;
24199 long result;
24200 PyObject * obj0 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
24206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail;
24208 result = (long) ((arg1)->m_data);
24209
24210 {
24211 resultobj = SWIG_From_long(static_cast<long >(result));
24212 }
24213 return resultobj;
24214 fail:
24215 return NULL;
24216 }
24217
24218
24219 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj = NULL;
24221 wxListItem *arg1 = (wxListItem *) 0 ;
24222 int arg2 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "m_format", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
24230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail;
24232 {
24233 arg2 = static_cast<int >(SWIG_As_int(obj1));
24234 if (SWIG_arg_fail(2)) SWIG_fail;
24235 }
24236 if (arg1) (arg1)->m_format = arg2;
24237
24238 Py_INCREF(Py_None); resultobj = Py_None;
24239 return resultobj;
24240 fail:
24241 return NULL;
24242 }
24243
24244
24245 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj = NULL;
24247 wxListItem *arg1 = (wxListItem *) 0 ;
24248 int result;
24249 PyObject * obj0 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
24255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail;
24257 result = (int) ((arg1)->m_format);
24258
24259 {
24260 resultobj = SWIG_From_int(static_cast<int >(result));
24261 }
24262 return resultobj;
24263 fail:
24264 return NULL;
24265 }
24266
24267
24268 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
24269 PyObject *resultobj = NULL;
24270 wxListItem *arg1 = (wxListItem *) 0 ;
24271 int arg2 ;
24272 PyObject * obj0 = 0 ;
24273 PyObject * obj1 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self",(char *) "m_width", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
24279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail;
24281 {
24282 arg2 = static_cast<int >(SWIG_As_int(obj1));
24283 if (SWIG_arg_fail(2)) SWIG_fail;
24284 }
24285 if (arg1) (arg1)->m_width = arg2;
24286
24287 Py_INCREF(Py_None); resultobj = Py_None;
24288 return resultobj;
24289 fail:
24290 return NULL;
24291 }
24292
24293
24294 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
24295 PyObject *resultobj = NULL;
24296 wxListItem *arg1 = (wxListItem *) 0 ;
24297 int result;
24298 PyObject * obj0 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "self", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
24304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24305 if (SWIG_arg_fail(1)) SWIG_fail;
24306 result = (int) ((arg1)->m_width);
24307
24308 {
24309 resultobj = SWIG_From_int(static_cast<int >(result));
24310 }
24311 return resultobj;
24312 fail:
24313 return NULL;
24314 }
24315
24316
24317 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
24318 PyObject *obj;
24319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24320 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
24321 Py_INCREF(obj);
24322 return Py_BuildValue((char *)"");
24323 }
24324 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj = NULL;
24326 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24327 int arg2 = (int) 0 ;
24328 wxListEvent *result;
24329 PyObject * obj0 = 0 ;
24330 PyObject * obj1 = 0 ;
24331 char *kwnames[] = {
24332 (char *) "commandType",(char *) "id", NULL
24333 };
24334
24335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
24336 if (obj0) {
24337 {
24338 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
24339 if (SWIG_arg_fail(1)) SWIG_fail;
24340 }
24341 }
24342 if (obj1) {
24343 {
24344 arg2 = static_cast<int >(SWIG_As_int(obj1));
24345 if (SWIG_arg_fail(2)) SWIG_fail;
24346 }
24347 }
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (wxListEvent *)new wxListEvent(arg1,arg2);
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
24356 return resultobj;
24357 fail:
24358 return NULL;
24359 }
24360
24361
24362 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj = NULL;
24364 wxListEvent *arg1 = (wxListEvent *) 0 ;
24365 int arg2 ;
24366 PyObject * obj0 = 0 ;
24367 PyObject * obj1 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self",(char *) "m_code", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
24373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail;
24375 {
24376 arg2 = static_cast<int >(SWIG_As_int(obj1));
24377 if (SWIG_arg_fail(2)) SWIG_fail;
24378 }
24379 if (arg1) (arg1)->m_code = arg2;
24380
24381 Py_INCREF(Py_None); resultobj = Py_None;
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = NULL;
24390 wxListEvent *arg1 = (wxListEvent *) 0 ;
24391 int result;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
24398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail;
24400 result = (int) ((arg1)->m_code);
24401
24402 {
24403 resultobj = SWIG_From_int(static_cast<int >(result));
24404 }
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj = NULL;
24413 wxListEvent *arg1 = (wxListEvent *) 0 ;
24414 long arg2 ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self",(char *) "m_oldItemIndex", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
24422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24423 if (SWIG_arg_fail(1)) SWIG_fail;
24424 {
24425 arg2 = static_cast<long >(SWIG_As_long(obj1));
24426 if (SWIG_arg_fail(2)) SWIG_fail;
24427 }
24428 if (arg1) (arg1)->m_oldItemIndex = arg2;
24429
24430 Py_INCREF(Py_None); resultobj = Py_None;
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj = NULL;
24439 wxListEvent *arg1 = (wxListEvent *) 0 ;
24440 long result;
24441 PyObject * obj0 = 0 ;
24442 char *kwnames[] = {
24443 (char *) "self", NULL
24444 };
24445
24446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
24447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail;
24449 result = (long) ((arg1)->m_oldItemIndex);
24450
24451 {
24452 resultobj = SWIG_From_long(static_cast<long >(result));
24453 }
24454 return resultobj;
24455 fail:
24456 return NULL;
24457 }
24458
24459
24460 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
24461 PyObject *resultobj = NULL;
24462 wxListEvent *arg1 = (wxListEvent *) 0 ;
24463 long arg2 ;
24464 PyObject * obj0 = 0 ;
24465 PyObject * obj1 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self",(char *) "m_itemIndex", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
24471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail;
24473 {
24474 arg2 = static_cast<long >(SWIG_As_long(obj1));
24475 if (SWIG_arg_fail(2)) SWIG_fail;
24476 }
24477 if (arg1) (arg1)->m_itemIndex = arg2;
24478
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj = NULL;
24488 wxListEvent *arg1 = (wxListEvent *) 0 ;
24489 long result;
24490 PyObject * obj0 = 0 ;
24491 char *kwnames[] = {
24492 (char *) "self", NULL
24493 };
24494
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
24496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24497 if (SWIG_arg_fail(1)) SWIG_fail;
24498 result = (long) ((arg1)->m_itemIndex);
24499
24500 {
24501 resultobj = SWIG_From_long(static_cast<long >(result));
24502 }
24503 return resultobj;
24504 fail:
24505 return NULL;
24506 }
24507
24508
24509 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = NULL;
24511 wxListEvent *arg1 = (wxListEvent *) 0 ;
24512 int arg2 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "m_col", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
24520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail;
24522 {
24523 arg2 = static_cast<int >(SWIG_As_int(obj1));
24524 if (SWIG_arg_fail(2)) SWIG_fail;
24525 }
24526 if (arg1) (arg1)->m_col = arg2;
24527
24528 Py_INCREF(Py_None); resultobj = Py_None;
24529 return resultobj;
24530 fail:
24531 return NULL;
24532 }
24533
24534
24535 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj = NULL;
24537 wxListEvent *arg1 = (wxListEvent *) 0 ;
24538 int result;
24539 PyObject * obj0 = 0 ;
24540 char *kwnames[] = {
24541 (char *) "self", NULL
24542 };
24543
24544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
24545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail;
24547 result = (int) ((arg1)->m_col);
24548
24549 {
24550 resultobj = SWIG_From_int(static_cast<int >(result));
24551 }
24552 return resultobj;
24553 fail:
24554 return NULL;
24555 }
24556
24557
24558 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
24559 PyObject *resultobj = NULL;
24560 wxListEvent *arg1 = (wxListEvent *) 0 ;
24561 wxPoint *arg2 = (wxPoint *) 0 ;
24562 PyObject * obj0 = 0 ;
24563 PyObject * obj1 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "self",(char *) "m_pointDrag", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
24569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail;
24571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
24572 if (SWIG_arg_fail(2)) SWIG_fail;
24573 if (arg1) (arg1)->m_pointDrag = *arg2;
24574
24575 Py_INCREF(Py_None); resultobj = Py_None;
24576 return resultobj;
24577 fail:
24578 return NULL;
24579 }
24580
24581
24582 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
24583 PyObject *resultobj = NULL;
24584 wxListEvent *arg1 = (wxListEvent *) 0 ;
24585 wxPoint *result;
24586 PyObject * obj0 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
24592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail;
24594 result = (wxPoint *)& ((arg1)->m_pointDrag);
24595
24596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
24597 return resultobj;
24598 fail:
24599 return NULL;
24600 }
24601
24602
24603 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
24604 PyObject *resultobj = NULL;
24605 wxListEvent *arg1 = (wxListEvent *) 0 ;
24606 wxListItem *result;
24607 PyObject * obj0 = 0 ;
24608 char *kwnames[] = {
24609 (char *) "self", NULL
24610 };
24611
24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
24613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24614 if (SWIG_arg_fail(1)) SWIG_fail;
24615 result = (wxListItem *)& ((arg1)->m_item);
24616
24617 {
24618 resultobj = wxPyMake_wxObject(result, (bool)0);
24619 }
24620 return resultobj;
24621 fail:
24622 return NULL;
24623 }
24624
24625
24626 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
24627 PyObject *resultobj = NULL;
24628 wxListEvent *arg1 = (wxListEvent *) 0 ;
24629 int result;
24630 PyObject * obj0 = 0 ;
24631 char *kwnames[] = {
24632 (char *) "self", NULL
24633 };
24634
24635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail;
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
24640 result = (int)(arg1)->GetKeyCode();
24641
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 {
24646 resultobj = SWIG_From_int(static_cast<int >(result));
24647 }
24648 return resultobj;
24649 fail:
24650 return NULL;
24651 }
24652
24653
24654 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj = NULL;
24656 wxListEvent *arg1 = (wxListEvent *) 0 ;
24657 long result;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
24664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail;
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 result = (long)(arg1)->GetIndex();
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 {
24674 resultobj = SWIG_From_long(static_cast<long >(result));
24675 }
24676 return resultobj;
24677 fail:
24678 return NULL;
24679 }
24680
24681
24682 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24683 PyObject *resultobj = NULL;
24684 wxListEvent *arg1 = (wxListEvent *) 0 ;
24685 int result;
24686 PyObject * obj0 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "self", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
24692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail;
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (int)(arg1)->GetColumn();
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 {
24702 resultobj = SWIG_From_int(static_cast<int >(result));
24703 }
24704 return resultobj;
24705 fail:
24706 return NULL;
24707 }
24708
24709
24710 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
24711 PyObject *resultobj = NULL;
24712 wxListEvent *arg1 = (wxListEvent *) 0 ;
24713 wxPoint result;
24714 PyObject * obj0 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "self", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
24720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail;
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (arg1)->GetPoint();
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 {
24730 wxPoint * resultptr;
24731 resultptr = new wxPoint(static_cast<wxPoint & >(result));
24732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24733 }
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj = NULL;
24742 wxListEvent *arg1 = (wxListEvent *) 0 ;
24743 wxString *result;
24744 PyObject * obj0 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
24750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail;
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 {
24755 wxString const &_result_ref = (arg1)->GetLabel();
24756 result = (wxString *) &_result_ref;
24757 }
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 {
24763 #if wxUSE_UNICODE
24764 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24765 #else
24766 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24767 #endif
24768 }
24769 return resultobj;
24770 fail:
24771 return NULL;
24772 }
24773
24774
24775 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj = NULL;
24777 wxListEvent *arg1 = (wxListEvent *) 0 ;
24778 wxString *result;
24779 PyObject * obj0 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
24785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail;
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 {
24790 wxString const &_result_ref = (arg1)->GetText();
24791 result = (wxString *) &_result_ref;
24792 }
24793
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 {
24798 #if wxUSE_UNICODE
24799 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24800 #else
24801 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24802 #endif
24803 }
24804 return resultobj;
24805 fail:
24806 return NULL;
24807 }
24808
24809
24810 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
24811 PyObject *resultobj = NULL;
24812 wxListEvent *arg1 = (wxListEvent *) 0 ;
24813 int result;
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
24820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24821 if (SWIG_arg_fail(1)) SWIG_fail;
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 result = (int)(arg1)->GetImage();
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 {
24830 resultobj = SWIG_From_int(static_cast<int >(result));
24831 }
24832 return resultobj;
24833 fail:
24834 return NULL;
24835 }
24836
24837
24838 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj = NULL;
24840 wxListEvent *arg1 = (wxListEvent *) 0 ;
24841 long result;
24842 PyObject * obj0 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
24848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail;
24850 {
24851 PyThreadState* __tstate = wxPyBeginAllowThreads();
24852 result = (long)(arg1)->GetData();
24853
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 {
24858 resultobj = SWIG_From_long(static_cast<long >(result));
24859 }
24860 return resultobj;
24861 fail:
24862 return NULL;
24863 }
24864
24865
24866 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj = NULL;
24868 wxListEvent *arg1 = (wxListEvent *) 0 ;
24869 long result;
24870 PyObject * obj0 = 0 ;
24871 char *kwnames[] = {
24872 (char *) "self", NULL
24873 };
24874
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
24876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail;
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 result = (long)(arg1)->GetMask();
24881
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 {
24886 resultobj = SWIG_From_long(static_cast<long >(result));
24887 }
24888 return resultobj;
24889 fail:
24890 return NULL;
24891 }
24892
24893
24894 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj = NULL;
24896 wxListEvent *arg1 = (wxListEvent *) 0 ;
24897 wxListItem *result;
24898 PyObject * obj0 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
24904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail;
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 {
24909 wxListItem const &_result_ref = (arg1)->GetItem();
24910 result = (wxListItem *) &_result_ref;
24911 }
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
24917 return resultobj;
24918 fail:
24919 return NULL;
24920 }
24921
24922
24923 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
24924 PyObject *resultobj = NULL;
24925 wxListEvent *arg1 = (wxListEvent *) 0 ;
24926 long result;
24927 PyObject * obj0 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
24933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail;
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 result = (long)(arg1)->GetCacheFrom();
24938
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
24942 {
24943 resultobj = SWIG_From_long(static_cast<long >(result));
24944 }
24945 return resultobj;
24946 fail:
24947 return NULL;
24948 }
24949
24950
24951 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
24952 PyObject *resultobj = NULL;
24953 wxListEvent *arg1 = (wxListEvent *) 0 ;
24954 long result;
24955 PyObject * obj0 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
24961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail;
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 result = (long)(arg1)->GetCacheTo();
24966
24967 wxPyEndAllowThreads(__tstate);
24968 if (PyErr_Occurred()) SWIG_fail;
24969 }
24970 {
24971 resultobj = SWIG_From_long(static_cast<long >(result));
24972 }
24973 return resultobj;
24974 fail:
24975 return NULL;
24976 }
24977
24978
24979 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj = NULL;
24981 wxListEvent *arg1 = (wxListEvent *) 0 ;
24982 bool result;
24983 PyObject * obj0 = 0 ;
24984 char *kwnames[] = {
24985 (char *) "self", NULL
24986 };
24987
24988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
24990 if (SWIG_arg_fail(1)) SWIG_fail;
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 {
24999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25000 }
25001 return resultobj;
25002 fail:
25003 return NULL;
25004 }
25005
25006
25007 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
25008 PyObject *resultobj = NULL;
25009 wxListEvent *arg1 = (wxListEvent *) 0 ;
25010 bool arg2 ;
25011 PyObject * obj0 = 0 ;
25012 PyObject * obj1 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "editCancelled", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail;
25020 {
25021 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
25022 if (SWIG_arg_fail(2)) SWIG_fail;
25023 }
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 (arg1)->SetEditCanceled(arg2);
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 Py_INCREF(Py_None); resultobj = Py_None;
25032 return resultobj;
25033 fail:
25034 return NULL;
25035 }
25036
25037
25038 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
25039 PyObject *obj;
25040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25041 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
25042 Py_INCREF(obj);
25043 return Py_BuildValue((char *)"");
25044 }
25045 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25046 PyObject *resultobj = NULL;
25047 wxWindow *arg1 = (wxWindow *) 0 ;
25048 int arg2 = (int) -1 ;
25049 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25050 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25051 wxSize const &arg4_defvalue = wxDefaultSize ;
25052 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25053 long arg5 = (long) wxLC_ICON ;
25054 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25055 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25056 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
25057 wxString *arg7 = (wxString *) &arg7_defvalue ;
25058 wxPyListCtrl *result;
25059 wxPoint temp3 ;
25060 wxSize temp4 ;
25061 bool temp7 = false ;
25062 PyObject * obj0 = 0 ;
25063 PyObject * obj1 = 0 ;
25064 PyObject * obj2 = 0 ;
25065 PyObject * obj3 = 0 ;
25066 PyObject * obj4 = 0 ;
25067 PyObject * obj5 = 0 ;
25068 PyObject * obj6 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail;
25076 if (obj1) {
25077 {
25078 arg2 = static_cast<int >(SWIG_As_int(obj1));
25079 if (SWIG_arg_fail(2)) SWIG_fail;
25080 }
25081 }
25082 if (obj2) {
25083 {
25084 arg3 = &temp3;
25085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25086 }
25087 }
25088 if (obj3) {
25089 {
25090 arg4 = &temp4;
25091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25092 }
25093 }
25094 if (obj4) {
25095 {
25096 arg5 = static_cast<long >(SWIG_As_long(obj4));
25097 if (SWIG_arg_fail(5)) SWIG_fail;
25098 }
25099 }
25100 if (obj5) {
25101 {
25102 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25103 if (SWIG_arg_fail(6)) SWIG_fail;
25104 if (arg6 == NULL) {
25105 SWIG_null_ref("wxValidator");
25106 }
25107 if (SWIG_arg_fail(6)) SWIG_fail;
25108 }
25109 }
25110 if (obj6) {
25111 {
25112 arg7 = wxString_in_helper(obj6);
25113 if (arg7 == NULL) SWIG_fail;
25114 temp7 = true;
25115 }
25116 }
25117 {
25118 if (!wxPyCheckForApp()) SWIG_fail;
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25121
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25126 {
25127 if (temp7)
25128 delete arg7;
25129 }
25130 return resultobj;
25131 fail:
25132 {
25133 if (temp7)
25134 delete arg7;
25135 }
25136 return NULL;
25137 }
25138
25139
25140 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
25141 PyObject *resultobj = NULL;
25142 wxPyListCtrl *result;
25143 char *kwnames[] = {
25144 NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
25148 {
25149 if (!wxPyCheckForApp()) SWIG_fail;
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (wxPyListCtrl *)new wxPyListCtrl();
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
25157 return resultobj;
25158 fail:
25159 return NULL;
25160 }
25161
25162
25163 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj = NULL;
25165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25166 wxWindow *arg2 = (wxWindow *) 0 ;
25167 int arg3 = (int) -1 ;
25168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25170 wxSize const &arg5_defvalue = wxDefaultSize ;
25171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25172 long arg6 = (long) wxLC_ICON ;
25173 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25174 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25175 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
25176 wxString *arg8 = (wxString *) &arg8_defvalue ;
25177 bool result;
25178 wxPoint temp4 ;
25179 wxSize temp5 ;
25180 bool temp8 = false ;
25181 PyObject * obj0 = 0 ;
25182 PyObject * obj1 = 0 ;
25183 PyObject * obj2 = 0 ;
25184 PyObject * obj3 = 0 ;
25185 PyObject * obj4 = 0 ;
25186 PyObject * obj5 = 0 ;
25187 PyObject * obj6 = 0 ;
25188 PyObject * obj7 = 0 ;
25189 char *kwnames[] = {
25190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25191 };
25192
25193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25195 if (SWIG_arg_fail(1)) SWIG_fail;
25196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25197 if (SWIG_arg_fail(2)) SWIG_fail;
25198 if (obj2) {
25199 {
25200 arg3 = static_cast<int >(SWIG_As_int(obj2));
25201 if (SWIG_arg_fail(3)) SWIG_fail;
25202 }
25203 }
25204 if (obj3) {
25205 {
25206 arg4 = &temp4;
25207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25208 }
25209 }
25210 if (obj4) {
25211 {
25212 arg5 = &temp5;
25213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25214 }
25215 }
25216 if (obj5) {
25217 {
25218 arg6 = static_cast<long >(SWIG_As_long(obj5));
25219 if (SWIG_arg_fail(6)) SWIG_fail;
25220 }
25221 }
25222 if (obj6) {
25223 {
25224 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
25225 if (SWIG_arg_fail(7)) SWIG_fail;
25226 if (arg7 == NULL) {
25227 SWIG_null_ref("wxValidator");
25228 }
25229 if (SWIG_arg_fail(7)) SWIG_fail;
25230 }
25231 }
25232 if (obj7) {
25233 {
25234 arg8 = wxString_in_helper(obj7);
25235 if (arg8 == NULL) SWIG_fail;
25236 temp8 = true;
25237 }
25238 }
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25248 }
25249 {
25250 if (temp8)
25251 delete arg8;
25252 }
25253 return resultobj;
25254 fail:
25255 {
25256 if (temp8)
25257 delete arg8;
25258 }
25259 return NULL;
25260 }
25261
25262
25263 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj = NULL;
25265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25266 PyObject *arg2 = (PyObject *) 0 ;
25267 PyObject *arg3 = (PyObject *) 0 ;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 PyObject * obj2 = 0 ;
25271 char *kwnames[] = {
25272 (char *) "self",(char *) "self",(char *) "_class", NULL
25273 };
25274
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25277 if (SWIG_arg_fail(1)) SWIG_fail;
25278 arg2 = obj1;
25279 arg3 = obj2;
25280 {
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 (arg1)->_setCallbackInfo(arg2,arg3);
25283
25284 wxPyEndAllowThreads(__tstate);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 Py_INCREF(Py_None); resultobj = Py_None;
25288 return resultobj;
25289 fail:
25290 return NULL;
25291 }
25292
25293
25294 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25295 PyObject *resultobj = NULL;
25296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25297 wxColour *arg2 = 0 ;
25298 bool result;
25299 wxColour temp2 ;
25300 PyObject * obj0 = 0 ;
25301 PyObject * obj1 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "self",(char *) "col", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail;
25309 {
25310 arg2 = &temp2;
25311 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 {
25321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25322 }
25323 return resultobj;
25324 fail:
25325 return NULL;
25326 }
25327
25328
25329 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj = NULL;
25331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25332 wxColour *arg2 = 0 ;
25333 bool result;
25334 wxColour temp2 ;
25335 PyObject * obj0 = 0 ;
25336 PyObject * obj1 = 0 ;
25337 char *kwnames[] = {
25338 (char *) "self",(char *) "col", NULL
25339 };
25340
25341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail;
25344 {
25345 arg2 = &temp2;
25346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25347 }
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 {
25356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25357 }
25358 return resultobj;
25359 fail:
25360 return NULL;
25361 }
25362
25363
25364 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25365 PyObject *resultobj = NULL;
25366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25367 int arg2 ;
25368 wxListItem *result;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "col", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
25376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail;
25378 {
25379 arg2 = static_cast<int >(SWIG_As_int(obj1));
25380 if (SWIG_arg_fail(2)) SWIG_fail;
25381 }
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 {
25390 resultobj = wxPyMake_wxObject(result, (bool)0);
25391 }
25392 return resultobj;
25393 fail:
25394 return NULL;
25395 }
25396
25397
25398 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25399 PyObject *resultobj = NULL;
25400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25401 int arg2 ;
25402 wxListItem *arg3 = 0 ;
25403 bool result;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 PyObject * obj2 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self",(char *) "col",(char *) "item", NULL
25409 };
25410
25411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
25412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail;
25414 {
25415 arg2 = static_cast<int >(SWIG_As_int(obj1));
25416 if (SWIG_arg_fail(2)) SWIG_fail;
25417 }
25418 {
25419 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25420 if (SWIG_arg_fail(3)) SWIG_fail;
25421 if (arg3 == NULL) {
25422 SWIG_null_ref("wxListItem");
25423 }
25424 if (SWIG_arg_fail(3)) SWIG_fail;
25425 }
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (bool)(arg1)->SetColumn(arg2,*arg3);
25429
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 {
25434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25435 }
25436 return resultobj;
25437 fail:
25438 return NULL;
25439 }
25440
25441
25442 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj = NULL;
25444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25445 int arg2 ;
25446 int result;
25447 PyObject * obj0 = 0 ;
25448 PyObject * obj1 = 0 ;
25449 char *kwnames[] = {
25450 (char *) "self",(char *) "col", NULL
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
25454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail;
25456 {
25457 arg2 = static_cast<int >(SWIG_As_int(obj1));
25458 if (SWIG_arg_fail(2)) SWIG_fail;
25459 }
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 {
25468 resultobj = SWIG_From_int(static_cast<int >(result));
25469 }
25470 return resultobj;
25471 fail:
25472 return NULL;
25473 }
25474
25475
25476 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj = NULL;
25478 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25479 int arg2 ;
25480 int arg3 ;
25481 bool result;
25482 PyObject * obj0 = 0 ;
25483 PyObject * obj1 = 0 ;
25484 PyObject * obj2 = 0 ;
25485 char *kwnames[] = {
25486 (char *) "self",(char *) "col",(char *) "width", NULL
25487 };
25488
25489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail;
25492 {
25493 arg2 = static_cast<int >(SWIG_As_int(obj1));
25494 if (SWIG_arg_fail(2)) SWIG_fail;
25495 }
25496 {
25497 arg3 = static_cast<int >(SWIG_As_int(obj2));
25498 if (SWIG_arg_fail(3)) SWIG_fail;
25499 }
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 {
25508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25509 }
25510 return resultobj;
25511 fail:
25512 return NULL;
25513 }
25514
25515
25516 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
25517 PyObject *resultobj = NULL;
25518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25519 int result;
25520 PyObject * obj0 = 0 ;
25521 char *kwnames[] = {
25522 (char *) "self", NULL
25523 };
25524
25525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
25526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail;
25528 {
25529 PyThreadState* __tstate = wxPyBeginAllowThreads();
25530 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
25531
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
25535 {
25536 resultobj = SWIG_From_int(static_cast<int >(result));
25537 }
25538 return resultobj;
25539 fail:
25540 return NULL;
25541 }
25542
25543
25544 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj = NULL;
25546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25547 wxRect result;
25548 PyObject * obj0 = 0 ;
25549 char *kwnames[] = {
25550 (char *) "self", NULL
25551 };
25552
25553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
25554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail;
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 {
25564 wxRect * resultptr;
25565 resultptr = new wxRect(static_cast<wxRect & >(result));
25566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25567 }
25568 return resultobj;
25569 fail:
25570 return NULL;
25571 }
25572
25573
25574 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
25575 PyObject *resultobj = NULL;
25576 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25577 wxTextCtrl *result;
25578 PyObject * obj0 = 0 ;
25579 char *kwnames[] = {
25580 (char *) "self", NULL
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
25584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25585 if (SWIG_arg_fail(1)) SWIG_fail;
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 {
25594 resultobj = wxPyMake_wxObject(result, 0);
25595 }
25596 return resultobj;
25597 fail:
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj = NULL;
25604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25605 long arg2 ;
25606 int arg3 = (int) 0 ;
25607 wxListItem *result;
25608 PyObject * obj0 = 0 ;
25609 PyObject * obj1 = 0 ;
25610 PyObject * obj2 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self",(char *) "itemId",(char *) "col", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail;
25618 {
25619 arg2 = static_cast<long >(SWIG_As_long(obj1));
25620 if (SWIG_arg_fail(2)) SWIG_fail;
25621 }
25622 if (obj2) {
25623 {
25624 arg3 = static_cast<int >(SWIG_As_int(obj2));
25625 if (SWIG_arg_fail(3)) SWIG_fail;
25626 }
25627 }
25628 {
25629 PyThreadState* __tstate = wxPyBeginAllowThreads();
25630 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
25631
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 {
25636 resultobj = wxPyMake_wxObject(result, (bool)0);
25637 }
25638 return resultobj;
25639 fail:
25640 return NULL;
25641 }
25642
25643
25644 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
25645 PyObject *resultobj = NULL;
25646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25647 wxListItem *arg2 = 0 ;
25648 bool result;
25649 PyObject * obj0 = 0 ;
25650 PyObject * obj1 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self",(char *) "info", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
25656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25657 if (SWIG_arg_fail(1)) SWIG_fail;
25658 {
25659 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25660 if (SWIG_arg_fail(2)) SWIG_fail;
25661 if (arg2 == NULL) {
25662 SWIG_null_ref("wxListItem");
25663 }
25664 if (SWIG_arg_fail(2)) SWIG_fail;
25665 }
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (bool)(arg1)->SetItem(*arg2);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 {
25674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25675 }
25676 return resultobj;
25677 fail:
25678 return NULL;
25679 }
25680
25681
25682 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25683 PyObject *resultobj = NULL;
25684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25685 long arg2 ;
25686 int arg3 ;
25687 wxString *arg4 = 0 ;
25688 int arg5 = (int) -1 ;
25689 long result;
25690 bool temp4 = false ;
25691 PyObject * obj0 = 0 ;
25692 PyObject * obj1 = 0 ;
25693 PyObject * obj2 = 0 ;
25694 PyObject * obj3 = 0 ;
25695 PyObject * obj4 = 0 ;
25696 char *kwnames[] = {
25697 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
25698 };
25699
25700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail;
25703 {
25704 arg2 = static_cast<long >(SWIG_As_long(obj1));
25705 if (SWIG_arg_fail(2)) SWIG_fail;
25706 }
25707 {
25708 arg3 = static_cast<int >(SWIG_As_int(obj2));
25709 if (SWIG_arg_fail(3)) SWIG_fail;
25710 }
25711 {
25712 arg4 = wxString_in_helper(obj3);
25713 if (arg4 == NULL) SWIG_fail;
25714 temp4 = true;
25715 }
25716 if (obj4) {
25717 {
25718 arg5 = static_cast<int >(SWIG_As_int(obj4));
25719 if (SWIG_arg_fail(5)) SWIG_fail;
25720 }
25721 }
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 {
25730 resultobj = SWIG_From_long(static_cast<long >(result));
25731 }
25732 {
25733 if (temp4)
25734 delete arg4;
25735 }
25736 return resultobj;
25737 fail:
25738 {
25739 if (temp4)
25740 delete arg4;
25741 }
25742 return NULL;
25743 }
25744
25745
25746 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
25747 PyObject *resultobj = NULL;
25748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25749 long arg2 ;
25750 long arg3 ;
25751 int result;
25752 PyObject * obj0 = 0 ;
25753 PyObject * obj1 = 0 ;
25754 PyObject * obj2 = 0 ;
25755 char *kwnames[] = {
25756 (char *) "self",(char *) "item",(char *) "stateMask", NULL
25757 };
25758
25759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
25760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25761 if (SWIG_arg_fail(1)) SWIG_fail;
25762 {
25763 arg2 = static_cast<long >(SWIG_As_long(obj1));
25764 if (SWIG_arg_fail(2)) SWIG_fail;
25765 }
25766 {
25767 arg3 = static_cast<long >(SWIG_As_long(obj2));
25768 if (SWIG_arg_fail(3)) SWIG_fail;
25769 }
25770 {
25771 PyThreadState* __tstate = wxPyBeginAllowThreads();
25772 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
25773
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
25777 {
25778 resultobj = SWIG_From_int(static_cast<int >(result));
25779 }
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
25787 PyObject *resultobj = NULL;
25788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25789 long arg2 ;
25790 long arg3 ;
25791 long arg4 ;
25792 bool result;
25793 PyObject * obj0 = 0 ;
25794 PyObject * obj1 = 0 ;
25795 PyObject * obj2 = 0 ;
25796 PyObject * obj3 = 0 ;
25797 char *kwnames[] = {
25798 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
25799 };
25800
25801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25803 if (SWIG_arg_fail(1)) SWIG_fail;
25804 {
25805 arg2 = static_cast<long >(SWIG_As_long(obj1));
25806 if (SWIG_arg_fail(2)) SWIG_fail;
25807 }
25808 {
25809 arg3 = static_cast<long >(SWIG_As_long(obj2));
25810 if (SWIG_arg_fail(3)) SWIG_fail;
25811 }
25812 {
25813 arg4 = static_cast<long >(SWIG_As_long(obj3));
25814 if (SWIG_arg_fail(4)) SWIG_fail;
25815 }
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 {
25824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25825 }
25826 return resultobj;
25827 fail:
25828 return NULL;
25829 }
25830
25831
25832 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
25833 PyObject *resultobj = NULL;
25834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25835 long arg2 ;
25836 int arg3 ;
25837 int arg4 = (int) -1 ;
25838 bool result;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 PyObject * obj3 = 0 ;
25843 char *kwnames[] = {
25844 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
25845 };
25846
25847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail;
25850 {
25851 arg2 = static_cast<long >(SWIG_As_long(obj1));
25852 if (SWIG_arg_fail(2)) SWIG_fail;
25853 }
25854 {
25855 arg3 = static_cast<int >(SWIG_As_int(obj2));
25856 if (SWIG_arg_fail(3)) SWIG_fail;
25857 }
25858 if (obj3) {
25859 {
25860 arg4 = static_cast<int >(SWIG_As_int(obj3));
25861 if (SWIG_arg_fail(4)) SWIG_fail;
25862 }
25863 }
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 {
25872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25873 }
25874 return resultobj;
25875 fail:
25876 return NULL;
25877 }
25878
25879
25880 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25881 PyObject *resultobj = NULL;
25882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25883 long arg2 ;
25884 wxString result;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "item", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail;
25894 {
25895 arg2 = static_cast<long >(SWIG_As_long(obj1));
25896 if (SWIG_arg_fail(2)) SWIG_fail;
25897 }
25898 {
25899 PyThreadState* __tstate = wxPyBeginAllowThreads();
25900 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
25901
25902 wxPyEndAllowThreads(__tstate);
25903 if (PyErr_Occurred()) SWIG_fail;
25904 }
25905 {
25906 #if wxUSE_UNICODE
25907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25908 #else
25909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25910 #endif
25911 }
25912 return resultobj;
25913 fail:
25914 return NULL;
25915 }
25916
25917
25918 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
25919 PyObject *resultobj = NULL;
25920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25921 long arg2 ;
25922 wxString *arg3 = 0 ;
25923 bool temp3 = false ;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 PyObject * obj2 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "item",(char *) "str", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",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 {
25939 arg3 = wxString_in_helper(obj2);
25940 if (arg3 == NULL) SWIG_fail;
25941 temp3 = true;
25942 }
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
25946
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 Py_INCREF(Py_None); resultobj = Py_None;
25951 {
25952 if (temp3)
25953 delete arg3;
25954 }
25955 return resultobj;
25956 fail:
25957 {
25958 if (temp3)
25959 delete arg3;
25960 }
25961 return NULL;
25962 }
25963
25964
25965 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj = NULL;
25967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25968 long arg2 ;
25969 long result;
25970 PyObject * obj0 = 0 ;
25971 PyObject * obj1 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self",(char *) "item", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
25985 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
25986
25987 wxPyEndAllowThreads(__tstate);
25988 if (PyErr_Occurred()) SWIG_fail;
25989 }
25990 {
25991 resultobj = SWIG_From_long(static_cast<long >(result));
25992 }
25993 return resultobj;
25994 fail:
25995 return NULL;
25996 }
25997
25998
25999 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj = NULL;
26001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26002 long arg2 ;
26003 long arg3 ;
26004 bool result;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 PyObject * obj2 = 0 ;
26008 char *kwnames[] = {
26009 (char *) "self",(char *) "item",(char *) "data", NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<long >(SWIG_As_long(obj1));
26017 if (SWIG_arg_fail(2)) SWIG_fail;
26018 }
26019 {
26020 arg3 = static_cast<long >(SWIG_As_long(obj2));
26021 if (SWIG_arg_fail(3)) SWIG_fail;
26022 }
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (bool)(arg1)->SetItemData(arg2,arg3);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 {
26031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26032 }
26033 return resultobj;
26034 fail:
26035 return NULL;
26036 }
26037
26038
26039 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
26040 PyObject *resultobj = NULL;
26041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26042 long arg2 ;
26043 wxPoint result;
26044 PyObject * obj0 = 0 ;
26045 PyObject * obj1 = 0 ;
26046 char *kwnames[] = {
26047 (char *) "self",(char *) "item", NULL
26048 };
26049
26050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
26051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26052 if (SWIG_arg_fail(1)) SWIG_fail;
26053 {
26054 arg2 = static_cast<long >(SWIG_As_long(obj1));
26055 if (SWIG_arg_fail(2)) SWIG_fail;
26056 }
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 {
26065 wxPoint * resultptr;
26066 resultptr = new wxPoint(static_cast<wxPoint & >(result));
26067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26068 }
26069 return resultobj;
26070 fail:
26071 return NULL;
26072 }
26073
26074
26075 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj = NULL;
26077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26078 long arg2 ;
26079 int arg3 = (int) wxLIST_RECT_BOUNDS ;
26080 wxRect result;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 PyObject * obj2 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "item",(char *) "code", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail;
26091 {
26092 arg2 = static_cast<long >(SWIG_As_long(obj1));
26093 if (SWIG_arg_fail(2)) SWIG_fail;
26094 }
26095 if (obj2) {
26096 {
26097 arg3 = static_cast<int >(SWIG_As_int(obj2));
26098 if (SWIG_arg_fail(3)) SWIG_fail;
26099 }
26100 }
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 {
26109 wxRect * resultptr;
26110 resultptr = new wxRect(static_cast<wxRect & >(result));
26111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26112 }
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj = NULL;
26121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26122 long arg2 ;
26123 wxPoint *arg3 = 0 ;
26124 bool result;
26125 wxPoint temp3 ;
26126 PyObject * obj0 = 0 ;
26127 PyObject * obj1 = 0 ;
26128 PyObject * obj2 = 0 ;
26129 char *kwnames[] = {
26130 (char *) "self",(char *) "item",(char *) "pos", NULL
26131 };
26132
26133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
26134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26135 if (SWIG_arg_fail(1)) SWIG_fail;
26136 {
26137 arg2 = static_cast<long >(SWIG_As_long(obj1));
26138 if (SWIG_arg_fail(2)) SWIG_fail;
26139 }
26140 {
26141 arg3 = &temp3;
26142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26143 }
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
26147
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 {
26152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26153 }
26154 return resultobj;
26155 fail:
26156 return NULL;
26157 }
26158
26159
26160 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26161 PyObject *resultobj = NULL;
26162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26163 int result;
26164 PyObject * obj0 = 0 ;
26165 char *kwnames[] = {
26166 (char *) "self", NULL
26167 };
26168
26169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
26170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26171 if (SWIG_arg_fail(1)) SWIG_fail;
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 {
26180 resultobj = SWIG_From_int(static_cast<int >(result));
26181 }
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj = NULL;
26190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26191 int result;
26192 PyObject * obj0 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 {
26208 resultobj = SWIG_From_int(static_cast<int >(result));
26209 }
26210 return resultobj;
26211 fail:
26212 return NULL;
26213 }
26214
26215
26216 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
26217 PyObject *resultobj = NULL;
26218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26219 wxSize result;
26220 PyObject * obj0 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
26226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail;
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 {
26236 wxSize * resultptr;
26237 resultptr = new wxSize(static_cast<wxSize & >(result));
26238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26239 }
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj = NULL;
26248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26249 int result;
26250 PyObject * obj0 = 0 ;
26251 char *kwnames[] = {
26252 (char *) "self", NULL
26253 };
26254
26255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
26256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail;
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 {
26266 resultobj = SWIG_From_int(static_cast<int >(result));
26267 }
26268 return resultobj;
26269 fail:
26270 return NULL;
26271 }
26272
26273
26274 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26275 PyObject *resultobj = NULL;
26276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26277 wxColour result;
26278 PyObject * obj0 = 0 ;
26279 char *kwnames[] = {
26280 (char *) "self", NULL
26281 };
26282
26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
26284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail;
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 wxColour * resultptr;
26295 resultptr = new wxColour(static_cast<wxColour & >(result));
26296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26297 }
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj = NULL;
26306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26307 wxColour *arg2 = 0 ;
26308 wxColour temp2 ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "col", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
26316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail;
26318 {
26319 arg2 = &temp2;
26320 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26321 }
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 (arg1)->SetTextColour((wxColour const &)*arg2);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 Py_INCREF(Py_None); resultobj = Py_None;
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj = NULL;
26338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26339 long result;
26340 PyObject * obj0 = 0 ;
26341 char *kwnames[] = {
26342 (char *) "self", NULL
26343 };
26344
26345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
26346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail;
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 {
26356 resultobj = SWIG_From_long(static_cast<long >(result));
26357 }
26358 return resultobj;
26359 fail:
26360 return NULL;
26361 }
26362
26363
26364 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
26365 PyObject *resultobj = NULL;
26366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26367 long arg2 ;
26368 bool arg3 = (bool) true ;
26369 PyObject * obj0 = 0 ;
26370 PyObject * obj1 = 0 ;
26371 PyObject * obj2 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self",(char *) "style",(char *) "add", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
26377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail;
26379 {
26380 arg2 = static_cast<long >(SWIG_As_long(obj1));
26381 if (SWIG_arg_fail(2)) SWIG_fail;
26382 }
26383 if (obj2) {
26384 {
26385 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26386 if (SWIG_arg_fail(3)) SWIG_fail;
26387 }
26388 }
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 (arg1)->SetSingleStyle(arg2,arg3);
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 Py_INCREF(Py_None); resultobj = Py_None;
26397 return resultobj;
26398 fail:
26399 return NULL;
26400 }
26401
26402
26403 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj = NULL;
26405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26406 long arg2 ;
26407 PyObject * obj0 = 0 ;
26408 PyObject * obj1 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "self",(char *) "style", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
26414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26415 if (SWIG_arg_fail(1)) SWIG_fail;
26416 {
26417 arg2 = static_cast<long >(SWIG_As_long(obj1));
26418 if (SWIG_arg_fail(2)) SWIG_fail;
26419 }
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 (arg1)->SetWindowStyleFlag(arg2);
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 Py_INCREF(Py_None); resultobj = Py_None;
26428 return resultobj;
26429 fail:
26430 return NULL;
26431 }
26432
26433
26434 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
26435 PyObject *resultobj = NULL;
26436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26437 long arg2 ;
26438 int arg3 = (int) wxLIST_NEXT_ALL ;
26439 int arg4 = (int) wxLIST_STATE_DONTCARE ;
26440 long result;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 PyObject * obj2 = 0 ;
26444 PyObject * obj3 = 0 ;
26445 char *kwnames[] = {
26446 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
26447 };
26448
26449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26451 if (SWIG_arg_fail(1)) SWIG_fail;
26452 {
26453 arg2 = static_cast<long >(SWIG_As_long(obj1));
26454 if (SWIG_arg_fail(2)) SWIG_fail;
26455 }
26456 if (obj2) {
26457 {
26458 arg3 = static_cast<int >(SWIG_As_int(obj2));
26459 if (SWIG_arg_fail(3)) SWIG_fail;
26460 }
26461 }
26462 if (obj3) {
26463 {
26464 arg4 = static_cast<int >(SWIG_As_int(obj3));
26465 if (SWIG_arg_fail(4)) SWIG_fail;
26466 }
26467 }
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
26471
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
26475 {
26476 resultobj = SWIG_From_long(static_cast<long >(result));
26477 }
26478 return resultobj;
26479 fail:
26480 return NULL;
26481 }
26482
26483
26484 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj = NULL;
26486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26487 int arg2 ;
26488 wxImageList *result;
26489 PyObject * obj0 = 0 ;
26490 PyObject * obj1 = 0 ;
26491 char *kwnames[] = {
26492 (char *) "self",(char *) "which", NULL
26493 };
26494
26495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
26496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail;
26498 {
26499 arg2 = static_cast<int >(SWIG_As_int(obj1));
26500 if (SWIG_arg_fail(2)) SWIG_fail;
26501 }
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
26505
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 {
26510 resultobj = wxPyMake_wxObject(result, (bool)0);
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26519 PyObject *resultobj = NULL;
26520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26521 wxImageList *arg2 = (wxImageList *) 0 ;
26522 int arg3 ;
26523 PyObject * obj0 = 0 ;
26524 PyObject * obj1 = 0 ;
26525 PyObject * obj2 = 0 ;
26526 char *kwnames[] = {
26527 (char *) "self",(char *) "imageList",(char *) "which", NULL
26528 };
26529
26530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26532 if (SWIG_arg_fail(1)) SWIG_fail;
26533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
26534 if (SWIG_arg_fail(2)) SWIG_fail;
26535 {
26536 arg3 = static_cast<int >(SWIG_As_int(obj2));
26537 if (SWIG_arg_fail(3)) SWIG_fail;
26538 }
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->SetImageList(arg2,arg3);
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 return resultobj;
26548 fail:
26549 return NULL;
26550 }
26551
26552
26553 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
26554 PyObject *resultobj = NULL;
26555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26556 wxImageList *arg2 = (wxImageList *) 0 ;
26557 int arg3 ;
26558 PyObject * obj0 = 0 ;
26559 PyObject * obj1 = 0 ;
26560 PyObject * obj2 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self",(char *) "imageList",(char *) "which", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail;
26568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26569 if (SWIG_arg_fail(2)) SWIG_fail;
26570 {
26571 arg3 = static_cast<int >(SWIG_As_int(obj2));
26572 if (SWIG_arg_fail(3)) SWIG_fail;
26573 }
26574 {
26575 PyThreadState* __tstate = wxPyBeginAllowThreads();
26576 (arg1)->AssignImageList(arg2,arg3);
26577
26578 wxPyEndAllowThreads(__tstate);
26579 if (PyErr_Occurred()) SWIG_fail;
26580 }
26581 Py_INCREF(Py_None); resultobj = Py_None;
26582 return resultobj;
26583 fail:
26584 return NULL;
26585 }
26586
26587
26588 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
26589 PyObject *resultobj = NULL;
26590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26591 bool result;
26592 PyObject * obj0 = 0 ;
26593 char *kwnames[] = {
26594 (char *) "self", NULL
26595 };
26596
26597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
26598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26599 if (SWIG_arg_fail(1)) SWIG_fail;
26600 {
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
26603
26604 wxPyEndAllowThreads(__tstate);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 }
26607 {
26608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26609 }
26610 return resultobj;
26611 fail:
26612 return NULL;
26613 }
26614
26615
26616 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj = NULL;
26618 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26619 bool result;
26620 PyObject * obj0 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
26626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail;
26628 {
26629 PyThreadState* __tstate = wxPyBeginAllowThreads();
26630 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
26631
26632 wxPyEndAllowThreads(__tstate);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 {
26636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26637 }
26638 return resultobj;
26639 fail:
26640 return NULL;
26641 }
26642
26643
26644 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
26645 PyObject *resultobj = NULL;
26646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26647 long arg2 ;
26648 PyObject * obj0 = 0 ;
26649 PyObject * obj1 = 0 ;
26650 char *kwnames[] = {
26651 (char *) "self",(char *) "item", NULL
26652 };
26653
26654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
26655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail;
26657 {
26658 arg2 = static_cast<long >(SWIG_As_long(obj1));
26659 if (SWIG_arg_fail(2)) SWIG_fail;
26660 }
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->RefreshItem(arg2);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 Py_INCREF(Py_None); resultobj = Py_None;
26669 return resultobj;
26670 fail:
26671 return NULL;
26672 }
26673
26674
26675 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
26676 PyObject *resultobj = NULL;
26677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26678 long arg2 ;
26679 long arg3 ;
26680 PyObject * obj0 = 0 ;
26681 PyObject * obj1 = 0 ;
26682 PyObject * obj2 = 0 ;
26683 char *kwnames[] = {
26684 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
26685 };
26686
26687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
26688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail;
26690 {
26691 arg2 = static_cast<long >(SWIG_As_long(obj1));
26692 if (SWIG_arg_fail(2)) SWIG_fail;
26693 }
26694 {
26695 arg3 = static_cast<long >(SWIG_As_long(obj2));
26696 if (SWIG_arg_fail(3)) SWIG_fail;
26697 }
26698 {
26699 PyThreadState* __tstate = wxPyBeginAllowThreads();
26700 (arg1)->RefreshItems(arg2,arg3);
26701
26702 wxPyEndAllowThreads(__tstate);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 }
26705 Py_INCREF(Py_None); resultobj = Py_None;
26706 return resultobj;
26707 fail:
26708 return NULL;
26709 }
26710
26711
26712 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
26713 PyObject *resultobj = NULL;
26714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26715 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
26716 bool result;
26717 PyObject * obj0 = 0 ;
26718 PyObject * obj1 = 0 ;
26719 char *kwnames[] = {
26720 (char *) "self",(char *) "flag", NULL
26721 };
26722
26723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
26724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26725 if (SWIG_arg_fail(1)) SWIG_fail;
26726 if (obj1) {
26727 {
26728 arg2 = static_cast<int >(SWIG_As_int(obj1));
26729 if (SWIG_arg_fail(2)) SWIG_fail;
26730 }
26731 }
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 result = (bool)(arg1)->Arrange(arg2);
26735
26736 wxPyEndAllowThreads(__tstate);
26737 if (PyErr_Occurred()) SWIG_fail;
26738 }
26739 {
26740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26741 }
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj = NULL;
26750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26751 long arg2 ;
26752 bool result;
26753 PyObject * obj0 = 0 ;
26754 PyObject * obj1 = 0 ;
26755 char *kwnames[] = {
26756 (char *) "self",(char *) "item", NULL
26757 };
26758
26759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
26760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail;
26762 {
26763 arg2 = static_cast<long >(SWIG_As_long(obj1));
26764 if (SWIG_arg_fail(2)) SWIG_fail;
26765 }
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (bool)(arg1)->DeleteItem(arg2);
26769
26770 wxPyEndAllowThreads(__tstate);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 }
26773 {
26774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26775 }
26776 return resultobj;
26777 fail:
26778 return NULL;
26779 }
26780
26781
26782 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
26783 PyObject *resultobj = NULL;
26784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26785 bool result;
26786 PyObject * obj0 = 0 ;
26787 char *kwnames[] = {
26788 (char *) "self", NULL
26789 };
26790
26791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26793 if (SWIG_arg_fail(1)) SWIG_fail;
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (bool)(arg1)->DeleteAllItems();
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 {
26802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26803 }
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj = NULL;
26812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26813 int arg2 ;
26814 bool result;
26815 PyObject * obj0 = 0 ;
26816 PyObject * obj1 = 0 ;
26817 char *kwnames[] = {
26818 (char *) "self",(char *) "col", NULL
26819 };
26820
26821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",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<int >(SWIG_As_int(obj1));
26826 if (SWIG_arg_fail(2)) SWIG_fail;
26827 }
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = (bool)(arg1)->DeleteColumn(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_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
26845 PyObject *resultobj = NULL;
26846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26847 bool result;
26848 PyObject * obj0 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
26854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail;
26856 {
26857 PyThreadState* __tstate = wxPyBeginAllowThreads();
26858 result = (bool)(arg1)->DeleteAllColumns();
26859
26860 wxPyEndAllowThreads(__tstate);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
26863 {
26864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26865 }
26866 return resultobj;
26867 fail:
26868 return NULL;
26869 }
26870
26871
26872 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
26873 PyObject *resultobj = NULL;
26874 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26875 PyObject * obj0 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
26881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail;
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 (arg1)->ClearAll();
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 Py_INCREF(Py_None); resultobj = Py_None;
26891 return resultobj;
26892 fail:
26893 return NULL;
26894 }
26895
26896
26897 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26898 PyObject *resultobj = NULL;
26899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26900 long arg2 ;
26901 wxTextCtrl *result;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 char *kwnames[] = {
26905 (char *) "self",(char *) "item", NULL
26906 };
26907
26908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail;
26911 {
26912 arg2 = static_cast<long >(SWIG_As_long(obj1));
26913 if (SWIG_arg_fail(2)) SWIG_fail;
26914 }
26915 {
26916 PyThreadState* __tstate = wxPyBeginAllowThreads();
26917 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
26918
26919 wxPyEndAllowThreads(__tstate);
26920 if (PyErr_Occurred()) SWIG_fail;
26921 }
26922 {
26923 resultobj = wxPyMake_wxObject(result, 0);
26924 }
26925 return resultobj;
26926 fail:
26927 return NULL;
26928 }
26929
26930
26931 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj = NULL;
26933 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26934 bool arg2 ;
26935 bool result;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26938 char *kwnames[] = {
26939 (char *) "self",(char *) "cancel", NULL
26940 };
26941
26942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
26943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail;
26945 {
26946 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26947 if (SWIG_arg_fail(2)) SWIG_fail;
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (bool)(arg1)->EndEditLabel(arg2);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 {
26957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26958 }
26959 return resultobj;
26960 fail:
26961 return NULL;
26962 }
26963
26964
26965 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26966 PyObject *resultobj = NULL;
26967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26968 long arg2 ;
26969 bool result;
26970 PyObject * obj0 = 0 ;
26971 PyObject * obj1 = 0 ;
26972 char *kwnames[] = {
26973 (char *) "self",(char *) "item", NULL
26974 };
26975
26976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26978 if (SWIG_arg_fail(1)) SWIG_fail;
26979 {
26980 arg2 = static_cast<long >(SWIG_As_long(obj1));
26981 if (SWIG_arg_fail(2)) SWIG_fail;
26982 }
26983 {
26984 PyThreadState* __tstate = wxPyBeginAllowThreads();
26985 result = (bool)(arg1)->EnsureVisible(arg2);
26986
26987 wxPyEndAllowThreads(__tstate);
26988 if (PyErr_Occurred()) SWIG_fail;
26989 }
26990 {
26991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26992 }
26993 return resultobj;
26994 fail:
26995 return NULL;
26996 }
26997
26998
26999 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
27000 PyObject *resultobj = NULL;
27001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27002 long arg2 ;
27003 wxString *arg3 = 0 ;
27004 bool arg4 = (bool) false ;
27005 long result;
27006 bool temp3 = false ;
27007 PyObject * obj0 = 0 ;
27008 PyObject * obj1 = 0 ;
27009 PyObject * obj2 = 0 ;
27010 PyObject * obj3 = 0 ;
27011 char *kwnames[] = {
27012 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
27013 };
27014
27015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail;
27018 {
27019 arg2 = static_cast<long >(SWIG_As_long(obj1));
27020 if (SWIG_arg_fail(2)) SWIG_fail;
27021 }
27022 {
27023 arg3 = wxString_in_helper(obj2);
27024 if (arg3 == NULL) SWIG_fail;
27025 temp3 = true;
27026 }
27027 if (obj3) {
27028 {
27029 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
27030 if (SWIG_arg_fail(4)) SWIG_fail;
27031 }
27032 }
27033 {
27034 PyThreadState* __tstate = wxPyBeginAllowThreads();
27035 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
27036
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 {
27041 resultobj = SWIG_From_long(static_cast<long >(result));
27042 }
27043 {
27044 if (temp3)
27045 delete arg3;
27046 }
27047 return resultobj;
27048 fail:
27049 {
27050 if (temp3)
27051 delete arg3;
27052 }
27053 return NULL;
27054 }
27055
27056
27057 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27058 PyObject *resultobj = NULL;
27059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27060 long arg2 ;
27061 long arg3 ;
27062 long result;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 PyObject * obj2 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self",(char *) "start",(char *) "data", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
27071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail;
27073 {
27074 arg2 = static_cast<long >(SWIG_As_long(obj1));
27075 if (SWIG_arg_fail(2)) SWIG_fail;
27076 }
27077 {
27078 arg3 = static_cast<long >(SWIG_As_long(obj2));
27079 if (SWIG_arg_fail(3)) SWIG_fail;
27080 }
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 result = (long)(arg1)->FindItem(arg2,arg3);
27084
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 {
27089 resultobj = SWIG_From_long(static_cast<long >(result));
27090 }
27091 return resultobj;
27092 fail:
27093 return NULL;
27094 }
27095
27096
27097 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
27098 PyObject *resultobj = NULL;
27099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27100 long arg2 ;
27101 wxPoint *arg3 = 0 ;
27102 int arg4 ;
27103 long result;
27104 wxPoint temp3 ;
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 PyObject * obj2 = 0 ;
27108 PyObject * obj3 = 0 ;
27109 char *kwnames[] = {
27110 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
27111 };
27112
27113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail;
27116 {
27117 arg2 = static_cast<long >(SWIG_As_long(obj1));
27118 if (SWIG_arg_fail(2)) SWIG_fail;
27119 }
27120 {
27121 arg3 = &temp3;
27122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27123 }
27124 {
27125 arg4 = static_cast<int >(SWIG_As_int(obj3));
27126 if (SWIG_arg_fail(4)) SWIG_fail;
27127 }
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
27131
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 {
27136 resultobj = SWIG_From_long(static_cast<long >(result));
27137 }
27138 return resultobj;
27139 fail:
27140 return NULL;
27141 }
27142
27143
27144 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
27145 PyObject *resultobj = NULL;
27146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27147 wxPoint *arg2 = 0 ;
27148 int *arg3 = 0 ;
27149 long result;
27150 wxPoint temp2 ;
27151 int temp3 ;
27152 int res3 = 0 ;
27153 PyObject * obj0 = 0 ;
27154 PyObject * obj1 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "self",(char *) "point", NULL
27157 };
27158
27159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail;
27163 {
27164 arg2 = &temp2;
27165 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27166 }
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27170
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 {
27175 resultobj = SWIG_From_long(static_cast<long >(result));
27176 }
27177 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27178 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27179 return resultobj;
27180 fail:
27181 return NULL;
27182 }
27183
27184
27185 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
27186 PyObject *resultobj = NULL;
27187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27188 wxListItem *arg2 = 0 ;
27189 long result;
27190 PyObject * obj0 = 0 ;
27191 PyObject * obj1 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self",(char *) "info", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
27197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail;
27199 {
27200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27201 if (SWIG_arg_fail(2)) SWIG_fail;
27202 if (arg2 == NULL) {
27203 SWIG_null_ref("wxListItem");
27204 }
27205 if (SWIG_arg_fail(2)) SWIG_fail;
27206 }
27207 {
27208 PyThreadState* __tstate = wxPyBeginAllowThreads();
27209 result = (long)(arg1)->InsertItem(*arg2);
27210
27211 wxPyEndAllowThreads(__tstate);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 }
27214 {
27215 resultobj = SWIG_From_long(static_cast<long >(result));
27216 }
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj = NULL;
27225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27226 long arg2 ;
27227 wxString *arg3 = 0 ;
27228 int arg4 = (int) -1 ;
27229 long result;
27230 bool temp3 = false ;
27231 PyObject * obj0 = 0 ;
27232 PyObject * obj1 = 0 ;
27233 PyObject * obj2 = 0 ;
27234 PyObject * obj3 = 0 ;
27235 char *kwnames[] = {
27236 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27237 };
27238
27239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail;
27242 {
27243 arg2 = static_cast<long >(SWIG_As_long(obj1));
27244 if (SWIG_arg_fail(2)) SWIG_fail;
27245 }
27246 {
27247 arg3 = wxString_in_helper(obj2);
27248 if (arg3 == NULL) SWIG_fail;
27249 temp3 = true;
27250 }
27251 if (obj3) {
27252 {
27253 arg4 = static_cast<int >(SWIG_As_int(obj3));
27254 if (SWIG_arg_fail(4)) SWIG_fail;
27255 }
27256 }
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27260
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 {
27265 resultobj = SWIG_From_long(static_cast<long >(result));
27266 }
27267 {
27268 if (temp3)
27269 delete arg3;
27270 }
27271 return resultobj;
27272 fail:
27273 {
27274 if (temp3)
27275 delete arg3;
27276 }
27277 return NULL;
27278 }
27279
27280
27281 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
27282 PyObject *resultobj = NULL;
27283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27284 long arg2 ;
27285 int arg3 ;
27286 long result;
27287 PyObject * obj0 = 0 ;
27288 PyObject * obj1 = 0 ;
27289 PyObject * obj2 = 0 ;
27290 char *kwnames[] = {
27291 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
27292 };
27293
27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail;
27297 {
27298 arg2 = static_cast<long >(SWIG_As_long(obj1));
27299 if (SWIG_arg_fail(2)) SWIG_fail;
27300 }
27301 {
27302 arg3 = static_cast<int >(SWIG_As_int(obj2));
27303 if (SWIG_arg_fail(3)) SWIG_fail;
27304 }
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 result = (long)(arg1)->InsertItem(arg2,arg3);
27308
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
27312 {
27313 resultobj = SWIG_From_long(static_cast<long >(result));
27314 }
27315 return resultobj;
27316 fail:
27317 return NULL;
27318 }
27319
27320
27321 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
27322 PyObject *resultobj = NULL;
27323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27324 long arg2 ;
27325 wxString *arg3 = 0 ;
27326 int arg4 ;
27327 long result;
27328 bool temp3 = false ;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 PyObject * obj2 = 0 ;
27332 PyObject * obj3 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 {
27341 arg2 = static_cast<long >(SWIG_As_long(obj1));
27342 if (SWIG_arg_fail(2)) SWIG_fail;
27343 }
27344 {
27345 arg3 = wxString_in_helper(obj2);
27346 if (arg3 == NULL) SWIG_fail;
27347 temp3 = true;
27348 }
27349 {
27350 arg4 = static_cast<int >(SWIG_As_int(obj3));
27351 if (SWIG_arg_fail(4)) SWIG_fail;
27352 }
27353 {
27354 PyThreadState* __tstate = wxPyBeginAllowThreads();
27355 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
27356
27357 wxPyEndAllowThreads(__tstate);
27358 if (PyErr_Occurred()) SWIG_fail;
27359 }
27360 {
27361 resultobj = SWIG_From_long(static_cast<long >(result));
27362 }
27363 {
27364 if (temp3)
27365 delete arg3;
27366 }
27367 return resultobj;
27368 fail:
27369 {
27370 if (temp3)
27371 delete arg3;
27372 }
27373 return NULL;
27374 }
27375
27376
27377 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
27378 PyObject *resultobj = NULL;
27379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27380 long arg2 ;
27381 wxListItem *arg3 = 0 ;
27382 long result;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 PyObject * obj2 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self",(char *) "col",(char *) "info", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
27393 {
27394 arg2 = static_cast<long >(SWIG_As_long(obj1));
27395 if (SWIG_arg_fail(2)) SWIG_fail;
27396 }
27397 {
27398 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
27399 if (SWIG_arg_fail(3)) SWIG_fail;
27400 if (arg3 == NULL) {
27401 SWIG_null_ref("wxListItem");
27402 }
27403 if (SWIG_arg_fail(3)) SWIG_fail;
27404 }
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 result = (long)(arg1)->InsertColumn(arg2,*arg3);
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 resultobj = SWIG_From_long(static_cast<long >(result));
27414 }
27415 return resultobj;
27416 fail:
27417 return NULL;
27418 }
27419
27420
27421 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
27422 PyObject *resultobj = NULL;
27423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27424 long arg2 ;
27425 wxString *arg3 = 0 ;
27426 int arg4 = (int) wxLIST_FORMAT_LEFT ;
27427 int arg5 = (int) -1 ;
27428 long result;
27429 bool temp3 = false ;
27430 PyObject * obj0 = 0 ;
27431 PyObject * obj1 = 0 ;
27432 PyObject * obj2 = 0 ;
27433 PyObject * obj3 = 0 ;
27434 PyObject * obj4 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail;
27442 {
27443 arg2 = static_cast<long >(SWIG_As_long(obj1));
27444 if (SWIG_arg_fail(2)) SWIG_fail;
27445 }
27446 {
27447 arg3 = wxString_in_helper(obj2);
27448 if (arg3 == NULL) SWIG_fail;
27449 temp3 = true;
27450 }
27451 if (obj3) {
27452 {
27453 arg4 = static_cast<int >(SWIG_As_int(obj3));
27454 if (SWIG_arg_fail(4)) SWIG_fail;
27455 }
27456 }
27457 if (obj4) {
27458 {
27459 arg5 = static_cast<int >(SWIG_As_int(obj4));
27460 if (SWIG_arg_fail(5)) SWIG_fail;
27461 }
27462 }
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
27466
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 {
27471 resultobj = SWIG_From_long(static_cast<long >(result));
27472 }
27473 {
27474 if (temp3)
27475 delete arg3;
27476 }
27477 return resultobj;
27478 fail:
27479 {
27480 if (temp3)
27481 delete arg3;
27482 }
27483 return NULL;
27484 }
27485
27486
27487 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
27488 PyObject *resultobj = NULL;
27489 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27490 long arg2 ;
27491 PyObject * obj0 = 0 ;
27492 PyObject * obj1 = 0 ;
27493 char *kwnames[] = {
27494 (char *) "self",(char *) "count", NULL
27495 };
27496
27497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
27498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail;
27500 {
27501 arg2 = static_cast<long >(SWIG_As_long(obj1));
27502 if (SWIG_arg_fail(2)) SWIG_fail;
27503 }
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 (arg1)->SetItemCount(arg2);
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 Py_INCREF(Py_None); resultobj = Py_None;
27512 return resultobj;
27513 fail:
27514 return NULL;
27515 }
27516
27517
27518 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
27519 PyObject *resultobj = NULL;
27520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27521 int arg2 ;
27522 int arg3 ;
27523 bool result;
27524 PyObject * obj0 = 0 ;
27525 PyObject * obj1 = 0 ;
27526 PyObject * obj2 = 0 ;
27527 char *kwnames[] = {
27528 (char *) "self",(char *) "dx",(char *) "dy", NULL
27529 };
27530
27531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail;
27534 {
27535 arg2 = static_cast<int >(SWIG_As_int(obj1));
27536 if (SWIG_arg_fail(2)) SWIG_fail;
27537 }
27538 {
27539 arg3 = static_cast<int >(SWIG_As_int(obj2));
27540 if (SWIG_arg_fail(3)) SWIG_fail;
27541 }
27542 {
27543 PyThreadState* __tstate = wxPyBeginAllowThreads();
27544 result = (bool)(arg1)->ScrollList(arg2,arg3);
27545
27546 wxPyEndAllowThreads(__tstate);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 {
27550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27551 }
27552 return resultobj;
27553 fail:
27554 return NULL;
27555 }
27556
27557
27558 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
27559 PyObject *resultobj = NULL;
27560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27561 long arg2 ;
27562 wxColour *arg3 = 0 ;
27563 wxColour temp3 ;
27564 PyObject * obj0 = 0 ;
27565 PyObject * obj1 = 0 ;
27566 PyObject * obj2 = 0 ;
27567 char *kwnames[] = {
27568 (char *) "self",(char *) "item",(char *) "col", NULL
27569 };
27570
27571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
27572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27573 if (SWIG_arg_fail(1)) SWIG_fail;
27574 {
27575 arg2 = static_cast<long >(SWIG_As_long(obj1));
27576 if (SWIG_arg_fail(2)) SWIG_fail;
27577 }
27578 {
27579 arg3 = &temp3;
27580 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27581 }
27582 {
27583 PyThreadState* __tstate = wxPyBeginAllowThreads();
27584 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
27585
27586 wxPyEndAllowThreads(__tstate);
27587 if (PyErr_Occurred()) SWIG_fail;
27588 }
27589 Py_INCREF(Py_None); resultobj = Py_None;
27590 return resultobj;
27591 fail:
27592 return NULL;
27593 }
27594
27595
27596 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
27597 PyObject *resultobj = NULL;
27598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27599 long arg2 ;
27600 wxColour result;
27601 PyObject * obj0 = 0 ;
27602 PyObject * obj1 = 0 ;
27603 char *kwnames[] = {
27604 (char *) "self",(char *) "item", NULL
27605 };
27606
27607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
27608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail;
27610 {
27611 arg2 = static_cast<long >(SWIG_As_long(obj1));
27612 if (SWIG_arg_fail(2)) SWIG_fail;
27613 }
27614 {
27615 PyThreadState* __tstate = wxPyBeginAllowThreads();
27616 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
27617
27618 wxPyEndAllowThreads(__tstate);
27619 if (PyErr_Occurred()) SWIG_fail;
27620 }
27621 {
27622 wxColour * resultptr;
27623 resultptr = new wxColour(static_cast<wxColour & >(result));
27624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27625 }
27626 return resultobj;
27627 fail:
27628 return NULL;
27629 }
27630
27631
27632 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
27633 PyObject *resultobj = NULL;
27634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27635 long arg2 ;
27636 wxColour *arg3 = 0 ;
27637 wxColour temp3 ;
27638 PyObject * obj0 = 0 ;
27639 PyObject * obj1 = 0 ;
27640 PyObject * obj2 = 0 ;
27641 char *kwnames[] = {
27642 (char *) "self",(char *) "item",(char *) "col", NULL
27643 };
27644
27645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
27646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail;
27648 {
27649 arg2 = static_cast<long >(SWIG_As_long(obj1));
27650 if (SWIG_arg_fail(2)) SWIG_fail;
27651 }
27652 {
27653 arg3 = &temp3;
27654 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
27655 }
27656 {
27657 PyThreadState* __tstate = wxPyBeginAllowThreads();
27658 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
27659
27660 wxPyEndAllowThreads(__tstate);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
27663 Py_INCREF(Py_None); resultobj = Py_None;
27664 return resultobj;
27665 fail:
27666 return NULL;
27667 }
27668
27669
27670 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
27671 PyObject *resultobj = NULL;
27672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27673 long arg2 ;
27674 wxColour result;
27675 PyObject * obj0 = 0 ;
27676 PyObject * obj1 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "self",(char *) "item", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
27682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27683 if (SWIG_arg_fail(1)) SWIG_fail;
27684 {
27685 arg2 = static_cast<long >(SWIG_As_long(obj1));
27686 if (SWIG_arg_fail(2)) SWIG_fail;
27687 }
27688 {
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
27691
27692 wxPyEndAllowThreads(__tstate);
27693 if (PyErr_Occurred()) SWIG_fail;
27694 }
27695 {
27696 wxColour * resultptr;
27697 resultptr = new wxColour(static_cast<wxColour & >(result));
27698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
27699 }
27700 return resultobj;
27701 fail:
27702 return NULL;
27703 }
27704
27705
27706 static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj = NULL;
27708 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27709 long arg2 ;
27710 wxFont *arg3 = 0 ;
27711 PyObject * obj0 = 0 ;
27712 PyObject * obj1 = 0 ;
27713 PyObject * obj2 = 0 ;
27714 char *kwnames[] = {
27715 (char *) "self",(char *) "item",(char *) "f", NULL
27716 };
27717
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
27719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail;
27721 {
27722 arg2 = static_cast<long >(SWIG_As_long(obj1));
27723 if (SWIG_arg_fail(2)) SWIG_fail;
27724 }
27725 {
27726 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
27727 if (SWIG_arg_fail(3)) SWIG_fail;
27728 if (arg3 == NULL) {
27729 SWIG_null_ref("wxFont");
27730 }
27731 if (SWIG_arg_fail(3)) SWIG_fail;
27732 }
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
27736
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 Py_INCREF(Py_None); resultobj = Py_None;
27741 return resultobj;
27742 fail:
27743 return NULL;
27744 }
27745
27746
27747 static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
27748 PyObject *resultobj = NULL;
27749 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27750 long arg2 ;
27751 wxFont result;
27752 PyObject * obj0 = 0 ;
27753 PyObject * obj1 = 0 ;
27754 char *kwnames[] = {
27755 (char *) "self",(char *) "item", NULL
27756 };
27757
27758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
27759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27760 if (SWIG_arg_fail(1)) SWIG_fail;
27761 {
27762 arg2 = static_cast<long >(SWIG_As_long(obj1));
27763 if (SWIG_arg_fail(2)) SWIG_fail;
27764 }
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
27767 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 {
27773 wxFont * resultptr;
27774 resultptr = new wxFont(static_cast<wxFont & >(result));
27775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
27776 }
27777 return resultobj;
27778 fail:
27779 return NULL;
27780 }
27781
27782
27783 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
27784 PyObject *resultobj = NULL;
27785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27786 PyObject *arg2 = (PyObject *) 0 ;
27787 bool result;
27788 PyObject * obj0 = 0 ;
27789 PyObject * obj1 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "self",(char *) "func", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
27795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail;
27797 arg2 = obj1;
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 {
27806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27807 }
27808 return resultobj;
27809 fail:
27810 return NULL;
27811 }
27812
27813
27814 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27815 PyObject *resultobj = NULL;
27816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
27817 wxWindow *result;
27818 PyObject * obj0 = 0 ;
27819 char *kwnames[] = {
27820 (char *) "self", NULL
27821 };
27822
27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
27824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail;
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
27829
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 {
27834 resultobj = wxPyMake_wxObject(result, 0);
27835 }
27836 return resultobj;
27837 fail:
27838 return NULL;
27839 }
27840
27841
27842 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
27843 PyObject *resultobj = NULL;
27844 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
27845 wxVisualAttributes result;
27846 PyObject * obj0 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "variant", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27852 if (obj0) {
27853 {
27854 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
27855 if (SWIG_arg_fail(1)) SWIG_fail;
27856 }
27857 }
27858 {
27859 if (!wxPyCheckForApp()) SWIG_fail;
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 {
27867 wxVisualAttributes * resultptr;
27868 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
27869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27870 }
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
27878 PyObject *obj;
27879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27880 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
27881 Py_INCREF(obj);
27882 return Py_BuildValue((char *)"");
27883 }
27884 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
27885 PyObject *resultobj = NULL;
27886 wxWindow *arg1 = (wxWindow *) 0 ;
27887 int arg2 = (int) -1 ;
27888 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27889 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27890 wxSize const &arg4_defvalue = wxDefaultSize ;
27891 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27892 long arg5 = (long) wxLC_REPORT ;
27893 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27894 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27895 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
27896 wxString *arg7 = (wxString *) &arg7_defvalue ;
27897 wxListView *result;
27898 wxPoint temp3 ;
27899 wxSize temp4 ;
27900 bool temp7 = false ;
27901 PyObject * obj0 = 0 ;
27902 PyObject * obj1 = 0 ;
27903 PyObject * obj2 = 0 ;
27904 PyObject * obj3 = 0 ;
27905 PyObject * obj4 = 0 ;
27906 PyObject * obj5 = 0 ;
27907 PyObject * obj6 = 0 ;
27908 char *kwnames[] = {
27909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27910 };
27911
27912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27914 if (SWIG_arg_fail(1)) SWIG_fail;
27915 if (obj1) {
27916 {
27917 arg2 = static_cast<int >(SWIG_As_int(obj1));
27918 if (SWIG_arg_fail(2)) SWIG_fail;
27919 }
27920 }
27921 if (obj2) {
27922 {
27923 arg3 = &temp3;
27924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27925 }
27926 }
27927 if (obj3) {
27928 {
27929 arg4 = &temp4;
27930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27931 }
27932 }
27933 if (obj4) {
27934 {
27935 arg5 = static_cast<long >(SWIG_As_long(obj4));
27936 if (SWIG_arg_fail(5)) SWIG_fail;
27937 }
27938 }
27939 if (obj5) {
27940 {
27941 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27942 if (SWIG_arg_fail(6)) SWIG_fail;
27943 if (arg6 == NULL) {
27944 SWIG_null_ref("wxValidator");
27945 }
27946 if (SWIG_arg_fail(6)) SWIG_fail;
27947 }
27948 }
27949 if (obj6) {
27950 {
27951 arg7 = wxString_in_helper(obj6);
27952 if (arg7 == NULL) SWIG_fail;
27953 temp7 = true;
27954 }
27955 }
27956 {
27957 if (!wxPyCheckForApp()) SWIG_fail;
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27960
27961 wxPyEndAllowThreads(__tstate);
27962 if (PyErr_Occurred()) SWIG_fail;
27963 }
27964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27965 {
27966 if (temp7)
27967 delete arg7;
27968 }
27969 return resultobj;
27970 fail:
27971 {
27972 if (temp7)
27973 delete arg7;
27974 }
27975 return NULL;
27976 }
27977
27978
27979 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
27980 PyObject *resultobj = NULL;
27981 wxListView *result;
27982 char *kwnames[] = {
27983 NULL
27984 };
27985
27986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
27987 {
27988 if (!wxPyCheckForApp()) SWIG_fail;
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 result = (wxListView *)new wxListView();
27991
27992 wxPyEndAllowThreads(__tstate);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 }
27995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
27996 return resultobj;
27997 fail:
27998 return NULL;
27999 }
28000
28001
28002 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj = NULL;
28004 wxListView *arg1 = (wxListView *) 0 ;
28005 wxWindow *arg2 = (wxWindow *) 0 ;
28006 int arg3 = (int) -1 ;
28007 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28008 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28009 wxSize const &arg5_defvalue = wxDefaultSize ;
28010 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28011 long arg6 = (long) wxLC_REPORT ;
28012 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28013 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28014 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28015 wxString *arg8 = (wxString *) &arg8_defvalue ;
28016 bool result;
28017 wxPoint temp4 ;
28018 wxSize temp5 ;
28019 bool temp8 = false ;
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
28022 PyObject * obj2 = 0 ;
28023 PyObject * obj3 = 0 ;
28024 PyObject * obj4 = 0 ;
28025 PyObject * obj5 = 0 ;
28026 PyObject * obj6 = 0 ;
28027 PyObject * obj7 = 0 ;
28028 char *kwnames[] = {
28029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28030 };
28031
28032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail;
28035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28036 if (SWIG_arg_fail(2)) SWIG_fail;
28037 if (obj2) {
28038 {
28039 arg3 = static_cast<int >(SWIG_As_int(obj2));
28040 if (SWIG_arg_fail(3)) SWIG_fail;
28041 }
28042 }
28043 if (obj3) {
28044 {
28045 arg4 = &temp4;
28046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28047 }
28048 }
28049 if (obj4) {
28050 {
28051 arg5 = &temp5;
28052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28053 }
28054 }
28055 if (obj5) {
28056 {
28057 arg6 = static_cast<long >(SWIG_As_long(obj5));
28058 if (SWIG_arg_fail(6)) SWIG_fail;
28059 }
28060 }
28061 if (obj6) {
28062 {
28063 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28064 if (SWIG_arg_fail(7)) SWIG_fail;
28065 if (arg7 == NULL) {
28066 SWIG_null_ref("wxValidator");
28067 }
28068 if (SWIG_arg_fail(7)) SWIG_fail;
28069 }
28070 }
28071 if (obj7) {
28072 {
28073 arg8 = wxString_in_helper(obj7);
28074 if (arg8 == NULL) SWIG_fail;
28075 temp8 = true;
28076 }
28077 }
28078 {
28079 PyThreadState* __tstate = wxPyBeginAllowThreads();
28080 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28081
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 {
28086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28087 }
28088 {
28089 if (temp8)
28090 delete arg8;
28091 }
28092 return resultobj;
28093 fail:
28094 {
28095 if (temp8)
28096 delete arg8;
28097 }
28098 return NULL;
28099 }
28100
28101
28102 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
28103 PyObject *resultobj = NULL;
28104 wxListView *arg1 = (wxListView *) 0 ;
28105 long arg2 ;
28106 bool arg3 = (bool) true ;
28107 PyObject * obj0 = 0 ;
28108 PyObject * obj1 = 0 ;
28109 PyObject * obj2 = 0 ;
28110 char *kwnames[] = {
28111 (char *) "self",(char *) "n",(char *) "on", NULL
28112 };
28113
28114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
28115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28116 if (SWIG_arg_fail(1)) SWIG_fail;
28117 {
28118 arg2 = static_cast<long >(SWIG_As_long(obj1));
28119 if (SWIG_arg_fail(2)) SWIG_fail;
28120 }
28121 if (obj2) {
28122 {
28123 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
28124 if (SWIG_arg_fail(3)) SWIG_fail;
28125 }
28126 }
28127 {
28128 PyThreadState* __tstate = wxPyBeginAllowThreads();
28129 (arg1)->Select(arg2,arg3);
28130
28131 wxPyEndAllowThreads(__tstate);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 }
28134 Py_INCREF(Py_None); resultobj = Py_None;
28135 return resultobj;
28136 fail:
28137 return NULL;
28138 }
28139
28140
28141 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
28142 PyObject *resultobj = NULL;
28143 wxListView *arg1 = (wxListView *) 0 ;
28144 long arg2 ;
28145 PyObject * obj0 = 0 ;
28146 PyObject * obj1 = 0 ;
28147 char *kwnames[] = {
28148 (char *) "self",(char *) "index", NULL
28149 };
28150
28151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
28152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail;
28154 {
28155 arg2 = static_cast<long >(SWIG_As_long(obj1));
28156 if (SWIG_arg_fail(2)) SWIG_fail;
28157 }
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 (arg1)->Focus(arg2);
28161
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 Py_INCREF(Py_None); resultobj = Py_None;
28166 return resultobj;
28167 fail:
28168 return NULL;
28169 }
28170
28171
28172 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
28173 PyObject *resultobj = NULL;
28174 wxListView *arg1 = (wxListView *) 0 ;
28175 long result;
28176 PyObject * obj0 = 0 ;
28177 char *kwnames[] = {
28178 (char *) "self", NULL
28179 };
28180
28181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
28182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28183 if (SWIG_arg_fail(1)) SWIG_fail;
28184 {
28185 PyThreadState* __tstate = wxPyBeginAllowThreads();
28186 result = (long)((wxListView const *)arg1)->GetFocusedItem();
28187
28188 wxPyEndAllowThreads(__tstate);
28189 if (PyErr_Occurred()) SWIG_fail;
28190 }
28191 {
28192 resultobj = SWIG_From_long(static_cast<long >(result));
28193 }
28194 return resultobj;
28195 fail:
28196 return NULL;
28197 }
28198
28199
28200 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28201 PyObject *resultobj = NULL;
28202 wxListView *arg1 = (wxListView *) 0 ;
28203 long arg2 ;
28204 long result;
28205 PyObject * obj0 = 0 ;
28206 PyObject * obj1 = 0 ;
28207 char *kwnames[] = {
28208 (char *) "self",(char *) "item", NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
28212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail;
28214 {
28215 arg2 = static_cast<long >(SWIG_As_long(obj1));
28216 if (SWIG_arg_fail(2)) SWIG_fail;
28217 }
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
28225 {
28226 resultobj = SWIG_From_long(static_cast<long >(result));
28227 }
28228 return resultobj;
28229 fail:
28230 return NULL;
28231 }
28232
28233
28234 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28235 PyObject *resultobj = NULL;
28236 wxListView *arg1 = (wxListView *) 0 ;
28237 long result;
28238 PyObject * obj0 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
28244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28245 if (SWIG_arg_fail(1)) SWIG_fail;
28246 {
28247 PyThreadState* __tstate = wxPyBeginAllowThreads();
28248 result = (long)((wxListView const *)arg1)->GetFirstSelected();
28249
28250 wxPyEndAllowThreads(__tstate);
28251 if (PyErr_Occurred()) SWIG_fail;
28252 }
28253 {
28254 resultobj = SWIG_From_long(static_cast<long >(result));
28255 }
28256 return resultobj;
28257 fail:
28258 return NULL;
28259 }
28260
28261
28262 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
28263 PyObject *resultobj = NULL;
28264 wxListView *arg1 = (wxListView *) 0 ;
28265 long arg2 ;
28266 bool result;
28267 PyObject * obj0 = 0 ;
28268 PyObject * obj1 = 0 ;
28269 char *kwnames[] = {
28270 (char *) "self",(char *) "index", NULL
28271 };
28272
28273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
28274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28275 if (SWIG_arg_fail(1)) SWIG_fail;
28276 {
28277 arg2 = static_cast<long >(SWIG_As_long(obj1));
28278 if (SWIG_arg_fail(2)) SWIG_fail;
28279 }
28280 {
28281 PyThreadState* __tstate = wxPyBeginAllowThreads();
28282 result = (bool)(arg1)->IsSelected(arg2);
28283
28284 wxPyEndAllowThreads(__tstate);
28285 if (PyErr_Occurred()) SWIG_fail;
28286 }
28287 {
28288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28289 }
28290 return resultobj;
28291 fail:
28292 return NULL;
28293 }
28294
28295
28296 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
28297 PyObject *resultobj = NULL;
28298 wxListView *arg1 = (wxListView *) 0 ;
28299 int arg2 ;
28300 int arg3 ;
28301 PyObject * obj0 = 0 ;
28302 PyObject * obj1 = 0 ;
28303 PyObject * obj2 = 0 ;
28304 char *kwnames[] = {
28305 (char *) "self",(char *) "col",(char *) "image", NULL
28306 };
28307
28308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail;
28311 {
28312 arg2 = static_cast<int >(SWIG_As_int(obj1));
28313 if (SWIG_arg_fail(2)) SWIG_fail;
28314 }
28315 {
28316 arg3 = static_cast<int >(SWIG_As_int(obj2));
28317 if (SWIG_arg_fail(3)) SWIG_fail;
28318 }
28319 {
28320 PyThreadState* __tstate = wxPyBeginAllowThreads();
28321 (arg1)->SetColumnImage(arg2,arg3);
28322
28323 wxPyEndAllowThreads(__tstate);
28324 if (PyErr_Occurred()) SWIG_fail;
28325 }
28326 Py_INCREF(Py_None); resultobj = Py_None;
28327 return resultobj;
28328 fail:
28329 return NULL;
28330 }
28331
28332
28333 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
28334 PyObject *resultobj = NULL;
28335 wxListView *arg1 = (wxListView *) 0 ;
28336 int arg2 ;
28337 PyObject * obj0 = 0 ;
28338 PyObject * obj1 = 0 ;
28339 char *kwnames[] = {
28340 (char *) "self",(char *) "col", NULL
28341 };
28342
28343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
28344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail;
28346 {
28347 arg2 = static_cast<int >(SWIG_As_int(obj1));
28348 if (SWIG_arg_fail(2)) SWIG_fail;
28349 }
28350 {
28351 PyThreadState* __tstate = wxPyBeginAllowThreads();
28352 (arg1)->ClearColumnImage(arg2);
28353
28354 wxPyEndAllowThreads(__tstate);
28355 if (PyErr_Occurred()) SWIG_fail;
28356 }
28357 Py_INCREF(Py_None); resultobj = Py_None;
28358 return resultobj;
28359 fail:
28360 return NULL;
28361 }
28362
28363
28364 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
28365 PyObject *obj;
28366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28367 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
28368 Py_INCREF(obj);
28369 return Py_BuildValue((char *)"");
28370 }
28371 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
28372 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
28373 return 1;
28374 }
28375
28376
28377 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
28378 PyObject *pyobj = NULL;
28379
28380 {
28381 #if wxUSE_UNICODE
28382 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28383 #else
28384 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
28385 #endif
28386 }
28387 return pyobj;
28388 }
28389
28390
28391 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
28392 PyObject *resultobj = NULL;
28393 wxTreeItemId *result;
28394 char *kwnames[] = {
28395 NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 result = (wxTreeItemId *)new wxTreeItemId();
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
28407 return resultobj;
28408 fail:
28409 return NULL;
28410 }
28411
28412
28413 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
28414 PyObject *resultobj = NULL;
28415 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28416 PyObject * obj0 = 0 ;
28417 char *kwnames[] = {
28418 (char *) "self", NULL
28419 };
28420
28421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
28422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28423 if (SWIG_arg_fail(1)) SWIG_fail;
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 delete arg1;
28427
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 Py_INCREF(Py_None); resultobj = Py_None;
28432 return resultobj;
28433 fail:
28434 return NULL;
28435 }
28436
28437
28438 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
28439 PyObject *resultobj = NULL;
28440 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28441 bool result;
28442 PyObject * obj0 = 0 ;
28443 char *kwnames[] = {
28444 (char *) "self", NULL
28445 };
28446
28447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
28448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail;
28450 {
28451 PyThreadState* __tstate = wxPyBeginAllowThreads();
28452 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
28453
28454 wxPyEndAllowThreads(__tstate);
28455 if (PyErr_Occurred()) SWIG_fail;
28456 }
28457 {
28458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28459 }
28460 return resultobj;
28461 fail:
28462 return NULL;
28463 }
28464
28465
28466 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
28467 PyObject *resultobj = NULL;
28468 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28469 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28470 bool result;
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self",(char *) "other", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 {
28490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28491 }
28492 return resultobj;
28493 fail:
28494 return NULL;
28495 }
28496
28497
28498 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
28499 PyObject *resultobj = NULL;
28500 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28501 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
28502 bool result;
28503 PyObject * obj0 = 0 ;
28504 PyObject * obj1 = 0 ;
28505 char *kwnames[] = {
28506 (char *) "self",(char *) "other", NULL
28507 };
28508
28509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
28510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28511 if (SWIG_arg_fail(1)) SWIG_fail;
28512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28513 if (SWIG_arg_fail(2)) SWIG_fail;
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 {
28522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28523 }
28524 return resultobj;
28525 fail:
28526 return NULL;
28527 }
28528
28529
28530 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
28531 PyObject *resultobj = NULL;
28532 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28533 void *arg2 = (void *) 0 ;
28534 PyObject * obj0 = 0 ;
28535 PyObject * obj1 = 0 ;
28536 char *kwnames[] = {
28537 (char *) "self",(char *) "m_pItem", NULL
28538 };
28539
28540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
28541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28542 if (SWIG_arg_fail(1)) SWIG_fail;
28543 {
28544 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
28545 SWIG_arg_fail(2);SWIG_fail;
28546 }
28547 }
28548 if (arg1) (arg1)->m_pItem = arg2;
28549
28550 Py_INCREF(Py_None); resultobj = Py_None;
28551 return resultobj;
28552 fail:
28553 return NULL;
28554 }
28555
28556
28557 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
28558 PyObject *resultobj = NULL;
28559 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
28560 void *result;
28561 PyObject * obj0 = 0 ;
28562 char *kwnames[] = {
28563 (char *) "self", NULL
28564 };
28565
28566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
28567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28568 if (SWIG_arg_fail(1)) SWIG_fail;
28569 result = (void *) ((arg1)->m_pItem);
28570
28571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
28572 return resultobj;
28573 fail:
28574 return NULL;
28575 }
28576
28577
28578 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
28579 PyObject *obj;
28580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28581 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
28582 Py_INCREF(obj);
28583 return Py_BuildValue((char *)"");
28584 }
28585 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28586 PyObject *resultobj = NULL;
28587 PyObject *arg1 = (PyObject *) NULL ;
28588 wxPyTreeItemData *result;
28589 PyObject * obj0 = 0 ;
28590 char *kwnames[] = {
28591 (char *) "obj", NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
28595 if (obj0) {
28596 arg1 = obj0;
28597 }
28598 {
28599 PyThreadState* __tstate = wxPyBeginAllowThreads();
28600 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
28601
28602 wxPyEndAllowThreads(__tstate);
28603 if (PyErr_Occurred()) SWIG_fail;
28604 }
28605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
28606 return resultobj;
28607 fail:
28608 return NULL;
28609 }
28610
28611
28612 static PyObject *_wrap_delete_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28613 PyObject *resultobj = NULL;
28614 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28615 PyObject * obj0 = 0 ;
28616 char *kwnames[] = {
28617 (char *) "self", NULL
28618 };
28619
28620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemData",kwnames,&obj0)) goto fail;
28621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail;
28623 {
28624 PyThreadState* __tstate = wxPyBeginAllowThreads();
28625 delete arg1;
28626
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 Py_INCREF(Py_None); resultobj = Py_None;
28631 return resultobj;
28632 fail:
28633 return NULL;
28634 }
28635
28636
28637 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
28638 PyObject *resultobj = NULL;
28639 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28640 PyObject *result;
28641 PyObject * obj0 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
28647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail;
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 result = (PyObject *)(arg1)->GetData();
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 resultobj = result;
28657 return resultobj;
28658 fail:
28659 return NULL;
28660 }
28661
28662
28663 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
28664 PyObject *resultobj = NULL;
28665 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28666 PyObject *arg2 = (PyObject *) 0 ;
28667 PyObject * obj0 = 0 ;
28668 PyObject * obj1 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "obj", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
28674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail;
28676 arg2 = obj1;
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 (arg1)->SetData(arg2);
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 Py_INCREF(Py_None); resultobj = Py_None;
28685 return resultobj;
28686 fail:
28687 return NULL;
28688 }
28689
28690
28691 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
28692 PyObject *resultobj = NULL;
28693 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28694 wxTreeItemId *result;
28695 PyObject * obj0 = 0 ;
28696 char *kwnames[] = {
28697 (char *) "self", NULL
28698 };
28699
28700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
28701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail;
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 {
28706 wxTreeItemId const &_result_ref = (arg1)->GetId();
28707 result = (wxTreeItemId *) &_result_ref;
28708 }
28709
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
28714 return resultobj;
28715 fail:
28716 return NULL;
28717 }
28718
28719
28720 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
28721 PyObject *resultobj = NULL;
28722 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28723 wxTreeItemId *arg2 = 0 ;
28724 PyObject * obj0 = 0 ;
28725 PyObject * obj1 = 0 ;
28726 char *kwnames[] = {
28727 (char *) "self",(char *) "id", NULL
28728 };
28729
28730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
28731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail;
28733 {
28734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28735 if (SWIG_arg_fail(2)) SWIG_fail;
28736 if (arg2 == NULL) {
28737 SWIG_null_ref("wxTreeItemId");
28738 }
28739 if (SWIG_arg_fail(2)) SWIG_fail;
28740 }
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 (arg1)->SetId((wxTreeItemId const &)*arg2);
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 Py_INCREF(Py_None); resultobj = Py_None;
28749 return resultobj;
28750 fail:
28751 return NULL;
28752 }
28753
28754
28755 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
28756 PyObject *resultobj = NULL;
28757 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
28758 PyObject * obj0 = 0 ;
28759 char *kwnames[] = {
28760 (char *) "self", NULL
28761 };
28762
28763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
28764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail;
28766 {
28767 PyThreadState* __tstate = wxPyBeginAllowThreads();
28768 wxPyTreeItemData_Destroy(arg1);
28769
28770 wxPyEndAllowThreads(__tstate);
28771 if (PyErr_Occurred()) SWIG_fail;
28772 }
28773 Py_INCREF(Py_None); resultobj = Py_None;
28774 return resultobj;
28775 fail:
28776 return NULL;
28777 }
28778
28779
28780 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
28781 PyObject *obj;
28782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28783 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
28784 Py_INCREF(obj);
28785 return Py_BuildValue((char *)"");
28786 }
28787 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28788 PyObject *resultobj = NULL;
28789 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28790 int arg2 = (int) 0 ;
28791 wxTreeEvent *result;
28792 PyObject * obj0 = 0 ;
28793 PyObject * obj1 = 0 ;
28794 char *kwnames[] = {
28795 (char *) "commandType",(char *) "id", NULL
28796 };
28797
28798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
28799 if (obj0) {
28800 {
28801 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
28802 if (SWIG_arg_fail(1)) SWIG_fail;
28803 }
28804 }
28805 if (obj1) {
28806 {
28807 arg2 = static_cast<int >(SWIG_As_int(obj1));
28808 if (SWIG_arg_fail(2)) SWIG_fail;
28809 }
28810 }
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
28819 return resultobj;
28820 fail:
28821 return NULL;
28822 }
28823
28824
28825 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
28826 PyObject *resultobj = NULL;
28827 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28828 wxTreeItemId result;
28829 PyObject * obj0 = 0 ;
28830 char *kwnames[] = {
28831 (char *) "self", NULL
28832 };
28833
28834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
28835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28836 if (SWIG_arg_fail(1)) SWIG_fail;
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 result = ((wxTreeEvent const *)arg1)->GetItem();
28840
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 {
28845 wxTreeItemId * resultptr;
28846 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
28847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28848 }
28849 return resultobj;
28850 fail:
28851 return NULL;
28852 }
28853
28854
28855 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj = NULL;
28857 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28858 wxTreeItemId *arg2 = 0 ;
28859 PyObject * obj0 = 0 ;
28860 PyObject * obj1 = 0 ;
28861 char *kwnames[] = {
28862 (char *) "self",(char *) "item", NULL
28863 };
28864
28865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
28866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail;
28868 {
28869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28870 if (SWIG_arg_fail(2)) SWIG_fail;
28871 if (arg2 == NULL) {
28872 SWIG_null_ref("wxTreeItemId");
28873 }
28874 if (SWIG_arg_fail(2)) SWIG_fail;
28875 }
28876 {
28877 PyThreadState* __tstate = wxPyBeginAllowThreads();
28878 (arg1)->SetItem((wxTreeItemId const &)*arg2);
28879
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
28883 Py_INCREF(Py_None); resultobj = Py_None;
28884 return resultobj;
28885 fail:
28886 return NULL;
28887 }
28888
28889
28890 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
28891 PyObject *resultobj = NULL;
28892 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28893 wxTreeItemId result;
28894 PyObject * obj0 = 0 ;
28895 char *kwnames[] = {
28896 (char *) "self", NULL
28897 };
28898
28899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
28900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28901 if (SWIG_arg_fail(1)) SWIG_fail;
28902 {
28903 PyThreadState* __tstate = wxPyBeginAllowThreads();
28904 result = ((wxTreeEvent const *)arg1)->GetOldItem();
28905
28906 wxPyEndAllowThreads(__tstate);
28907 if (PyErr_Occurred()) SWIG_fail;
28908 }
28909 {
28910 wxTreeItemId * resultptr;
28911 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
28912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28913 }
28914 return resultobj;
28915 fail:
28916 return NULL;
28917 }
28918
28919
28920 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
28921 PyObject *resultobj = NULL;
28922 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28923 wxTreeItemId *arg2 = 0 ;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 char *kwnames[] = {
28927 (char *) "self",(char *) "item", NULL
28928 };
28929
28930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
28931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28932 if (SWIG_arg_fail(1)) SWIG_fail;
28933 {
28934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(2)) SWIG_fail;
28936 if (arg2 == NULL) {
28937 SWIG_null_ref("wxTreeItemId");
28938 }
28939 if (SWIG_arg_fail(2)) SWIG_fail;
28940 }
28941 {
28942 PyThreadState* __tstate = wxPyBeginAllowThreads();
28943 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
28944
28945 wxPyEndAllowThreads(__tstate);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 }
28948 Py_INCREF(Py_None); resultobj = Py_None;
28949 return resultobj;
28950 fail:
28951 return NULL;
28952 }
28953
28954
28955 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28956 PyObject *resultobj = NULL;
28957 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28958 wxPoint result;
28959 PyObject * obj0 = 0 ;
28960 char *kwnames[] = {
28961 (char *) "self", NULL
28962 };
28963
28964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
28965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28966 if (SWIG_arg_fail(1)) SWIG_fail;
28967 {
28968 PyThreadState* __tstate = wxPyBeginAllowThreads();
28969 result = ((wxTreeEvent const *)arg1)->GetPoint();
28970
28971 wxPyEndAllowThreads(__tstate);
28972 if (PyErr_Occurred()) SWIG_fail;
28973 }
28974 {
28975 wxPoint * resultptr;
28976 resultptr = new wxPoint(static_cast<wxPoint & >(result));
28977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28978 }
28979 return resultobj;
28980 fail:
28981 return NULL;
28982 }
28983
28984
28985 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28986 PyObject *resultobj = NULL;
28987 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28988 wxPoint *arg2 = 0 ;
28989 wxPoint temp2 ;
28990 PyObject * obj0 = 0 ;
28991 PyObject * obj1 = 0 ;
28992 char *kwnames[] = {
28993 (char *) "self",(char *) "pt", NULL
28994 };
28995
28996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
28997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28998 if (SWIG_arg_fail(1)) SWIG_fail;
28999 {
29000 arg2 = &temp2;
29001 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29002 }
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 (arg1)->SetPoint((wxPoint const &)*arg2);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 Py_INCREF(Py_None); resultobj = Py_None;
29011 return resultobj;
29012 fail:
29013 return NULL;
29014 }
29015
29016
29017 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
29018 PyObject *resultobj = NULL;
29019 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29020 wxKeyEvent *result;
29021 PyObject * obj0 = 0 ;
29022 char *kwnames[] = {
29023 (char *) "self", NULL
29024 };
29025
29026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
29027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail;
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 {
29032 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
29033 result = (wxKeyEvent *) &_result_ref;
29034 }
29035
29036 wxPyEndAllowThreads(__tstate);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 }
29039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
29040 return resultobj;
29041 fail:
29042 return NULL;
29043 }
29044
29045
29046 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
29047 PyObject *resultobj = NULL;
29048 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29049 int result;
29050 PyObject * obj0 = 0 ;
29051 char *kwnames[] = {
29052 (char *) "self", NULL
29053 };
29054
29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
29056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29057 if (SWIG_arg_fail(1)) SWIG_fail;
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 {
29066 resultobj = SWIG_From_int(static_cast<int >(result));
29067 }
29068 return resultobj;
29069 fail:
29070 return NULL;
29071 }
29072
29073
29074 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
29075 PyObject *resultobj = NULL;
29076 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29077 wxKeyEvent *arg2 = 0 ;
29078 PyObject * obj0 = 0 ;
29079 PyObject * obj1 = 0 ;
29080 char *kwnames[] = {
29081 (char *) "self",(char *) "evt", NULL
29082 };
29083
29084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
29085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29086 if (SWIG_arg_fail(1)) SWIG_fail;
29087 {
29088 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
29089 if (SWIG_arg_fail(2)) SWIG_fail;
29090 if (arg2 == NULL) {
29091 SWIG_null_ref("wxKeyEvent");
29092 }
29093 if (SWIG_arg_fail(2)) SWIG_fail;
29094 }
29095 {
29096 PyThreadState* __tstate = wxPyBeginAllowThreads();
29097 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
29098
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
29102 Py_INCREF(Py_None); resultobj = Py_None;
29103 return resultobj;
29104 fail:
29105 return NULL;
29106 }
29107
29108
29109 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
29110 PyObject *resultobj = NULL;
29111 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29112 wxString *result;
29113 PyObject * obj0 = 0 ;
29114 char *kwnames[] = {
29115 (char *) "self", NULL
29116 };
29117
29118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
29119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29120 if (SWIG_arg_fail(1)) SWIG_fail;
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 {
29124 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
29125 result = (wxString *) &_result_ref;
29126 }
29127
29128 wxPyEndAllowThreads(__tstate);
29129 if (PyErr_Occurred()) SWIG_fail;
29130 }
29131 {
29132 #if wxUSE_UNICODE
29133 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29134 #else
29135 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29136 #endif
29137 }
29138 return resultobj;
29139 fail:
29140 return NULL;
29141 }
29142
29143
29144 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
29145 PyObject *resultobj = NULL;
29146 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29147 wxString *arg2 = 0 ;
29148 bool temp2 = false ;
29149 PyObject * obj0 = 0 ;
29150 PyObject * obj1 = 0 ;
29151 char *kwnames[] = {
29152 (char *) "self",(char *) "label", NULL
29153 };
29154
29155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
29156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29157 if (SWIG_arg_fail(1)) SWIG_fail;
29158 {
29159 arg2 = wxString_in_helper(obj1);
29160 if (arg2 == NULL) SWIG_fail;
29161 temp2 = true;
29162 }
29163 {
29164 PyThreadState* __tstate = wxPyBeginAllowThreads();
29165 (arg1)->SetLabel((wxString const &)*arg2);
29166
29167 wxPyEndAllowThreads(__tstate);
29168 if (PyErr_Occurred()) SWIG_fail;
29169 }
29170 Py_INCREF(Py_None); resultobj = Py_None;
29171 {
29172 if (temp2)
29173 delete arg2;
29174 }
29175 return resultobj;
29176 fail:
29177 {
29178 if (temp2)
29179 delete arg2;
29180 }
29181 return NULL;
29182 }
29183
29184
29185 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
29186 PyObject *resultobj = NULL;
29187 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29188 bool result;
29189 PyObject * obj0 = 0 ;
29190 char *kwnames[] = {
29191 (char *) "self", NULL
29192 };
29193
29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
29195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29196 if (SWIG_arg_fail(1)) SWIG_fail;
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 {
29205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29206 }
29207 return resultobj;
29208 fail:
29209 return NULL;
29210 }
29211
29212
29213 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj = NULL;
29215 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29216 bool arg2 ;
29217 PyObject * obj0 = 0 ;
29218 PyObject * obj1 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "editCancelled", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
29224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29225 if (SWIG_arg_fail(1)) SWIG_fail;
29226 {
29227 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
29228 if (SWIG_arg_fail(2)) SWIG_fail;
29229 }
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 (arg1)->SetEditCanceled(arg2);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 Py_INCREF(Py_None); resultobj = Py_None;
29238 return resultobj;
29239 fail:
29240 return NULL;
29241 }
29242
29243
29244 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
29245 PyObject *resultobj = NULL;
29246 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29247 wxString *arg2 = 0 ;
29248 bool temp2 = false ;
29249 PyObject * obj0 = 0 ;
29250 PyObject * obj1 = 0 ;
29251 char *kwnames[] = {
29252 (char *) "self",(char *) "toolTip", NULL
29253 };
29254
29255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
29256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail;
29258 {
29259 arg2 = wxString_in_helper(obj1);
29260 if (arg2 == NULL) SWIG_fail;
29261 temp2 = true;
29262 }
29263 {
29264 PyThreadState* __tstate = wxPyBeginAllowThreads();
29265 (arg1)->SetToolTip((wxString const &)*arg2);
29266
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 Py_INCREF(Py_None); resultobj = Py_None;
29271 {
29272 if (temp2)
29273 delete arg2;
29274 }
29275 return resultobj;
29276 fail:
29277 {
29278 if (temp2)
29279 delete arg2;
29280 }
29281 return NULL;
29282 }
29283
29284
29285 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
29286 PyObject *resultobj = NULL;
29287 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
29288 wxString result;
29289 PyObject * obj0 = 0 ;
29290 char *kwnames[] = {
29291 (char *) "self", NULL
29292 };
29293
29294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
29295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
29296 if (SWIG_arg_fail(1)) SWIG_fail;
29297 {
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 result = (arg1)->GetToolTip();
29300
29301 wxPyEndAllowThreads(__tstate);
29302 if (PyErr_Occurred()) SWIG_fail;
29303 }
29304 {
29305 #if wxUSE_UNICODE
29306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29307 #else
29308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29309 #endif
29310 }
29311 return resultobj;
29312 fail:
29313 return NULL;
29314 }
29315
29316
29317 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
29318 PyObject *obj;
29319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29320 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
29321 Py_INCREF(obj);
29322 return Py_BuildValue((char *)"");
29323 }
29324 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj = NULL;
29326 wxWindow *arg1 = (wxWindow *) 0 ;
29327 int arg2 = (int) -1 ;
29328 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29329 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29330 wxSize const &arg4_defvalue = wxDefaultSize ;
29331 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29332 long arg5 = (long) wxTR_DEFAULT_STYLE ;
29333 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29334 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29335 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
29336 wxString *arg7 = (wxString *) &arg7_defvalue ;
29337 wxPyTreeCtrl *result;
29338 wxPoint temp3 ;
29339 wxSize temp4 ;
29340 bool temp7 = false ;
29341 PyObject * obj0 = 0 ;
29342 PyObject * obj1 = 0 ;
29343 PyObject * obj2 = 0 ;
29344 PyObject * obj3 = 0 ;
29345 PyObject * obj4 = 0 ;
29346 PyObject * obj5 = 0 ;
29347 PyObject * obj6 = 0 ;
29348 char *kwnames[] = {
29349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29350 };
29351
29352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29354 if (SWIG_arg_fail(1)) SWIG_fail;
29355 if (obj1) {
29356 {
29357 arg2 = static_cast<int >(SWIG_As_int(obj1));
29358 if (SWIG_arg_fail(2)) SWIG_fail;
29359 }
29360 }
29361 if (obj2) {
29362 {
29363 arg3 = &temp3;
29364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29365 }
29366 }
29367 if (obj3) {
29368 {
29369 arg4 = &temp4;
29370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29371 }
29372 }
29373 if (obj4) {
29374 {
29375 arg5 = static_cast<long >(SWIG_As_long(obj4));
29376 if (SWIG_arg_fail(5)) SWIG_fail;
29377 }
29378 }
29379 if (obj5) {
29380 {
29381 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29382 if (SWIG_arg_fail(6)) SWIG_fail;
29383 if (arg6 == NULL) {
29384 SWIG_null_ref("wxValidator");
29385 }
29386 if (SWIG_arg_fail(6)) SWIG_fail;
29387 }
29388 }
29389 if (obj6) {
29390 {
29391 arg7 = wxString_in_helper(obj6);
29392 if (arg7 == NULL) SWIG_fail;
29393 temp7 = true;
29394 }
29395 }
29396 {
29397 if (!wxPyCheckForApp()) SWIG_fail;
29398 PyThreadState* __tstate = wxPyBeginAllowThreads();
29399 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29400
29401 wxPyEndAllowThreads(__tstate);
29402 if (PyErr_Occurred()) SWIG_fail;
29403 }
29404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
29405 {
29406 if (temp7)
29407 delete arg7;
29408 }
29409 return resultobj;
29410 fail:
29411 {
29412 if (temp7)
29413 delete arg7;
29414 }
29415 return NULL;
29416 }
29417
29418
29419 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
29420 PyObject *resultobj = NULL;
29421 wxPyTreeCtrl *result;
29422 char *kwnames[] = {
29423 NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
29427 {
29428 if (!wxPyCheckForApp()) SWIG_fail;
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
29431
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
29435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
29436 return resultobj;
29437 fail:
29438 return NULL;
29439 }
29440
29441
29442 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
29443 PyObject *resultobj = NULL;
29444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29445 wxWindow *arg2 = (wxWindow *) 0 ;
29446 int arg3 = (int) -1 ;
29447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29449 wxSize const &arg5_defvalue = wxDefaultSize ;
29450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29451 long arg6 = (long) wxTR_DEFAULT_STYLE ;
29452 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29453 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29454 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
29455 wxString *arg8 = (wxString *) &arg8_defvalue ;
29456 bool result;
29457 wxPoint temp4 ;
29458 wxSize temp5 ;
29459 bool temp8 = false ;
29460 PyObject * obj0 = 0 ;
29461 PyObject * obj1 = 0 ;
29462 PyObject * obj2 = 0 ;
29463 PyObject * obj3 = 0 ;
29464 PyObject * obj4 = 0 ;
29465 PyObject * obj5 = 0 ;
29466 PyObject * obj6 = 0 ;
29467 PyObject * obj7 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
29473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29474 if (SWIG_arg_fail(1)) SWIG_fail;
29475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29476 if (SWIG_arg_fail(2)) SWIG_fail;
29477 if (obj2) {
29478 {
29479 arg3 = static_cast<int >(SWIG_As_int(obj2));
29480 if (SWIG_arg_fail(3)) SWIG_fail;
29481 }
29482 }
29483 if (obj3) {
29484 {
29485 arg4 = &temp4;
29486 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29487 }
29488 }
29489 if (obj4) {
29490 {
29491 arg5 = &temp5;
29492 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29493 }
29494 }
29495 if (obj5) {
29496 {
29497 arg6 = static_cast<long >(SWIG_As_long(obj5));
29498 if (SWIG_arg_fail(6)) SWIG_fail;
29499 }
29500 }
29501 if (obj6) {
29502 {
29503 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29504 if (SWIG_arg_fail(7)) SWIG_fail;
29505 if (arg7 == NULL) {
29506 SWIG_null_ref("wxValidator");
29507 }
29508 if (SWIG_arg_fail(7)) SWIG_fail;
29509 }
29510 }
29511 if (obj7) {
29512 {
29513 arg8 = wxString_in_helper(obj7);
29514 if (arg8 == NULL) SWIG_fail;
29515 temp8 = true;
29516 }
29517 }
29518 {
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29521
29522 wxPyEndAllowThreads(__tstate);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 }
29525 {
29526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29527 }
29528 {
29529 if (temp8)
29530 delete arg8;
29531 }
29532 return resultobj;
29533 fail:
29534 {
29535 if (temp8)
29536 delete arg8;
29537 }
29538 return NULL;
29539 }
29540
29541
29542 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29543 PyObject *resultobj = NULL;
29544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29545 PyObject *arg2 = (PyObject *) 0 ;
29546 PyObject *arg3 = (PyObject *) 0 ;
29547 PyObject * obj0 = 0 ;
29548 PyObject * obj1 = 0 ;
29549 PyObject * obj2 = 0 ;
29550 char *kwnames[] = {
29551 (char *) "self",(char *) "self",(char *) "_class", NULL
29552 };
29553
29554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29556 if (SWIG_arg_fail(1)) SWIG_fail;
29557 arg2 = obj1;
29558 arg3 = obj2;
29559 {
29560 PyThreadState* __tstate = wxPyBeginAllowThreads();
29561 (arg1)->_setCallbackInfo(arg2,arg3);
29562
29563 wxPyEndAllowThreads(__tstate);
29564 if (PyErr_Occurred()) SWIG_fail;
29565 }
29566 Py_INCREF(Py_None); resultobj = Py_None;
29567 return resultobj;
29568 fail:
29569 return NULL;
29570 }
29571
29572
29573 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
29574 PyObject *resultobj = NULL;
29575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29576 size_t result;
29577 PyObject * obj0 = 0 ;
29578 char *kwnames[] = {
29579 (char *) "self", NULL
29580 };
29581
29582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
29583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29584 if (SWIG_arg_fail(1)) SWIG_fail;
29585 {
29586 PyThreadState* __tstate = wxPyBeginAllowThreads();
29587 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
29588
29589 wxPyEndAllowThreads(__tstate);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
29592 {
29593 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
29594 }
29595 return resultobj;
29596 fail:
29597 return NULL;
29598 }
29599
29600
29601 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
29602 PyObject *resultobj = NULL;
29603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29604 unsigned int result;
29605 PyObject * obj0 = 0 ;
29606 char *kwnames[] = {
29607 (char *) "self", NULL
29608 };
29609
29610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
29611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29612 if (SWIG_arg_fail(1)) SWIG_fail;
29613 {
29614 PyThreadState* __tstate = wxPyBeginAllowThreads();
29615 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
29616
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 {
29621 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
29622 }
29623 return resultobj;
29624 fail:
29625 return NULL;
29626 }
29627
29628
29629 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
29630 PyObject *resultobj = NULL;
29631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29632 unsigned int arg2 ;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 char *kwnames[] = {
29636 (char *) "self",(char *) "indent", NULL
29637 };
29638
29639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
29640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail;
29642 {
29643 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
29644 if (SWIG_arg_fail(2)) SWIG_fail;
29645 }
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 (arg1)->SetIndent(arg2);
29649
29650 wxPyEndAllowThreads(__tstate);
29651 if (PyErr_Occurred()) SWIG_fail;
29652 }
29653 Py_INCREF(Py_None); resultobj = Py_None;
29654 return resultobj;
29655 fail:
29656 return NULL;
29657 }
29658
29659
29660 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
29661 PyObject *resultobj = NULL;
29662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29663 unsigned int result;
29664 PyObject * obj0 = 0 ;
29665 char *kwnames[] = {
29666 (char *) "self", NULL
29667 };
29668
29669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
29670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29671 if (SWIG_arg_fail(1)) SWIG_fail;
29672 {
29673 PyThreadState* __tstate = wxPyBeginAllowThreads();
29674 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
29675
29676 wxPyEndAllowThreads(__tstate);
29677 if (PyErr_Occurred()) SWIG_fail;
29678 }
29679 {
29680 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
29681 }
29682 return resultobj;
29683 fail:
29684 return NULL;
29685 }
29686
29687
29688 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
29689 PyObject *resultobj = NULL;
29690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29691 unsigned int arg2 ;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 char *kwnames[] = {
29695 (char *) "self",(char *) "spacing", NULL
29696 };
29697
29698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
29699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail;
29701 {
29702 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
29703 if (SWIG_arg_fail(2)) SWIG_fail;
29704 }
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 (arg1)->SetSpacing(arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 Py_INCREF(Py_None); resultobj = Py_None;
29713 return resultobj;
29714 fail:
29715 return NULL;
29716 }
29717
29718
29719 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29720 PyObject *resultobj = NULL;
29721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29722 wxImageList *result;
29723 PyObject * obj0 = 0 ;
29724 char *kwnames[] = {
29725 (char *) "self", NULL
29726 };
29727
29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
29729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29730 if (SWIG_arg_fail(1)) SWIG_fail;
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
29734
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
29739 resultobj = wxPyMake_wxObject(result, (bool)0);
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744 }
29745
29746
29747 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29748 PyObject *resultobj = NULL;
29749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29750 wxImageList *result;
29751 PyObject * obj0 = 0 ;
29752 char *kwnames[] = {
29753 (char *) "self", NULL
29754 };
29755
29756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
29757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29758 if (SWIG_arg_fail(1)) SWIG_fail;
29759 {
29760 PyThreadState* __tstate = wxPyBeginAllowThreads();
29761 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
29762
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 {
29767 resultobj = wxPyMake_wxObject(result, (bool)0);
29768 }
29769 return resultobj;
29770 fail:
29771 return NULL;
29772 }
29773
29774
29775 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29776 PyObject *resultobj = NULL;
29777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29778 wxImageList *arg2 = (wxImageList *) 0 ;
29779 PyObject * obj0 = 0 ;
29780 PyObject * obj1 = 0 ;
29781 char *kwnames[] = {
29782 (char *) "self",(char *) "imageList", NULL
29783 };
29784
29785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
29786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29787 if (SWIG_arg_fail(1)) SWIG_fail;
29788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29789 if (SWIG_arg_fail(2)) SWIG_fail;
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 (arg1)->SetImageList(arg2);
29793
29794 wxPyEndAllowThreads(__tstate);
29795 if (PyErr_Occurred()) SWIG_fail;
29796 }
29797 Py_INCREF(Py_None); resultobj = Py_None;
29798 return resultobj;
29799 fail:
29800 return NULL;
29801 }
29802
29803
29804 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29805 PyObject *resultobj = NULL;
29806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29807 wxImageList *arg2 = (wxImageList *) 0 ;
29808 PyObject * obj0 = 0 ;
29809 PyObject * obj1 = 0 ;
29810 char *kwnames[] = {
29811 (char *) "self",(char *) "imageList", NULL
29812 };
29813
29814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
29815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29816 if (SWIG_arg_fail(1)) SWIG_fail;
29817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
29818 if (SWIG_arg_fail(2)) SWIG_fail;
29819 {
29820 PyThreadState* __tstate = wxPyBeginAllowThreads();
29821 (arg1)->SetStateImageList(arg2);
29822
29823 wxPyEndAllowThreads(__tstate);
29824 if (PyErr_Occurred()) SWIG_fail;
29825 }
29826 Py_INCREF(Py_None); resultobj = Py_None;
29827 return resultobj;
29828 fail:
29829 return NULL;
29830 }
29831
29832
29833 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29834 PyObject *resultobj = NULL;
29835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29836 wxImageList *arg2 = (wxImageList *) 0 ;
29837 PyObject * obj0 = 0 ;
29838 PyObject * obj1 = 0 ;
29839 char *kwnames[] = {
29840 (char *) "self",(char *) "imageList", NULL
29841 };
29842
29843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
29844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail;
29846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29847 if (SWIG_arg_fail(2)) SWIG_fail;
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 (arg1)->AssignImageList(arg2);
29851
29852 wxPyEndAllowThreads(__tstate);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 Py_INCREF(Py_None); resultobj = Py_None;
29856 return resultobj;
29857 fail:
29858 return NULL;
29859 }
29860
29861
29862 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
29863 PyObject *resultobj = NULL;
29864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29865 wxImageList *arg2 = (wxImageList *) 0 ;
29866 PyObject * obj0 = 0 ;
29867 PyObject * obj1 = 0 ;
29868 char *kwnames[] = {
29869 (char *) "self",(char *) "imageList", NULL
29870 };
29871
29872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
29873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29874 if (SWIG_arg_fail(1)) SWIG_fail;
29875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29876 if (SWIG_arg_fail(2)) SWIG_fail;
29877 {
29878 PyThreadState* __tstate = wxPyBeginAllowThreads();
29879 (arg1)->AssignStateImageList(arg2);
29880
29881 wxPyEndAllowThreads(__tstate);
29882 if (PyErr_Occurred()) SWIG_fail;
29883 }
29884 Py_INCREF(Py_None); resultobj = Py_None;
29885 return resultobj;
29886 fail:
29887 return NULL;
29888 }
29889
29890
29891 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
29892 PyObject *resultobj = NULL;
29893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29894 wxTreeItemId *arg2 = 0 ;
29895 wxString result;
29896 PyObject * obj0 = 0 ;
29897 PyObject * obj1 = 0 ;
29898 char *kwnames[] = {
29899 (char *) "self",(char *) "item", NULL
29900 };
29901
29902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
29903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail;
29905 {
29906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29907 if (SWIG_arg_fail(2)) SWIG_fail;
29908 if (arg2 == NULL) {
29909 SWIG_null_ref("wxTreeItemId");
29910 }
29911 if (SWIG_arg_fail(2)) SWIG_fail;
29912 }
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
29916
29917 wxPyEndAllowThreads(__tstate);
29918 if (PyErr_Occurred()) SWIG_fail;
29919 }
29920 {
29921 #if wxUSE_UNICODE
29922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29923 #else
29924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29925 #endif
29926 }
29927 return resultobj;
29928 fail:
29929 return NULL;
29930 }
29931
29932
29933 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
29934 PyObject *resultobj = NULL;
29935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29936 wxTreeItemId *arg2 = 0 ;
29937 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
29938 int result;
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 PyObject * obj2 = 0 ;
29942 char *kwnames[] = {
29943 (char *) "self",(char *) "item",(char *) "which", NULL
29944 };
29945
29946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29948 if (SWIG_arg_fail(1)) SWIG_fail;
29949 {
29950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29951 if (SWIG_arg_fail(2)) SWIG_fail;
29952 if (arg2 == NULL) {
29953 SWIG_null_ref("wxTreeItemId");
29954 }
29955 if (SWIG_arg_fail(2)) SWIG_fail;
29956 }
29957 if (obj2) {
29958 {
29959 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
29960 if (SWIG_arg_fail(3)) SWIG_fail;
29961 }
29962 }
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
29965 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
29966
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
29970 {
29971 resultobj = SWIG_From_int(static_cast<int >(result));
29972 }
29973 return resultobj;
29974 fail:
29975 return NULL;
29976 }
29977
29978
29979 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
29980 PyObject *resultobj = NULL;
29981 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29982 wxTreeItemId *arg2 = 0 ;
29983 wxPyTreeItemData *result;
29984 PyObject * obj0 = 0 ;
29985 PyObject * obj1 = 0 ;
29986 char *kwnames[] = {
29987 (char *) "self",(char *) "item", NULL
29988 };
29989
29990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
29991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29992 if (SWIG_arg_fail(1)) SWIG_fail;
29993 {
29994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29995 if (SWIG_arg_fail(2)) SWIG_fail;
29996 if (arg2 == NULL) {
29997 SWIG_null_ref("wxTreeItemId");
29998 }
29999 if (SWIG_arg_fail(2)) SWIG_fail;
30000 }
30001 {
30002 PyThreadState* __tstate = wxPyBeginAllowThreads();
30003 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
30004
30005 wxPyEndAllowThreads(__tstate);
30006 if (PyErr_Occurred()) SWIG_fail;
30007 }
30008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
30009 return resultobj;
30010 fail:
30011 return NULL;
30012 }
30013
30014
30015 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
30016 PyObject *resultobj = NULL;
30017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30018 wxTreeItemId *arg2 = 0 ;
30019 PyObject *result;
30020 PyObject * obj0 = 0 ;
30021 PyObject * obj1 = 0 ;
30022 char *kwnames[] = {
30023 (char *) "self",(char *) "item", NULL
30024 };
30025
30026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
30027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30028 if (SWIG_arg_fail(1)) SWIG_fail;
30029 {
30030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30031 if (SWIG_arg_fail(2)) SWIG_fail;
30032 if (arg2 == NULL) {
30033 SWIG_null_ref("wxTreeItemId");
30034 }
30035 if (SWIG_arg_fail(2)) SWIG_fail;
30036 }
30037 {
30038 PyThreadState* __tstate = wxPyBeginAllowThreads();
30039 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
30040
30041 wxPyEndAllowThreads(__tstate);
30042 if (PyErr_Occurred()) SWIG_fail;
30043 }
30044 resultobj = result;
30045 return resultobj;
30046 fail:
30047 return NULL;
30048 }
30049
30050
30051 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
30052 PyObject *resultobj = NULL;
30053 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30054 wxTreeItemId *arg2 = 0 ;
30055 wxColour result;
30056 PyObject * obj0 = 0 ;
30057 PyObject * obj1 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self",(char *) "item", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
30063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30064 if (SWIG_arg_fail(1)) SWIG_fail;
30065 {
30066 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30067 if (SWIG_arg_fail(2)) SWIG_fail;
30068 if (arg2 == NULL) {
30069 SWIG_null_ref("wxTreeItemId");
30070 }
30071 if (SWIG_arg_fail(2)) SWIG_fail;
30072 }
30073 {
30074 PyThreadState* __tstate = wxPyBeginAllowThreads();
30075 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
30076
30077 wxPyEndAllowThreads(__tstate);
30078 if (PyErr_Occurred()) SWIG_fail;
30079 }
30080 {
30081 wxColour * resultptr;
30082 resultptr = new wxColour(static_cast<wxColour & >(result));
30083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30084 }
30085 return resultobj;
30086 fail:
30087 return NULL;
30088 }
30089
30090
30091 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
30092 PyObject *resultobj = NULL;
30093 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30094 wxTreeItemId *arg2 = 0 ;
30095 wxColour result;
30096 PyObject * obj0 = 0 ;
30097 PyObject * obj1 = 0 ;
30098 char *kwnames[] = {
30099 (char *) "self",(char *) "item", NULL
30100 };
30101
30102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
30103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30104 if (SWIG_arg_fail(1)) SWIG_fail;
30105 {
30106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30107 if (SWIG_arg_fail(2)) SWIG_fail;
30108 if (arg2 == NULL) {
30109 SWIG_null_ref("wxTreeItemId");
30110 }
30111 if (SWIG_arg_fail(2)) SWIG_fail;
30112 }
30113 {
30114 PyThreadState* __tstate = wxPyBeginAllowThreads();
30115 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
30116
30117 wxPyEndAllowThreads(__tstate);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 }
30120 {
30121 wxColour * resultptr;
30122 resultptr = new wxColour(static_cast<wxColour & >(result));
30123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
30124 }
30125 return resultobj;
30126 fail:
30127 return NULL;
30128 }
30129
30130
30131 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
30132 PyObject *resultobj = NULL;
30133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30134 wxTreeItemId *arg2 = 0 ;
30135 wxFont result;
30136 PyObject * obj0 = 0 ;
30137 PyObject * obj1 = 0 ;
30138 char *kwnames[] = {
30139 (char *) "self",(char *) "item", NULL
30140 };
30141
30142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
30143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail;
30145 {
30146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30147 if (SWIG_arg_fail(2)) SWIG_fail;
30148 if (arg2 == NULL) {
30149 SWIG_null_ref("wxTreeItemId");
30150 }
30151 if (SWIG_arg_fail(2)) SWIG_fail;
30152 }
30153 {
30154 PyThreadState* __tstate = wxPyBeginAllowThreads();
30155 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
30156
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 {
30161 wxFont * resultptr;
30162 resultptr = new wxFont(static_cast<wxFont & >(result));
30163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30164 }
30165 return resultobj;
30166 fail:
30167 return NULL;
30168 }
30169
30170
30171 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj = NULL;
30173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30174 wxTreeItemId *arg2 = 0 ;
30175 wxString *arg3 = 0 ;
30176 bool temp3 = false ;
30177 PyObject * obj0 = 0 ;
30178 PyObject * obj1 = 0 ;
30179 PyObject * obj2 = 0 ;
30180 char *kwnames[] = {
30181 (char *) "self",(char *) "item",(char *) "text", NULL
30182 };
30183
30184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
30185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail;
30187 {
30188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30189 if (SWIG_arg_fail(2)) SWIG_fail;
30190 if (arg2 == NULL) {
30191 SWIG_null_ref("wxTreeItemId");
30192 }
30193 if (SWIG_arg_fail(2)) SWIG_fail;
30194 }
30195 {
30196 arg3 = wxString_in_helper(obj2);
30197 if (arg3 == NULL) SWIG_fail;
30198 temp3 = true;
30199 }
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
30203
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 Py_INCREF(Py_None); resultobj = Py_None;
30208 {
30209 if (temp3)
30210 delete arg3;
30211 }
30212 return resultobj;
30213 fail:
30214 {
30215 if (temp3)
30216 delete arg3;
30217 }
30218 return NULL;
30219 }
30220
30221
30222 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
30223 PyObject *resultobj = NULL;
30224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30225 wxTreeItemId *arg2 = 0 ;
30226 int arg3 ;
30227 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
30228 PyObject * obj0 = 0 ;
30229 PyObject * obj1 = 0 ;
30230 PyObject * obj2 = 0 ;
30231 PyObject * obj3 = 0 ;
30232 char *kwnames[] = {
30233 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
30234 };
30235
30236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30238 if (SWIG_arg_fail(1)) SWIG_fail;
30239 {
30240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30241 if (SWIG_arg_fail(2)) SWIG_fail;
30242 if (arg2 == NULL) {
30243 SWIG_null_ref("wxTreeItemId");
30244 }
30245 if (SWIG_arg_fail(2)) SWIG_fail;
30246 }
30247 {
30248 arg3 = static_cast<int >(SWIG_As_int(obj2));
30249 if (SWIG_arg_fail(3)) SWIG_fail;
30250 }
30251 if (obj3) {
30252 {
30253 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
30254 if (SWIG_arg_fail(4)) SWIG_fail;
30255 }
30256 }
30257 {
30258 PyThreadState* __tstate = wxPyBeginAllowThreads();
30259 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
30260
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 Py_INCREF(Py_None); resultobj = Py_None;
30265 return resultobj;
30266 fail:
30267 return NULL;
30268 }
30269
30270
30271 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
30272 PyObject *resultobj = NULL;
30273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30274 wxTreeItemId *arg2 = 0 ;
30275 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
30276 PyObject * obj0 = 0 ;
30277 PyObject * obj1 = 0 ;
30278 PyObject * obj2 = 0 ;
30279 char *kwnames[] = {
30280 (char *) "self",(char *) "item",(char *) "data", NULL
30281 };
30282
30283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
30284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail;
30286 {
30287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30288 if (SWIG_arg_fail(2)) SWIG_fail;
30289 if (arg2 == NULL) {
30290 SWIG_null_ref("wxTreeItemId");
30291 }
30292 if (SWIG_arg_fail(2)) SWIG_fail;
30293 }
30294 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30295 if (SWIG_arg_fail(3)) SWIG_fail;
30296 {
30297 PyThreadState* __tstate = wxPyBeginAllowThreads();
30298 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
30299
30300 wxPyEndAllowThreads(__tstate);
30301 if (PyErr_Occurred()) SWIG_fail;
30302 }
30303 Py_INCREF(Py_None); resultobj = Py_None;
30304 return resultobj;
30305 fail:
30306 return NULL;
30307 }
30308
30309
30310 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
30311 PyObject *resultobj = NULL;
30312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30313 wxTreeItemId *arg2 = 0 ;
30314 PyObject *arg3 = (PyObject *) 0 ;
30315 PyObject * obj0 = 0 ;
30316 PyObject * obj1 = 0 ;
30317 PyObject * obj2 = 0 ;
30318 char *kwnames[] = {
30319 (char *) "self",(char *) "item",(char *) "obj", NULL
30320 };
30321
30322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
30323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail;
30325 {
30326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30327 if (SWIG_arg_fail(2)) SWIG_fail;
30328 if (arg2 == NULL) {
30329 SWIG_null_ref("wxTreeItemId");
30330 }
30331 if (SWIG_arg_fail(2)) SWIG_fail;
30332 }
30333 arg3 = obj2;
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
30337
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 Py_INCREF(Py_None); resultobj = Py_None;
30342 return resultobj;
30343 fail:
30344 return NULL;
30345 }
30346
30347
30348 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30349 PyObject *resultobj = NULL;
30350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30351 wxTreeItemId *arg2 = 0 ;
30352 bool arg3 = (bool) true ;
30353 PyObject * obj0 = 0 ;
30354 PyObject * obj1 = 0 ;
30355 PyObject * obj2 = 0 ;
30356 char *kwnames[] = {
30357 (char *) "self",(char *) "item",(char *) "has", NULL
30358 };
30359
30360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
30361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30362 if (SWIG_arg_fail(1)) SWIG_fail;
30363 {
30364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30365 if (SWIG_arg_fail(2)) SWIG_fail;
30366 if (arg2 == NULL) {
30367 SWIG_null_ref("wxTreeItemId");
30368 }
30369 if (SWIG_arg_fail(2)) SWIG_fail;
30370 }
30371 if (obj2) {
30372 {
30373 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30374 if (SWIG_arg_fail(3)) SWIG_fail;
30375 }
30376 }
30377 {
30378 PyThreadState* __tstate = wxPyBeginAllowThreads();
30379 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
30380
30381 wxPyEndAllowThreads(__tstate);
30382 if (PyErr_Occurred()) SWIG_fail;
30383 }
30384 Py_INCREF(Py_None); resultobj = Py_None;
30385 return resultobj;
30386 fail:
30387 return NULL;
30388 }
30389
30390
30391 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
30392 PyObject *resultobj = NULL;
30393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30394 wxTreeItemId *arg2 = 0 ;
30395 bool arg3 = (bool) true ;
30396 PyObject * obj0 = 0 ;
30397 PyObject * obj1 = 0 ;
30398 PyObject * obj2 = 0 ;
30399 char *kwnames[] = {
30400 (char *) "self",(char *) "item",(char *) "bold", NULL
30401 };
30402
30403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
30404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail;
30406 {
30407 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30408 if (SWIG_arg_fail(2)) SWIG_fail;
30409 if (arg2 == NULL) {
30410 SWIG_null_ref("wxTreeItemId");
30411 }
30412 if (SWIG_arg_fail(2)) SWIG_fail;
30413 }
30414 if (obj2) {
30415 {
30416 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30417 if (SWIG_arg_fail(3)) SWIG_fail;
30418 }
30419 }
30420 {
30421 PyThreadState* __tstate = wxPyBeginAllowThreads();
30422 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
30423
30424 wxPyEndAllowThreads(__tstate);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 }
30427 Py_INCREF(Py_None); resultobj = Py_None;
30428 return resultobj;
30429 fail:
30430 return NULL;
30431 }
30432
30433
30434 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
30435 PyObject *resultobj = NULL;
30436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30437 wxTreeItemId *arg2 = 0 ;
30438 bool arg3 = (bool) true ;
30439 PyObject * obj0 = 0 ;
30440 PyObject * obj1 = 0 ;
30441 PyObject * obj2 = 0 ;
30442 char *kwnames[] = {
30443 (char *) "self",(char *) "item",(char *) "highlight", NULL
30444 };
30445
30446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
30447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30448 if (SWIG_arg_fail(1)) SWIG_fail;
30449 {
30450 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30451 if (SWIG_arg_fail(2)) SWIG_fail;
30452 if (arg2 == NULL) {
30453 SWIG_null_ref("wxTreeItemId");
30454 }
30455 if (SWIG_arg_fail(2)) SWIG_fail;
30456 }
30457 if (obj2) {
30458 {
30459 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30460 if (SWIG_arg_fail(3)) SWIG_fail;
30461 }
30462 }
30463 {
30464 PyThreadState* __tstate = wxPyBeginAllowThreads();
30465 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
30466
30467 wxPyEndAllowThreads(__tstate);
30468 if (PyErr_Occurred()) SWIG_fail;
30469 }
30470 Py_INCREF(Py_None); resultobj = Py_None;
30471 return resultobj;
30472 fail:
30473 return NULL;
30474 }
30475
30476
30477 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
30478 PyObject *resultobj = NULL;
30479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30480 wxTreeItemId *arg2 = 0 ;
30481 wxColour *arg3 = 0 ;
30482 wxColour temp3 ;
30483 PyObject * obj0 = 0 ;
30484 PyObject * obj1 = 0 ;
30485 PyObject * obj2 = 0 ;
30486 char *kwnames[] = {
30487 (char *) "self",(char *) "item",(char *) "col", NULL
30488 };
30489
30490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
30491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail;
30493 {
30494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30495 if (SWIG_arg_fail(2)) SWIG_fail;
30496 if (arg2 == NULL) {
30497 SWIG_null_ref("wxTreeItemId");
30498 }
30499 if (SWIG_arg_fail(2)) SWIG_fail;
30500 }
30501 {
30502 arg3 = &temp3;
30503 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30504 }
30505 {
30506 PyThreadState* __tstate = wxPyBeginAllowThreads();
30507 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30508
30509 wxPyEndAllowThreads(__tstate);
30510 if (PyErr_Occurred()) SWIG_fail;
30511 }
30512 Py_INCREF(Py_None); resultobj = Py_None;
30513 return resultobj;
30514 fail:
30515 return NULL;
30516 }
30517
30518
30519 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
30520 PyObject *resultobj = NULL;
30521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30522 wxTreeItemId *arg2 = 0 ;
30523 wxColour *arg3 = 0 ;
30524 wxColour temp3 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 PyObject * obj2 = 0 ;
30528 char *kwnames[] = {
30529 (char *) "self",(char *) "item",(char *) "col", NULL
30530 };
30531
30532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
30533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30534 if (SWIG_arg_fail(1)) SWIG_fail;
30535 {
30536 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30537 if (SWIG_arg_fail(2)) SWIG_fail;
30538 if (arg2 == NULL) {
30539 SWIG_null_ref("wxTreeItemId");
30540 }
30541 if (SWIG_arg_fail(2)) SWIG_fail;
30542 }
30543 {
30544 arg3 = &temp3;
30545 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
30546 }
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
30550
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 Py_INCREF(Py_None); resultobj = Py_None;
30555 return resultobj;
30556 fail:
30557 return NULL;
30558 }
30559
30560
30561 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj = NULL;
30563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30564 wxTreeItemId *arg2 = 0 ;
30565 wxFont *arg3 = 0 ;
30566 PyObject * obj0 = 0 ;
30567 PyObject * obj1 = 0 ;
30568 PyObject * obj2 = 0 ;
30569 char *kwnames[] = {
30570 (char *) "self",(char *) "item",(char *) "font", NULL
30571 };
30572
30573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
30574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail;
30576 {
30577 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30578 if (SWIG_arg_fail(2)) SWIG_fail;
30579 if (arg2 == NULL) {
30580 SWIG_null_ref("wxTreeItemId");
30581 }
30582 if (SWIG_arg_fail(2)) SWIG_fail;
30583 }
30584 {
30585 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30586 if (SWIG_arg_fail(3)) SWIG_fail;
30587 if (arg3 == NULL) {
30588 SWIG_null_ref("wxFont");
30589 }
30590 if (SWIG_arg_fail(3)) SWIG_fail;
30591 }
30592 {
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
30595
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 Py_INCREF(Py_None); resultobj = Py_None;
30600 return resultobj;
30601 fail:
30602 return NULL;
30603 }
30604
30605
30606 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30607 PyObject *resultobj = NULL;
30608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30609 wxTreeItemId *arg2 = 0 ;
30610 bool result;
30611 PyObject * obj0 = 0 ;
30612 PyObject * obj1 = 0 ;
30613 char *kwnames[] = {
30614 (char *) "self",(char *) "item", NULL
30615 };
30616
30617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
30618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail;
30620 {
30621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30622 if (SWIG_arg_fail(2)) SWIG_fail;
30623 if (arg2 == NULL) {
30624 SWIG_null_ref("wxTreeItemId");
30625 }
30626 if (SWIG_arg_fail(2)) SWIG_fail;
30627 }
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
30631
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 {
30636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30637 }
30638 return resultobj;
30639 fail:
30640 return NULL;
30641 }
30642
30643
30644 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30645 PyObject *resultobj = NULL;
30646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30647 wxTreeItemId *arg2 = 0 ;
30648 bool result;
30649 PyObject * obj0 = 0 ;
30650 PyObject * obj1 = 0 ;
30651 char *kwnames[] = {
30652 (char *) "self",(char *) "item", NULL
30653 };
30654
30655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
30656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail;
30658 {
30659 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30660 if (SWIG_arg_fail(2)) SWIG_fail;
30661 if (arg2 == NULL) {
30662 SWIG_null_ref("wxTreeItemId");
30663 }
30664 if (SWIG_arg_fail(2)) SWIG_fail;
30665 }
30666 {
30667 PyThreadState* __tstate = wxPyBeginAllowThreads();
30668 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
30669
30670 wxPyEndAllowThreads(__tstate);
30671 if (PyErr_Occurred()) SWIG_fail;
30672 }
30673 {
30674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30675 }
30676 return resultobj;
30677 fail:
30678 return NULL;
30679 }
30680
30681
30682 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
30683 PyObject *resultobj = NULL;
30684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30685 wxTreeItemId *arg2 = 0 ;
30686 bool result;
30687 PyObject * obj0 = 0 ;
30688 PyObject * obj1 = 0 ;
30689 char *kwnames[] = {
30690 (char *) "self",(char *) "item", NULL
30691 };
30692
30693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
30694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail;
30696 {
30697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30698 if (SWIG_arg_fail(2)) SWIG_fail;
30699 if (arg2 == NULL) {
30700 SWIG_null_ref("wxTreeItemId");
30701 }
30702 if (SWIG_arg_fail(2)) SWIG_fail;
30703 }
30704 {
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 {
30712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30713 }
30714 return resultobj;
30715 fail:
30716 return NULL;
30717 }
30718
30719
30720 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
30721 PyObject *resultobj = NULL;
30722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30723 wxTreeItemId *arg2 = 0 ;
30724 bool result;
30725 PyObject * obj0 = 0 ;
30726 PyObject * obj1 = 0 ;
30727 char *kwnames[] = {
30728 (char *) "self",(char *) "item", NULL
30729 };
30730
30731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
30732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30733 if (SWIG_arg_fail(1)) SWIG_fail;
30734 {
30735 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30736 if (SWIG_arg_fail(2)) SWIG_fail;
30737 if (arg2 == NULL) {
30738 SWIG_null_ref("wxTreeItemId");
30739 }
30740 if (SWIG_arg_fail(2)) SWIG_fail;
30741 }
30742 {
30743 PyThreadState* __tstate = wxPyBeginAllowThreads();
30744 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
30745
30746 wxPyEndAllowThreads(__tstate);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 {
30750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30751 }
30752 return resultobj;
30753 fail:
30754 return NULL;
30755 }
30756
30757
30758 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
30759 PyObject *resultobj = NULL;
30760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30761 wxTreeItemId *arg2 = 0 ;
30762 bool result;
30763 PyObject * obj0 = 0 ;
30764 PyObject * obj1 = 0 ;
30765 char *kwnames[] = {
30766 (char *) "self",(char *) "item", NULL
30767 };
30768
30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
30770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail;
30772 {
30773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30774 if (SWIG_arg_fail(2)) SWIG_fail;
30775 if (arg2 == NULL) {
30776 SWIG_null_ref("wxTreeItemId");
30777 }
30778 if (SWIG_arg_fail(2)) SWIG_fail;
30779 }
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
30783
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 {
30788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30789 }
30790 return resultobj;
30791 fail:
30792 return NULL;
30793 }
30794
30795
30796 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
30797 PyObject *resultobj = NULL;
30798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30799 wxTreeItemId *arg2 = 0 ;
30800 bool arg3 = (bool) true ;
30801 size_t result;
30802 PyObject * obj0 = 0 ;
30803 PyObject * obj1 = 0 ;
30804 PyObject * obj2 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "self",(char *) "item",(char *) "recursively", NULL
30807 };
30808
30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
30810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail;
30812 {
30813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30814 if (SWIG_arg_fail(2)) SWIG_fail;
30815 if (arg2 == NULL) {
30816 SWIG_null_ref("wxTreeItemId");
30817 }
30818 if (SWIG_arg_fail(2)) SWIG_fail;
30819 }
30820 if (obj2) {
30821 {
30822 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30823 if (SWIG_arg_fail(3)) SWIG_fail;
30824 }
30825 }
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
30828 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
30829
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
30833 {
30834 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
30835 }
30836 return resultobj;
30837 fail:
30838 return NULL;
30839 }
30840
30841
30842 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj = NULL;
30844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30845 wxTreeItemId result;
30846 PyObject * obj0 = 0 ;
30847 char *kwnames[] = {
30848 (char *) "self", NULL
30849 };
30850
30851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
30852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail;
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 {
30862 wxTreeItemId * resultptr;
30863 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30865 }
30866 return resultobj;
30867 fail:
30868 return NULL;
30869 }
30870
30871
30872 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30873 PyObject *resultobj = NULL;
30874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30875 wxTreeItemId result;
30876 PyObject * obj0 = 0 ;
30877 char *kwnames[] = {
30878 (char *) "self", NULL
30879 };
30880
30881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
30882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail;
30884 {
30885 PyThreadState* __tstate = wxPyBeginAllowThreads();
30886 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
30887
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 {
30892 wxTreeItemId * resultptr;
30893 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30895 }
30896 return resultobj;
30897 fail:
30898 return NULL;
30899 }
30900
30901
30902 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
30903 PyObject *resultobj = NULL;
30904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30905 PyObject *result;
30906 PyObject * obj0 = 0 ;
30907 char *kwnames[] = {
30908 (char *) "self", NULL
30909 };
30910
30911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
30912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30913 if (SWIG_arg_fail(1)) SWIG_fail;
30914 {
30915 PyThreadState* __tstate = wxPyBeginAllowThreads();
30916 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
30917
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 resultobj = result;
30922 return resultobj;
30923 fail:
30924 return NULL;
30925 }
30926
30927
30928 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
30929 PyObject *resultobj = NULL;
30930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30931 wxTreeItemId *arg2 = 0 ;
30932 wxTreeItemId result;
30933 PyObject * obj0 = 0 ;
30934 PyObject * obj1 = 0 ;
30935 char *kwnames[] = {
30936 (char *) "self",(char *) "item", NULL
30937 };
30938
30939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
30940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30941 if (SWIG_arg_fail(1)) SWIG_fail;
30942 {
30943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30944 if (SWIG_arg_fail(2)) SWIG_fail;
30945 if (arg2 == NULL) {
30946 SWIG_null_ref("wxTreeItemId");
30947 }
30948 if (SWIG_arg_fail(2)) SWIG_fail;
30949 }
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
30953
30954 wxPyEndAllowThreads(__tstate);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
30957 {
30958 wxTreeItemId * resultptr;
30959 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30961 }
30962 return resultobj;
30963 fail:
30964 return NULL;
30965 }
30966
30967
30968 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
30969 PyObject *resultobj = NULL;
30970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30971 wxTreeItemId *arg2 = 0 ;
30972 PyObject *result;
30973 PyObject * obj0 = 0 ;
30974 PyObject * obj1 = 0 ;
30975 char *kwnames[] = {
30976 (char *) "self",(char *) "item", NULL
30977 };
30978
30979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
30980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail;
30982 {
30983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30984 if (SWIG_arg_fail(2)) SWIG_fail;
30985 if (arg2 == NULL) {
30986 SWIG_null_ref("wxTreeItemId");
30987 }
30988 if (SWIG_arg_fail(2)) SWIG_fail;
30989 }
30990 {
30991 PyThreadState* __tstate = wxPyBeginAllowThreads();
30992 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
30993
30994 wxPyEndAllowThreads(__tstate);
30995 if (PyErr_Occurred()) SWIG_fail;
30996 }
30997 resultobj = result;
30998 return resultobj;
30999 fail:
31000 return NULL;
31001 }
31002
31003
31004 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
31005 PyObject *resultobj = NULL;
31006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31007 wxTreeItemId *arg2 = 0 ;
31008 void *arg3 = (void *) 0 ;
31009 PyObject *result;
31010 PyObject * obj0 = 0 ;
31011 PyObject * obj1 = 0 ;
31012 PyObject * obj2 = 0 ;
31013 char *kwnames[] = {
31014 (char *) "self",(char *) "item",(char *) "cookie", NULL
31015 };
31016
31017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail;
31020 {
31021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31022 if (SWIG_arg_fail(2)) SWIG_fail;
31023 if (arg2 == NULL) {
31024 SWIG_null_ref("wxTreeItemId");
31025 }
31026 if (SWIG_arg_fail(2)) SWIG_fail;
31027 }
31028 {
31029 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
31030 SWIG_arg_fail(3);SWIG_fail;
31031 }
31032 }
31033 {
31034 PyThreadState* __tstate = wxPyBeginAllowThreads();
31035 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
31036
31037 wxPyEndAllowThreads(__tstate);
31038 if (PyErr_Occurred()) SWIG_fail;
31039 }
31040 resultobj = result;
31041 return resultobj;
31042 fail:
31043 return NULL;
31044 }
31045
31046
31047 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
31048 PyObject *resultobj = NULL;
31049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31050 wxTreeItemId *arg2 = 0 ;
31051 wxTreeItemId result;
31052 PyObject * obj0 = 0 ;
31053 PyObject * obj1 = 0 ;
31054 char *kwnames[] = {
31055 (char *) "self",(char *) "item", NULL
31056 };
31057
31058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
31059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31060 if (SWIG_arg_fail(1)) SWIG_fail;
31061 {
31062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31063 if (SWIG_arg_fail(2)) SWIG_fail;
31064 if (arg2 == NULL) {
31065 SWIG_null_ref("wxTreeItemId");
31066 }
31067 if (SWIG_arg_fail(2)) SWIG_fail;
31068 }
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
31072
31073 wxPyEndAllowThreads(__tstate);
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
31076 {
31077 wxTreeItemId * resultptr;
31078 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31080 }
31081 return resultobj;
31082 fail:
31083 return NULL;
31084 }
31085
31086
31087 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
31088 PyObject *resultobj = NULL;
31089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31090 wxTreeItemId *arg2 = 0 ;
31091 wxTreeItemId result;
31092 PyObject * obj0 = 0 ;
31093 PyObject * obj1 = 0 ;
31094 char *kwnames[] = {
31095 (char *) "self",(char *) "item", NULL
31096 };
31097
31098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
31099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail;
31101 {
31102 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31103 if (SWIG_arg_fail(2)) SWIG_fail;
31104 if (arg2 == NULL) {
31105 SWIG_null_ref("wxTreeItemId");
31106 }
31107 if (SWIG_arg_fail(2)) SWIG_fail;
31108 }
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 {
31117 wxTreeItemId * resultptr;
31118 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31120 }
31121 return resultobj;
31122 fail:
31123 return NULL;
31124 }
31125
31126
31127 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
31128 PyObject *resultobj = NULL;
31129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31130 wxTreeItemId *arg2 = 0 ;
31131 wxTreeItemId result;
31132 PyObject * obj0 = 0 ;
31133 PyObject * obj1 = 0 ;
31134 char *kwnames[] = {
31135 (char *) "self",(char *) "item", NULL
31136 };
31137
31138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
31139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail;
31141 {
31142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31143 if (SWIG_arg_fail(2)) SWIG_fail;
31144 if (arg2 == NULL) {
31145 SWIG_null_ref("wxTreeItemId");
31146 }
31147 if (SWIG_arg_fail(2)) SWIG_fail;
31148 }
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
31156 {
31157 wxTreeItemId * resultptr;
31158 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31160 }
31161 return resultobj;
31162 fail:
31163 return NULL;
31164 }
31165
31166
31167 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
31168 PyObject *resultobj = NULL;
31169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31170 wxTreeItemId result;
31171 PyObject * obj0 = 0 ;
31172 char *kwnames[] = {
31173 (char *) "self", NULL
31174 };
31175
31176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
31177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31178 if (SWIG_arg_fail(1)) SWIG_fail;
31179 {
31180 PyThreadState* __tstate = wxPyBeginAllowThreads();
31181 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
31182
31183 wxPyEndAllowThreads(__tstate);
31184 if (PyErr_Occurred()) SWIG_fail;
31185 }
31186 {
31187 wxTreeItemId * resultptr;
31188 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31190 }
31191 return resultobj;
31192 fail:
31193 return NULL;
31194 }
31195
31196
31197 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31198 PyObject *resultobj = NULL;
31199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31200 wxTreeItemId *arg2 = 0 ;
31201 wxTreeItemId result;
31202 PyObject * obj0 = 0 ;
31203 PyObject * obj1 = 0 ;
31204 char *kwnames[] = {
31205 (char *) "self",(char *) "item", NULL
31206 };
31207
31208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
31209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31210 if (SWIG_arg_fail(1)) SWIG_fail;
31211 {
31212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31213 if (SWIG_arg_fail(2)) SWIG_fail;
31214 if (arg2 == NULL) {
31215 SWIG_null_ref("wxTreeItemId");
31216 }
31217 if (SWIG_arg_fail(2)) SWIG_fail;
31218 }
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 {
31227 wxTreeItemId * resultptr;
31228 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31230 }
31231 return resultobj;
31232 fail:
31233 return NULL;
31234 }
31235
31236
31237 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
31238 PyObject *resultobj = NULL;
31239 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31240 wxTreeItemId *arg2 = 0 ;
31241 wxTreeItemId result;
31242 PyObject * obj0 = 0 ;
31243 PyObject * obj1 = 0 ;
31244 char *kwnames[] = {
31245 (char *) "self",(char *) "item", NULL
31246 };
31247
31248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
31249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31250 if (SWIG_arg_fail(1)) SWIG_fail;
31251 {
31252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31253 if (SWIG_arg_fail(2)) SWIG_fail;
31254 if (arg2 == NULL) {
31255 SWIG_null_ref("wxTreeItemId");
31256 }
31257 if (SWIG_arg_fail(2)) SWIG_fail;
31258 }
31259 {
31260 PyThreadState* __tstate = wxPyBeginAllowThreads();
31261 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
31262
31263 wxPyEndAllowThreads(__tstate);
31264 if (PyErr_Occurred()) SWIG_fail;
31265 }
31266 {
31267 wxTreeItemId * resultptr;
31268 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31270 }
31271 return resultobj;
31272 fail:
31273 return NULL;
31274 }
31275
31276
31277 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
31278 PyObject *resultobj = NULL;
31279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31280 wxString *arg2 = 0 ;
31281 int arg3 = (int) -1 ;
31282 int arg4 = (int) -1 ;
31283 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
31284 wxTreeItemId result;
31285 bool temp2 = false ;
31286 PyObject * obj0 = 0 ;
31287 PyObject * obj1 = 0 ;
31288 PyObject * obj2 = 0 ;
31289 PyObject * obj3 = 0 ;
31290 PyObject * obj4 = 0 ;
31291 char *kwnames[] = {
31292 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31293 };
31294
31295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31297 if (SWIG_arg_fail(1)) SWIG_fail;
31298 {
31299 arg2 = wxString_in_helper(obj1);
31300 if (arg2 == NULL) SWIG_fail;
31301 temp2 = true;
31302 }
31303 if (obj2) {
31304 {
31305 arg3 = static_cast<int >(SWIG_As_int(obj2));
31306 if (SWIG_arg_fail(3)) SWIG_fail;
31307 }
31308 }
31309 if (obj3) {
31310 {
31311 arg4 = static_cast<int >(SWIG_As_int(obj3));
31312 if (SWIG_arg_fail(4)) SWIG_fail;
31313 }
31314 }
31315 if (obj4) {
31316 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31317 if (SWIG_arg_fail(5)) SWIG_fail;
31318 }
31319 {
31320 PyThreadState* __tstate = wxPyBeginAllowThreads();
31321 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
31322
31323 wxPyEndAllowThreads(__tstate);
31324 if (PyErr_Occurred()) SWIG_fail;
31325 }
31326 {
31327 wxTreeItemId * resultptr;
31328 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31330 }
31331 {
31332 if (temp2)
31333 delete arg2;
31334 }
31335 return resultobj;
31336 fail:
31337 {
31338 if (temp2)
31339 delete arg2;
31340 }
31341 return NULL;
31342 }
31343
31344
31345 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
31346 PyObject *resultobj = NULL;
31347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31348 wxTreeItemId *arg2 = 0 ;
31349 wxString *arg3 = 0 ;
31350 int arg4 = (int) -1 ;
31351 int arg5 = (int) -1 ;
31352 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31353 wxTreeItemId result;
31354 bool temp3 = false ;
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 PyObject * obj2 = 0 ;
31358 PyObject * obj3 = 0 ;
31359 PyObject * obj4 = 0 ;
31360 PyObject * obj5 = 0 ;
31361 char *kwnames[] = {
31362 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31363 };
31364
31365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31367 if (SWIG_arg_fail(1)) SWIG_fail;
31368 {
31369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31370 if (SWIG_arg_fail(2)) SWIG_fail;
31371 if (arg2 == NULL) {
31372 SWIG_null_ref("wxTreeItemId");
31373 }
31374 if (SWIG_arg_fail(2)) SWIG_fail;
31375 }
31376 {
31377 arg3 = wxString_in_helper(obj2);
31378 if (arg3 == NULL) SWIG_fail;
31379 temp3 = true;
31380 }
31381 if (obj3) {
31382 {
31383 arg4 = static_cast<int >(SWIG_As_int(obj3));
31384 if (SWIG_arg_fail(4)) SWIG_fail;
31385 }
31386 }
31387 if (obj4) {
31388 {
31389 arg5 = static_cast<int >(SWIG_As_int(obj4));
31390 if (SWIG_arg_fail(5)) SWIG_fail;
31391 }
31392 }
31393 if (obj5) {
31394 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31395 if (SWIG_arg_fail(6)) SWIG_fail;
31396 }
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31400
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 {
31405 wxTreeItemId * resultptr;
31406 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31408 }
31409 {
31410 if (temp3)
31411 delete arg3;
31412 }
31413 return resultobj;
31414 fail:
31415 {
31416 if (temp3)
31417 delete arg3;
31418 }
31419 return NULL;
31420 }
31421
31422
31423 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
31424 PyObject *resultobj = NULL;
31425 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31426 wxTreeItemId *arg2 = 0 ;
31427 wxTreeItemId *arg3 = 0 ;
31428 wxString *arg4 = 0 ;
31429 int arg5 = (int) -1 ;
31430 int arg6 = (int) -1 ;
31431 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31432 wxTreeItemId result;
31433 bool temp4 = false ;
31434 PyObject * obj0 = 0 ;
31435 PyObject * obj1 = 0 ;
31436 PyObject * obj2 = 0 ;
31437 PyObject * obj3 = 0 ;
31438 PyObject * obj4 = 0 ;
31439 PyObject * obj5 = 0 ;
31440 PyObject * obj6 = 0 ;
31441 char *kwnames[] = {
31442 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31443 };
31444
31445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31447 if (SWIG_arg_fail(1)) SWIG_fail;
31448 {
31449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31450 if (SWIG_arg_fail(2)) SWIG_fail;
31451 if (arg2 == NULL) {
31452 SWIG_null_ref("wxTreeItemId");
31453 }
31454 if (SWIG_arg_fail(2)) SWIG_fail;
31455 }
31456 {
31457 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31458 if (SWIG_arg_fail(3)) SWIG_fail;
31459 if (arg3 == NULL) {
31460 SWIG_null_ref("wxTreeItemId");
31461 }
31462 if (SWIG_arg_fail(3)) SWIG_fail;
31463 }
31464 {
31465 arg4 = wxString_in_helper(obj3);
31466 if (arg4 == NULL) SWIG_fail;
31467 temp4 = true;
31468 }
31469 if (obj4) {
31470 {
31471 arg5 = static_cast<int >(SWIG_As_int(obj4));
31472 if (SWIG_arg_fail(5)) SWIG_fail;
31473 }
31474 }
31475 if (obj5) {
31476 {
31477 arg6 = static_cast<int >(SWIG_As_int(obj5));
31478 if (SWIG_arg_fail(6)) SWIG_fail;
31479 }
31480 }
31481 if (obj6) {
31482 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31483 if (SWIG_arg_fail(7)) SWIG_fail;
31484 }
31485 {
31486 PyThreadState* __tstate = wxPyBeginAllowThreads();
31487 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31488
31489 wxPyEndAllowThreads(__tstate);
31490 if (PyErr_Occurred()) SWIG_fail;
31491 }
31492 {
31493 wxTreeItemId * resultptr;
31494 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31496 }
31497 {
31498 if (temp4)
31499 delete arg4;
31500 }
31501 return resultobj;
31502 fail:
31503 {
31504 if (temp4)
31505 delete arg4;
31506 }
31507 return NULL;
31508 }
31509
31510
31511 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
31512 PyObject *resultobj = NULL;
31513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31514 wxTreeItemId *arg2 = 0 ;
31515 size_t arg3 ;
31516 wxString *arg4 = 0 ;
31517 int arg5 = (int) -1 ;
31518 int arg6 = (int) -1 ;
31519 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
31520 wxTreeItemId result;
31521 bool temp4 = false ;
31522 PyObject * obj0 = 0 ;
31523 PyObject * obj1 = 0 ;
31524 PyObject * obj2 = 0 ;
31525 PyObject * obj3 = 0 ;
31526 PyObject * obj4 = 0 ;
31527 PyObject * obj5 = 0 ;
31528 PyObject * obj6 = 0 ;
31529 char *kwnames[] = {
31530 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31531 };
31532
31533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail;
31536 {
31537 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31538 if (SWIG_arg_fail(2)) SWIG_fail;
31539 if (arg2 == NULL) {
31540 SWIG_null_ref("wxTreeItemId");
31541 }
31542 if (SWIG_arg_fail(2)) SWIG_fail;
31543 }
31544 {
31545 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
31546 if (SWIG_arg_fail(3)) SWIG_fail;
31547 }
31548 {
31549 arg4 = wxString_in_helper(obj3);
31550 if (arg4 == NULL) SWIG_fail;
31551 temp4 = true;
31552 }
31553 if (obj4) {
31554 {
31555 arg5 = static_cast<int >(SWIG_As_int(obj4));
31556 if (SWIG_arg_fail(5)) SWIG_fail;
31557 }
31558 }
31559 if (obj5) {
31560 {
31561 arg6 = static_cast<int >(SWIG_As_int(obj5));
31562 if (SWIG_arg_fail(6)) SWIG_fail;
31563 }
31564 }
31565 if (obj6) {
31566 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31567 if (SWIG_arg_fail(7)) SWIG_fail;
31568 }
31569 {
31570 PyThreadState* __tstate = wxPyBeginAllowThreads();
31571 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
31572
31573 wxPyEndAllowThreads(__tstate);
31574 if (PyErr_Occurred()) SWIG_fail;
31575 }
31576 {
31577 wxTreeItemId * resultptr;
31578 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31580 }
31581 {
31582 if (temp4)
31583 delete arg4;
31584 }
31585 return resultobj;
31586 fail:
31587 {
31588 if (temp4)
31589 delete arg4;
31590 }
31591 return NULL;
31592 }
31593
31594
31595 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
31596 PyObject *resultobj = NULL;
31597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31598 wxTreeItemId *arg2 = 0 ;
31599 wxString *arg3 = 0 ;
31600 int arg4 = (int) -1 ;
31601 int arg5 = (int) -1 ;
31602 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
31603 wxTreeItemId result;
31604 bool temp3 = false ;
31605 PyObject * obj0 = 0 ;
31606 PyObject * obj1 = 0 ;
31607 PyObject * obj2 = 0 ;
31608 PyObject * obj3 = 0 ;
31609 PyObject * obj4 = 0 ;
31610 PyObject * obj5 = 0 ;
31611 char *kwnames[] = {
31612 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
31613 };
31614
31615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31617 if (SWIG_arg_fail(1)) SWIG_fail;
31618 {
31619 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31620 if (SWIG_arg_fail(2)) SWIG_fail;
31621 if (arg2 == NULL) {
31622 SWIG_null_ref("wxTreeItemId");
31623 }
31624 if (SWIG_arg_fail(2)) SWIG_fail;
31625 }
31626 {
31627 arg3 = wxString_in_helper(obj2);
31628 if (arg3 == NULL) SWIG_fail;
31629 temp3 = true;
31630 }
31631 if (obj3) {
31632 {
31633 arg4 = static_cast<int >(SWIG_As_int(obj3));
31634 if (SWIG_arg_fail(4)) SWIG_fail;
31635 }
31636 }
31637 if (obj4) {
31638 {
31639 arg5 = static_cast<int >(SWIG_As_int(obj4));
31640 if (SWIG_arg_fail(5)) SWIG_fail;
31641 }
31642 }
31643 if (obj5) {
31644 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31645 if (SWIG_arg_fail(6)) SWIG_fail;
31646 }
31647 {
31648 PyThreadState* __tstate = wxPyBeginAllowThreads();
31649 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
31650
31651 wxPyEndAllowThreads(__tstate);
31652 if (PyErr_Occurred()) SWIG_fail;
31653 }
31654 {
31655 wxTreeItemId * resultptr;
31656 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31658 }
31659 {
31660 if (temp3)
31661 delete arg3;
31662 }
31663 return resultobj;
31664 fail:
31665 {
31666 if (temp3)
31667 delete arg3;
31668 }
31669 return NULL;
31670 }
31671
31672
31673 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
31674 PyObject *resultobj = NULL;
31675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31676 wxTreeItemId *arg2 = 0 ;
31677 PyObject * obj0 = 0 ;
31678 PyObject * obj1 = 0 ;
31679 char *kwnames[] = {
31680 (char *) "self",(char *) "item", NULL
31681 };
31682
31683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
31684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31685 if (SWIG_arg_fail(1)) SWIG_fail;
31686 {
31687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31688 if (SWIG_arg_fail(2)) SWIG_fail;
31689 if (arg2 == NULL) {
31690 SWIG_null_ref("wxTreeItemId");
31691 }
31692 if (SWIG_arg_fail(2)) SWIG_fail;
31693 }
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 (arg1)->Delete((wxTreeItemId const &)*arg2);
31697
31698 wxPyEndAllowThreads(__tstate);
31699 if (PyErr_Occurred()) SWIG_fail;
31700 }
31701 Py_INCREF(Py_None); resultobj = Py_None;
31702 return resultobj;
31703 fail:
31704 return NULL;
31705 }
31706
31707
31708 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
31709 PyObject *resultobj = NULL;
31710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31711 wxTreeItemId *arg2 = 0 ;
31712 PyObject * obj0 = 0 ;
31713 PyObject * obj1 = 0 ;
31714 char *kwnames[] = {
31715 (char *) "self",(char *) "item", NULL
31716 };
31717
31718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
31719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail;
31721 {
31722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31723 if (SWIG_arg_fail(2)) SWIG_fail;
31724 if (arg2 == NULL) {
31725 SWIG_null_ref("wxTreeItemId");
31726 }
31727 if (SWIG_arg_fail(2)) SWIG_fail;
31728 }
31729 {
31730 PyThreadState* __tstate = wxPyBeginAllowThreads();
31731 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
31732
31733 wxPyEndAllowThreads(__tstate);
31734 if (PyErr_Occurred()) SWIG_fail;
31735 }
31736 Py_INCREF(Py_None); resultobj = Py_None;
31737 return resultobj;
31738 fail:
31739 return NULL;
31740 }
31741
31742
31743 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
31744 PyObject *resultobj = NULL;
31745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31746 PyObject * obj0 = 0 ;
31747 char *kwnames[] = {
31748 (char *) "self", NULL
31749 };
31750
31751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
31752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31753 if (SWIG_arg_fail(1)) SWIG_fail;
31754 {
31755 PyThreadState* __tstate = wxPyBeginAllowThreads();
31756 (arg1)->DeleteAllItems();
31757
31758 wxPyEndAllowThreads(__tstate);
31759 if (PyErr_Occurred()) SWIG_fail;
31760 }
31761 Py_INCREF(Py_None); resultobj = Py_None;
31762 return resultobj;
31763 fail:
31764 return NULL;
31765 }
31766
31767
31768 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
31769 PyObject *resultobj = NULL;
31770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31771 wxTreeItemId *arg2 = 0 ;
31772 PyObject * obj0 = 0 ;
31773 PyObject * obj1 = 0 ;
31774 char *kwnames[] = {
31775 (char *) "self",(char *) "item", NULL
31776 };
31777
31778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
31779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail;
31781 {
31782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31783 if (SWIG_arg_fail(2)) SWIG_fail;
31784 if (arg2 == NULL) {
31785 SWIG_null_ref("wxTreeItemId");
31786 }
31787 if (SWIG_arg_fail(2)) SWIG_fail;
31788 }
31789 {
31790 PyThreadState* __tstate = wxPyBeginAllowThreads();
31791 (arg1)->Expand((wxTreeItemId const &)*arg2);
31792
31793 wxPyEndAllowThreads(__tstate);
31794 if (PyErr_Occurred()) SWIG_fail;
31795 }
31796 Py_INCREF(Py_None); resultobj = Py_None;
31797 return resultobj;
31798 fail:
31799 return NULL;
31800 }
31801
31802
31803 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
31804 PyObject *resultobj = NULL;
31805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31806 wxTreeItemId *arg2 = 0 ;
31807 PyObject * obj0 = 0 ;
31808 PyObject * obj1 = 0 ;
31809 char *kwnames[] = {
31810 (char *) "self",(char *) "item", NULL
31811 };
31812
31813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
31814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31815 if (SWIG_arg_fail(1)) SWIG_fail;
31816 {
31817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31818 if (SWIG_arg_fail(2)) SWIG_fail;
31819 if (arg2 == NULL) {
31820 SWIG_null_ref("wxTreeItemId");
31821 }
31822 if (SWIG_arg_fail(2)) SWIG_fail;
31823 }
31824 {
31825 PyThreadState* __tstate = wxPyBeginAllowThreads();
31826 (arg1)->Collapse((wxTreeItemId const &)*arg2);
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_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
31839 PyObject *resultobj = NULL;
31840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31841 wxTreeItemId *arg2 = 0 ;
31842 PyObject * obj0 = 0 ;
31843 PyObject * obj1 = 0 ;
31844 char *kwnames[] = {
31845 (char *) "self",(char *) "item", NULL
31846 };
31847
31848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
31849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail;
31851 {
31852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31853 if (SWIG_arg_fail(2)) SWIG_fail;
31854 if (arg2 == NULL) {
31855 SWIG_null_ref("wxTreeItemId");
31856 }
31857 if (SWIG_arg_fail(2)) SWIG_fail;
31858 }
31859 {
31860 PyThreadState* __tstate = wxPyBeginAllowThreads();
31861 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
31862
31863 wxPyEndAllowThreads(__tstate);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 }
31866 Py_INCREF(Py_None); resultobj = Py_None;
31867 return resultobj;
31868 fail:
31869 return NULL;
31870 }
31871
31872
31873 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
31874 PyObject *resultobj = NULL;
31875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31876 wxTreeItemId *arg2 = 0 ;
31877 PyObject * obj0 = 0 ;
31878 PyObject * obj1 = 0 ;
31879 char *kwnames[] = {
31880 (char *) "self",(char *) "item", NULL
31881 };
31882
31883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
31884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31885 if (SWIG_arg_fail(1)) SWIG_fail;
31886 {
31887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31888 if (SWIG_arg_fail(2)) SWIG_fail;
31889 if (arg2 == NULL) {
31890 SWIG_null_ref("wxTreeItemId");
31891 }
31892 if (SWIG_arg_fail(2)) SWIG_fail;
31893 }
31894 {
31895 PyThreadState* __tstate = wxPyBeginAllowThreads();
31896 (arg1)->Toggle((wxTreeItemId const &)*arg2);
31897
31898 wxPyEndAllowThreads(__tstate);
31899 if (PyErr_Occurred()) SWIG_fail;
31900 }
31901 Py_INCREF(Py_None); resultobj = Py_None;
31902 return resultobj;
31903 fail:
31904 return NULL;
31905 }
31906
31907
31908 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
31909 PyObject *resultobj = NULL;
31910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31911 PyObject * obj0 = 0 ;
31912 char *kwnames[] = {
31913 (char *) "self", NULL
31914 };
31915
31916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
31917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail;
31919 {
31920 PyThreadState* __tstate = wxPyBeginAllowThreads();
31921 (arg1)->Unselect();
31922
31923 wxPyEndAllowThreads(__tstate);
31924 if (PyErr_Occurred()) SWIG_fail;
31925 }
31926 Py_INCREF(Py_None); resultobj = Py_None;
31927 return resultobj;
31928 fail:
31929 return NULL;
31930 }
31931
31932
31933 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
31934 PyObject *resultobj = NULL;
31935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31936 wxTreeItemId *arg2 = 0 ;
31937 PyObject * obj0 = 0 ;
31938 PyObject * obj1 = 0 ;
31939 char *kwnames[] = {
31940 (char *) "self",(char *) "item", NULL
31941 };
31942
31943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
31944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31945 if (SWIG_arg_fail(1)) SWIG_fail;
31946 {
31947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31948 if (SWIG_arg_fail(2)) SWIG_fail;
31949 if (arg2 == NULL) {
31950 SWIG_null_ref("wxTreeItemId");
31951 }
31952 if (SWIG_arg_fail(2)) SWIG_fail;
31953 }
31954 {
31955 PyThreadState* __tstate = wxPyBeginAllowThreads();
31956 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
31957
31958 wxPyEndAllowThreads(__tstate);
31959 if (PyErr_Occurred()) SWIG_fail;
31960 }
31961 Py_INCREF(Py_None); resultobj = Py_None;
31962 return resultobj;
31963 fail:
31964 return NULL;
31965 }
31966
31967
31968 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
31969 PyObject *resultobj = NULL;
31970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31971 PyObject * obj0 = 0 ;
31972 char *kwnames[] = {
31973 (char *) "self", NULL
31974 };
31975
31976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
31977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31978 if (SWIG_arg_fail(1)) SWIG_fail;
31979 {
31980 PyThreadState* __tstate = wxPyBeginAllowThreads();
31981 (arg1)->UnselectAll();
31982
31983 wxPyEndAllowThreads(__tstate);
31984 if (PyErr_Occurred()) SWIG_fail;
31985 }
31986 Py_INCREF(Py_None); resultobj = Py_None;
31987 return resultobj;
31988 fail:
31989 return NULL;
31990 }
31991
31992
31993 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
31994 PyObject *resultobj = NULL;
31995 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31996 wxTreeItemId *arg2 = 0 ;
31997 bool arg3 = (bool) true ;
31998 PyObject * obj0 = 0 ;
31999 PyObject * obj1 = 0 ;
32000 PyObject * obj2 = 0 ;
32001 char *kwnames[] = {
32002 (char *) "self",(char *) "item",(char *) "select", NULL
32003 };
32004
32005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
32006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32007 if (SWIG_arg_fail(1)) SWIG_fail;
32008 {
32009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32010 if (SWIG_arg_fail(2)) SWIG_fail;
32011 if (arg2 == NULL) {
32012 SWIG_null_ref("wxTreeItemId");
32013 }
32014 if (SWIG_arg_fail(2)) SWIG_fail;
32015 }
32016 if (obj2) {
32017 {
32018 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
32019 if (SWIG_arg_fail(3)) SWIG_fail;
32020 }
32021 }
32022 {
32023 PyThreadState* __tstate = wxPyBeginAllowThreads();
32024 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
32025
32026 wxPyEndAllowThreads(__tstate);
32027 if (PyErr_Occurred()) SWIG_fail;
32028 }
32029 Py_INCREF(Py_None); resultobj = Py_None;
32030 return resultobj;
32031 fail:
32032 return NULL;
32033 }
32034
32035
32036 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32037 PyObject *resultobj = NULL;
32038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32039 wxTreeItemId *arg2 = 0 ;
32040 PyObject * obj0 = 0 ;
32041 PyObject * obj1 = 0 ;
32042 char *kwnames[] = {
32043 (char *) "self",(char *) "item", NULL
32044 };
32045
32046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
32047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32048 if (SWIG_arg_fail(1)) SWIG_fail;
32049 {
32050 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32051 if (SWIG_arg_fail(2)) SWIG_fail;
32052 if (arg2 == NULL) {
32053 SWIG_null_ref("wxTreeItemId");
32054 }
32055 if (SWIG_arg_fail(2)) SWIG_fail;
32056 }
32057 {
32058 PyThreadState* __tstate = wxPyBeginAllowThreads();
32059 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
32060
32061 wxPyEndAllowThreads(__tstate);
32062 if (PyErr_Occurred()) SWIG_fail;
32063 }
32064 Py_INCREF(Py_None); resultobj = Py_None;
32065 return resultobj;
32066 fail:
32067 return NULL;
32068 }
32069
32070
32071 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32072 PyObject *resultobj = NULL;
32073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32074 wxTreeItemId *arg2 = 0 ;
32075 PyObject * obj0 = 0 ;
32076 PyObject * obj1 = 0 ;
32077 char *kwnames[] = {
32078 (char *) "self",(char *) "item", NULL
32079 };
32080
32081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
32082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32083 if (SWIG_arg_fail(1)) SWIG_fail;
32084 {
32085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32086 if (SWIG_arg_fail(2)) SWIG_fail;
32087 if (arg2 == NULL) {
32088 SWIG_null_ref("wxTreeItemId");
32089 }
32090 if (SWIG_arg_fail(2)) SWIG_fail;
32091 }
32092 {
32093 PyThreadState* __tstate = wxPyBeginAllowThreads();
32094 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
32095
32096 wxPyEndAllowThreads(__tstate);
32097 if (PyErr_Occurred()) SWIG_fail;
32098 }
32099 Py_INCREF(Py_None); resultobj = Py_None;
32100 return resultobj;
32101 fail:
32102 return NULL;
32103 }
32104
32105
32106 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
32107 PyObject *resultobj = NULL;
32108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32109 wxTreeItemId *arg2 = 0 ;
32110 PyObject * obj0 = 0 ;
32111 PyObject * obj1 = 0 ;
32112 char *kwnames[] = {
32113 (char *) "self",(char *) "item", NULL
32114 };
32115
32116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
32117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail;
32119 {
32120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32121 if (SWIG_arg_fail(2)) SWIG_fail;
32122 if (arg2 == NULL) {
32123 SWIG_null_ref("wxTreeItemId");
32124 }
32125 if (SWIG_arg_fail(2)) SWIG_fail;
32126 }
32127 {
32128 PyThreadState* __tstate = wxPyBeginAllowThreads();
32129 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
32130
32131 wxPyEndAllowThreads(__tstate);
32132 if (PyErr_Occurred()) SWIG_fail;
32133 }
32134 Py_INCREF(Py_None); resultobj = Py_None;
32135 return resultobj;
32136 fail:
32137 return NULL;
32138 }
32139
32140
32141 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32142 PyObject *resultobj = NULL;
32143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32144 wxTreeItemId *arg2 = 0 ;
32145 PyObject * obj0 = 0 ;
32146 PyObject * obj1 = 0 ;
32147 char *kwnames[] = {
32148 (char *) "self",(char *) "item", NULL
32149 };
32150
32151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
32152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32153 if (SWIG_arg_fail(1)) SWIG_fail;
32154 {
32155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32156 if (SWIG_arg_fail(2)) SWIG_fail;
32157 if (arg2 == NULL) {
32158 SWIG_null_ref("wxTreeItemId");
32159 }
32160 if (SWIG_arg_fail(2)) SWIG_fail;
32161 }
32162 {
32163 PyThreadState* __tstate = wxPyBeginAllowThreads();
32164 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
32165
32166 wxPyEndAllowThreads(__tstate);
32167 if (PyErr_Occurred()) SWIG_fail;
32168 }
32169 Py_INCREF(Py_None); resultobj = Py_None;
32170 return resultobj;
32171 fail:
32172 return NULL;
32173 }
32174
32175
32176 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
32177 PyObject *resultobj = NULL;
32178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32179 wxTextCtrl *result;
32180 PyObject * obj0 = 0 ;
32181 char *kwnames[] = {
32182 (char *) "self", NULL
32183 };
32184
32185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
32186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32187 if (SWIG_arg_fail(1)) SWIG_fail;
32188 {
32189 PyThreadState* __tstate = wxPyBeginAllowThreads();
32190 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
32191
32192 wxPyEndAllowThreads(__tstate);
32193 if (PyErr_Occurred()) SWIG_fail;
32194 }
32195 {
32196 resultobj = wxPyMake_wxObject(result, 0);
32197 }
32198 return resultobj;
32199 fail:
32200 return NULL;
32201 }
32202
32203
32204 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32205 PyObject *resultobj = NULL;
32206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32207 wxTreeItemId *arg2 = 0 ;
32208 bool arg3 = (bool) false ;
32209 PyObject * obj0 = 0 ;
32210 PyObject * obj1 = 0 ;
32211 PyObject * obj2 = 0 ;
32212 char *kwnames[] = {
32213 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
32214 };
32215
32216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
32217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32218 if (SWIG_arg_fail(1)) SWIG_fail;
32219 {
32220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32221 if (SWIG_arg_fail(2)) SWIG_fail;
32222 if (arg2 == NULL) {
32223 SWIG_null_ref("wxTreeItemId");
32224 }
32225 if (SWIG_arg_fail(2)) SWIG_fail;
32226 }
32227 if (obj2) {
32228 {
32229 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
32230 if (SWIG_arg_fail(3)) SWIG_fail;
32231 }
32232 }
32233 {
32234 PyThreadState* __tstate = wxPyBeginAllowThreads();
32235 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
32236
32237 wxPyEndAllowThreads(__tstate);
32238 if (PyErr_Occurred()) SWIG_fail;
32239 }
32240 Py_INCREF(Py_None); resultobj = Py_None;
32241 return resultobj;
32242 fail:
32243 return NULL;
32244 }
32245
32246
32247 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32248 PyObject *resultobj = NULL;
32249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32250 wxTreeItemId *arg2 = 0 ;
32251 PyObject * obj0 = 0 ;
32252 PyObject * obj1 = 0 ;
32253 char *kwnames[] = {
32254 (char *) "self",(char *) "item", NULL
32255 };
32256
32257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
32258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail;
32260 {
32261 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32262 if (SWIG_arg_fail(2)) SWIG_fail;
32263 if (arg2 == NULL) {
32264 SWIG_null_ref("wxTreeItemId");
32265 }
32266 if (SWIG_arg_fail(2)) SWIG_fail;
32267 }
32268 {
32269 PyThreadState* __tstate = wxPyBeginAllowThreads();
32270 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
32271
32272 wxPyEndAllowThreads(__tstate);
32273 if (PyErr_Occurred()) SWIG_fail;
32274 }
32275 Py_INCREF(Py_None); resultobj = Py_None;
32276 return resultobj;
32277 fail:
32278 return NULL;
32279 }
32280
32281
32282 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32283 PyObject *resultobj = NULL;
32284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32285 wxPoint *arg2 = 0 ;
32286 int *arg3 = 0 ;
32287 wxTreeItemId result;
32288 wxPoint temp2 ;
32289 int temp3 ;
32290 int res3 = 0 ;
32291 PyObject * obj0 = 0 ;
32292 PyObject * obj1 = 0 ;
32293 char *kwnames[] = {
32294 (char *) "self",(char *) "point", NULL
32295 };
32296
32297 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
32299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32300 if (SWIG_arg_fail(1)) SWIG_fail;
32301 {
32302 arg2 = &temp2;
32303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32304 }
32305 {
32306 PyThreadState* __tstate = wxPyBeginAllowThreads();
32307 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
32308
32309 wxPyEndAllowThreads(__tstate);
32310 if (PyErr_Occurred()) SWIG_fail;
32311 }
32312 {
32313 wxTreeItemId * resultptr;
32314 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
32315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32316 }
32317 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32318 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32319 return resultobj;
32320 fail:
32321 return NULL;
32322 }
32323
32324
32325 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32326 PyObject *resultobj = NULL;
32327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32328 wxTreeItemId *arg2 = 0 ;
32329 bool arg3 = (bool) false ;
32330 PyObject *result;
32331 PyObject * obj0 = 0 ;
32332 PyObject * obj1 = 0 ;
32333 PyObject * obj2 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self",(char *) "item",(char *) "textOnly", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
32339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail;
32341 {
32342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32343 if (SWIG_arg_fail(2)) SWIG_fail;
32344 if (arg2 == NULL) {
32345 SWIG_null_ref("wxTreeItemId");
32346 }
32347 if (SWIG_arg_fail(2)) SWIG_fail;
32348 }
32349 if (obj2) {
32350 {
32351 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
32352 if (SWIG_arg_fail(3)) SWIG_fail;
32353 }
32354 }
32355 {
32356 PyThreadState* __tstate = wxPyBeginAllowThreads();
32357 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
32358
32359 wxPyEndAllowThreads(__tstate);
32360 if (PyErr_Occurred()) SWIG_fail;
32361 }
32362 resultobj = result;
32363 return resultobj;
32364 fail:
32365 return NULL;
32366 }
32367
32368
32369 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
32370 PyObject *resultobj = NULL;
32371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32372 wxTreeItemId *arg2 = 0 ;
32373 int arg3 ;
32374 PyObject * obj0 = 0 ;
32375 PyObject * obj1 = 0 ;
32376 PyObject * obj2 = 0 ;
32377 char *kwnames[] = {
32378 (char *) "self",(char *) "node",(char *) "state", NULL
32379 };
32380
32381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
32382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32383 if (SWIG_arg_fail(1)) SWIG_fail;
32384 {
32385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32386 if (SWIG_arg_fail(2)) SWIG_fail;
32387 if (arg2 == NULL) {
32388 SWIG_null_ref("wxTreeItemId");
32389 }
32390 if (SWIG_arg_fail(2)) SWIG_fail;
32391 }
32392 {
32393 arg3 = static_cast<int >(SWIG_As_int(obj2));
32394 if (SWIG_arg_fail(3)) SWIG_fail;
32395 }
32396 {
32397 PyThreadState* __tstate = wxPyBeginAllowThreads();
32398 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
32399
32400 wxPyEndAllowThreads(__tstate);
32401 if (PyErr_Occurred()) SWIG_fail;
32402 }
32403 Py_INCREF(Py_None); resultobj = Py_None;
32404 return resultobj;
32405 fail:
32406 return NULL;
32407 }
32408
32409
32410 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
32411 PyObject *resultobj = NULL;
32412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
32413 wxTreeItemId *arg2 = 0 ;
32414 int result;
32415 PyObject * obj0 = 0 ;
32416 PyObject * obj1 = 0 ;
32417 char *kwnames[] = {
32418 (char *) "self",(char *) "node", NULL
32419 };
32420
32421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
32422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail;
32424 {
32425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
32426 if (SWIG_arg_fail(2)) SWIG_fail;
32427 if (arg2 == NULL) {
32428 SWIG_null_ref("wxTreeItemId");
32429 }
32430 if (SWIG_arg_fail(2)) SWIG_fail;
32431 }
32432 {
32433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32434 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
32435
32436 wxPyEndAllowThreads(__tstate);
32437 if (PyErr_Occurred()) SWIG_fail;
32438 }
32439 {
32440 resultobj = SWIG_From_int(static_cast<int >(result));
32441 }
32442 return resultobj;
32443 fail:
32444 return NULL;
32445 }
32446
32447
32448 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32449 PyObject *resultobj = NULL;
32450 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32451 wxVisualAttributes result;
32452 PyObject * obj0 = 0 ;
32453 char *kwnames[] = {
32454 (char *) "variant", NULL
32455 };
32456
32457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32458 if (obj0) {
32459 {
32460 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
32461 if (SWIG_arg_fail(1)) SWIG_fail;
32462 }
32463 }
32464 {
32465 if (!wxPyCheckForApp()) SWIG_fail;
32466 PyThreadState* __tstate = wxPyBeginAllowThreads();
32467 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
32468
32469 wxPyEndAllowThreads(__tstate);
32470 if (PyErr_Occurred()) SWIG_fail;
32471 }
32472 {
32473 wxVisualAttributes * resultptr;
32474 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
32475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32476 }
32477 return resultobj;
32478 fail:
32479 return NULL;
32480 }
32481
32482
32483 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
32484 PyObject *obj;
32485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32486 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
32487 Py_INCREF(obj);
32488 return Py_BuildValue((char *)"");
32489 }
32490 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
32491 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
32492 return 1;
32493 }
32494
32495
32496 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
32497 PyObject *pyobj = NULL;
32498
32499 {
32500 #if wxUSE_UNICODE
32501 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32502 #else
32503 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
32504 #endif
32505 }
32506 return pyobj;
32507 }
32508
32509
32510 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32511 PyObject *resultobj = NULL;
32512 wxWindow *arg1 = (wxWindow *) 0 ;
32513 int arg2 = (int) (int)-1 ;
32514 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
32515 wxString *arg3 = (wxString *) &arg3_defvalue ;
32516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32518 wxSize const &arg5_defvalue = wxDefaultSize ;
32519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32520 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32521 wxString const &arg7_defvalue = wxPyEmptyString ;
32522 wxString *arg7 = (wxString *) &arg7_defvalue ;
32523 int arg8 = (int) 0 ;
32524 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
32525 wxString *arg9 = (wxString *) &arg9_defvalue ;
32526 wxGenericDirCtrl *result;
32527 bool temp3 = false ;
32528 wxPoint temp4 ;
32529 wxSize temp5 ;
32530 bool temp7 = false ;
32531 bool temp9 = false ;
32532 PyObject * obj0 = 0 ;
32533 PyObject * obj1 = 0 ;
32534 PyObject * obj2 = 0 ;
32535 PyObject * obj3 = 0 ;
32536 PyObject * obj4 = 0 ;
32537 PyObject * obj5 = 0 ;
32538 PyObject * obj6 = 0 ;
32539 PyObject * obj7 = 0 ;
32540 PyObject * obj8 = 0 ;
32541 char *kwnames[] = {
32542 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32543 };
32544
32545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
32546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32547 if (SWIG_arg_fail(1)) SWIG_fail;
32548 if (obj1) {
32549 {
32550 arg2 = static_cast<int const >(SWIG_As_int(obj1));
32551 if (SWIG_arg_fail(2)) SWIG_fail;
32552 }
32553 }
32554 if (obj2) {
32555 {
32556 arg3 = wxString_in_helper(obj2);
32557 if (arg3 == NULL) SWIG_fail;
32558 temp3 = true;
32559 }
32560 }
32561 if (obj3) {
32562 {
32563 arg4 = &temp4;
32564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32565 }
32566 }
32567 if (obj4) {
32568 {
32569 arg5 = &temp5;
32570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32571 }
32572 }
32573 if (obj5) {
32574 {
32575 arg6 = static_cast<long >(SWIG_As_long(obj5));
32576 if (SWIG_arg_fail(6)) SWIG_fail;
32577 }
32578 }
32579 if (obj6) {
32580 {
32581 arg7 = wxString_in_helper(obj6);
32582 if (arg7 == NULL) SWIG_fail;
32583 temp7 = true;
32584 }
32585 }
32586 if (obj7) {
32587 {
32588 arg8 = static_cast<int >(SWIG_As_int(obj7));
32589 if (SWIG_arg_fail(8)) SWIG_fail;
32590 }
32591 }
32592 if (obj8) {
32593 {
32594 arg9 = wxString_in_helper(obj8);
32595 if (arg9 == NULL) SWIG_fail;
32596 temp9 = true;
32597 }
32598 }
32599 {
32600 if (!wxPyCheckForApp()) SWIG_fail;
32601 PyThreadState* __tstate = wxPyBeginAllowThreads();
32602 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
32603
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32608 {
32609 if (temp3)
32610 delete arg3;
32611 }
32612 {
32613 if (temp7)
32614 delete arg7;
32615 }
32616 {
32617 if (temp9)
32618 delete arg9;
32619 }
32620 return resultobj;
32621 fail:
32622 {
32623 if (temp3)
32624 delete arg3;
32625 }
32626 {
32627 if (temp7)
32628 delete arg7;
32629 }
32630 {
32631 if (temp9)
32632 delete arg9;
32633 }
32634 return NULL;
32635 }
32636
32637
32638 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32639 PyObject *resultobj = NULL;
32640 wxGenericDirCtrl *result;
32641 char *kwnames[] = {
32642 NULL
32643 };
32644
32645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
32646 {
32647 if (!wxPyCheckForApp()) SWIG_fail;
32648 PyThreadState* __tstate = wxPyBeginAllowThreads();
32649 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
32650
32651 wxPyEndAllowThreads(__tstate);
32652 if (PyErr_Occurred()) SWIG_fail;
32653 }
32654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
32655 return resultobj;
32656 fail:
32657 return NULL;
32658 }
32659
32660
32661 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32662 PyObject *resultobj = NULL;
32663 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32664 wxWindow *arg2 = (wxWindow *) 0 ;
32665 int arg3 = (int) (int)-1 ;
32666 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
32667 wxString *arg4 = (wxString *) &arg4_defvalue ;
32668 wxPoint const &arg5_defvalue = wxDefaultPosition ;
32669 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
32670 wxSize const &arg6_defvalue = wxDefaultSize ;
32671 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
32672 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
32673 wxString const &arg8_defvalue = wxPyEmptyString ;
32674 wxString *arg8 = (wxString *) &arg8_defvalue ;
32675 int arg9 = (int) 0 ;
32676 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
32677 wxString *arg10 = (wxString *) &arg10_defvalue ;
32678 bool result;
32679 bool temp4 = false ;
32680 wxPoint temp5 ;
32681 wxSize temp6 ;
32682 bool temp8 = false ;
32683 bool temp10 = false ;
32684 PyObject * obj0 = 0 ;
32685 PyObject * obj1 = 0 ;
32686 PyObject * obj2 = 0 ;
32687 PyObject * obj3 = 0 ;
32688 PyObject * obj4 = 0 ;
32689 PyObject * obj5 = 0 ;
32690 PyObject * obj6 = 0 ;
32691 PyObject * obj7 = 0 ;
32692 PyObject * obj8 = 0 ;
32693 PyObject * obj9 = 0 ;
32694 char *kwnames[] = {
32695 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
32696 };
32697
32698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
32699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32700 if (SWIG_arg_fail(1)) SWIG_fail;
32701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32702 if (SWIG_arg_fail(2)) SWIG_fail;
32703 if (obj2) {
32704 {
32705 arg3 = static_cast<int const >(SWIG_As_int(obj2));
32706 if (SWIG_arg_fail(3)) SWIG_fail;
32707 }
32708 }
32709 if (obj3) {
32710 {
32711 arg4 = wxString_in_helper(obj3);
32712 if (arg4 == NULL) SWIG_fail;
32713 temp4 = true;
32714 }
32715 }
32716 if (obj4) {
32717 {
32718 arg5 = &temp5;
32719 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
32720 }
32721 }
32722 if (obj5) {
32723 {
32724 arg6 = &temp6;
32725 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
32726 }
32727 }
32728 if (obj6) {
32729 {
32730 arg7 = static_cast<long >(SWIG_As_long(obj6));
32731 if (SWIG_arg_fail(7)) SWIG_fail;
32732 }
32733 }
32734 if (obj7) {
32735 {
32736 arg8 = wxString_in_helper(obj7);
32737 if (arg8 == NULL) SWIG_fail;
32738 temp8 = true;
32739 }
32740 }
32741 if (obj8) {
32742 {
32743 arg9 = static_cast<int >(SWIG_As_int(obj8));
32744 if (SWIG_arg_fail(9)) SWIG_fail;
32745 }
32746 }
32747 if (obj9) {
32748 {
32749 arg10 = wxString_in_helper(obj9);
32750 if (arg10 == NULL) SWIG_fail;
32751 temp10 = true;
32752 }
32753 }
32754 {
32755 PyThreadState* __tstate = wxPyBeginAllowThreads();
32756 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
32757
32758 wxPyEndAllowThreads(__tstate);
32759 if (PyErr_Occurred()) SWIG_fail;
32760 }
32761 {
32762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32763 }
32764 {
32765 if (temp4)
32766 delete arg4;
32767 }
32768 {
32769 if (temp8)
32770 delete arg8;
32771 }
32772 {
32773 if (temp10)
32774 delete arg10;
32775 }
32776 return resultobj;
32777 fail:
32778 {
32779 if (temp4)
32780 delete arg4;
32781 }
32782 {
32783 if (temp8)
32784 delete arg8;
32785 }
32786 {
32787 if (temp10)
32788 delete arg10;
32789 }
32790 return NULL;
32791 }
32792
32793
32794 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
32795 PyObject *resultobj = NULL;
32796 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32797 wxString *arg2 = 0 ;
32798 bool result;
32799 bool temp2 = false ;
32800 PyObject * obj0 = 0 ;
32801 PyObject * obj1 = 0 ;
32802 char *kwnames[] = {
32803 (char *) "self",(char *) "path", NULL
32804 };
32805
32806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
32807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail;
32809 {
32810 arg2 = wxString_in_helper(obj1);
32811 if (arg2 == NULL) SWIG_fail;
32812 temp2 = true;
32813 }
32814 {
32815 PyThreadState* __tstate = wxPyBeginAllowThreads();
32816 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
32817
32818 wxPyEndAllowThreads(__tstate);
32819 if (PyErr_Occurred()) SWIG_fail;
32820 }
32821 {
32822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32823 }
32824 {
32825 if (temp2)
32826 delete arg2;
32827 }
32828 return resultobj;
32829 fail:
32830 {
32831 if (temp2)
32832 delete arg2;
32833 }
32834 return NULL;
32835 }
32836
32837
32838 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32839 PyObject *resultobj = NULL;
32840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32841 wxString result;
32842 PyObject * obj0 = 0 ;
32843 char *kwnames[] = {
32844 (char *) "self", NULL
32845 };
32846
32847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
32848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32849 if (SWIG_arg_fail(1)) SWIG_fail;
32850 {
32851 PyThreadState* __tstate = wxPyBeginAllowThreads();
32852 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
32853
32854 wxPyEndAllowThreads(__tstate);
32855 if (PyErr_Occurred()) SWIG_fail;
32856 }
32857 {
32858 #if wxUSE_UNICODE
32859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32860 #else
32861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32862 #endif
32863 }
32864 return resultobj;
32865 fail:
32866 return NULL;
32867 }
32868
32869
32870 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
32871 PyObject *resultobj = NULL;
32872 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32873 wxString *arg2 = 0 ;
32874 bool temp2 = false ;
32875 PyObject * obj0 = 0 ;
32876 PyObject * obj1 = 0 ;
32877 char *kwnames[] = {
32878 (char *) "self",(char *) "path", NULL
32879 };
32880
32881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
32882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail;
32884 {
32885 arg2 = wxString_in_helper(obj1);
32886 if (arg2 == NULL) SWIG_fail;
32887 temp2 = true;
32888 }
32889 {
32890 PyThreadState* __tstate = wxPyBeginAllowThreads();
32891 (arg1)->SetDefaultPath((wxString const &)*arg2);
32892
32893 wxPyEndAllowThreads(__tstate);
32894 if (PyErr_Occurred()) SWIG_fail;
32895 }
32896 Py_INCREF(Py_None); resultobj = Py_None;
32897 {
32898 if (temp2)
32899 delete arg2;
32900 }
32901 return resultobj;
32902 fail:
32903 {
32904 if (temp2)
32905 delete arg2;
32906 }
32907 return NULL;
32908 }
32909
32910
32911 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32912 PyObject *resultobj = NULL;
32913 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32914 wxString result;
32915 PyObject * obj0 = 0 ;
32916 char *kwnames[] = {
32917 (char *) "self", NULL
32918 };
32919
32920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
32921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail;
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
32926
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 {
32931 #if wxUSE_UNICODE
32932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32933 #else
32934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32935 #endif
32936 }
32937 return resultobj;
32938 fail:
32939 return NULL;
32940 }
32941
32942
32943 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
32944 PyObject *resultobj = NULL;
32945 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32946 wxString result;
32947 PyObject * obj0 = 0 ;
32948 char *kwnames[] = {
32949 (char *) "self", NULL
32950 };
32951
32952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
32953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32954 if (SWIG_arg_fail(1)) SWIG_fail;
32955 {
32956 PyThreadState* __tstate = wxPyBeginAllowThreads();
32957 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
32958
32959 wxPyEndAllowThreads(__tstate);
32960 if (PyErr_Occurred()) SWIG_fail;
32961 }
32962 {
32963 #if wxUSE_UNICODE
32964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32965 #else
32966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32967 #endif
32968 }
32969 return resultobj;
32970 fail:
32971 return NULL;
32972 }
32973
32974
32975 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32976 PyObject *resultobj = NULL;
32977 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32978 wxString *arg2 = 0 ;
32979 bool temp2 = false ;
32980 PyObject * obj0 = 0 ;
32981 PyObject * obj1 = 0 ;
32982 char *kwnames[] = {
32983 (char *) "self",(char *) "path", NULL
32984 };
32985
32986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
32987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32988 if (SWIG_arg_fail(1)) SWIG_fail;
32989 {
32990 arg2 = wxString_in_helper(obj1);
32991 if (arg2 == NULL) SWIG_fail;
32992 temp2 = true;
32993 }
32994 {
32995 PyThreadState* __tstate = wxPyBeginAllowThreads();
32996 (arg1)->SetPath((wxString const &)*arg2);
32997
32998 wxPyEndAllowThreads(__tstate);
32999 if (PyErr_Occurred()) SWIG_fail;
33000 }
33001 Py_INCREF(Py_None); resultobj = Py_None;
33002 {
33003 if (temp2)
33004 delete arg2;
33005 }
33006 return resultobj;
33007 fail:
33008 {
33009 if (temp2)
33010 delete arg2;
33011 }
33012 return NULL;
33013 }
33014
33015
33016 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
33017 PyObject *resultobj = NULL;
33018 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33019 bool arg2 ;
33020 PyObject * obj0 = 0 ;
33021 PyObject * obj1 = 0 ;
33022 char *kwnames[] = {
33023 (char *) "self",(char *) "show", NULL
33024 };
33025
33026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
33027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33028 if (SWIG_arg_fail(1)) SWIG_fail;
33029 {
33030 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
33031 if (SWIG_arg_fail(2)) SWIG_fail;
33032 }
33033 {
33034 PyThreadState* __tstate = wxPyBeginAllowThreads();
33035 (arg1)->ShowHidden(arg2);
33036
33037 wxPyEndAllowThreads(__tstate);
33038 if (PyErr_Occurred()) SWIG_fail;
33039 }
33040 Py_INCREF(Py_None); resultobj = Py_None;
33041 return resultobj;
33042 fail:
33043 return NULL;
33044 }
33045
33046
33047 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
33048 PyObject *resultobj = NULL;
33049 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33050 bool result;
33051 PyObject * obj0 = 0 ;
33052 char *kwnames[] = {
33053 (char *) "self", NULL
33054 };
33055
33056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
33057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail;
33059 {
33060 PyThreadState* __tstate = wxPyBeginAllowThreads();
33061 result = (bool)(arg1)->GetShowHidden();
33062
33063 wxPyEndAllowThreads(__tstate);
33064 if (PyErr_Occurred()) SWIG_fail;
33065 }
33066 {
33067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33068 }
33069 return resultobj;
33070 fail:
33071 return NULL;
33072 }
33073
33074
33075 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
33076 PyObject *resultobj = NULL;
33077 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33078 wxString result;
33079 PyObject * obj0 = 0 ;
33080 char *kwnames[] = {
33081 (char *) "self", NULL
33082 };
33083
33084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
33085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33086 if (SWIG_arg_fail(1)) SWIG_fail;
33087 {
33088 PyThreadState* __tstate = wxPyBeginAllowThreads();
33089 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
33090
33091 wxPyEndAllowThreads(__tstate);
33092 if (PyErr_Occurred()) SWIG_fail;
33093 }
33094 {
33095 #if wxUSE_UNICODE
33096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33097 #else
33098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33099 #endif
33100 }
33101 return resultobj;
33102 fail:
33103 return NULL;
33104 }
33105
33106
33107 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
33108 PyObject *resultobj = NULL;
33109 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33110 wxString *arg2 = 0 ;
33111 bool temp2 = false ;
33112 PyObject * obj0 = 0 ;
33113 PyObject * obj1 = 0 ;
33114 char *kwnames[] = {
33115 (char *) "self",(char *) "filter", NULL
33116 };
33117
33118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
33119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33120 if (SWIG_arg_fail(1)) SWIG_fail;
33121 {
33122 arg2 = wxString_in_helper(obj1);
33123 if (arg2 == NULL) SWIG_fail;
33124 temp2 = true;
33125 }
33126 {
33127 PyThreadState* __tstate = wxPyBeginAllowThreads();
33128 (arg1)->SetFilter((wxString const &)*arg2);
33129
33130 wxPyEndAllowThreads(__tstate);
33131 if (PyErr_Occurred()) SWIG_fail;
33132 }
33133 Py_INCREF(Py_None); resultobj = Py_None;
33134 {
33135 if (temp2)
33136 delete arg2;
33137 }
33138 return resultobj;
33139 fail:
33140 {
33141 if (temp2)
33142 delete arg2;
33143 }
33144 return NULL;
33145 }
33146
33147
33148 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
33149 PyObject *resultobj = NULL;
33150 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33151 int result;
33152 PyObject * obj0 = 0 ;
33153 char *kwnames[] = {
33154 (char *) "self", NULL
33155 };
33156
33157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
33158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33159 if (SWIG_arg_fail(1)) SWIG_fail;
33160 {
33161 PyThreadState* __tstate = wxPyBeginAllowThreads();
33162 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
33163
33164 wxPyEndAllowThreads(__tstate);
33165 if (PyErr_Occurred()) SWIG_fail;
33166 }
33167 {
33168 resultobj = SWIG_From_int(static_cast<int >(result));
33169 }
33170 return resultobj;
33171 fail:
33172 return NULL;
33173 }
33174
33175
33176 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
33177 PyObject *resultobj = NULL;
33178 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33179 int arg2 ;
33180 PyObject * obj0 = 0 ;
33181 PyObject * obj1 = 0 ;
33182 char *kwnames[] = {
33183 (char *) "self",(char *) "n", NULL
33184 };
33185
33186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
33187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail;
33189 {
33190 arg2 = static_cast<int >(SWIG_As_int(obj1));
33191 if (SWIG_arg_fail(2)) SWIG_fail;
33192 }
33193 {
33194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33195 (arg1)->SetFilterIndex(arg2);
33196
33197 wxPyEndAllowThreads(__tstate);
33198 if (PyErr_Occurred()) SWIG_fail;
33199 }
33200 Py_INCREF(Py_None); resultobj = Py_None;
33201 return resultobj;
33202 fail:
33203 return NULL;
33204 }
33205
33206
33207 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
33208 PyObject *resultobj = NULL;
33209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33210 wxTreeItemId result;
33211 PyObject * obj0 = 0 ;
33212 char *kwnames[] = {
33213 (char *) "self", NULL
33214 };
33215
33216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
33217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33218 if (SWIG_arg_fail(1)) SWIG_fail;
33219 {
33220 PyThreadState* __tstate = wxPyBeginAllowThreads();
33221 result = (arg1)->GetRootId();
33222
33223 wxPyEndAllowThreads(__tstate);
33224 if (PyErr_Occurred()) SWIG_fail;
33225 }
33226 {
33227 wxTreeItemId * resultptr;
33228 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
33229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33230 }
33231 return resultobj;
33232 fail:
33233 return NULL;
33234 }
33235
33236
33237 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33238 PyObject *resultobj = NULL;
33239 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33240 wxPyTreeCtrl *result;
33241 PyObject * obj0 = 0 ;
33242 char *kwnames[] = {
33243 (char *) "self", NULL
33244 };
33245
33246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
33247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail;
33249 {
33250 PyThreadState* __tstate = wxPyBeginAllowThreads();
33251 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
33252
33253 wxPyEndAllowThreads(__tstate);
33254 if (PyErr_Occurred()) SWIG_fail;
33255 }
33256 {
33257 resultobj = wxPyMake_wxObject(result, 0);
33258 }
33259 return resultobj;
33260 fail:
33261 return NULL;
33262 }
33263
33264
33265 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33266 PyObject *resultobj = NULL;
33267 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33268 wxDirFilterListCtrl *result;
33269 PyObject * obj0 = 0 ;
33270 char *kwnames[] = {
33271 (char *) "self", NULL
33272 };
33273
33274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
33275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33276 if (SWIG_arg_fail(1)) SWIG_fail;
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
33280
33281 wxPyEndAllowThreads(__tstate);
33282 if (PyErr_Occurred()) SWIG_fail;
33283 }
33284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
33285 return resultobj;
33286 fail:
33287 return NULL;
33288 }
33289
33290
33291 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
33292 PyObject *resultobj = NULL;
33293 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33294 wxTreeItemId arg2 ;
33295 wxString *arg3 = 0 ;
33296 bool *arg4 = 0 ;
33297 wxTreeItemId result;
33298 bool temp3 = false ;
33299 bool temp4 ;
33300 int res4 = 0 ;
33301 PyObject * obj0 = 0 ;
33302 PyObject * obj1 = 0 ;
33303 PyObject * obj2 = 0 ;
33304 char *kwnames[] = {
33305 (char *) "self",(char *) "parentId",(char *) "path", NULL
33306 };
33307
33308 arg4 = &temp4; res4 = SWIG_NEWOBJ;
33309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
33310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33311 if (SWIG_arg_fail(1)) SWIG_fail;
33312 {
33313 wxTreeItemId * argp;
33314 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
33315 if (SWIG_arg_fail(2)) SWIG_fail;
33316 if (argp == NULL) {
33317 SWIG_null_ref("wxTreeItemId");
33318 }
33319 if (SWIG_arg_fail(2)) SWIG_fail;
33320 arg2 = *argp;
33321 }
33322 {
33323 arg3 = wxString_in_helper(obj2);
33324 if (arg3 == NULL) SWIG_fail;
33325 temp3 = true;
33326 }
33327 {
33328 PyThreadState* __tstate = wxPyBeginAllowThreads();
33329 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
33330
33331 wxPyEndAllowThreads(__tstate);
33332 if (PyErr_Occurred()) SWIG_fail;
33333 }
33334 {
33335 wxTreeItemId * resultptr;
33336 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
33337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
33338 }
33339 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
33340 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
33341 {
33342 if (temp3)
33343 delete arg3;
33344 }
33345 return resultobj;
33346 fail:
33347 {
33348 if (temp3)
33349 delete arg3;
33350 }
33351 return NULL;
33352 }
33353
33354
33355 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
33356 PyObject *resultobj = NULL;
33357 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33358 PyObject * obj0 = 0 ;
33359 char *kwnames[] = {
33360 (char *) "self", NULL
33361 };
33362
33363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
33364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33365 if (SWIG_arg_fail(1)) SWIG_fail;
33366 {
33367 PyThreadState* __tstate = wxPyBeginAllowThreads();
33368 (arg1)->DoResize();
33369
33370 wxPyEndAllowThreads(__tstate);
33371 if (PyErr_Occurred()) SWIG_fail;
33372 }
33373 Py_INCREF(Py_None); resultobj = Py_None;
33374 return resultobj;
33375 fail:
33376 return NULL;
33377 }
33378
33379
33380 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
33381 PyObject *resultobj = NULL;
33382 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33383 PyObject * obj0 = 0 ;
33384 char *kwnames[] = {
33385 (char *) "self", NULL
33386 };
33387
33388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
33389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33390 if (SWIG_arg_fail(1)) SWIG_fail;
33391 {
33392 PyThreadState* __tstate = wxPyBeginAllowThreads();
33393 (arg1)->ReCreateTree();
33394
33395 wxPyEndAllowThreads(__tstate);
33396 if (PyErr_Occurred()) SWIG_fail;
33397 }
33398 Py_INCREF(Py_None); resultobj = Py_None;
33399 return resultobj;
33400 fail:
33401 return NULL;
33402 }
33403
33404
33405 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
33406 PyObject *obj;
33407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33408 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
33409 Py_INCREF(obj);
33410 return Py_BuildValue((char *)"");
33411 }
33412 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33413 PyObject *resultobj = NULL;
33414 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
33415 int arg2 = (int) (int)-1 ;
33416 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33417 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33418 wxSize const &arg4_defvalue = wxDefaultSize ;
33419 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33420 long arg5 = (long) 0 ;
33421 wxDirFilterListCtrl *result;
33422 wxPoint temp3 ;
33423 wxSize temp4 ;
33424 PyObject * obj0 = 0 ;
33425 PyObject * obj1 = 0 ;
33426 PyObject * obj2 = 0 ;
33427 PyObject * obj3 = 0 ;
33428 PyObject * obj4 = 0 ;
33429 char *kwnames[] = {
33430 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33431 };
33432
33433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail;
33436 if (obj1) {
33437 {
33438 arg2 = static_cast<int const >(SWIG_As_int(obj1));
33439 if (SWIG_arg_fail(2)) SWIG_fail;
33440 }
33441 }
33442 if (obj2) {
33443 {
33444 arg3 = &temp3;
33445 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33446 }
33447 }
33448 if (obj3) {
33449 {
33450 arg4 = &temp4;
33451 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33452 }
33453 }
33454 if (obj4) {
33455 {
33456 arg5 = static_cast<long >(SWIG_As_long(obj4));
33457 if (SWIG_arg_fail(5)) SWIG_fail;
33458 }
33459 }
33460 {
33461 if (!wxPyCheckForApp()) SWIG_fail;
33462 PyThreadState* __tstate = wxPyBeginAllowThreads();
33463 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33464
33465 wxPyEndAllowThreads(__tstate);
33466 if (PyErr_Occurred()) SWIG_fail;
33467 }
33468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33469 return resultobj;
33470 fail:
33471 return NULL;
33472 }
33473
33474
33475 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
33476 PyObject *resultobj = NULL;
33477 wxDirFilterListCtrl *result;
33478 char *kwnames[] = {
33479 NULL
33480 };
33481
33482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
33483 {
33484 if (!wxPyCheckForApp()) SWIG_fail;
33485 PyThreadState* __tstate = wxPyBeginAllowThreads();
33486 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
33487
33488 wxPyEndAllowThreads(__tstate);
33489 if (PyErr_Occurred()) SWIG_fail;
33490 }
33491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
33492 return resultobj;
33493 fail:
33494 return NULL;
33495 }
33496
33497
33498 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
33499 PyObject *resultobj = NULL;
33500 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33501 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
33502 int arg3 = (int) (int)-1 ;
33503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33505 wxSize const &arg5_defvalue = wxDefaultSize ;
33506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33507 long arg6 = (long) 0 ;
33508 bool result;
33509 wxPoint temp4 ;
33510 wxSize temp5 ;
33511 PyObject * obj0 = 0 ;
33512 PyObject * obj1 = 0 ;
33513 PyObject * obj2 = 0 ;
33514 PyObject * obj3 = 0 ;
33515 PyObject * obj4 = 0 ;
33516 PyObject * obj5 = 0 ;
33517 char *kwnames[] = {
33518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33519 };
33520
33521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33523 if (SWIG_arg_fail(1)) SWIG_fail;
33524 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
33525 if (SWIG_arg_fail(2)) SWIG_fail;
33526 if (obj2) {
33527 {
33528 arg3 = static_cast<int const >(SWIG_As_int(obj2));
33529 if (SWIG_arg_fail(3)) SWIG_fail;
33530 }
33531 }
33532 if (obj3) {
33533 {
33534 arg4 = &temp4;
33535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33536 }
33537 }
33538 if (obj4) {
33539 {
33540 arg5 = &temp5;
33541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33542 }
33543 }
33544 if (obj5) {
33545 {
33546 arg6 = static_cast<long >(SWIG_As_long(obj5));
33547 if (SWIG_arg_fail(6)) SWIG_fail;
33548 }
33549 }
33550 {
33551 PyThreadState* __tstate = wxPyBeginAllowThreads();
33552 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
33553
33554 wxPyEndAllowThreads(__tstate);
33555 if (PyErr_Occurred()) SWIG_fail;
33556 }
33557 {
33558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33559 }
33560 return resultobj;
33561 fail:
33562 return NULL;
33563 }
33564
33565
33566 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
33567 PyObject *resultobj = NULL;
33568 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
33569 wxString *arg2 = 0 ;
33570 int arg3 ;
33571 bool temp2 = false ;
33572 PyObject * obj0 = 0 ;
33573 PyObject * obj1 = 0 ;
33574 PyObject * obj2 = 0 ;
33575 char *kwnames[] = {
33576 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
33577 };
33578
33579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
33580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail;
33582 {
33583 arg2 = wxString_in_helper(obj1);
33584 if (arg2 == NULL) SWIG_fail;
33585 temp2 = true;
33586 }
33587 {
33588 arg3 = static_cast<int >(SWIG_As_int(obj2));
33589 if (SWIG_arg_fail(3)) SWIG_fail;
33590 }
33591 {
33592 PyThreadState* __tstate = wxPyBeginAllowThreads();
33593 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
33594
33595 wxPyEndAllowThreads(__tstate);
33596 if (PyErr_Occurred()) SWIG_fail;
33597 }
33598 Py_INCREF(Py_None); resultobj = Py_None;
33599 {
33600 if (temp2)
33601 delete arg2;
33602 }
33603 return resultobj;
33604 fail:
33605 {
33606 if (temp2)
33607 delete arg2;
33608 }
33609 return NULL;
33610 }
33611
33612
33613 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
33614 PyObject *obj;
33615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33616 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
33617 Py_INCREF(obj);
33618 return Py_BuildValue((char *)"");
33619 }
33620 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
33621 PyObject *resultobj = NULL;
33622 wxWindow *arg1 = (wxWindow *) 0 ;
33623 int arg2 = (int) (int)-1 ;
33624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33626 wxSize const &arg4_defvalue = wxDefaultSize ;
33627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33628 long arg5 = (long) 0 ;
33629 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33630 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33631 wxString const &arg7_defvalue = wxPyControlNameStr ;
33632 wxString *arg7 = (wxString *) &arg7_defvalue ;
33633 wxPyControl *result;
33634 wxPoint temp3 ;
33635 wxSize temp4 ;
33636 bool temp7 = false ;
33637 PyObject * obj0 = 0 ;
33638 PyObject * obj1 = 0 ;
33639 PyObject * obj2 = 0 ;
33640 PyObject * obj3 = 0 ;
33641 PyObject * obj4 = 0 ;
33642 PyObject * obj5 = 0 ;
33643 PyObject * obj6 = 0 ;
33644 char *kwnames[] = {
33645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33646 };
33647
33648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
33649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail;
33651 if (obj1) {
33652 {
33653 arg2 = static_cast<int const >(SWIG_As_int(obj1));
33654 if (SWIG_arg_fail(2)) SWIG_fail;
33655 }
33656 }
33657 if (obj2) {
33658 {
33659 arg3 = &temp3;
33660 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33661 }
33662 }
33663 if (obj3) {
33664 {
33665 arg4 = &temp4;
33666 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33667 }
33668 }
33669 if (obj4) {
33670 {
33671 arg5 = static_cast<long >(SWIG_As_long(obj4));
33672 if (SWIG_arg_fail(5)) SWIG_fail;
33673 }
33674 }
33675 if (obj5) {
33676 {
33677 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33678 if (SWIG_arg_fail(6)) SWIG_fail;
33679 if (arg6 == NULL) {
33680 SWIG_null_ref("wxValidator");
33681 }
33682 if (SWIG_arg_fail(6)) SWIG_fail;
33683 }
33684 }
33685 if (obj6) {
33686 {
33687 arg7 = wxString_in_helper(obj6);
33688 if (arg7 == NULL) SWIG_fail;
33689 temp7 = true;
33690 }
33691 }
33692 {
33693 if (!wxPyCheckForApp()) SWIG_fail;
33694 PyThreadState* __tstate = wxPyBeginAllowThreads();
33695 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33696
33697 wxPyEndAllowThreads(__tstate);
33698 if (PyErr_Occurred()) SWIG_fail;
33699 }
33700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33701 {
33702 if (temp7)
33703 delete arg7;
33704 }
33705 return resultobj;
33706 fail:
33707 {
33708 if (temp7)
33709 delete arg7;
33710 }
33711 return NULL;
33712 }
33713
33714
33715 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
33716 PyObject *resultobj = NULL;
33717 wxPyControl *result;
33718 char *kwnames[] = {
33719 NULL
33720 };
33721
33722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
33723 {
33724 if (!wxPyCheckForApp()) SWIG_fail;
33725 PyThreadState* __tstate = wxPyBeginAllowThreads();
33726 result = (wxPyControl *)new wxPyControl();
33727
33728 wxPyEndAllowThreads(__tstate);
33729 if (PyErr_Occurred()) SWIG_fail;
33730 }
33731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
33732 return resultobj;
33733 fail:
33734 return NULL;
33735 }
33736
33737
33738 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
33739 PyObject *resultobj = NULL;
33740 wxPyControl *arg1 = (wxPyControl *) 0 ;
33741 PyObject *arg2 = (PyObject *) 0 ;
33742 PyObject *arg3 = (PyObject *) 0 ;
33743 PyObject * obj0 = 0 ;
33744 PyObject * obj1 = 0 ;
33745 PyObject * obj2 = 0 ;
33746 char *kwnames[] = {
33747 (char *) "self",(char *) "self",(char *) "_class", NULL
33748 };
33749
33750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
33751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33752 if (SWIG_arg_fail(1)) SWIG_fail;
33753 arg2 = obj1;
33754 arg3 = obj2;
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
33757 (arg1)->_setCallbackInfo(arg2,arg3);
33758
33759 wxPyEndAllowThreads(__tstate);
33760 if (PyErr_Occurred()) SWIG_fail;
33761 }
33762 Py_INCREF(Py_None); resultobj = Py_None;
33763 return resultobj;
33764 fail:
33765 return NULL;
33766 }
33767
33768
33769 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
33770 PyObject *resultobj = NULL;
33771 wxPyControl *arg1 = (wxPyControl *) 0 ;
33772 wxSize *arg2 = 0 ;
33773 wxSize temp2 ;
33774 PyObject * obj0 = 0 ;
33775 PyObject * obj1 = 0 ;
33776 char *kwnames[] = {
33777 (char *) "self",(char *) "size", NULL
33778 };
33779
33780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
33781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33782 if (SWIG_arg_fail(1)) SWIG_fail;
33783 {
33784 arg2 = &temp2;
33785 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33786 }
33787 {
33788 PyThreadState* __tstate = wxPyBeginAllowThreads();
33789 (arg1)->SetBestSize((wxSize const &)*arg2);
33790
33791 wxPyEndAllowThreads(__tstate);
33792 if (PyErr_Occurred()) SWIG_fail;
33793 }
33794 Py_INCREF(Py_None); resultobj = Py_None;
33795 return resultobj;
33796 fail:
33797 return NULL;
33798 }
33799
33800
33801 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
33802 PyObject *resultobj = NULL;
33803 wxPyControl *arg1 = (wxPyControl *) 0 ;
33804 wxDC *arg2 = (wxDC *) 0 ;
33805 bool result;
33806 PyObject * obj0 = 0 ;
33807 PyObject * obj1 = 0 ;
33808 char *kwnames[] = {
33809 (char *) "self",(char *) "dc", NULL
33810 };
33811
33812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
33813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33814 if (SWIG_arg_fail(1)) SWIG_fail;
33815 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33816 if (SWIG_arg_fail(2)) SWIG_fail;
33817 {
33818 PyThreadState* __tstate = wxPyBeginAllowThreads();
33819 result = (bool)(arg1)->DoEraseBackground(arg2);
33820
33821 wxPyEndAllowThreads(__tstate);
33822 if (PyErr_Occurred()) SWIG_fail;
33823 }
33824 {
33825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33826 }
33827 return resultobj;
33828 fail:
33829 return NULL;
33830 }
33831
33832
33833 static PyObject *_wrap_PyControl_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33834 PyObject *resultobj = NULL;
33835 wxPyControl *arg1 = (wxPyControl *) 0 ;
33836 int arg2 ;
33837 int arg3 ;
33838 int arg4 ;
33839 int arg5 ;
33840 PyObject * obj0 = 0 ;
33841 PyObject * obj1 = 0 ;
33842 PyObject * obj2 = 0 ;
33843 PyObject * obj3 = 0 ;
33844 PyObject * obj4 = 0 ;
33845 char *kwnames[] = {
33846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33847 };
33848
33849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33851 if (SWIG_arg_fail(1)) SWIG_fail;
33852 {
33853 arg2 = static_cast<int >(SWIG_As_int(obj1));
33854 if (SWIG_arg_fail(2)) SWIG_fail;
33855 }
33856 {
33857 arg3 = static_cast<int >(SWIG_As_int(obj2));
33858 if (SWIG_arg_fail(3)) SWIG_fail;
33859 }
33860 {
33861 arg4 = static_cast<int >(SWIG_As_int(obj3));
33862 if (SWIG_arg_fail(4)) SWIG_fail;
33863 }
33864 {
33865 arg5 = static_cast<int >(SWIG_As_int(obj4));
33866 if (SWIG_arg_fail(5)) SWIG_fail;
33867 }
33868 {
33869 PyThreadState* __tstate = wxPyBeginAllowThreads();
33870 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
33871
33872 wxPyEndAllowThreads(__tstate);
33873 if (PyErr_Occurred()) SWIG_fail;
33874 }
33875 Py_INCREF(Py_None); resultobj = Py_None;
33876 return resultobj;
33877 fail:
33878 return NULL;
33879 }
33880
33881
33882 static PyObject *_wrap_PyControl_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
33883 PyObject *resultobj = NULL;
33884 wxPyControl *arg1 = (wxPyControl *) 0 ;
33885 int arg2 ;
33886 int arg3 ;
33887 int arg4 ;
33888 int arg5 ;
33889 int arg6 = (int) wxSIZE_AUTO ;
33890 PyObject * obj0 = 0 ;
33891 PyObject * obj1 = 0 ;
33892 PyObject * obj2 = 0 ;
33893 PyObject * obj3 = 0 ;
33894 PyObject * obj4 = 0 ;
33895 PyObject * obj5 = 0 ;
33896 char *kwnames[] = {
33897 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33898 };
33899
33900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail;
33903 {
33904 arg2 = static_cast<int >(SWIG_As_int(obj1));
33905 if (SWIG_arg_fail(2)) SWIG_fail;
33906 }
33907 {
33908 arg3 = static_cast<int >(SWIG_As_int(obj2));
33909 if (SWIG_arg_fail(3)) SWIG_fail;
33910 }
33911 {
33912 arg4 = static_cast<int >(SWIG_As_int(obj3));
33913 if (SWIG_arg_fail(4)) SWIG_fail;
33914 }
33915 {
33916 arg5 = static_cast<int >(SWIG_As_int(obj4));
33917 if (SWIG_arg_fail(5)) SWIG_fail;
33918 }
33919 if (obj5) {
33920 {
33921 arg6 = static_cast<int >(SWIG_As_int(obj5));
33922 if (SWIG_arg_fail(6)) SWIG_fail;
33923 }
33924 }
33925 {
33926 PyThreadState* __tstate = wxPyBeginAllowThreads();
33927 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
33928
33929 wxPyEndAllowThreads(__tstate);
33930 if (PyErr_Occurred()) SWIG_fail;
33931 }
33932 Py_INCREF(Py_None); resultobj = Py_None;
33933 return resultobj;
33934 fail:
33935 return NULL;
33936 }
33937
33938
33939 static PyObject *_wrap_PyControl_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
33940 PyObject *resultobj = NULL;
33941 wxPyControl *arg1 = (wxPyControl *) 0 ;
33942 int arg2 ;
33943 int arg3 ;
33944 PyObject * obj0 = 0 ;
33945 PyObject * obj1 = 0 ;
33946 PyObject * obj2 = 0 ;
33947 char *kwnames[] = {
33948 (char *) "self",(char *) "width",(char *) "height", NULL
33949 };
33950
33951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33953 if (SWIG_arg_fail(1)) SWIG_fail;
33954 {
33955 arg2 = static_cast<int >(SWIG_As_int(obj1));
33956 if (SWIG_arg_fail(2)) SWIG_fail;
33957 }
33958 {
33959 arg3 = static_cast<int >(SWIG_As_int(obj2));
33960 if (SWIG_arg_fail(3)) SWIG_fail;
33961 }
33962 {
33963 PyThreadState* __tstate = wxPyBeginAllowThreads();
33964 (arg1)->DoSetClientSize(arg2,arg3);
33965
33966 wxPyEndAllowThreads(__tstate);
33967 if (PyErr_Occurred()) SWIG_fail;
33968 }
33969 Py_INCREF(Py_None); resultobj = Py_None;
33970 return resultobj;
33971 fail:
33972 return NULL;
33973 }
33974
33975
33976 static PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
33977 PyObject *resultobj = NULL;
33978 wxPyControl *arg1 = (wxPyControl *) 0 ;
33979 int arg2 ;
33980 int arg3 ;
33981 PyObject * obj0 = 0 ;
33982 PyObject * obj1 = 0 ;
33983 PyObject * obj2 = 0 ;
33984 char *kwnames[] = {
33985 (char *) "self",(char *) "x",(char *) "y", NULL
33986 };
33987
33988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail;
33991 {
33992 arg2 = static_cast<int >(SWIG_As_int(obj1));
33993 if (SWIG_arg_fail(2)) SWIG_fail;
33994 }
33995 {
33996 arg3 = static_cast<int >(SWIG_As_int(obj2));
33997 if (SWIG_arg_fail(3)) SWIG_fail;
33998 }
33999 {
34000 PyThreadState* __tstate = wxPyBeginAllowThreads();
34001 (arg1)->DoSetVirtualSize(arg2,arg3);
34002
34003 wxPyEndAllowThreads(__tstate);
34004 if (PyErr_Occurred()) SWIG_fail;
34005 }
34006 Py_INCREF(Py_None); resultobj = Py_None;
34007 return resultobj;
34008 fail:
34009 return NULL;
34010 }
34011
34012
34013 static PyObject *_wrap_PyControl_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
34014 PyObject *resultobj = NULL;
34015 wxPyControl *arg1 = (wxPyControl *) 0 ;
34016 int *arg2 = (int *) 0 ;
34017 int *arg3 = (int *) 0 ;
34018 int temp2 ;
34019 int res2 = 0 ;
34020 int temp3 ;
34021 int res3 = 0 ;
34022 PyObject * obj0 = 0 ;
34023 char *kwnames[] = {
34024 (char *) "self", NULL
34025 };
34026
34027 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34028 arg3 = &temp3; res3 = SWIG_NEWOBJ;
34029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetSize",kwnames,&obj0)) goto fail;
34030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34031 if (SWIG_arg_fail(1)) SWIG_fail;
34032 {
34033 PyThreadState* __tstate = wxPyBeginAllowThreads();
34034 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
34035
34036 wxPyEndAllowThreads(__tstate);
34037 if (PyErr_Occurred()) SWIG_fail;
34038 }
34039 Py_INCREF(Py_None); resultobj = Py_None;
34040 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34041 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34042 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34043 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
34044 return resultobj;
34045 fail:
34046 return NULL;
34047 }
34048
34049
34050 static PyObject *_wrap_PyControl_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
34051 PyObject *resultobj = NULL;
34052 wxPyControl *arg1 = (wxPyControl *) 0 ;
34053 int *arg2 = (int *) 0 ;
34054 int *arg3 = (int *) 0 ;
34055 int temp2 ;
34056 int res2 = 0 ;
34057 int temp3 ;
34058 int res3 = 0 ;
34059 PyObject * obj0 = 0 ;
34060 char *kwnames[] = {
34061 (char *) "self", NULL
34062 };
34063
34064 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34065 arg3 = &temp3; res3 = SWIG_NEWOBJ;
34066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetClientSize",kwnames,&obj0)) goto fail;
34067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34068 if (SWIG_arg_fail(1)) SWIG_fail;
34069 {
34070 PyThreadState* __tstate = wxPyBeginAllowThreads();
34071 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
34072
34073 wxPyEndAllowThreads(__tstate);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 }
34076 Py_INCREF(Py_None); resultobj = Py_None;
34077 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34078 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34079 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34080 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
34081 return resultobj;
34082 fail:
34083 return NULL;
34084 }
34085
34086
34087 static PyObject *_wrap_PyControl_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34088 PyObject *resultobj = NULL;
34089 wxPyControl *arg1 = (wxPyControl *) 0 ;
34090 int *arg2 = (int *) 0 ;
34091 int *arg3 = (int *) 0 ;
34092 int temp2 ;
34093 int res2 = 0 ;
34094 int temp3 ;
34095 int res3 = 0 ;
34096 PyObject * obj0 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self", NULL
34099 };
34100
34101 arg2 = &temp2; res2 = SWIG_NEWOBJ;
34102 arg3 = &temp3; res3 = SWIG_NEWOBJ;
34103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetPosition",kwnames,&obj0)) goto fail;
34104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34105 if (SWIG_arg_fail(1)) SWIG_fail;
34106 {
34107 PyThreadState* __tstate = wxPyBeginAllowThreads();
34108 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
34109
34110 wxPyEndAllowThreads(__tstate);
34111 if (PyErr_Occurred()) SWIG_fail;
34112 }
34113 Py_INCREF(Py_None); resultobj = Py_None;
34114 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
34115 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
34116 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
34117 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
34118 return resultobj;
34119 fail:
34120 return NULL;
34121 }
34122
34123
34124 static PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
34125 PyObject *resultobj = NULL;
34126 wxPyControl *arg1 = (wxPyControl *) 0 ;
34127 wxSize result;
34128 PyObject * obj0 = 0 ;
34129 char *kwnames[] = {
34130 (char *) "self", NULL
34131 };
34132
34133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetVirtualSize",kwnames,&obj0)) goto fail;
34134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34135 if (SWIG_arg_fail(1)) SWIG_fail;
34136 {
34137 PyThreadState* __tstate = wxPyBeginAllowThreads();
34138 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
34139
34140 wxPyEndAllowThreads(__tstate);
34141 if (PyErr_Occurred()) SWIG_fail;
34142 }
34143 {
34144 wxSize * resultptr;
34145 resultptr = new wxSize(static_cast<wxSize & >(result));
34146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34147 }
34148 return resultobj;
34149 fail:
34150 return NULL;
34151 }
34152
34153
34154 static PyObject *_wrap_PyControl_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
34155 PyObject *resultobj = NULL;
34156 wxPyControl *arg1 = (wxPyControl *) 0 ;
34157 wxSize result;
34158 PyObject * obj0 = 0 ;
34159 char *kwnames[] = {
34160 (char *) "self", NULL
34161 };
34162
34163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_DoGetBestSize",kwnames,&obj0)) goto fail;
34164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34165 if (SWIG_arg_fail(1)) SWIG_fail;
34166 {
34167 PyThreadState* __tstate = wxPyBeginAllowThreads();
34168 result = ((wxPyControl const *)arg1)->DoGetBestSize();
34169
34170 wxPyEndAllowThreads(__tstate);
34171 if (PyErr_Occurred()) SWIG_fail;
34172 }
34173 {
34174 wxSize * resultptr;
34175 resultptr = new wxSize(static_cast<wxSize & >(result));
34176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34177 }
34178 return resultobj;
34179 fail:
34180 return NULL;
34181 }
34182
34183
34184 static PyObject *_wrap_PyControl_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
34185 PyObject *resultobj = NULL;
34186 wxPyControl *arg1 = (wxPyControl *) 0 ;
34187 PyObject * obj0 = 0 ;
34188 char *kwnames[] = {
34189 (char *) "self", NULL
34190 };
34191
34192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_InitDialog",kwnames,&obj0)) goto fail;
34193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34194 if (SWIG_arg_fail(1)) SWIG_fail;
34195 {
34196 PyThreadState* __tstate = wxPyBeginAllowThreads();
34197 (arg1)->InitDialog();
34198
34199 wxPyEndAllowThreads(__tstate);
34200 if (PyErr_Occurred()) SWIG_fail;
34201 }
34202 Py_INCREF(Py_None); resultobj = Py_None;
34203 return resultobj;
34204 fail:
34205 return NULL;
34206 }
34207
34208
34209 static PyObject *_wrap_PyControl_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34210 PyObject *resultobj = NULL;
34211 wxPyControl *arg1 = (wxPyControl *) 0 ;
34212 bool result;
34213 PyObject * obj0 = 0 ;
34214 char *kwnames[] = {
34215 (char *) "self", NULL
34216 };
34217
34218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataToWindow",kwnames,&obj0)) goto fail;
34219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34220 if (SWIG_arg_fail(1)) SWIG_fail;
34221 {
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
34223 result = (bool)(arg1)->TransferDataToWindow();
34224
34225 wxPyEndAllowThreads(__tstate);
34226 if (PyErr_Occurred()) SWIG_fail;
34227 }
34228 {
34229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34230 }
34231 return resultobj;
34232 fail:
34233 return NULL;
34234 }
34235
34236
34237 static PyObject *_wrap_PyControl_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34238 PyObject *resultobj = NULL;
34239 wxPyControl *arg1 = (wxPyControl *) 0 ;
34240 bool result;
34241 PyObject * obj0 = 0 ;
34242 char *kwnames[] = {
34243 (char *) "self", NULL
34244 };
34245
34246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_TransferDataFromWindow",kwnames,&obj0)) goto fail;
34247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34248 if (SWIG_arg_fail(1)) SWIG_fail;
34249 {
34250 PyThreadState* __tstate = wxPyBeginAllowThreads();
34251 result = (bool)(arg1)->TransferDataFromWindow();
34252
34253 wxPyEndAllowThreads(__tstate);
34254 if (PyErr_Occurred()) SWIG_fail;
34255 }
34256 {
34257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34258 }
34259 return resultobj;
34260 fail:
34261 return NULL;
34262 }
34263
34264
34265 static PyObject *_wrap_PyControl_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
34266 PyObject *resultobj = NULL;
34267 wxPyControl *arg1 = (wxPyControl *) 0 ;
34268 bool result;
34269 PyObject * obj0 = 0 ;
34270 char *kwnames[] = {
34271 (char *) "self", NULL
34272 };
34273
34274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_Validate",kwnames,&obj0)) goto fail;
34275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34276 if (SWIG_arg_fail(1)) SWIG_fail;
34277 {
34278 PyThreadState* __tstate = wxPyBeginAllowThreads();
34279 result = (bool)(arg1)->Validate();
34280
34281 wxPyEndAllowThreads(__tstate);
34282 if (PyErr_Occurred()) SWIG_fail;
34283 }
34284 {
34285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34286 }
34287 return resultobj;
34288 fail:
34289 return NULL;
34290 }
34291
34292
34293 static PyObject *_wrap_PyControl_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
34294 PyObject *resultobj = NULL;
34295 wxPyControl *arg1 = (wxPyControl *) 0 ;
34296 bool result;
34297 PyObject * obj0 = 0 ;
34298 char *kwnames[] = {
34299 (char *) "self", NULL
34300 };
34301
34302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocus",kwnames,&obj0)) goto fail;
34303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34304 if (SWIG_arg_fail(1)) SWIG_fail;
34305 {
34306 PyThreadState* __tstate = wxPyBeginAllowThreads();
34307 result = (bool)((wxPyControl const *)arg1)->AcceptsFocus();
34308
34309 wxPyEndAllowThreads(__tstate);
34310 if (PyErr_Occurred()) SWIG_fail;
34311 }
34312 {
34313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34314 }
34315 return resultobj;
34316 fail:
34317 return NULL;
34318 }
34319
34320
34321 static PyObject *_wrap_PyControl_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
34322 PyObject *resultobj = NULL;
34323 wxPyControl *arg1 = (wxPyControl *) 0 ;
34324 bool result;
34325 PyObject * obj0 = 0 ;
34326 char *kwnames[] = {
34327 (char *) "self", NULL
34328 };
34329
34330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
34331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34332 if (SWIG_arg_fail(1)) SWIG_fail;
34333 {
34334 PyThreadState* __tstate = wxPyBeginAllowThreads();
34335 result = (bool)((wxPyControl const *)arg1)->AcceptsFocusFromKeyboard();
34336
34337 wxPyEndAllowThreads(__tstate);
34338 if (PyErr_Occurred()) SWIG_fail;
34339 }
34340 {
34341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34342 }
34343 return resultobj;
34344 fail:
34345 return NULL;
34346 }
34347
34348
34349 static PyObject *_wrap_PyControl_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
34350 PyObject *resultobj = NULL;
34351 wxPyControl *arg1 = (wxPyControl *) 0 ;
34352 wxSize result;
34353 PyObject * obj0 = 0 ;
34354 char *kwnames[] = {
34355 (char *) "self", NULL
34356 };
34357
34358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetMaxSize",kwnames,&obj0)) goto fail;
34359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail;
34361 {
34362 PyThreadState* __tstate = wxPyBeginAllowThreads();
34363 result = ((wxPyControl const *)arg1)->GetMaxSize();
34364
34365 wxPyEndAllowThreads(__tstate);
34366 if (PyErr_Occurred()) SWIG_fail;
34367 }
34368 {
34369 wxSize * resultptr;
34370 resultptr = new wxSize(static_cast<wxSize & >(result));
34371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34372 }
34373 return resultobj;
34374 fail:
34375 return NULL;
34376 }
34377
34378
34379 static PyObject *_wrap_PyControl_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
34380 PyObject *resultobj = NULL;
34381 wxPyControl *arg1 = (wxPyControl *) 0 ;
34382 wxWindow *arg2 = (wxWindow *) 0 ;
34383 PyObject * obj0 = 0 ;
34384 PyObject * obj1 = 0 ;
34385 char *kwnames[] = {
34386 (char *) "self",(char *) "child", NULL
34387 };
34388
34389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_AddChild",kwnames,&obj0,&obj1)) goto fail;
34390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34391 if (SWIG_arg_fail(1)) SWIG_fail;
34392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34393 if (SWIG_arg_fail(2)) SWIG_fail;
34394 {
34395 PyThreadState* __tstate = wxPyBeginAllowThreads();
34396 (arg1)->AddChild(arg2);
34397
34398 wxPyEndAllowThreads(__tstate);
34399 if (PyErr_Occurred()) SWIG_fail;
34400 }
34401 Py_INCREF(Py_None); resultobj = Py_None;
34402 return resultobj;
34403 fail:
34404 return NULL;
34405 }
34406
34407
34408 static PyObject *_wrap_PyControl_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
34409 PyObject *resultobj = NULL;
34410 wxPyControl *arg1 = (wxPyControl *) 0 ;
34411 wxWindow *arg2 = (wxWindow *) 0 ;
34412 PyObject * obj0 = 0 ;
34413 PyObject * obj1 = 0 ;
34414 char *kwnames[] = {
34415 (char *) "self",(char *) "child", NULL
34416 };
34417
34418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
34419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34420 if (SWIG_arg_fail(1)) SWIG_fail;
34421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34422 if (SWIG_arg_fail(2)) SWIG_fail;
34423 {
34424 PyThreadState* __tstate = wxPyBeginAllowThreads();
34425 (arg1)->RemoveChild(arg2);
34426
34427 wxPyEndAllowThreads(__tstate);
34428 if (PyErr_Occurred()) SWIG_fail;
34429 }
34430 Py_INCREF(Py_None); resultobj = Py_None;
34431 return resultobj;
34432 fail:
34433 return NULL;
34434 }
34435
34436
34437 static PyObject *_wrap_PyControl_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
34438 PyObject *resultobj = NULL;
34439 wxPyControl *arg1 = (wxPyControl *) 0 ;
34440 bool result;
34441 PyObject * obj0 = 0 ;
34442 char *kwnames[] = {
34443 (char *) "self", NULL
34444 };
34445
34446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_ShouldInheritColours",kwnames,&obj0)) goto fail;
34447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34448 if (SWIG_arg_fail(1)) SWIG_fail;
34449 {
34450 PyThreadState* __tstate = wxPyBeginAllowThreads();
34451 result = (bool)((wxPyControl const *)arg1)->ShouldInheritColours();
34452
34453 wxPyEndAllowThreads(__tstate);
34454 if (PyErr_Occurred()) SWIG_fail;
34455 }
34456 {
34457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34458 }
34459 return resultobj;
34460 fail:
34461 return NULL;
34462 }
34463
34464
34465 static PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
34466 PyObject *resultobj = NULL;
34467 wxPyControl *arg1 = (wxPyControl *) 0 ;
34468 wxVisualAttributes result;
34469 PyObject * obj0 = 0 ;
34470 char *kwnames[] = {
34471 (char *) "self", NULL
34472 };
34473
34474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_GetDefaultAttributes",kwnames,&obj0)) goto fail;
34475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34476 if (SWIG_arg_fail(1)) SWIG_fail;
34477 {
34478 PyThreadState* __tstate = wxPyBeginAllowThreads();
34479 result = (arg1)->GetDefaultAttributes();
34480
34481 wxPyEndAllowThreads(__tstate);
34482 if (PyErr_Occurred()) SWIG_fail;
34483 }
34484 {
34485 wxVisualAttributes * resultptr;
34486 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
34487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34488 }
34489 return resultobj;
34490 fail:
34491 return NULL;
34492 }
34493
34494
34495 static PyObject *_wrap_PyControl_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
34496 PyObject *resultobj = NULL;
34497 wxPyControl *arg1 = (wxPyControl *) 0 ;
34498 PyObject * obj0 = 0 ;
34499 char *kwnames[] = {
34500 (char *) "self", NULL
34501 };
34502
34503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_OnInternalIdle",kwnames,&obj0)) goto fail;
34504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
34505 if (SWIG_arg_fail(1)) SWIG_fail;
34506 {
34507 PyThreadState* __tstate = wxPyBeginAllowThreads();
34508 (arg1)->OnInternalIdle();
34509
34510 wxPyEndAllowThreads(__tstate);
34511 if (PyErr_Occurred()) SWIG_fail;
34512 }
34513 Py_INCREF(Py_None); resultobj = Py_None;
34514 return resultobj;
34515 fail:
34516 return NULL;
34517 }
34518
34519
34520 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
34521 PyObject *obj;
34522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34523 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
34524 Py_INCREF(obj);
34525 return Py_BuildValue((char *)"");
34526 }
34527 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
34528 PyObject *resultobj = NULL;
34529 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
34530 int arg2 = (int) 0 ;
34531 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34532 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34533 wxHelpEvent *result;
34534 wxPoint temp3 ;
34535 PyObject * obj0 = 0 ;
34536 PyObject * obj1 = 0 ;
34537 PyObject * obj2 = 0 ;
34538 char *kwnames[] = {
34539 (char *) "type",(char *) "winid",(char *) "pt", NULL
34540 };
34541
34542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
34543 if (obj0) {
34544 {
34545 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
34546 if (SWIG_arg_fail(1)) SWIG_fail;
34547 }
34548 }
34549 if (obj1) {
34550 {
34551 arg2 = static_cast<int >(SWIG_As_int(obj1));
34552 if (SWIG_arg_fail(2)) SWIG_fail;
34553 }
34554 }
34555 if (obj2) {
34556 {
34557 arg3 = &temp3;
34558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34559 }
34560 }
34561 {
34562 PyThreadState* __tstate = wxPyBeginAllowThreads();
34563 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
34564
34565 wxPyEndAllowThreads(__tstate);
34566 if (PyErr_Occurred()) SWIG_fail;
34567 }
34568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
34569 return resultobj;
34570 fail:
34571 return NULL;
34572 }
34573
34574
34575 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34576 PyObject *resultobj = NULL;
34577 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34578 wxPoint result;
34579 PyObject * obj0 = 0 ;
34580 char *kwnames[] = {
34581 (char *) "self", NULL
34582 };
34583
34584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
34585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34586 if (SWIG_arg_fail(1)) SWIG_fail;
34587 {
34588 PyThreadState* __tstate = wxPyBeginAllowThreads();
34589 result = ((wxHelpEvent const *)arg1)->GetPosition();
34590
34591 wxPyEndAllowThreads(__tstate);
34592 if (PyErr_Occurred()) SWIG_fail;
34593 }
34594 {
34595 wxPoint * resultptr;
34596 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
34597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34598 }
34599 return resultobj;
34600 fail:
34601 return NULL;
34602 }
34603
34604
34605 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34606 PyObject *resultobj = NULL;
34607 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34608 wxPoint *arg2 = 0 ;
34609 wxPoint temp2 ;
34610 PyObject * obj0 = 0 ;
34611 PyObject * obj1 = 0 ;
34612 char *kwnames[] = {
34613 (char *) "self",(char *) "pos", NULL
34614 };
34615
34616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
34617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34618 if (SWIG_arg_fail(1)) SWIG_fail;
34619 {
34620 arg2 = &temp2;
34621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34622 }
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 (arg1)->SetPosition((wxPoint const &)*arg2);
34626
34627 wxPyEndAllowThreads(__tstate);
34628 if (PyErr_Occurred()) SWIG_fail;
34629 }
34630 Py_INCREF(Py_None); resultobj = Py_None;
34631 return resultobj;
34632 fail:
34633 return NULL;
34634 }
34635
34636
34637 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
34638 PyObject *resultobj = NULL;
34639 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34640 wxString *result;
34641 PyObject * obj0 = 0 ;
34642 char *kwnames[] = {
34643 (char *) "self", NULL
34644 };
34645
34646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
34647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail;
34649 {
34650 PyThreadState* __tstate = wxPyBeginAllowThreads();
34651 {
34652 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
34653 result = (wxString *) &_result_ref;
34654 }
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 {
34660 #if wxUSE_UNICODE
34661 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34662 #else
34663 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34664 #endif
34665 }
34666 return resultobj;
34667 fail:
34668 return NULL;
34669 }
34670
34671
34672 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
34673 PyObject *resultobj = NULL;
34674 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34675 wxString *arg2 = 0 ;
34676 bool temp2 = false ;
34677 PyObject * obj0 = 0 ;
34678 PyObject * obj1 = 0 ;
34679 char *kwnames[] = {
34680 (char *) "self",(char *) "link", NULL
34681 };
34682
34683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
34684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34685 if (SWIG_arg_fail(1)) SWIG_fail;
34686 {
34687 arg2 = wxString_in_helper(obj1);
34688 if (arg2 == NULL) SWIG_fail;
34689 temp2 = true;
34690 }
34691 {
34692 PyThreadState* __tstate = wxPyBeginAllowThreads();
34693 (arg1)->SetLink((wxString const &)*arg2);
34694
34695 wxPyEndAllowThreads(__tstate);
34696 if (PyErr_Occurred()) SWIG_fail;
34697 }
34698 Py_INCREF(Py_None); resultobj = Py_None;
34699 {
34700 if (temp2)
34701 delete arg2;
34702 }
34703 return resultobj;
34704 fail:
34705 {
34706 if (temp2)
34707 delete arg2;
34708 }
34709 return NULL;
34710 }
34711
34712
34713 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
34714 PyObject *resultobj = NULL;
34715 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34716 wxString *result;
34717 PyObject * obj0 = 0 ;
34718 char *kwnames[] = {
34719 (char *) "self", NULL
34720 };
34721
34722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
34723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34724 if (SWIG_arg_fail(1)) SWIG_fail;
34725 {
34726 PyThreadState* __tstate = wxPyBeginAllowThreads();
34727 {
34728 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
34729 result = (wxString *) &_result_ref;
34730 }
34731
34732 wxPyEndAllowThreads(__tstate);
34733 if (PyErr_Occurred()) SWIG_fail;
34734 }
34735 {
34736 #if wxUSE_UNICODE
34737 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34738 #else
34739 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34740 #endif
34741 }
34742 return resultobj;
34743 fail:
34744 return NULL;
34745 }
34746
34747
34748 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
34749 PyObject *resultobj = NULL;
34750 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
34751 wxString *arg2 = 0 ;
34752 bool temp2 = false ;
34753 PyObject * obj0 = 0 ;
34754 PyObject * obj1 = 0 ;
34755 char *kwnames[] = {
34756 (char *) "self",(char *) "target", NULL
34757 };
34758
34759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
34760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
34761 if (SWIG_arg_fail(1)) SWIG_fail;
34762 {
34763 arg2 = wxString_in_helper(obj1);
34764 if (arg2 == NULL) SWIG_fail;
34765 temp2 = true;
34766 }
34767 {
34768 PyThreadState* __tstate = wxPyBeginAllowThreads();
34769 (arg1)->SetTarget((wxString const &)*arg2);
34770
34771 wxPyEndAllowThreads(__tstate);
34772 if (PyErr_Occurred()) SWIG_fail;
34773 }
34774 Py_INCREF(Py_None); resultobj = Py_None;
34775 {
34776 if (temp2)
34777 delete arg2;
34778 }
34779 return resultobj;
34780 fail:
34781 {
34782 if (temp2)
34783 delete arg2;
34784 }
34785 return NULL;
34786 }
34787
34788
34789 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
34790 PyObject *obj;
34791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34792 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
34793 Py_INCREF(obj);
34794 return Py_BuildValue((char *)"");
34795 }
34796 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34797 PyObject *resultobj = NULL;
34798 wxWindow *arg1 = (wxWindow *) NULL ;
34799 bool arg2 = (bool) true ;
34800 wxContextHelp *result;
34801 PyObject * obj0 = 0 ;
34802 PyObject * obj1 = 0 ;
34803 char *kwnames[] = {
34804 (char *) "window",(char *) "doNow", NULL
34805 };
34806
34807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
34808 if (obj0) {
34809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34810 if (SWIG_arg_fail(1)) SWIG_fail;
34811 }
34812 if (obj1) {
34813 {
34814 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
34815 if (SWIG_arg_fail(2)) SWIG_fail;
34816 }
34817 }
34818 {
34819 if (!wxPyCheckForApp()) SWIG_fail;
34820 PyThreadState* __tstate = wxPyBeginAllowThreads();
34821 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
34822
34823 wxPyEndAllowThreads(__tstate);
34824 if (PyErr_Occurred()) SWIG_fail;
34825 }
34826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
34827 return resultobj;
34828 fail:
34829 return NULL;
34830 }
34831
34832
34833 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34834 PyObject *resultobj = NULL;
34835 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34836 PyObject * obj0 = 0 ;
34837 char *kwnames[] = {
34838 (char *) "self", NULL
34839 };
34840
34841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
34842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34843 if (SWIG_arg_fail(1)) SWIG_fail;
34844 {
34845 PyThreadState* __tstate = wxPyBeginAllowThreads();
34846 delete arg1;
34847
34848 wxPyEndAllowThreads(__tstate);
34849 if (PyErr_Occurred()) SWIG_fail;
34850 }
34851 Py_INCREF(Py_None); resultobj = Py_None;
34852 return resultobj;
34853 fail:
34854 return NULL;
34855 }
34856
34857
34858 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34859 PyObject *resultobj = NULL;
34860 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34861 wxWindow *arg2 = (wxWindow *) NULL ;
34862 bool result;
34863 PyObject * obj0 = 0 ;
34864 PyObject * obj1 = 0 ;
34865 char *kwnames[] = {
34866 (char *) "self",(char *) "window", NULL
34867 };
34868
34869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
34870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34871 if (SWIG_arg_fail(1)) SWIG_fail;
34872 if (obj1) {
34873 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34874 if (SWIG_arg_fail(2)) SWIG_fail;
34875 }
34876 {
34877 PyThreadState* __tstate = wxPyBeginAllowThreads();
34878 result = (bool)(arg1)->BeginContextHelp(arg2);
34879
34880 wxPyEndAllowThreads(__tstate);
34881 if (PyErr_Occurred()) SWIG_fail;
34882 }
34883 {
34884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34885 }
34886 return resultobj;
34887 fail:
34888 return NULL;
34889 }
34890
34891
34892 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
34893 PyObject *resultobj = NULL;
34894 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
34895 bool result;
34896 PyObject * obj0 = 0 ;
34897 char *kwnames[] = {
34898 (char *) "self", NULL
34899 };
34900
34901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
34902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
34903 if (SWIG_arg_fail(1)) SWIG_fail;
34904 {
34905 PyThreadState* __tstate = wxPyBeginAllowThreads();
34906 result = (bool)(arg1)->EndContextHelp();
34907
34908 wxPyEndAllowThreads(__tstate);
34909 if (PyErr_Occurred()) SWIG_fail;
34910 }
34911 {
34912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34913 }
34914 return resultobj;
34915 fail:
34916 return NULL;
34917 }
34918
34919
34920 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
34921 PyObject *obj;
34922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34923 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
34924 Py_INCREF(obj);
34925 return Py_BuildValue((char *)"");
34926 }
34927 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
34928 PyObject *resultobj = NULL;
34929 wxWindow *arg1 = (wxWindow *) 0 ;
34930 int arg2 = (int) wxID_CONTEXT_HELP ;
34931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34933 wxSize const &arg4_defvalue = wxDefaultSize ;
34934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34935 long arg5 = (long) wxBU_AUTODRAW ;
34936 wxContextHelpButton *result;
34937 wxPoint temp3 ;
34938 wxSize temp4 ;
34939 PyObject * obj0 = 0 ;
34940 PyObject * obj1 = 0 ;
34941 PyObject * obj2 = 0 ;
34942 PyObject * obj3 = 0 ;
34943 PyObject * obj4 = 0 ;
34944 char *kwnames[] = {
34945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
34946 };
34947
34948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34950 if (SWIG_arg_fail(1)) SWIG_fail;
34951 if (obj1) {
34952 {
34953 arg2 = static_cast<int >(SWIG_As_int(obj1));
34954 if (SWIG_arg_fail(2)) SWIG_fail;
34955 }
34956 }
34957 if (obj2) {
34958 {
34959 arg3 = &temp3;
34960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34961 }
34962 }
34963 if (obj3) {
34964 {
34965 arg4 = &temp4;
34966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34967 }
34968 }
34969 if (obj4) {
34970 {
34971 arg5 = static_cast<long >(SWIG_As_long(obj4));
34972 if (SWIG_arg_fail(5)) SWIG_fail;
34973 }
34974 }
34975 {
34976 if (!wxPyCheckForApp()) SWIG_fail;
34977 PyThreadState* __tstate = wxPyBeginAllowThreads();
34978 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
34979
34980 wxPyEndAllowThreads(__tstate);
34981 if (PyErr_Occurred()) SWIG_fail;
34982 }
34983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
34984 return resultobj;
34985 fail:
34986 return NULL;
34987 }
34988
34989
34990 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
34991 PyObject *obj;
34992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34993 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
34994 Py_INCREF(obj);
34995 return Py_BuildValue((char *)"");
34996 }
34997 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
34998 PyObject *resultobj = NULL;
34999 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35000 wxHelpProvider *result;
35001 PyObject * obj0 = 0 ;
35002 char *kwnames[] = {
35003 (char *) "helpProvider", NULL
35004 };
35005
35006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
35007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
35008 if (SWIG_arg_fail(1)) SWIG_fail;
35009 {
35010 PyThreadState* __tstate = wxPyBeginAllowThreads();
35011 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
35012
35013 wxPyEndAllowThreads(__tstate);
35014 if (PyErr_Occurred()) SWIG_fail;
35015 }
35016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 1);
35017 return resultobj;
35018 fail:
35019 return NULL;
35020 }
35021
35022
35023 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
35024 PyObject *resultobj = NULL;
35025 wxHelpProvider *result;
35026 char *kwnames[] = {
35027 NULL
35028 };
35029
35030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
35031 {
35032 PyThreadState* __tstate = wxPyBeginAllowThreads();
35033 result = (wxHelpProvider *)wxHelpProvider::Get();
35034
35035 wxPyEndAllowThreads(__tstate);
35036 if (PyErr_Occurred()) SWIG_fail;
35037 }
35038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
35039 return resultobj;
35040 fail:
35041 return NULL;
35042 }
35043
35044
35045 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
35046 PyObject *resultobj = NULL;
35047 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35048 wxWindow *arg2 = (wxWindow *) 0 ;
35049 wxString result;
35050 PyObject * obj0 = 0 ;
35051 PyObject * obj1 = 0 ;
35052 char *kwnames[] = {
35053 (char *) "self",(char *) "window", NULL
35054 };
35055
35056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
35057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35058 if (SWIG_arg_fail(1)) SWIG_fail;
35059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35060 if (SWIG_arg_fail(2)) SWIG_fail;
35061 {
35062 PyThreadState* __tstate = wxPyBeginAllowThreads();
35063 result = (arg1)->GetHelp((wxWindow const *)arg2);
35064
35065 wxPyEndAllowThreads(__tstate);
35066 if (PyErr_Occurred()) SWIG_fail;
35067 }
35068 {
35069 #if wxUSE_UNICODE
35070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35071 #else
35072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35073 #endif
35074 }
35075 return resultobj;
35076 fail:
35077 return NULL;
35078 }
35079
35080
35081 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
35082 PyObject *resultobj = NULL;
35083 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35084 wxWindow *arg2 = (wxWindow *) 0 ;
35085 bool result;
35086 PyObject * obj0 = 0 ;
35087 PyObject * obj1 = 0 ;
35088 char *kwnames[] = {
35089 (char *) "self",(char *) "window", NULL
35090 };
35091
35092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
35093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35094 if (SWIG_arg_fail(1)) SWIG_fail;
35095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35096 if (SWIG_arg_fail(2)) SWIG_fail;
35097 {
35098 PyThreadState* __tstate = wxPyBeginAllowThreads();
35099 result = (bool)(arg1)->ShowHelp(arg2);
35100
35101 wxPyEndAllowThreads(__tstate);
35102 if (PyErr_Occurred()) SWIG_fail;
35103 }
35104 {
35105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35106 }
35107 return resultobj;
35108 fail:
35109 return NULL;
35110 }
35111
35112
35113 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
35114 PyObject *resultobj = NULL;
35115 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35116 wxWindow *arg2 = (wxWindow *) 0 ;
35117 wxString *arg3 = 0 ;
35118 bool temp3 = false ;
35119 PyObject * obj0 = 0 ;
35120 PyObject * obj1 = 0 ;
35121 PyObject * obj2 = 0 ;
35122 char *kwnames[] = {
35123 (char *) "self",(char *) "window",(char *) "text", NULL
35124 };
35125
35126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
35127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35128 if (SWIG_arg_fail(1)) SWIG_fail;
35129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35130 if (SWIG_arg_fail(2)) SWIG_fail;
35131 {
35132 arg3 = wxString_in_helper(obj2);
35133 if (arg3 == NULL) SWIG_fail;
35134 temp3 = true;
35135 }
35136 {
35137 PyThreadState* __tstate = wxPyBeginAllowThreads();
35138 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35139
35140 wxPyEndAllowThreads(__tstate);
35141 if (PyErr_Occurred()) SWIG_fail;
35142 }
35143 Py_INCREF(Py_None); resultobj = Py_None;
35144 {
35145 if (temp3)
35146 delete arg3;
35147 }
35148 return resultobj;
35149 fail:
35150 {
35151 if (temp3)
35152 delete arg3;
35153 }
35154 return NULL;
35155 }
35156
35157
35158 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
35159 PyObject *resultobj = NULL;
35160 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35161 int arg2 ;
35162 wxString *arg3 = 0 ;
35163 bool temp3 = false ;
35164 PyObject * obj0 = 0 ;
35165 PyObject * obj1 = 0 ;
35166 PyObject * obj2 = 0 ;
35167 char *kwnames[] = {
35168 (char *) "self",(char *) "id",(char *) "text", NULL
35169 };
35170
35171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
35172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35173 if (SWIG_arg_fail(1)) SWIG_fail;
35174 {
35175 arg2 = static_cast<int >(SWIG_As_int(obj1));
35176 if (SWIG_arg_fail(2)) SWIG_fail;
35177 }
35178 {
35179 arg3 = wxString_in_helper(obj2);
35180 if (arg3 == NULL) SWIG_fail;
35181 temp3 = true;
35182 }
35183 {
35184 PyThreadState* __tstate = wxPyBeginAllowThreads();
35185 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
35186
35187 wxPyEndAllowThreads(__tstate);
35188 if (PyErr_Occurred()) SWIG_fail;
35189 }
35190 Py_INCREF(Py_None); resultobj = Py_None;
35191 {
35192 if (temp3)
35193 delete arg3;
35194 }
35195 return resultobj;
35196 fail:
35197 {
35198 if (temp3)
35199 delete arg3;
35200 }
35201 return NULL;
35202 }
35203
35204
35205 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
35206 PyObject *resultobj = NULL;
35207 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35208 wxWindow *arg2 = (wxWindow *) 0 ;
35209 PyObject * obj0 = 0 ;
35210 PyObject * obj1 = 0 ;
35211 char *kwnames[] = {
35212 (char *) "self",(char *) "window", NULL
35213 };
35214
35215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
35216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35217 if (SWIG_arg_fail(1)) SWIG_fail;
35218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35219 if (SWIG_arg_fail(2)) SWIG_fail;
35220 {
35221 PyThreadState* __tstate = wxPyBeginAllowThreads();
35222 (arg1)->RemoveHelp(arg2);
35223
35224 wxPyEndAllowThreads(__tstate);
35225 if (PyErr_Occurred()) SWIG_fail;
35226 }
35227 Py_INCREF(Py_None); resultobj = Py_None;
35228 return resultobj;
35229 fail:
35230 return NULL;
35231 }
35232
35233
35234 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
35235 PyObject *resultobj = NULL;
35236 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
35237 PyObject * obj0 = 0 ;
35238 char *kwnames[] = {
35239 (char *) "self", NULL
35240 };
35241
35242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
35243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
35244 if (SWIG_arg_fail(1)) SWIG_fail;
35245 {
35246 PyThreadState* __tstate = wxPyBeginAllowThreads();
35247 wxHelpProvider_Destroy(arg1);
35248
35249 wxPyEndAllowThreads(__tstate);
35250 if (PyErr_Occurred()) SWIG_fail;
35251 }
35252 Py_INCREF(Py_None); resultobj = Py_None;
35253 return resultobj;
35254 fail:
35255 return NULL;
35256 }
35257
35258
35259 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
35260 PyObject *obj;
35261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35262 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
35263 Py_INCREF(obj);
35264 return Py_BuildValue((char *)"");
35265 }
35266 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
35267 PyObject *resultobj = NULL;
35268 wxSimpleHelpProvider *result;
35269 char *kwnames[] = {
35270 NULL
35271 };
35272
35273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
35274 {
35275 PyThreadState* __tstate = wxPyBeginAllowThreads();
35276 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
35277
35278 wxPyEndAllowThreads(__tstate);
35279 if (PyErr_Occurred()) SWIG_fail;
35280 }
35281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
35282 return resultobj;
35283 fail:
35284 return NULL;
35285 }
35286
35287
35288 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
35289 PyObject *obj;
35290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35291 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
35292 Py_INCREF(obj);
35293 return Py_BuildValue((char *)"");
35294 }
35295 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
35296 PyObject *resultobj = NULL;
35297 wxBitmap *arg1 = 0 ;
35298 wxCursor const &arg2_defvalue = wxNullCursor ;
35299 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35300 wxGenericDragImage *result;
35301 PyObject * obj0 = 0 ;
35302 PyObject * obj1 = 0 ;
35303 char *kwnames[] = {
35304 (char *) "image",(char *) "cursor", NULL
35305 };
35306
35307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
35308 {
35309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35310 if (SWIG_arg_fail(1)) SWIG_fail;
35311 if (arg1 == NULL) {
35312 SWIG_null_ref("wxBitmap");
35313 }
35314 if (SWIG_arg_fail(1)) SWIG_fail;
35315 }
35316 if (obj1) {
35317 {
35318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35319 if (SWIG_arg_fail(2)) SWIG_fail;
35320 if (arg2 == NULL) {
35321 SWIG_null_ref("wxCursor");
35322 }
35323 if (SWIG_arg_fail(2)) SWIG_fail;
35324 }
35325 }
35326 {
35327 if (!wxPyCheckForApp()) SWIG_fail;
35328 PyThreadState* __tstate = wxPyBeginAllowThreads();
35329 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
35330
35331 wxPyEndAllowThreads(__tstate);
35332 if (PyErr_Occurred()) SWIG_fail;
35333 }
35334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35335 return resultobj;
35336 fail:
35337 return NULL;
35338 }
35339
35340
35341 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
35342 PyObject *resultobj = NULL;
35343 wxIcon *arg1 = 0 ;
35344 wxCursor const &arg2_defvalue = wxNullCursor ;
35345 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35346 wxGenericDragImage *result;
35347 PyObject * obj0 = 0 ;
35348 PyObject * obj1 = 0 ;
35349 char *kwnames[] = {
35350 (char *) "image",(char *) "cursor", NULL
35351 };
35352
35353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
35354 {
35355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
35356 if (SWIG_arg_fail(1)) SWIG_fail;
35357 if (arg1 == NULL) {
35358 SWIG_null_ref("wxIcon");
35359 }
35360 if (SWIG_arg_fail(1)) SWIG_fail;
35361 }
35362 if (obj1) {
35363 {
35364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35365 if (SWIG_arg_fail(2)) SWIG_fail;
35366 if (arg2 == NULL) {
35367 SWIG_null_ref("wxCursor");
35368 }
35369 if (SWIG_arg_fail(2)) SWIG_fail;
35370 }
35371 }
35372 {
35373 if (!wxPyCheckForApp()) SWIG_fail;
35374 PyThreadState* __tstate = wxPyBeginAllowThreads();
35375 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
35376
35377 wxPyEndAllowThreads(__tstate);
35378 if (PyErr_Occurred()) SWIG_fail;
35379 }
35380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35381 return resultobj;
35382 fail:
35383 return NULL;
35384 }
35385
35386
35387 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
35388 PyObject *resultobj = NULL;
35389 wxString *arg1 = 0 ;
35390 wxCursor const &arg2_defvalue = wxNullCursor ;
35391 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
35392 wxGenericDragImage *result;
35393 bool temp1 = false ;
35394 PyObject * obj0 = 0 ;
35395 PyObject * obj1 = 0 ;
35396 char *kwnames[] = {
35397 (char *) "str",(char *) "cursor", NULL
35398 };
35399
35400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
35401 {
35402 arg1 = wxString_in_helper(obj0);
35403 if (arg1 == NULL) SWIG_fail;
35404 temp1 = true;
35405 }
35406 if (obj1) {
35407 {
35408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
35409 if (SWIG_arg_fail(2)) SWIG_fail;
35410 if (arg2 == NULL) {
35411 SWIG_null_ref("wxCursor");
35412 }
35413 if (SWIG_arg_fail(2)) SWIG_fail;
35414 }
35415 }
35416 {
35417 if (!wxPyCheckForApp()) SWIG_fail;
35418 PyThreadState* __tstate = wxPyBeginAllowThreads();
35419 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
35420
35421 wxPyEndAllowThreads(__tstate);
35422 if (PyErr_Occurred()) SWIG_fail;
35423 }
35424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35425 {
35426 if (temp1)
35427 delete arg1;
35428 }
35429 return resultobj;
35430 fail:
35431 {
35432 if (temp1)
35433 delete arg1;
35434 }
35435 return NULL;
35436 }
35437
35438
35439 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
35440 PyObject *resultobj = NULL;
35441 wxPyTreeCtrl *arg1 = 0 ;
35442 wxTreeItemId *arg2 = 0 ;
35443 wxGenericDragImage *result;
35444 PyObject * obj0 = 0 ;
35445 PyObject * obj1 = 0 ;
35446 char *kwnames[] = {
35447 (char *) "treeCtrl",(char *) "id", NULL
35448 };
35449
35450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
35451 {
35452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
35453 if (SWIG_arg_fail(1)) SWIG_fail;
35454 if (arg1 == NULL) {
35455 SWIG_null_ref("wxPyTreeCtrl");
35456 }
35457 if (SWIG_arg_fail(1)) SWIG_fail;
35458 }
35459 {
35460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
35461 if (SWIG_arg_fail(2)) SWIG_fail;
35462 if (arg2 == NULL) {
35463 SWIG_null_ref("wxTreeItemId");
35464 }
35465 if (SWIG_arg_fail(2)) SWIG_fail;
35466 }
35467 {
35468 if (!wxPyCheckForApp()) SWIG_fail;
35469 PyThreadState* __tstate = wxPyBeginAllowThreads();
35470 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
35471
35472 wxPyEndAllowThreads(__tstate);
35473 if (PyErr_Occurred()) SWIG_fail;
35474 }
35475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35476 return resultobj;
35477 fail:
35478 return NULL;
35479 }
35480
35481
35482 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
35483 PyObject *resultobj = NULL;
35484 wxPyListCtrl *arg1 = 0 ;
35485 long arg2 ;
35486 wxGenericDragImage *result;
35487 PyObject * obj0 = 0 ;
35488 PyObject * obj1 = 0 ;
35489 char *kwnames[] = {
35490 (char *) "listCtrl",(char *) "id", NULL
35491 };
35492
35493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
35494 {
35495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
35496 if (SWIG_arg_fail(1)) SWIG_fail;
35497 if (arg1 == NULL) {
35498 SWIG_null_ref("wxPyListCtrl");
35499 }
35500 if (SWIG_arg_fail(1)) SWIG_fail;
35501 }
35502 {
35503 arg2 = static_cast<long >(SWIG_As_long(obj1));
35504 if (SWIG_arg_fail(2)) SWIG_fail;
35505 }
35506 {
35507 if (!wxPyCheckForApp()) SWIG_fail;
35508 PyThreadState* __tstate = wxPyBeginAllowThreads();
35509 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
35510
35511 wxPyEndAllowThreads(__tstate);
35512 if (PyErr_Occurred()) SWIG_fail;
35513 }
35514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
35515 return resultobj;
35516 fail:
35517 return NULL;
35518 }
35519
35520
35521 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
35522 PyObject *resultobj = NULL;
35523 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35524 PyObject * obj0 = 0 ;
35525 char *kwnames[] = {
35526 (char *) "self", NULL
35527 };
35528
35529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
35530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35531 if (SWIG_arg_fail(1)) SWIG_fail;
35532 {
35533 PyThreadState* __tstate = wxPyBeginAllowThreads();
35534 delete arg1;
35535
35536 wxPyEndAllowThreads(__tstate);
35537 if (PyErr_Occurred()) SWIG_fail;
35538 }
35539 Py_INCREF(Py_None); resultobj = Py_None;
35540 return resultobj;
35541 fail:
35542 return NULL;
35543 }
35544
35545
35546 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
35547 PyObject *resultobj = NULL;
35548 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35549 wxBitmap *arg2 = (wxBitmap *) 0 ;
35550 PyObject * obj0 = 0 ;
35551 PyObject * obj1 = 0 ;
35552 char *kwnames[] = {
35553 (char *) "self",(char *) "bitmap", NULL
35554 };
35555
35556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
35557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35558 if (SWIG_arg_fail(1)) SWIG_fail;
35559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
35560 if (SWIG_arg_fail(2)) SWIG_fail;
35561 {
35562 PyThreadState* __tstate = wxPyBeginAllowThreads();
35563 (arg1)->SetBackingBitmap(arg2);
35564
35565 wxPyEndAllowThreads(__tstate);
35566 if (PyErr_Occurred()) SWIG_fail;
35567 }
35568 Py_INCREF(Py_None); resultobj = Py_None;
35569 return resultobj;
35570 fail:
35571 return NULL;
35572 }
35573
35574
35575 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
35576 PyObject *resultobj = NULL;
35577 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35578 wxPoint *arg2 = 0 ;
35579 wxWindow *arg3 = (wxWindow *) 0 ;
35580 bool arg4 = (bool) false ;
35581 wxRect *arg5 = (wxRect *) NULL ;
35582 bool result;
35583 wxPoint temp2 ;
35584 PyObject * obj0 = 0 ;
35585 PyObject * obj1 = 0 ;
35586 PyObject * obj2 = 0 ;
35587 PyObject * obj3 = 0 ;
35588 PyObject * obj4 = 0 ;
35589 char *kwnames[] = {
35590 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
35591 };
35592
35593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35595 if (SWIG_arg_fail(1)) SWIG_fail;
35596 {
35597 arg2 = &temp2;
35598 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35599 }
35600 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35601 if (SWIG_arg_fail(3)) SWIG_fail;
35602 if (obj3) {
35603 {
35604 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
35605 if (SWIG_arg_fail(4)) SWIG_fail;
35606 }
35607 }
35608 if (obj4) {
35609 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
35610 if (SWIG_arg_fail(5)) SWIG_fail;
35611 }
35612 {
35613 PyThreadState* __tstate = wxPyBeginAllowThreads();
35614 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
35615
35616 wxPyEndAllowThreads(__tstate);
35617 if (PyErr_Occurred()) SWIG_fail;
35618 }
35619 {
35620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35621 }
35622 return resultobj;
35623 fail:
35624 return NULL;
35625 }
35626
35627
35628 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
35629 PyObject *resultobj = NULL;
35630 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35631 wxPoint *arg2 = 0 ;
35632 wxWindow *arg3 = (wxWindow *) 0 ;
35633 wxWindow *arg4 = (wxWindow *) 0 ;
35634 bool result;
35635 wxPoint temp2 ;
35636 PyObject * obj0 = 0 ;
35637 PyObject * obj1 = 0 ;
35638 PyObject * obj2 = 0 ;
35639 PyObject * obj3 = 0 ;
35640 char *kwnames[] = {
35641 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
35642 };
35643
35644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35646 if (SWIG_arg_fail(1)) SWIG_fail;
35647 {
35648 arg2 = &temp2;
35649 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35650 }
35651 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35652 if (SWIG_arg_fail(3)) SWIG_fail;
35653 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35654 if (SWIG_arg_fail(4)) SWIG_fail;
35655 {
35656 PyThreadState* __tstate = wxPyBeginAllowThreads();
35657 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
35658
35659 wxPyEndAllowThreads(__tstate);
35660 if (PyErr_Occurred()) SWIG_fail;
35661 }
35662 {
35663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35664 }
35665 return resultobj;
35666 fail:
35667 return NULL;
35668 }
35669
35670
35671 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
35672 PyObject *resultobj = NULL;
35673 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35674 bool result;
35675 PyObject * obj0 = 0 ;
35676 char *kwnames[] = {
35677 (char *) "self", NULL
35678 };
35679
35680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
35681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35682 if (SWIG_arg_fail(1)) SWIG_fail;
35683 {
35684 PyThreadState* __tstate = wxPyBeginAllowThreads();
35685 result = (bool)(arg1)->EndDrag();
35686
35687 wxPyEndAllowThreads(__tstate);
35688 if (PyErr_Occurred()) SWIG_fail;
35689 }
35690 {
35691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35692 }
35693 return resultobj;
35694 fail:
35695 return NULL;
35696 }
35697
35698
35699 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
35700 PyObject *resultobj = NULL;
35701 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35702 wxPoint *arg2 = 0 ;
35703 bool result;
35704 wxPoint temp2 ;
35705 PyObject * obj0 = 0 ;
35706 PyObject * obj1 = 0 ;
35707 char *kwnames[] = {
35708 (char *) "self",(char *) "pt", NULL
35709 };
35710
35711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
35712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35713 if (SWIG_arg_fail(1)) SWIG_fail;
35714 {
35715 arg2 = &temp2;
35716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35717 }
35718 {
35719 PyThreadState* __tstate = wxPyBeginAllowThreads();
35720 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
35721
35722 wxPyEndAllowThreads(__tstate);
35723 if (PyErr_Occurred()) SWIG_fail;
35724 }
35725 {
35726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35727 }
35728 return resultobj;
35729 fail:
35730 return NULL;
35731 }
35732
35733
35734 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
35735 PyObject *resultobj = NULL;
35736 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35737 bool result;
35738 PyObject * obj0 = 0 ;
35739 char *kwnames[] = {
35740 (char *) "self", NULL
35741 };
35742
35743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
35744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35745 if (SWIG_arg_fail(1)) SWIG_fail;
35746 {
35747 PyThreadState* __tstate = wxPyBeginAllowThreads();
35748 result = (bool)(arg1)->Show();
35749
35750 wxPyEndAllowThreads(__tstate);
35751 if (PyErr_Occurred()) SWIG_fail;
35752 }
35753 {
35754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35755 }
35756 return resultobj;
35757 fail:
35758 return NULL;
35759 }
35760
35761
35762 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
35763 PyObject *resultobj = NULL;
35764 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35765 bool result;
35766 PyObject * obj0 = 0 ;
35767 char *kwnames[] = {
35768 (char *) "self", NULL
35769 };
35770
35771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
35772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35773 if (SWIG_arg_fail(1)) SWIG_fail;
35774 {
35775 PyThreadState* __tstate = wxPyBeginAllowThreads();
35776 result = (bool)(arg1)->Hide();
35777
35778 wxPyEndAllowThreads(__tstate);
35779 if (PyErr_Occurred()) SWIG_fail;
35780 }
35781 {
35782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35783 }
35784 return resultobj;
35785 fail:
35786 return NULL;
35787 }
35788
35789
35790 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
35791 PyObject *resultobj = NULL;
35792 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35793 wxPoint *arg2 = 0 ;
35794 wxRect result;
35795 wxPoint temp2 ;
35796 PyObject * obj0 = 0 ;
35797 PyObject * obj1 = 0 ;
35798 char *kwnames[] = {
35799 (char *) "self",(char *) "pos", NULL
35800 };
35801
35802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
35803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35804 if (SWIG_arg_fail(1)) SWIG_fail;
35805 {
35806 arg2 = &temp2;
35807 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35808 }
35809 {
35810 PyThreadState* __tstate = wxPyBeginAllowThreads();
35811 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
35812
35813 wxPyEndAllowThreads(__tstate);
35814 if (PyErr_Occurred()) SWIG_fail;
35815 }
35816 {
35817 wxRect * resultptr;
35818 resultptr = new wxRect(static_cast<wxRect & >(result));
35819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35820 }
35821 return resultobj;
35822 fail:
35823 return NULL;
35824 }
35825
35826
35827 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
35828 PyObject *resultobj = NULL;
35829 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35830 wxDC *arg2 = 0 ;
35831 wxPoint *arg3 = 0 ;
35832 bool result;
35833 wxPoint temp3 ;
35834 PyObject * obj0 = 0 ;
35835 PyObject * obj1 = 0 ;
35836 PyObject * obj2 = 0 ;
35837 char *kwnames[] = {
35838 (char *) "self",(char *) "dc",(char *) "pos", NULL
35839 };
35840
35841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
35842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35843 if (SWIG_arg_fail(1)) SWIG_fail;
35844 {
35845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35846 if (SWIG_arg_fail(2)) SWIG_fail;
35847 if (arg2 == NULL) {
35848 SWIG_null_ref("wxDC");
35849 }
35850 if (SWIG_arg_fail(2)) SWIG_fail;
35851 }
35852 {
35853 arg3 = &temp3;
35854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35855 }
35856 {
35857 PyThreadState* __tstate = wxPyBeginAllowThreads();
35858 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
35859
35860 wxPyEndAllowThreads(__tstate);
35861 if (PyErr_Occurred()) SWIG_fail;
35862 }
35863 {
35864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35865 }
35866 return resultobj;
35867 fail:
35868 return NULL;
35869 }
35870
35871
35872 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
35873 PyObject *resultobj = NULL;
35874 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35875 wxDC *arg2 = 0 ;
35876 wxMemoryDC *arg3 = 0 ;
35877 wxRect *arg4 = 0 ;
35878 wxRect *arg5 = 0 ;
35879 bool result;
35880 wxRect temp4 ;
35881 wxRect temp5 ;
35882 PyObject * obj0 = 0 ;
35883 PyObject * obj1 = 0 ;
35884 PyObject * obj2 = 0 ;
35885 PyObject * obj3 = 0 ;
35886 PyObject * obj4 = 0 ;
35887 char *kwnames[] = {
35888 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
35889 };
35890
35891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35893 if (SWIG_arg_fail(1)) SWIG_fail;
35894 {
35895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35896 if (SWIG_arg_fail(2)) SWIG_fail;
35897 if (arg2 == NULL) {
35898 SWIG_null_ref("wxDC");
35899 }
35900 if (SWIG_arg_fail(2)) SWIG_fail;
35901 }
35902 {
35903 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
35904 if (SWIG_arg_fail(3)) SWIG_fail;
35905 if (arg3 == NULL) {
35906 SWIG_null_ref("wxMemoryDC");
35907 }
35908 if (SWIG_arg_fail(3)) SWIG_fail;
35909 }
35910 {
35911 arg4 = &temp4;
35912 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
35913 }
35914 {
35915 arg5 = &temp5;
35916 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
35917 }
35918 {
35919 PyThreadState* __tstate = wxPyBeginAllowThreads();
35920 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
35921
35922 wxPyEndAllowThreads(__tstate);
35923 if (PyErr_Occurred()) SWIG_fail;
35924 }
35925 {
35926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35927 }
35928 return resultobj;
35929 fail:
35930 return NULL;
35931 }
35932
35933
35934 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
35935 PyObject *resultobj = NULL;
35936 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
35937 wxPoint *arg2 = 0 ;
35938 wxPoint *arg3 = 0 ;
35939 bool arg4 ;
35940 bool arg5 ;
35941 bool result;
35942 wxPoint temp2 ;
35943 wxPoint temp3 ;
35944 PyObject * obj0 = 0 ;
35945 PyObject * obj1 = 0 ;
35946 PyObject * obj2 = 0 ;
35947 PyObject * obj3 = 0 ;
35948 PyObject * obj4 = 0 ;
35949 char *kwnames[] = {
35950 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
35951 };
35952
35953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail;
35956 {
35957 arg2 = &temp2;
35958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
35959 }
35960 {
35961 arg3 = &temp3;
35962 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35963 }
35964 {
35965 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
35966 if (SWIG_arg_fail(4)) SWIG_fail;
35967 }
35968 {
35969 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
35970 if (SWIG_arg_fail(5)) SWIG_fail;
35971 }
35972 {
35973 PyThreadState* __tstate = wxPyBeginAllowThreads();
35974 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
35975
35976 wxPyEndAllowThreads(__tstate);
35977 if (PyErr_Occurred()) SWIG_fail;
35978 }
35979 {
35980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35981 }
35982 return resultobj;
35983 fail:
35984 return NULL;
35985 }
35986
35987
35988 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
35989 PyObject *obj;
35990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35991 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
35992 Py_INCREF(obj);
35993 return Py_BuildValue((char *)"");
35994 }
35995 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
35996 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
35997 return 1;
35998 }
35999
36000
36001 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
36002 PyObject *pyobj = NULL;
36003
36004 {
36005 #if wxUSE_UNICODE
36006 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
36007 #else
36008 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
36009 #endif
36010 }
36011 return pyobj;
36012 }
36013
36014
36015 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
36016 PyObject *resultobj = NULL;
36017 wxWindow *arg1 = (wxWindow *) 0 ;
36018 int arg2 = (int) -1 ;
36019 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
36020 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
36021 wxPoint const &arg4_defvalue = wxDefaultPosition ;
36022 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
36023 wxSize const &arg5_defvalue = wxDefaultSize ;
36024 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
36025 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36026 wxValidator const &arg7_defvalue = wxDefaultValidator ;
36027 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
36028 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
36029 wxString *arg8 = (wxString *) &arg8_defvalue ;
36030 wxDatePickerCtrl *result;
36031 wxPoint temp4 ;
36032 wxSize temp5 ;
36033 bool temp8 = false ;
36034 PyObject * obj0 = 0 ;
36035 PyObject * obj1 = 0 ;
36036 PyObject * obj2 = 0 ;
36037 PyObject * obj3 = 0 ;
36038 PyObject * obj4 = 0 ;
36039 PyObject * obj5 = 0 ;
36040 PyObject * obj6 = 0 ;
36041 PyObject * obj7 = 0 ;
36042 char *kwnames[] = {
36043 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36044 };
36045
36046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36048 if (SWIG_arg_fail(1)) SWIG_fail;
36049 if (obj1) {
36050 {
36051 arg2 = static_cast<int >(SWIG_As_int(obj1));
36052 if (SWIG_arg_fail(2)) SWIG_fail;
36053 }
36054 }
36055 if (obj2) {
36056 {
36057 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36058 if (SWIG_arg_fail(3)) SWIG_fail;
36059 if (arg3 == NULL) {
36060 SWIG_null_ref("wxDateTime");
36061 }
36062 if (SWIG_arg_fail(3)) SWIG_fail;
36063 }
36064 }
36065 if (obj3) {
36066 {
36067 arg4 = &temp4;
36068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36069 }
36070 }
36071 if (obj4) {
36072 {
36073 arg5 = &temp5;
36074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36075 }
36076 }
36077 if (obj5) {
36078 {
36079 arg6 = static_cast<long >(SWIG_As_long(obj5));
36080 if (SWIG_arg_fail(6)) SWIG_fail;
36081 }
36082 }
36083 if (obj6) {
36084 {
36085 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36086 if (SWIG_arg_fail(7)) SWIG_fail;
36087 if (arg7 == NULL) {
36088 SWIG_null_ref("wxValidator");
36089 }
36090 if (SWIG_arg_fail(7)) SWIG_fail;
36091 }
36092 }
36093 if (obj7) {
36094 {
36095 arg8 = wxString_in_helper(obj7);
36096 if (arg8 == NULL) SWIG_fail;
36097 temp8 = true;
36098 }
36099 }
36100 {
36101 if (!wxPyCheckForApp()) SWIG_fail;
36102 PyThreadState* __tstate = wxPyBeginAllowThreads();
36103 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
36104
36105 wxPyEndAllowThreads(__tstate);
36106 if (PyErr_Occurred()) SWIG_fail;
36107 }
36108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
36109 {
36110 if (temp8)
36111 delete arg8;
36112 }
36113 return resultobj;
36114 fail:
36115 {
36116 if (temp8)
36117 delete arg8;
36118 }
36119 return NULL;
36120 }
36121
36122
36123 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
36124 PyObject *resultobj = NULL;
36125 wxDatePickerCtrl *result;
36126 char *kwnames[] = {
36127 NULL
36128 };
36129
36130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
36131 {
36132 if (!wxPyCheckForApp()) SWIG_fail;
36133 PyThreadState* __tstate = wxPyBeginAllowThreads();
36134 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
36135
36136 wxPyEndAllowThreads(__tstate);
36137 if (PyErr_Occurred()) SWIG_fail;
36138 }
36139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
36140 return resultobj;
36141 fail:
36142 return NULL;
36143 }
36144
36145
36146 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
36147 PyObject *resultobj = NULL;
36148 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36149 wxWindow *arg2 = (wxWindow *) 0 ;
36150 int arg3 = (int) -1 ;
36151 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
36152 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
36153 wxPoint const &arg5_defvalue = wxDefaultPosition ;
36154 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
36155 wxSize const &arg6_defvalue = wxDefaultSize ;
36156 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
36157 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
36158 wxValidator const &arg8_defvalue = wxDefaultValidator ;
36159 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
36160 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
36161 wxString *arg9 = (wxString *) &arg9_defvalue ;
36162 bool result;
36163 wxPoint temp5 ;
36164 wxSize temp6 ;
36165 bool temp9 = false ;
36166 PyObject * obj0 = 0 ;
36167 PyObject * obj1 = 0 ;
36168 PyObject * obj2 = 0 ;
36169 PyObject * obj3 = 0 ;
36170 PyObject * obj4 = 0 ;
36171 PyObject * obj5 = 0 ;
36172 PyObject * obj6 = 0 ;
36173 PyObject * obj7 = 0 ;
36174 PyObject * obj8 = 0 ;
36175 char *kwnames[] = {
36176 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36177 };
36178
36179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36181 if (SWIG_arg_fail(1)) SWIG_fail;
36182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36183 if (SWIG_arg_fail(2)) SWIG_fail;
36184 if (obj2) {
36185 {
36186 arg3 = static_cast<int >(SWIG_As_int(obj2));
36187 if (SWIG_arg_fail(3)) SWIG_fail;
36188 }
36189 }
36190 if (obj3) {
36191 {
36192 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36193 if (SWIG_arg_fail(4)) SWIG_fail;
36194 if (arg4 == NULL) {
36195 SWIG_null_ref("wxDateTime");
36196 }
36197 if (SWIG_arg_fail(4)) SWIG_fail;
36198 }
36199 }
36200 if (obj4) {
36201 {
36202 arg5 = &temp5;
36203 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36204 }
36205 }
36206 if (obj5) {
36207 {
36208 arg6 = &temp6;
36209 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
36210 }
36211 }
36212 if (obj6) {
36213 {
36214 arg7 = static_cast<long >(SWIG_As_long(obj6));
36215 if (SWIG_arg_fail(7)) SWIG_fail;
36216 }
36217 }
36218 if (obj7) {
36219 {
36220 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
36221 if (SWIG_arg_fail(8)) SWIG_fail;
36222 if (arg8 == NULL) {
36223 SWIG_null_ref("wxValidator");
36224 }
36225 if (SWIG_arg_fail(8)) SWIG_fail;
36226 }
36227 }
36228 if (obj8) {
36229 {
36230 arg9 = wxString_in_helper(obj8);
36231 if (arg9 == NULL) SWIG_fail;
36232 temp9 = true;
36233 }
36234 }
36235 {
36236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36237 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
36238
36239 wxPyEndAllowThreads(__tstate);
36240 if (PyErr_Occurred()) SWIG_fail;
36241 }
36242 {
36243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36244 }
36245 {
36246 if (temp9)
36247 delete arg9;
36248 }
36249 return resultobj;
36250 fail:
36251 {
36252 if (temp9)
36253 delete arg9;
36254 }
36255 return NULL;
36256 }
36257
36258
36259 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
36260 PyObject *resultobj = NULL;
36261 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36262 wxDateTime *arg2 = 0 ;
36263 PyObject * obj0 = 0 ;
36264 PyObject * obj1 = 0 ;
36265 char *kwnames[] = {
36266 (char *) "self",(char *) "dt", NULL
36267 };
36268
36269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36271 if (SWIG_arg_fail(1)) SWIG_fail;
36272 {
36273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36274 if (SWIG_arg_fail(2)) SWIG_fail;
36275 if (arg2 == NULL) {
36276 SWIG_null_ref("wxDateTime");
36277 }
36278 if (SWIG_arg_fail(2)) SWIG_fail;
36279 }
36280 {
36281 PyThreadState* __tstate = wxPyBeginAllowThreads();
36282 (arg1)->SetValue((wxDateTime const &)*arg2);
36283
36284 wxPyEndAllowThreads(__tstate);
36285 if (PyErr_Occurred()) SWIG_fail;
36286 }
36287 Py_INCREF(Py_None); resultobj = Py_None;
36288 return resultobj;
36289 fail:
36290 return NULL;
36291 }
36292
36293
36294 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
36295 PyObject *resultobj = NULL;
36296 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36297 wxDateTime result;
36298 PyObject * obj0 = 0 ;
36299 char *kwnames[] = {
36300 (char *) "self", NULL
36301 };
36302
36303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
36304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36305 if (SWIG_arg_fail(1)) SWIG_fail;
36306 {
36307 PyThreadState* __tstate = wxPyBeginAllowThreads();
36308 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
36309
36310 wxPyEndAllowThreads(__tstate);
36311 if (PyErr_Occurred()) SWIG_fail;
36312 }
36313 {
36314 wxDateTime * resultptr;
36315 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36317 }
36318 return resultobj;
36319 fail:
36320 return NULL;
36321 }
36322
36323
36324 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
36325 PyObject *resultobj = NULL;
36326 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36327 wxDateTime *arg2 = 0 ;
36328 wxDateTime *arg3 = 0 ;
36329 PyObject * obj0 = 0 ;
36330 PyObject * obj1 = 0 ;
36331 PyObject * obj2 = 0 ;
36332 char *kwnames[] = {
36333 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
36334 };
36335
36336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36338 if (SWIG_arg_fail(1)) SWIG_fail;
36339 {
36340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36341 if (SWIG_arg_fail(2)) SWIG_fail;
36342 if (arg2 == NULL) {
36343 SWIG_null_ref("wxDateTime");
36344 }
36345 if (SWIG_arg_fail(2)) SWIG_fail;
36346 }
36347 {
36348 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
36349 if (SWIG_arg_fail(3)) SWIG_fail;
36350 if (arg3 == NULL) {
36351 SWIG_null_ref("wxDateTime");
36352 }
36353 if (SWIG_arg_fail(3)) SWIG_fail;
36354 }
36355 {
36356 PyThreadState* __tstate = wxPyBeginAllowThreads();
36357 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
36358
36359 wxPyEndAllowThreads(__tstate);
36360 if (PyErr_Occurred()) SWIG_fail;
36361 }
36362 Py_INCREF(Py_None); resultobj = Py_None;
36363 return resultobj;
36364 fail:
36365 return NULL;
36366 }
36367
36368
36369 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
36370 PyObject *resultobj = NULL;
36371 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36372 wxDateTime result;
36373 PyObject * obj0 = 0 ;
36374 char *kwnames[] = {
36375 (char *) "self", NULL
36376 };
36377
36378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
36379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36380 if (SWIG_arg_fail(1)) SWIG_fail;
36381 {
36382 PyThreadState* __tstate = wxPyBeginAllowThreads();
36383 result = wxDatePickerCtrl_GetLowerLimit(arg1);
36384
36385 wxPyEndAllowThreads(__tstate);
36386 if (PyErr_Occurred()) SWIG_fail;
36387 }
36388 {
36389 wxDateTime * resultptr;
36390 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36392 }
36393 return resultobj;
36394 fail:
36395 return NULL;
36396 }
36397
36398
36399 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
36400 PyObject *resultobj = NULL;
36401 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
36402 wxDateTime result;
36403 PyObject * obj0 = 0 ;
36404 char *kwnames[] = {
36405 (char *) "self", NULL
36406 };
36407
36408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
36409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
36410 if (SWIG_arg_fail(1)) SWIG_fail;
36411 {
36412 PyThreadState* __tstate = wxPyBeginAllowThreads();
36413 result = wxDatePickerCtrl_GetUpperLimit(arg1);
36414
36415 wxPyEndAllowThreads(__tstate);
36416 if (PyErr_Occurred()) SWIG_fail;
36417 }
36418 {
36419 wxDateTime * resultptr;
36420 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
36421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
36422 }
36423 return resultobj;
36424 fail:
36425 return NULL;
36426 }
36427
36428
36429 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
36430 PyObject *obj;
36431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36432 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
36433 Py_INCREF(obj);
36434 return Py_BuildValue((char *)"");
36435 }
36436 static PyMethodDef SwigMethods[] = {
36437 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
36438 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
36439 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36440 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36441 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36442 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36443 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
36444 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36445 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
36446 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36447 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36448 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36449 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36450 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36451 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
36452 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36453 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36454 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36455 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36456 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
36457 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
36458 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
36459 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36460 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
36461 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36462 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36463 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36464 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36465 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36466 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
36467 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
36468 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
36469 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36470 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
36471 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
36472 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
36473 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36474 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36475 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36476 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
36477 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36478 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
36479 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36480 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36481 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36482 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36483 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36484 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36485 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36486 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36487 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36488 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36489 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36490 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36491 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
36492 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36493 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36494 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36495 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36496 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36497 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36498 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36499 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36500 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36501 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36502 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36503 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36504 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36505 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36506 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36507 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36508 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
36509 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
36510 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
36511 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36512 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36513 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36514 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36515 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36516 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36517 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36518 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36519 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36520 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
36521 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36522 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
36523 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36524 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
36525 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36526 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36527 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
36528 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36529 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
36530 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36531 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36532 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
36533 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36534 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
36535 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36536 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
36537 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36538 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
36539 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36540 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
36541 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36542 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36543 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36544 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36545 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36546 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36547 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36548 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
36549 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36550 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36551 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36552 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
36553 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
36554 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36555 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36556 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36557 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36558 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
36559 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36560 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36561 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
36562 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
36563 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
36564 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36565 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
36566 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
36567 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36568 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36569 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
36570 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36571 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
36572 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36573 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
36574 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36575 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
36576 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
36577 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36578 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36579 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
36580 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
36581 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36582 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36583 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
36584 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36585 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36586 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36587 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36588 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36589 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36590 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36591 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36592 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36593 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36594 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36595 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36596 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36597 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36598 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36599 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
36600 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36601 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36602 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36603 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
36604 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
36605 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36606 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36607 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
36608 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
36609 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
36610 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
36611 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
36612 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36613 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36614 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36615 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36616 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36617 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36618 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
36619 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
36620 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
36621 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
36622 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36623 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
36624 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
36625 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36626 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
36630 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36643 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
36656 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
36657 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
36663 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
36664 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
36670 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36674 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
36675 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36676 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36681 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36683 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
36687 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
36689 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36691 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
36700 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36702 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36705 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36707 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
36712 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36713 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36715 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
36716 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
36726 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
36734 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
36741 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36745 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36753 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
36767 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
36775 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_GetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
36790 { (char *)"BookCtrlBase_IsVertical", (PyCFunction) _wrap_BookCtrlBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36796 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
36802 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
36807 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
36808 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
36810 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
36819 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
36821 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
36826 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
36828 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
36834 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
36836 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"new_PreTreebook", (PyCFunction) _wrap_new_PreTreebook, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"Treebook_InsertPage", (PyCFunction) _wrap_Treebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"Treebook_AddPage", (PyCFunction) _wrap_Treebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"Treebook_DeletePage", (PyCFunction) _wrap_Treebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"Treebook_GetTreeCtrl", (PyCFunction) _wrap_Treebook_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
36850 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
36852 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"new_PreToolbook", (PyCFunction) _wrap_new_PreToolbook, METH_VARARGS | METH_KEYWORDS, NULL},
36854 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"Toolbook_GetToolBar", (PyCFunction) _wrap_Toolbook_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"Toolbook_Realize", (PyCFunction) _wrap_Toolbook_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
36858 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
36860 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
36862 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36870 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36889 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
36890 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
36892 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
36912 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
36935 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
36941 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"delete_ListItemAttr", (PyCFunction) _wrap_delete_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36946 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
36955 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36956 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36962 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36974 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
36979 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36982 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
36990 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
37001 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
37007 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
37009 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
37015 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
37034 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37035 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
37045 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37066 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
37067 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37073 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
37075 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37080 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
37082 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
37083 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37091 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
37093 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
37094 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
37095 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37100 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37102 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37104 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
37105 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
37108 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
37110 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37111 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
37114 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37115 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
37120 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
37121 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
37122 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
37123 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
37124 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
37125 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
37126 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
37127 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
37128 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37129 { (char *)"delete_TreeItemData", (PyCFunction) _wrap_delete_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37130 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
37131 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
37132 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
37133 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
37134 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37135 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
37136 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37137 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37138 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
37139 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
37140 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
37141 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37142 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37143 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37144 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
37145 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37146 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37147 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37148 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
37149 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
37150 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
37151 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
37152 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
37153 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37154 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37155 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37156 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37157 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
37158 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37159 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
37160 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37161 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37162 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37163 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37164 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37165 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37166 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37167 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
37168 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37169 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37170 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37171 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37172 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37173 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37174 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37175 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
37176 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
37177 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
37178 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
37179 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37180 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
37181 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37182 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37183 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37184 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
37185 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37186 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37187 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
37188 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
37189 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
37190 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
37191 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
37192 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37193 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
37194 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
37195 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
37196 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
37197 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
37198 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37199 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
37200 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
37201 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37202 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37203 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
37204 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
37205 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
37206 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
37207 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
37208 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
37209 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37210 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
37211 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
37212 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
37213 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
37214 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
37215 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
37216 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37217 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
37218 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
37219 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
37220 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
37221 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
37222 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37223 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
37224 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
37225 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
37226 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
37227 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37228 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
37229 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
37230 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37231 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
37232 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37233 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37234 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37235 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
37236 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37237 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
37238 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37239 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
37240 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
37241 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37242 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
37243 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37244 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
37245 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37246 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
37247 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
37248 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37249 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37250 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
37251 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
37252 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
37253 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
37254 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37255 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37256 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37257 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
37258 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
37259 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37260 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
37261 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37262 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37263 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
37264 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37265 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37266 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37267 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37268 { (char *)"PyControl_DoGetSize", (PyCFunction) _wrap_PyControl_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37269 { (char *)"PyControl_DoGetClientSize", (PyCFunction) _wrap_PyControl_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
37270 { (char *)"PyControl_DoGetPosition", (PyCFunction) _wrap_PyControl_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37271 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
37272 { (char *)"PyControl_DoGetBestSize", (PyCFunction) _wrap_PyControl_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
37273 { (char *)"PyControl_InitDialog", (PyCFunction) _wrap_PyControl_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
37274 { (char *)"PyControl_TransferDataToWindow", (PyCFunction) _wrap_PyControl_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37275 { (char *)"PyControl_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37276 { (char *)"PyControl_Validate", (PyCFunction) _wrap_PyControl_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
37277 { (char *)"PyControl_AcceptsFocus", (PyCFunction) _wrap_PyControl_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
37278 { (char *)"PyControl_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
37279 { (char *)"PyControl_GetMaxSize", (PyCFunction) _wrap_PyControl_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
37280 { (char *)"PyControl_AddChild", (PyCFunction) _wrap_PyControl_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37281 { (char *)"PyControl_RemoveChild", (PyCFunction) _wrap_PyControl_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37282 { (char *)"PyControl_ShouldInheritColours", (PyCFunction) _wrap_PyControl_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
37283 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
37284 { (char *)"PyControl_OnInternalIdle", (PyCFunction) _wrap_PyControl_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
37285 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
37286 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
37287 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37288 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37289 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37290 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
37291 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37292 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
37293 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
37294 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37295 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37296 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37297 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37298 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
37299 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
37300 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
37301 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
37302 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
37303 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37304 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37305 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37306 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
37307 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
37308 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
37309 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
37310 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
37311 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
37312 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37313 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
37314 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
37315 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
37316 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
37317 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
37318 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
37319 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37320 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
37321 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
37322 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
37323 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
37324 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
37325 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
37326 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37327 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
37328 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
37329 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
37330 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37331 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
37332 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37333 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37334 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
37335 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
37336 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37337 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
37338 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
37339 { NULL, NULL, 0, NULL }
37340 };
37341
37342
37343 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37344
37345 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37347 }
37348 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37349 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37350 }
37351 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37352 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37353 }
37354 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37355 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37356 }
37357 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37358 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37359 }
37360 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
37361 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37362 }
37363 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
37364 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
37365 }
37366 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37367 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37368 }
37369 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37370 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37371 }
37372 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37373 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37374 }
37375 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
37376 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
37377 }
37378 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37379 return (void *)((wxEvent *) ((wxPyEvent *) x));
37380 }
37381 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37382 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37383 }
37384 static void *_p_wxListEventTo_p_wxEvent(void *x) {
37385 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
37386 }
37387 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
37388 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37389 }
37390 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
37391 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37392 }
37393 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
37394 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37395 }
37396 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
37397 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37398 }
37399 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
37400 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37401 }
37402 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
37403 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
37404 }
37405 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37406 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37407 }
37408 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37410 }
37411 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37412 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37413 }
37414 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37415 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37416 }
37417 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37418 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37419 }
37420 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37421 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37422 }
37423 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37424 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37425 }
37426 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37427 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37428 }
37429 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
37430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
37431 }
37432 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37433 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37434 }
37435 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37436 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37437 }
37438 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37439 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37440 }
37441 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37442 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37443 }
37444 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37445 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37446 }
37447 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37448 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37449 }
37450 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37451 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37452 }
37453 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37454 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37455 }
37456 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37457 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37458 }
37459 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37460 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37461 }
37462 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37463 return (void *)((wxEvent *) ((wxShowEvent *) x));
37464 }
37465 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37466 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37467 }
37468 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37470 }
37471 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37472 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37473 }
37474 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37475 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37476 }
37477 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37478 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37479 }
37480 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37481 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37482 }
37483 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
37484 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
37485 }
37486 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
37487 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37488 }
37489 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
37490 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37491 }
37492 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
37493 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
37494 }
37495 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37496 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37497 }
37498 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
37499 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
37500 }
37501 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
37502 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37503 }
37504 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
37505 return (void *)((wxPyListCtrl *) ((wxListView *) x));
37506 }
37507 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
37508 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
37509 }
37510 static void *_p_wxToolBarTo_p_wxControl(void *x) {
37511 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
37512 }
37513 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
37514 return (void *)((wxControl *) ((wxToggleButton *) x));
37515 }
37516 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
37517 return (void *)((wxControl *) ((wxRadioButton *) x));
37518 }
37519 static void *_p_wxToolbookTo_p_wxControl(void *x) {
37520 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
37521 }
37522 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
37523 return (void *)((wxControl *) ((wxToolBarBase *) x));
37524 }
37525 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
37526 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37527 }
37528 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
37529 return (void *)((wxControl *) ((wxPyListCtrl *) x));
37530 }
37531 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
37532 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37533 }
37534 static void *_p_wxPyControlTo_p_wxControl(void *x) {
37535 return (void *)((wxControl *) ((wxPyControl *) x));
37536 }
37537 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
37538 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
37539 }
37540 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
37541 return (void *)((wxControl *) ((wxScrollBar *) x));
37542 }
37543 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37544 return (void *)((wxControl *) ((wxControlWithItems *) x));
37545 }
37546 static void *_p_wxGaugeTo_p_wxControl(void *x) {
37547 return (void *)((wxControl *) ((wxGauge *) x));
37548 }
37549 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
37550 return (void *)((wxControl *) ((wxStaticLine *) x));
37551 }
37552 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
37553 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
37554 }
37555 static void *_p_wxListbookTo_p_wxControl(void *x) {
37556 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
37557 }
37558 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
37559 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
37560 }
37561 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
37562 return (void *)((wxControl *) ((wxCheckBox *) x));
37563 }
37564 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
37565 return (void *)((wxControl *) ((wxRadioBox *) x));
37566 }
37567 static void *_p_wxChoiceTo_p_wxControl(void *x) {
37568 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
37569 }
37570 static void *_p_wxListBoxTo_p_wxControl(void *x) {
37571 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
37572 }
37573 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
37574 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37575 }
37576 static void *_p_wxListViewTo_p_wxControl(void *x) {
37577 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
37578 }
37579 static void *_p_wxNotebookTo_p_wxControl(void *x) {
37580 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
37581 }
37582 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
37583 return (void *)((wxControl *) ((wxStaticBitmap *) x));
37584 }
37585 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
37586 return (void *)((wxControl *) ((wxSpinCtrl *) x));
37587 }
37588 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
37589 return (void *)((wxControl *) ((wxStaticText *) x));
37590 }
37591 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
37592 return (void *)((wxControl *) ((wxStaticBox *) x));
37593 }
37594 static void *_p_wxSliderTo_p_wxControl(void *x) {
37595 return (void *)((wxControl *) ((wxSlider *) x));
37596 }
37597 static void *_p_wxTreebookTo_p_wxControl(void *x) {
37598 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
37599 }
37600 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
37601 return (void *)((wxControl *) ((wxSpinButton *) x));
37602 }
37603 static void *_p_wxButtonTo_p_wxControl(void *x) {
37604 return (void *)((wxControl *) ((wxButton *) x));
37605 }
37606 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
37607 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
37608 }
37609 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
37610 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37611 }
37612 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
37613 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
37614 }
37615 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
37616 return (void *)((wxControl *) ((wxTextCtrl *) x));
37617 }
37618 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
37619 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
37620 }
37621 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
37622 return (void *)((wxChoice *) ((wxComboBox *) x));
37623 }
37624 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
37625 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
37626 }
37627 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
37628 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37629 }
37630 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
37631 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
37632 }
37633 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
37634 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
37635 }
37636 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
37637 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
37638 }
37639 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
37640 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37641 }
37642 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
37643 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37644 }
37645 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
37646 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37647 }
37648 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
37649 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
37650 }
37651 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
37652 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
37653 }
37654 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
37655 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
37656 }
37657 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
37658 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
37659 }
37660 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
37661 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
37662 }
37663 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
37664 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
37665 }
37666 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
37667 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
37668 }
37669 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37671 }
37672 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
37673 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
37674 }
37675 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37676 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37677 }
37678 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37679 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37680 }
37681 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
37682 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
37683 }
37684 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37685 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37686 }
37687 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
37688 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
37689 }
37690 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
37691 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
37692 }
37693 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
37694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37695 }
37696 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37697 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37698 }
37699 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37700 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37701 }
37702 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
37703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
37704 }
37705 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
37706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37707 }
37708 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
37709 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37710 }
37711 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
37712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37713 }
37714 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
37715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
37716 }
37717 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37718 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37719 }
37720 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
37721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37722 }
37723 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
37724 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
37725 }
37726 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37727 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37728 }
37729 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
37730 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
37731 }
37732 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
37733 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
37734 }
37735 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
37736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37737 }
37738 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
37739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37740 }
37741 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
37742 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37743 }
37744 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
37745 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
37746 }
37747 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
37748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
37749 }
37750 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
37751 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
37752 }
37753 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
37754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
37755 }
37756 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
37757 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37758 }
37759 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
37760 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37761 }
37762 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
37763 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37764 }
37765 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
37766 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37767 }
37768 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
37769 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
37770 }
37771 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
37772 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
37773 }
37774 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
37775 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
37776 }
37777 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
37778 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
37779 }
37780 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
37781 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37782 }
37783 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
37784 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
37785 }
37786 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
37787 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
37788 }
37789 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
37790 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
37791 }
37792 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
37793 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37794 }
37795 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
37796 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
37797 }
37798 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
37799 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37800 }
37801 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
37802 return (void *)((wxListBox *) ((wxCheckListBox *) x));
37803 }
37804 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
37805 return (void *)((wxButton *) ((wxBitmapButton *) x));
37806 }
37807 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
37808 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
37809 }
37810 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
37811 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
37812 }
37813 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
37814 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
37815 }
37816 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37817 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37818 }
37819 static void *_p_wxToolbookTo_p_wxObject(void *x) {
37820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
37821 }
37822 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37823 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37824 }
37825 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37826 return (void *)((wxObject *) ((wxSizerItem *) x));
37827 }
37828 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37830 }
37831 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37832 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37833 }
37834 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
37835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
37836 }
37837 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37838 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37839 }
37840 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37841 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37842 }
37843 static void *_p_wxSizerTo_p_wxObject(void *x) {
37844 return (void *)((wxObject *) ((wxSizer *) x));
37845 }
37846 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37847 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37848 }
37849 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
37850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
37851 }
37852 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
37853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
37854 }
37855 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37856 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37857 }
37858 static void *_p_wxEventTo_p_wxObject(void *x) {
37859 return (void *)((wxObject *) ((wxEvent *) x));
37860 }
37861 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37862 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37863 }
37864 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37865 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37866 }
37867 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37868 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37869 }
37870 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
37871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
37872 }
37873 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
37874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
37875 }
37876 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
37877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
37878 }
37879 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37880 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37881 }
37882 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37883 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37884 }
37885 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37886 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37887 }
37888 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37889 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37890 }
37891 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37892 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37893 }
37894 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37895 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37896 }
37897 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
37898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
37899 }
37900 static void *_p_wxControlTo_p_wxObject(void *x) {
37901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37902 }
37903 static void *_p_wxPyControlTo_p_wxObject(void *x) {
37904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
37905 }
37906 static void *_p_wxGaugeTo_p_wxObject(void *x) {
37907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
37908 }
37909 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
37910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
37911 }
37912 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
37913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
37914 }
37915 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
37916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
37917 }
37918 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37919 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37920 }
37921 static void *_p_wxChoiceTo_p_wxObject(void *x) {
37922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
37923 }
37924 static void *_p_wxFSFileTo_p_wxObject(void *x) {
37925 return (void *)((wxObject *) ((wxFSFile *) x));
37926 }
37927 static void *_p_wxPySizerTo_p_wxObject(void *x) {
37928 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37929 }
37930 static void *_p_wxTreebookTo_p_wxObject(void *x) {
37931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
37932 }
37933 static void *_p_wxListViewTo_p_wxObject(void *x) {
37934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
37935 }
37936 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
37937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
37938 }
37939 static void *_p_wxNotebookTo_p_wxObject(void *x) {
37940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
37941 }
37942 static void *_p_wxPyEventTo_p_wxObject(void *x) {
37943 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37944 }
37945 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37947 }
37948 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
37949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
37950 }
37951 static void *_p_wxListbookTo_p_wxObject(void *x) {
37952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
37953 }
37954 static void *_p_wxShowEventTo_p_wxObject(void *x) {
37955 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37956 }
37957 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
37958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
37959 }
37960 static void *_p_wxSliderTo_p_wxObject(void *x) {
37961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
37962 }
37963 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37964 return (void *)((wxObject *) ((wxMenuItem *) x));
37965 }
37966 static void *_p_wxDateEventTo_p_wxObject(void *x) {
37967 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37968 }
37969 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37970 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37971 }
37972 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37974 }
37975 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37976 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37977 }
37978 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37979 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37980 }
37981 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37982 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37983 }
37984 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37985 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37986 }
37987 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37988 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37989 }
37990 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37991 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37992 }
37993 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
37994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
37995 }
37996 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
37997 return (void *)((wxObject *) ((wxContextHelp *) x));
37998 }
37999 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
38000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
38001 }
38002 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
38003 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
38004 }
38005 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
38006 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
38007 }
38008 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
38009 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
38010 }
38011 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
38012 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
38013 }
38014 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
38015 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
38016 }
38017 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
38018 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
38019 }
38020 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
38021 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
38022 }
38023 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
38024 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
38025 }
38026 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
38027 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
38028 }
38029 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
38030 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
38031 }
38032 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
38033 return (void *)((wxObject *) ((wxImageHandler *) x));
38034 }
38035 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
38036 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
38037 }
38038 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
38039 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
38040 }
38041 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
38042 return (void *)((wxObject *) ((wxEvtHandler *) x));
38043 }
38044 static void *_p_wxListEventTo_p_wxObject(void *x) {
38045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
38046 }
38047 static void *_p_wxListBoxTo_p_wxObject(void *x) {
38048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38049 }
38050 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
38051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38052 }
38053 static void *_p_wxButtonTo_p_wxObject(void *x) {
38054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
38055 }
38056 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
38057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
38058 }
38059 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
38060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
38061 }
38062 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
38063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38064 }
38065 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
38066 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
38067 }
38068 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
38069 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
38070 }
38071 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
38072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
38073 }
38074 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
38075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
38076 }
38077 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
38078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
38079 }
38080 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
38081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
38082 }
38083 static void *_p_wxListItemTo_p_wxObject(void *x) {
38084 return (void *)((wxObject *) ((wxListItem *) x));
38085 }
38086 static void *_p_wxImageTo_p_wxObject(void *x) {
38087 return (void *)((wxObject *) ((wxImage *) x));
38088 }
38089 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
38090 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
38091 }
38092 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
38093 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
38094 }
38095 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
38096 return (void *)((wxObject *) ((wxGenericDragImage *) x));
38097 }
38098 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
38099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
38100 }
38101 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
38102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38103 }
38104 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
38105 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38106 }
38107 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
38108 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38109 }
38110 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
38111 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38112 }
38113 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
38114 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38115 }
38116 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
38117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38118 }
38119 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
38120 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
38121 }
38122 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
38123 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
38124 }
38125 static void *_p_wxWindowTo_p_wxObject(void *x) {
38126 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
38127 }
38128 static void *_p_wxMenuTo_p_wxObject(void *x) {
38129 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
38130 }
38131 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
38132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
38133 }
38134 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
38135 return (void *)((wxObject *) ((wxFileSystem *) x));
38136 }
38137 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
38138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
38139 }
38140 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
38141 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
38142 }
38143 static void *_p_wxPyAppTo_p_wxObject(void *x) {
38144 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
38145 }
38146 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
38147 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
38148 }
38149 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
38150 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
38151 }
38152 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
38153 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
38154 }
38155 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
38156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38157 }
38158 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
38159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
38160 }
38161 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
38162 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
38163 }
38164 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
38165 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
38166 }
38167 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
38168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
38169 }
38170 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
38171 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
38172 }
38173 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
38174 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
38175 }
38176 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
38177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
38178 }
38179 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
38180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
38181 }
38182 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
38183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38184 }
38185 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
38186 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
38187 }
38188 static void *_p_wxToolBarTo_p_wxObject(void *x) {
38189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38190 }
38191 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
38192 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
38193 }
38194 static void *_p_wxValidatorTo_p_wxObject(void *x) {
38195 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
38196 }
38197 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
38198 return (void *)((wxWindow *) ((wxMenuBar *) x));
38199 }
38200 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
38201 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
38202 }
38203 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
38204 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
38205 }
38206 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
38207 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
38208 }
38209 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
38210 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
38211 }
38212 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
38213 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
38214 }
38215 static void *_p_wxControlTo_p_wxWindow(void *x) {
38216 return (void *)((wxWindow *) ((wxControl *) x));
38217 }
38218 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
38219 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
38220 }
38221 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
38222 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
38223 }
38224 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
38225 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
38226 }
38227 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
38228 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
38229 }
38230 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
38231 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
38232 }
38233 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
38234 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
38235 }
38236 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
38237 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
38238 }
38239 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
38240 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
38241 }
38242 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
38243 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
38244 }
38245 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
38246 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
38247 }
38248 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
38249 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
38250 }
38251 static void *_p_wxListbookTo_p_wxWindow(void *x) {
38252 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
38253 }
38254 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
38255 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
38256 }
38257 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
38258 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
38259 }
38260 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
38261 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
38262 }
38263 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
38264 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
38265 }
38266 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
38267 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
38268 }
38269 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
38270 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
38271 }
38272 static void *_p_wxListViewTo_p_wxWindow(void *x) {
38273 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
38274 }
38275 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
38276 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
38277 }
38278 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
38279 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
38280 }
38281 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
38282 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
38283 }
38284 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
38285 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
38286 }
38287 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
38288 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
38289 }
38290 static void *_p_wxSliderTo_p_wxWindow(void *x) {
38291 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
38292 }
38293 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
38294 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
38295 }
38296 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
38297 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
38298 }
38299 static void *_p_wxButtonTo_p_wxWindow(void *x) {
38300 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
38301 }
38302 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
38303 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
38304 }
38305 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
38306 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
38307 }
38308 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
38309 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
38310 }
38311 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
38312 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
38313 }
38314 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38315 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38316 }
38317 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38318 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38319 }
38320 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38321 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38322 }
38323 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38324 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38325 }
38326 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
38327 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38328 }
38329 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
38330 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
38331 }
38332 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
38333 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
38334 }
38335 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
38336 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
38337 }
38338 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
38339 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
38340 }
38341 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
38342 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
38343 }
38344 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
38345 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
38346 }
38347 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
38348 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
38349 }
38350 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
38351 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
38352 }
38353 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
38354 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
38355 }
38356 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
38357 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
38358 }
38359 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
38360 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
38361 }
38362 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
38363 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
38364 }
38365 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
38366 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
38367 }
38368 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
38369 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
38370 }
38371 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
38372 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
38373 }
38374 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
38375 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
38376 }
38377 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
38378 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
38379 }
38380 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
38381 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
38382 }
38383 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
38384 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
38385 }
38386 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
38387 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
38388 }
38389 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
38390 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
38391 }
38392 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
38393 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
38394 }
38395 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
38396 return (void *)((wxControlWithItems *) ((wxChoice *) x));
38397 }
38398 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
38399 return (void *)((wxControlWithItems *) ((wxListBox *) x));
38400 }
38401 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
38402 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
38403 }
38404 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
38405 return (void *)((wxValidator *) ((wxPyValidator *) x));
38406 }
38407 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
38408 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
38409 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
38410 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
38411 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
38412 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
38413 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
38414 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
38415 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
38416 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
38417 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
38418 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
38419 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
38420 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
38421 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
38422 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
38423 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
38424 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
38425 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
38426 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
38427 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
38428 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
38429 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
38430 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
38431 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
38432 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
38433 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
38434 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
38435 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
38436 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
38437 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
38438 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
38439 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
38440 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
38441 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
38442 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
38443 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
38444 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
38445 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
38446 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
38447 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
38448 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
38449 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
38450 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
38451 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
38452 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
38453 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
38454 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
38455 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
38456 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
38457 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
38458 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
38459 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
38460 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
38461 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
38462 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
38463 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
38464 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
38465 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
38466 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
38467 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
38468 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
38469 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
38470 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
38471 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
38472 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
38473 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
38474 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
38475 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
38476 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
38477 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
38478 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
38479 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
38480 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
38481 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
38482 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
38483 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
38484 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
38485 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
38486 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
38487 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
38488 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
38489 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
38490 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
38491 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
38492 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
38493 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
38494 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
38495 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
38496 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
38497 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
38498 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
38499 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
38500 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
38501 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
38502 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
38503 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
38504 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
38505 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
38506 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
38507 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
38508 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
38509 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
38510 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
38511 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
38512 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
38513 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
38514 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
38515 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
38516 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
38517 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
38518 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
38519 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
38520 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
38521 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
38522 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
38523 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
38524 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
38525 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
38526 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
38527 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
38528 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
38529 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
38530 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
38531 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
38532 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
38533 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
38534 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
38535 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
38536 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
38537 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
38538 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
38539 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
38540 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
38541 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
38542 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
38543 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
38544 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
38545 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
38546 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
38547 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
38548 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
38549 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
38550 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
38551 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
38552 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
38553 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
38554 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
38555 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
38556 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
38557 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
38558 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
38559 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
38560 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, 0};
38561 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, 0};
38562 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
38563 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
38564 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
38565 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, 0};
38566 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, 0};
38567 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
38568 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
38569 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
38570 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
38571 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
38572 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
38573
38574 static swig_type_info *swig_type_initial[] = {
38575 &_swigt__p_bool,
38576 &_swigt__p_char,
38577 &_swigt__p_form_ops_t,
38578 &_swigt__p_int,
38579 &_swigt__p_long,
38580 &_swigt__p_unsigned_char,
38581 &_swigt__p_unsigned_int,
38582 &_swigt__p_unsigned_long,
38583 &_swigt__p_void,
38584 &_swigt__p_wxANIHandler,
38585 &_swigt__p_wxAcceleratorTable,
38586 &_swigt__p_wxActivateEvent,
38587 &_swigt__p_wxArrayInt,
38588 &_swigt__p_wxArrayString,
38589 &_swigt__p_wxBMPHandler,
38590 &_swigt__p_wxBitmap,
38591 &_swigt__p_wxBitmapButton,
38592 &_swigt__p_wxBookCtrlBase,
38593 &_swigt__p_wxBookCtrlBaseEvent,
38594 &_swigt__p_wxBoxSizer,
38595 &_swigt__p_wxButton,
38596 &_swigt__p_wxCURHandler,
38597 &_swigt__p_wxCheckBox,
38598 &_swigt__p_wxCheckListBox,
38599 &_swigt__p_wxChildFocusEvent,
38600 &_swigt__p_wxChoice,
38601 &_swigt__p_wxChoicebook,
38602 &_swigt__p_wxChoicebookEvent,
38603 &_swigt__p_wxCloseEvent,
38604 &_swigt__p_wxColour,
38605 &_swigt__p_wxComboBox,
38606 &_swigt__p_wxCommandEvent,
38607 &_swigt__p_wxContextHelp,
38608 &_swigt__p_wxContextHelpButton,
38609 &_swigt__p_wxContextMenuEvent,
38610 &_swigt__p_wxControl,
38611 &_swigt__p_wxControlWithItems,
38612 &_swigt__p_wxCursor,
38613 &_swigt__p_wxDC,
38614 &_swigt__p_wxDateEvent,
38615 &_swigt__p_wxDatePickerCtrl,
38616 &_swigt__p_wxDateTime,
38617 &_swigt__p_wxDirFilterListCtrl,
38618 &_swigt__p_wxDisplayChangedEvent,
38619 &_swigt__p_wxDropFilesEvent,
38620 &_swigt__p_wxDuplexMode,
38621 &_swigt__p_wxEraseEvent,
38622 &_swigt__p_wxEvent,
38623 &_swigt__p_wxEvtHandler,
38624 &_swigt__p_wxFSFile,
38625 &_swigt__p_wxFileSystem,
38626 &_swigt__p_wxFlexGridSizer,
38627 &_swigt__p_wxFocusEvent,
38628 &_swigt__p_wxFont,
38629 &_swigt__p_wxGBSizerItem,
38630 &_swigt__p_wxGIFHandler,
38631 &_swigt__p_wxGauge,
38632 &_swigt__p_wxGenericDirCtrl,
38633 &_swigt__p_wxGenericDragImage,
38634 &_swigt__p_wxGridBagSizer,
38635 &_swigt__p_wxGridSizer,
38636 &_swigt__p_wxHelpEvent,
38637 &_swigt__p_wxHelpProvider,
38638 &_swigt__p_wxICOHandler,
38639 &_swigt__p_wxIcon,
38640 &_swigt__p_wxIconizeEvent,
38641 &_swigt__p_wxIdleEvent,
38642 &_swigt__p_wxImage,
38643 &_swigt__p_wxImageHandler,
38644 &_swigt__p_wxImageList,
38645 &_swigt__p_wxIndividualLayoutConstraint,
38646 &_swigt__p_wxInitDialogEvent,
38647 &_swigt__p_wxItemContainer,
38648 &_swigt__p_wxJPEGHandler,
38649 &_swigt__p_wxKeyEvent,
38650 &_swigt__p_wxLayoutConstraints,
38651 &_swigt__p_wxListBox,
38652 &_swigt__p_wxListEvent,
38653 &_swigt__p_wxListItem,
38654 &_swigt__p_wxListItemAttr,
38655 &_swigt__p_wxListView,
38656 &_swigt__p_wxListbook,
38657 &_swigt__p_wxListbookEvent,
38658 &_swigt__p_wxMaximizeEvent,
38659 &_swigt__p_wxMemoryDC,
38660 &_swigt__p_wxMenu,
38661 &_swigt__p_wxMenuBar,
38662 &_swigt__p_wxMenuEvent,
38663 &_swigt__p_wxMenuItem,
38664 &_swigt__p_wxMouseCaptureChangedEvent,
38665 &_swigt__p_wxMouseEvent,
38666 &_swigt__p_wxMoveEvent,
38667 &_swigt__p_wxNavigationKeyEvent,
38668 &_swigt__p_wxNcPaintEvent,
38669 &_swigt__p_wxNotebook,
38670 &_swigt__p_wxNotebookEvent,
38671 &_swigt__p_wxNotifyEvent,
38672 &_swigt__p_wxObject,
38673 &_swigt__p_wxPCXHandler,
38674 &_swigt__p_wxPNGHandler,
38675 &_swigt__p_wxPNMHandler,
38676 &_swigt__p_wxPaintEvent,
38677 &_swigt__p_wxPaletteChangedEvent,
38678 &_swigt__p_wxPaperSize,
38679 &_swigt__p_wxPoint,
38680 &_swigt__p_wxPyApp,
38681 &_swigt__p_wxPyCommandEvent,
38682 &_swigt__p_wxPyControl,
38683 &_swigt__p_wxPyEvent,
38684 &_swigt__p_wxPyImageHandler,
38685 &_swigt__p_wxPyListCtrl,
38686 &_swigt__p_wxPySizer,
38687 &_swigt__p_wxPyTreeCtrl,
38688 &_swigt__p_wxPyTreeItemData,
38689 &_swigt__p_wxPyValidator,
38690 &_swigt__p_wxQueryNewPaletteEvent,
38691 &_swigt__p_wxRadioBox,
38692 &_swigt__p_wxRadioButton,
38693 &_swigt__p_wxRect,
38694 &_swigt__p_wxScrollBar,
38695 &_swigt__p_wxScrollEvent,
38696 &_swigt__p_wxScrollWinEvent,
38697 &_swigt__p_wxSetCursorEvent,
38698 &_swigt__p_wxShowEvent,
38699 &_swigt__p_wxSimpleHelpProvider,
38700 &_swigt__p_wxSize,
38701 &_swigt__p_wxSizeEvent,
38702 &_swigt__p_wxSizer,
38703 &_swigt__p_wxSizerItem,
38704 &_swigt__p_wxSlider,
38705 &_swigt__p_wxSpinButton,
38706 &_swigt__p_wxSpinCtrl,
38707 &_swigt__p_wxSpinEvent,
38708 &_swigt__p_wxStaticBitmap,
38709 &_swigt__p_wxStaticBox,
38710 &_swigt__p_wxStaticBoxSizer,
38711 &_swigt__p_wxStaticLine,
38712 &_swigt__p_wxStaticText,
38713 &_swigt__p_wxStdDialogButtonSizer,
38714 &_swigt__p_wxString,
38715 &_swigt__p_wxSysColourChangedEvent,
38716 &_swigt__p_wxTIFFHandler,
38717 &_swigt__p_wxTextAttr,
38718 &_swigt__p_wxTextCtrl,
38719 &_swigt__p_wxTextUrlEvent,
38720 &_swigt__p_wxToggleButton,
38721 &_swigt__p_wxToolBar,
38722 &_swigt__p_wxToolBarBase,
38723 &_swigt__p_wxToolBarToolBase,
38724 &_swigt__p_wxToolbook,
38725 &_swigt__p_wxToolbookEvent,
38726 &_swigt__p_wxTreeCtrl,
38727 &_swigt__p_wxTreeEvent,
38728 &_swigt__p_wxTreeItemId,
38729 &_swigt__p_wxTreebook,
38730 &_swigt__p_wxTreebookEvent,
38731 &_swigt__p_wxUpdateUIEvent,
38732 &_swigt__p_wxValidator,
38733 &_swigt__p_wxVisualAttributes,
38734 &_swigt__p_wxWindow,
38735 &_swigt__p_wxWindowCreateEvent,
38736 &_swigt__p_wxWindowDestroyEvent,
38737 &_swigt__p_wxXPMHandler,
38738 &_swigt__ptrdiff_t,
38739 &_swigt__std__ptrdiff_t,
38740 &_swigt__unsigned_int,
38741 };
38742
38743 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
38744 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
38745 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
38746 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
38747 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
38748 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
38749 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38750 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
38751 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
38752 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
38753 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
38754 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
38755 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}};
38756 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}};
38757 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}};
38758 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}};
38759 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
38760 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
38761 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
38762 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
38763 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38764 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
38765 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
38766 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
38767 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
38768 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
38769 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38770 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38771 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
38772 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
38773 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
38774 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}};
38775 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
38776 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
38777 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}};
38778 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_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}};
38779 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
38780 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
38781 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
38782 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
38783 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
38784 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
38785 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
38786 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
38787 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
38788 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
38789 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
38790 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
38791 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
38792 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
38793 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38794 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38795 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
38796 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
38797 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
38798 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38799 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
38800 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38801 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38802 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38803 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
38804 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
38805 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
38806 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
38807 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38808 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
38809 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}};
38810 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
38811 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
38812 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
38813 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
38814 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}};
38815 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
38816 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
38817 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
38818 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
38819 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
38820 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}};
38821 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
38822 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
38823 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}};
38824 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
38825 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}};
38826 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
38827 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
38828 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
38829 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
38830 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
38831 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38832 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
38833 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
38834 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
38835 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38836 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}};
38837 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
38838 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38839 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
38840 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
38841 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38842 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
38843 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
38844 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
38845 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38846 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
38847 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
38848 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
38849 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
38850 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38851 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
38852 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
38853 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
38854 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
38855 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
38856 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
38857 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
38858 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
38859 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
38860 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
38861 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
38862 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
38863 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
38864 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
38865 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
38866 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
38867 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}};
38868 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
38869 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
38870 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
38871 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}};
38872 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38873 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
38874 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
38875 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
38876 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
38877 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
38878 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
38879 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
38880 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
38881 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
38882 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
38883 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
38884 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
38885 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
38886 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
38887 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
38888 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
38889 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
38890 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
38891 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
38892 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
38893 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
38894 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}};
38895 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
38896 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
38897 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
38898 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
38899 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
38900 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
38901 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
38902 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
38903 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}};
38904 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
38905 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}};
38906 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38907 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
38908 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
38909
38910 static swig_cast_info *swig_cast_initial[] = {
38911 _swigc__p_bool,
38912 _swigc__p_char,
38913 _swigc__p_form_ops_t,
38914 _swigc__p_int,
38915 _swigc__p_long,
38916 _swigc__p_unsigned_char,
38917 _swigc__p_unsigned_int,
38918 _swigc__p_unsigned_long,
38919 _swigc__p_void,
38920 _swigc__p_wxANIHandler,
38921 _swigc__p_wxAcceleratorTable,
38922 _swigc__p_wxActivateEvent,
38923 _swigc__p_wxArrayInt,
38924 _swigc__p_wxArrayString,
38925 _swigc__p_wxBMPHandler,
38926 _swigc__p_wxBitmap,
38927 _swigc__p_wxBitmapButton,
38928 _swigc__p_wxBookCtrlBase,
38929 _swigc__p_wxBookCtrlBaseEvent,
38930 _swigc__p_wxBoxSizer,
38931 _swigc__p_wxButton,
38932 _swigc__p_wxCURHandler,
38933 _swigc__p_wxCheckBox,
38934 _swigc__p_wxCheckListBox,
38935 _swigc__p_wxChildFocusEvent,
38936 _swigc__p_wxChoice,
38937 _swigc__p_wxChoicebook,
38938 _swigc__p_wxChoicebookEvent,
38939 _swigc__p_wxCloseEvent,
38940 _swigc__p_wxColour,
38941 _swigc__p_wxComboBox,
38942 _swigc__p_wxCommandEvent,
38943 _swigc__p_wxContextHelp,
38944 _swigc__p_wxContextHelpButton,
38945 _swigc__p_wxContextMenuEvent,
38946 _swigc__p_wxControl,
38947 _swigc__p_wxControlWithItems,
38948 _swigc__p_wxCursor,
38949 _swigc__p_wxDC,
38950 _swigc__p_wxDateEvent,
38951 _swigc__p_wxDatePickerCtrl,
38952 _swigc__p_wxDateTime,
38953 _swigc__p_wxDirFilterListCtrl,
38954 _swigc__p_wxDisplayChangedEvent,
38955 _swigc__p_wxDropFilesEvent,
38956 _swigc__p_wxDuplexMode,
38957 _swigc__p_wxEraseEvent,
38958 _swigc__p_wxEvent,
38959 _swigc__p_wxEvtHandler,
38960 _swigc__p_wxFSFile,
38961 _swigc__p_wxFileSystem,
38962 _swigc__p_wxFlexGridSizer,
38963 _swigc__p_wxFocusEvent,
38964 _swigc__p_wxFont,
38965 _swigc__p_wxGBSizerItem,
38966 _swigc__p_wxGIFHandler,
38967 _swigc__p_wxGauge,
38968 _swigc__p_wxGenericDirCtrl,
38969 _swigc__p_wxGenericDragImage,
38970 _swigc__p_wxGridBagSizer,
38971 _swigc__p_wxGridSizer,
38972 _swigc__p_wxHelpEvent,
38973 _swigc__p_wxHelpProvider,
38974 _swigc__p_wxICOHandler,
38975 _swigc__p_wxIcon,
38976 _swigc__p_wxIconizeEvent,
38977 _swigc__p_wxIdleEvent,
38978 _swigc__p_wxImage,
38979 _swigc__p_wxImageHandler,
38980 _swigc__p_wxImageList,
38981 _swigc__p_wxIndividualLayoutConstraint,
38982 _swigc__p_wxInitDialogEvent,
38983 _swigc__p_wxItemContainer,
38984 _swigc__p_wxJPEGHandler,
38985 _swigc__p_wxKeyEvent,
38986 _swigc__p_wxLayoutConstraints,
38987 _swigc__p_wxListBox,
38988 _swigc__p_wxListEvent,
38989 _swigc__p_wxListItem,
38990 _swigc__p_wxListItemAttr,
38991 _swigc__p_wxListView,
38992 _swigc__p_wxListbook,
38993 _swigc__p_wxListbookEvent,
38994 _swigc__p_wxMaximizeEvent,
38995 _swigc__p_wxMemoryDC,
38996 _swigc__p_wxMenu,
38997 _swigc__p_wxMenuBar,
38998 _swigc__p_wxMenuEvent,
38999 _swigc__p_wxMenuItem,
39000 _swigc__p_wxMouseCaptureChangedEvent,
39001 _swigc__p_wxMouseEvent,
39002 _swigc__p_wxMoveEvent,
39003 _swigc__p_wxNavigationKeyEvent,
39004 _swigc__p_wxNcPaintEvent,
39005 _swigc__p_wxNotebook,
39006 _swigc__p_wxNotebookEvent,
39007 _swigc__p_wxNotifyEvent,
39008 _swigc__p_wxObject,
39009 _swigc__p_wxPCXHandler,
39010 _swigc__p_wxPNGHandler,
39011 _swigc__p_wxPNMHandler,
39012 _swigc__p_wxPaintEvent,
39013 _swigc__p_wxPaletteChangedEvent,
39014 _swigc__p_wxPaperSize,
39015 _swigc__p_wxPoint,
39016 _swigc__p_wxPyApp,
39017 _swigc__p_wxPyCommandEvent,
39018 _swigc__p_wxPyControl,
39019 _swigc__p_wxPyEvent,
39020 _swigc__p_wxPyImageHandler,
39021 _swigc__p_wxPyListCtrl,
39022 _swigc__p_wxPySizer,
39023 _swigc__p_wxPyTreeCtrl,
39024 _swigc__p_wxPyTreeItemData,
39025 _swigc__p_wxPyValidator,
39026 _swigc__p_wxQueryNewPaletteEvent,
39027 _swigc__p_wxRadioBox,
39028 _swigc__p_wxRadioButton,
39029 _swigc__p_wxRect,
39030 _swigc__p_wxScrollBar,
39031 _swigc__p_wxScrollEvent,
39032 _swigc__p_wxScrollWinEvent,
39033 _swigc__p_wxSetCursorEvent,
39034 _swigc__p_wxShowEvent,
39035 _swigc__p_wxSimpleHelpProvider,
39036 _swigc__p_wxSize,
39037 _swigc__p_wxSizeEvent,
39038 _swigc__p_wxSizer,
39039 _swigc__p_wxSizerItem,
39040 _swigc__p_wxSlider,
39041 _swigc__p_wxSpinButton,
39042 _swigc__p_wxSpinCtrl,
39043 _swigc__p_wxSpinEvent,
39044 _swigc__p_wxStaticBitmap,
39045 _swigc__p_wxStaticBox,
39046 _swigc__p_wxStaticBoxSizer,
39047 _swigc__p_wxStaticLine,
39048 _swigc__p_wxStaticText,
39049 _swigc__p_wxStdDialogButtonSizer,
39050 _swigc__p_wxString,
39051 _swigc__p_wxSysColourChangedEvent,
39052 _swigc__p_wxTIFFHandler,
39053 _swigc__p_wxTextAttr,
39054 _swigc__p_wxTextCtrl,
39055 _swigc__p_wxTextUrlEvent,
39056 _swigc__p_wxToggleButton,
39057 _swigc__p_wxToolBar,
39058 _swigc__p_wxToolBarBase,
39059 _swigc__p_wxToolBarToolBase,
39060 _swigc__p_wxToolbook,
39061 _swigc__p_wxToolbookEvent,
39062 _swigc__p_wxTreeCtrl,
39063 _swigc__p_wxTreeEvent,
39064 _swigc__p_wxTreeItemId,
39065 _swigc__p_wxTreebook,
39066 _swigc__p_wxTreebookEvent,
39067 _swigc__p_wxUpdateUIEvent,
39068 _swigc__p_wxValidator,
39069 _swigc__p_wxVisualAttributes,
39070 _swigc__p_wxWindow,
39071 _swigc__p_wxWindowCreateEvent,
39072 _swigc__p_wxWindowDestroyEvent,
39073 _swigc__p_wxXPMHandler,
39074 _swigc__ptrdiff_t,
39075 _swigc__std__ptrdiff_t,
39076 _swigc__unsigned_int,
39077 };
39078
39079
39080 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39081
39082 static swig_const_info swig_const_table[] = {
39083 {0, 0, 0, 0.0, 0, 0}};
39084
39085 #ifdef __cplusplus
39086 }
39087 #endif
39088 /*************************************************************************
39089 * Type initialization:
39090 * This problem is tough by the requirement that no dynamic
39091 * memory is used. Also, since swig_type_info structures store pointers to
39092 * swig_cast_info structures and swig_cast_info structures store pointers back
39093 * to swig_type_info structures, we need some lookup code at initialization.
39094 * The idea is that swig generates all the structures that are needed.
39095 * The runtime then collects these partially filled structures.
39096 * The SWIG_InitializeModule function takes these initial arrays out of
39097 * swig_module, and does all the lookup, filling in the swig_module.types
39098 * array with the correct data and linking the correct swig_cast_info
39099 * structures together.
39100
39101 * The generated swig_type_info structures are assigned staticly to an initial
39102 * array. We just loop though that array, and handle each type individually.
39103 * First we lookup if this type has been already loaded, and if so, use the
39104 * loaded structure instead of the generated one. Then we have to fill in the
39105 * cast linked list. The cast data is initially stored in something like a
39106 * two-dimensional array. Each row corresponds to a type (there are the same
39107 * number of rows as there are in the swig_type_initial array). Each entry in
39108 * a column is one of the swig_cast_info structures for that type.
39109 * The cast_initial array is actually an array of arrays, because each row has
39110 * a variable number of columns. So to actually build the cast linked list,
39111 * we find the array of casts associated with the type, and loop through it
39112 * adding the casts to the list. The one last trick we need to do is making
39113 * sure the type pointer in the swig_cast_info struct is correct.
39114
39115 * First off, we lookup the cast->type name to see if it is already loaded.
39116 * There are three cases to handle:
39117 * 1) If the cast->type has already been loaded AND the type we are adding
39118 * casting info to has not been loaded (it is in this module), THEN we
39119 * replace the cast->type pointer with the type pointer that has already
39120 * been loaded.
39121 * 2) If BOTH types (the one we are adding casting info to, and the
39122 * cast->type) are loaded, THEN the cast info has already been loaded by
39123 * the previous module so we just ignore it.
39124 * 3) Finally, if cast->type has not already been loaded, then we add that
39125 * swig_cast_info to the linked list (because the cast->type) pointer will
39126 * be correct.
39127 **/
39128
39129 #ifdef __cplusplus
39130 extern "C" {
39131 #if 0
39132 } /* c-mode */
39133 #endif
39134 #endif
39135
39136 #if 0
39137 #define SWIGRUNTIME_DEBUG
39138 #endif
39139
39140 SWIGRUNTIME void
39141 SWIG_InitializeModule(void *clientdata) {
39142 size_t i;
39143 swig_module_info *module_head;
39144 static int init_run = 0;
39145
39146 clientdata = clientdata;
39147
39148 if (init_run) return;
39149 init_run = 1;
39150
39151 /* Initialize the swig_module */
39152 swig_module.type_initial = swig_type_initial;
39153 swig_module.cast_initial = swig_cast_initial;
39154
39155 /* Try and load any already created modules */
39156 module_head = SWIG_GetModule(clientdata);
39157 if (module_head) {
39158 swig_module.next = module_head->next;
39159 module_head->next = &swig_module;
39160 } else {
39161 /* This is the first module loaded */
39162 swig_module.next = &swig_module;
39163 SWIG_SetModule(clientdata, &swig_module);
39164 }
39165
39166 /* Now work on filling in swig_module.types */
39167 #ifdef SWIGRUNTIME_DEBUG
39168 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
39169 #endif
39170 for (i = 0; i < swig_module.size; ++i) {
39171 swig_type_info *type = 0;
39172 swig_type_info *ret;
39173 swig_cast_info *cast;
39174
39175 #ifdef SWIGRUNTIME_DEBUG
39176 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39177 #endif
39178
39179 /* if there is another module already loaded */
39180 if (swig_module.next != &swig_module) {
39181 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
39182 }
39183 if (type) {
39184 /* Overwrite clientdata field */
39185 #ifdef SWIGRUNTIME_DEBUG
39186 printf("SWIG_InitializeModule: found type %s\n", type->name);
39187 #endif
39188 if (swig_module.type_initial[i]->clientdata) {
39189 type->clientdata = swig_module.type_initial[i]->clientdata;
39190 #ifdef SWIGRUNTIME_DEBUG
39191 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
39192 #endif
39193 }
39194 } else {
39195 type = swig_module.type_initial[i];
39196 }
39197
39198 /* Insert casting types */
39199 cast = swig_module.cast_initial[i];
39200 while (cast->type) {
39201 /* Don't need to add information already in the list */
39202 ret = 0;
39203 #ifdef SWIGRUNTIME_DEBUG
39204 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
39205 #endif
39206 if (swig_module.next != &swig_module) {
39207 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
39208 #ifdef SWIGRUNTIME_DEBUG
39209 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
39210 #endif
39211 }
39212 if (ret) {
39213 if (type == swig_module.type_initial[i]) {
39214 #ifdef SWIGRUNTIME_DEBUG
39215 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
39216 #endif
39217 cast->type = ret;
39218 ret = 0;
39219 } else {
39220 /* Check for casting already in the list */
39221 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
39222 #ifdef SWIGRUNTIME_DEBUG
39223 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
39224 #endif
39225 if (!ocast) ret = 0;
39226 }
39227 }
39228
39229 if (!ret) {
39230 #ifdef SWIGRUNTIME_DEBUG
39231 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
39232 #endif
39233 if (type->cast) {
39234 type->cast->prev = cast;
39235 cast->next = type->cast;
39236 }
39237 type->cast = cast;
39238 }
39239 cast++;
39240 }
39241 /* Set entry in modules->types array equal to the type */
39242 swig_module.types[i] = type;
39243 }
39244 swig_module.types[i] = 0;
39245
39246 #ifdef SWIGRUNTIME_DEBUG
39247 printf("**** SWIG_InitializeModule: Cast List ******\n");
39248 for (i = 0; i < swig_module.size; ++i) {
39249 int j = 0;
39250 swig_cast_info *cast = swig_module.cast_initial[i];
39251 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
39252 while (cast->type) {
39253 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
39254 cast++;
39255 ++j;
39256 }
39257 printf("---- Total casts: %d\n",j);
39258 }
39259 printf("**** SWIG_InitializeModule: Cast List ******\n");
39260 #endif
39261 }
39262
39263 /* This function will propagate the clientdata field of type to
39264 * any new swig_type_info structures that have been added into the list
39265 * of equivalent types. It is like calling
39266 * SWIG_TypeClientData(type, clientdata) a second time.
39267 */
39268 SWIGRUNTIME void
39269 SWIG_PropagateClientData(void) {
39270 size_t i;
39271 swig_cast_info *equiv;
39272 static int init_run = 0;
39273
39274 if (init_run) return;
39275 init_run = 1;
39276
39277 for (i = 0; i < swig_module.size; i++) {
39278 if (swig_module.types[i]->clientdata) {
39279 equiv = swig_module.types[i]->cast;
39280 while (equiv) {
39281 if (!equiv->converter) {
39282 if (equiv->type && !equiv->type->clientdata)
39283 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
39284 }
39285 equiv = equiv->next;
39286 }
39287 }
39288 }
39289 }
39290
39291 #ifdef __cplusplus
39292 #if 0
39293 {
39294 /* c-mode */
39295 #endif
39296 }
39297 #endif
39298
39299
39300
39301 #ifdef __cplusplus
39302 extern "C" {
39303 #endif
39304
39305 /* Python-specific SWIG API */
39306 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39307 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39308 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39309
39310 /* -----------------------------------------------------------------------------
39311 * global variable support code.
39312 * ----------------------------------------------------------------------------- */
39313
39314 typedef struct swig_globalvar {
39315 char *name; /* Name of global variable */
39316 PyObject *(*get_attr)(void); /* Return the current value */
39317 int (*set_attr)(PyObject *); /* Set the value */
39318 struct swig_globalvar *next;
39319 } swig_globalvar;
39320
39321 typedef struct swig_varlinkobject {
39322 PyObject_HEAD
39323 swig_globalvar *vars;
39324 } swig_varlinkobject;
39325
39326 SWIGINTERN PyObject *
39327 swig_varlink_repr(swig_varlinkobject *v) {
39328 v = v;
39329 return PyString_FromString("<Swig global variables>");
39330 }
39331
39332 SWIGINTERN int
39333 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
39334 swig_globalvar *var;
39335 flags = flags;
39336 fprintf(fp,"Swig global variables { ");
39337 for (var = v->vars; var; var=var->next) {
39338 fprintf(fp,"%s", var->name);
39339 if (var->next) fprintf(fp,", ");
39340 }
39341 fprintf(fp," }\n");
39342 return 0;
39343 }
39344
39345 SWIGINTERN PyObject *
39346 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
39347 swig_globalvar *var = v->vars;
39348 while (var) {
39349 if (strcmp(var->name,n) == 0) {
39350 return (*var->get_attr)();
39351 }
39352 var = var->next;
39353 }
39354 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39355 return NULL;
39356 }
39357
39358 SWIGINTERN int
39359 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
39360 swig_globalvar *var = v->vars;
39361 while (var) {
39362 if (strcmp(var->name,n) == 0) {
39363 return (*var->set_attr)(p);
39364 }
39365 var = var->next;
39366 }
39367 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
39368 return 1;
39369 }
39370
39371 SWIGINTERN PyTypeObject*
39372 swig_varlink_type(void) {
39373 static char varlink__doc__[] = "Swig var link object";
39374 static PyTypeObject varlink_type
39375 #if !defined(__cplusplus)
39376 ;
39377 static int type_init = 0;
39378 if (!type_init) {
39379 PyTypeObject tmp
39380 #endif
39381 = {
39382 PyObject_HEAD_INIT(&PyType_Type)
39383 0, /* Number of items in variable part (ob_size) */
39384 (char *)"swigvarlink", /* Type name (tp_name) */
39385 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
39386 0, /* Itemsize (tp_itemsize) */
39387 0, /* Deallocator (tp_dealloc) */
39388 (printfunc) swig_varlink_print, /* Print (tp_print) */
39389 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
39390 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
39391 0, /* tp_compare */
39392 (reprfunc) swig_varlink_repr, /* tp_repr */
39393 0, /* tp_as_number */
39394 0, /* tp_as_sequence */
39395 0, /* tp_as_mapping */
39396 0, /* tp_hash */
39397 0, /* tp_call */
39398 0, /* tp_str */
39399 0, /* tp_getattro */
39400 0, /* tp_setattro */
39401 0, /* tp_as_buffer */
39402 0, /* tp_flags */
39403 varlink__doc__, /* tp_doc */
39404 #if PY_VERSION_HEX >= 0x02000000
39405 0, /* tp_traverse */
39406 0, /* tp_clear */
39407 #endif
39408 #if PY_VERSION_HEX >= 0x02010000
39409 0, /* tp_richcompare */
39410 0, /* tp_weaklistoffset */
39411 #endif
39412 #if PY_VERSION_HEX >= 0x02020000
39413 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39414 #endif
39415 #if PY_VERSION_HEX >= 0x02030000
39416 0, /* tp_del */
39417 #endif
39418 #ifdef COUNT_ALLOCS
39419 0,0,0,0 /* tp_alloc -> tp_next */
39420 #endif
39421 };
39422 #if !defined(__cplusplus)
39423 varlink_type = tmp;
39424 type_init = 1;
39425 }
39426 #endif
39427 return &varlink_type;
39428 }
39429
39430 /* Create a variable linking object for use later */
39431 SWIGINTERN PyObject *
39432 SWIG_Python_newvarlink(void) {
39433 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
39434 if (result) {
39435 result->vars = 0;
39436 }
39437 return ((PyObject*) result);
39438 }
39439
39440 SWIGINTERN void
39441 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
39442 swig_varlinkobject *v = (swig_varlinkobject *) p;
39443 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
39444 if (gv) {
39445 size_t size = strlen(name)+1;
39446 gv->name = (char *)malloc(size);
39447 if (gv->name) {
39448 strncpy(gv->name,name,size);
39449 gv->get_attr = get_attr;
39450 gv->set_attr = set_attr;
39451 gv->next = v->vars;
39452 }
39453 }
39454 v->vars = gv;
39455 }
39456
39457 /* -----------------------------------------------------------------------------
39458 * constants/methods manipulation
39459 * ----------------------------------------------------------------------------- */
39460
39461 /* Install Constants */
39462 SWIGINTERN void
39463 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
39464 PyObject *obj = 0;
39465 size_t i;
39466 for (i = 0; constants[i].type; ++i) {
39467 switch(constants[i].type) {
39468 case SWIG_PY_INT:
39469 obj = PyInt_FromLong(constants[i].lvalue);
39470 break;
39471 case SWIG_PY_FLOAT:
39472 obj = PyFloat_FromDouble(constants[i].dvalue);
39473 break;
39474 case SWIG_PY_STRING:
39475 if (constants[i].pvalue) {
39476 obj = PyString_FromString((char *) constants[i].pvalue);
39477 } else {
39478 Py_INCREF(Py_None);
39479 obj = Py_None;
39480 }
39481 break;
39482 case SWIG_PY_POINTER:
39483 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
39484 break;
39485 case SWIG_PY_BINARY:
39486 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
39487 break;
39488 default:
39489 obj = 0;
39490 break;
39491 }
39492 if (obj) {
39493 PyDict_SetItemString(d,constants[i].name,obj);
39494 Py_DECREF(obj);
39495 }
39496 }
39497 }
39498
39499 /* -----------------------------------------------------------------------------*/
39500 /* Fix SwigMethods to carry the callback ptrs when needed */
39501 /* -----------------------------------------------------------------------------*/
39502
39503 SWIGINTERN void
39504 SWIG_Python_FixMethods(PyMethodDef *methods,
39505 swig_const_info *const_table,
39506 swig_type_info **types,
39507 swig_type_info **types_initial) {
39508 size_t i;
39509 for (i = 0; methods[i].ml_name; ++i) {
39510 char *c = methods[i].ml_doc;
39511 if (c && (c = strstr(c, "swig_ptr: "))) {
39512 int j;
39513 swig_const_info *ci = 0;
39514 char *name = c + 10;
39515 for (j = 0; const_table[j].type; ++j) {
39516 if (strncmp(const_table[j].name, name,
39517 strlen(const_table[j].name)) == 0) {
39518 ci = &(const_table[j]);
39519 break;
39520 }
39521 }
39522 if (ci) {
39523 size_t shift = (ci->ptype) - types;
39524 swig_type_info *ty = types_initial[shift];
39525 size_t ldoc = (c - methods[i].ml_doc);
39526 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
39527 char *ndoc = (char*)malloc(ldoc + lptr + 10);
39528 if (ndoc) {
39529 char *buff = ndoc;
39530 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
39531 if (ptr) {
39532 strncpy(buff, methods[i].ml_doc, ldoc);
39533 buff += ldoc;
39534 strncpy(buff, "swig_ptr: ", 10);
39535 buff += 10;
39536 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
39537 methods[i].ml_doc = ndoc;
39538 }
39539 }
39540 }
39541 }
39542 }
39543 }
39544
39545 /* -----------------------------------------------------------------------------*
39546 * Initialize type list
39547 * -----------------------------------------------------------------------------*/
39548
39549 #ifdef __cplusplus
39550 }
39551 #endif
39552
39553 /* -----------------------------------------------------------------------------*
39554 * Partial Init method
39555 * -----------------------------------------------------------------------------*/
39556
39557 #ifdef __cplusplus
39558 extern "C"
39559 #endif
39560 SWIGEXPORT void SWIG_init(void) {
39561 static PyObject *SWIG_globals = 0;
39562 PyObject *m, *d;
39563 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
39564
39565 /* Fix SwigMethods to carry the callback ptrs when needed */
39566 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
39567
39568 m = Py_InitModule((char *) SWIG_name, SwigMethods);
39569 d = PyModule_GetDict(m);
39570
39571 SWIG_InitializeModule(0);
39572 SWIG_InstallConstants(d,swig_const_table);
39573
39574 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
39575 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
39576 {
39577 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
39578 }
39579 {
39580 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
39581 }
39582 {
39583 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
39584 }
39585 {
39586 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
39587 }
39588 {
39589 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
39590 }
39591 {
39592 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
39593 }
39594 {
39595 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
39596 }
39597 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
39598 {
39599 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
39600 }
39601 {
39602 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
39603 }
39604 {
39605 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
39606 }
39607 {
39608 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
39609 }
39610 {
39611 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
39612 }
39613 {
39614 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
39615 }
39616 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
39617 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
39618 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
39619 {
39620 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
39621 }
39622 {
39623 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
39624 }
39625 {
39626 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
39627 }
39628 {
39629 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
39630 }
39631 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
39632 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
39633 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
39634 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
39635 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
39636 {
39637 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
39638 }
39639 {
39640 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
39641 }
39642 {
39643 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
39644 }
39645 {
39646 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
39647 }
39648 {
39649 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
39650 }
39651 {
39652 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
39653 }
39654 {
39655 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
39656 }
39657 {
39658 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
39659 }
39660 {
39661 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
39662 }
39663 {
39664 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
39665 }
39666 {
39667 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
39668 }
39669 {
39670 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
39671 }
39672 {
39673 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
39674 }
39675 {
39676 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
39677 }
39678 {
39679 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
39680 }
39681 {
39682 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
39683 }
39684 {
39685 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
39686 }
39687 {
39688 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
39689 }
39690 {
39691 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
39692 }
39693 {
39694 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
39695 }
39696 {
39697 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
39698 }
39699 {
39700 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
39701 }
39702 {
39703 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
39704 }
39705 {
39706 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
39707 }
39708 {
39709 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
39710 }
39711 {
39712 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
39713 }
39714 {
39715 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
39716 }
39717 {
39718 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
39719 }
39720 {
39721 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
39722 }
39723 {
39724 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
39725 }
39726 {
39727 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
39728 }
39729 {
39730 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
39731 }
39732 {
39733 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
39734 }
39735 {
39736 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
39737 }
39738 {
39739 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
39740 }
39741 {
39742 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
39743 }
39744 {
39745 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
39746 }
39747 {
39748 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
39749 }
39750 {
39751 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
39752 }
39753 {
39754 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
39755 }
39756 {
39757 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
39758 }
39759 {
39760 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
39761 }
39762 {
39763 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
39764 }
39765 {
39766 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
39767 }
39768 {
39769 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
39770 }
39771 {
39772 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
39773 }
39774 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
39775 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
39776 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
39777 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
39778 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
39779 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
39780 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
39781 {
39782 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
39783 }
39784 {
39785 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
39786 }
39787 {
39788 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
39789 }
39790 {
39791 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
39792 }
39793 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
39794 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
39795 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
39796 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
39797 {
39798 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
39799 }
39800 {
39801 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
39802 }
39803 {
39804 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
39805 }
39806 {
39807 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
39808 }
39809 {
39810 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
39811 }
39812 {
39813 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
39814 }
39815 {
39816 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
39817 }
39818 {
39819 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
39820 }
39821 {
39822 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
39823 }
39824 {
39825 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
39826 }
39827 {
39828 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
39829 }
39830 {
39831 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
39832 }
39833 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
39834 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
39835 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
39836 {
39837 PyDict_SetItemString(d,"BK_DEFAULT", SWIG_From_int(static_cast<int >(wxBK_DEFAULT)));
39838 }
39839 {
39840 PyDict_SetItemString(d,"BK_TOP", SWIG_From_int(static_cast<int >(wxBK_TOP)));
39841 }
39842 {
39843 PyDict_SetItemString(d,"BK_BOTTOM", SWIG_From_int(static_cast<int >(wxBK_BOTTOM)));
39844 }
39845 {
39846 PyDict_SetItemString(d,"BK_LEFT", SWIG_From_int(static_cast<int >(wxBK_LEFT)));
39847 }
39848 {
39849 PyDict_SetItemString(d,"BK_RIGHT", SWIG_From_int(static_cast<int >(wxBK_RIGHT)));
39850 }
39851 {
39852 PyDict_SetItemString(d,"BK_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBK_ALIGN_MASK)));
39853 }
39854 {
39855 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
39856 }
39857 {
39858 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
39859 }
39860 {
39861 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
39862 }
39863 {
39864 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
39865 }
39866 {
39867 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
39868 }
39869 {
39870 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
39871 }
39872 {
39873 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
39874 }
39875 {
39876 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
39877 }
39878 {
39879 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
39880 }
39881 {
39882 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
39883 }
39884 {
39885 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
39886 }
39887 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
39888 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
39889 {
39890 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
39891 }
39892 {
39893 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
39894 }
39895 {
39896 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
39897 }
39898 {
39899 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
39900 }
39901 {
39902 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
39903 }
39904 {
39905 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
39906 }
39907 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
39908 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
39909 {
39910 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
39911 }
39912 {
39913 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
39914 }
39915 {
39916 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
39917 }
39918 {
39919 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
39920 }
39921 {
39922 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
39923 }
39924 {
39925 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
39926 }
39927 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
39928 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
39929 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
39930 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
39931 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
39932 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
39933 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
39934 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
39935 {
39936 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
39937 }
39938 {
39939 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
39940 }
39941 {
39942 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
39943 }
39944 {
39945 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
39946 }
39947 {
39948 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
39949 }
39950 {
39951 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
39952 }
39953 {
39954 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
39955 }
39956 {
39957 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
39958 }
39959 {
39960 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
39961 }
39962 {
39963 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
39964 }
39965 {
39966 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
39967 }
39968 {
39969 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
39970 }
39971 {
39972 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
39973 }
39974 {
39975 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
39976 }
39977 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
39978 {
39979 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
39980 }
39981 {
39982 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
39983 }
39984 {
39985 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
39986 }
39987 {
39988 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
39989 }
39990 {
39991 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
39992 }
39993 {
39994 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
39995 }
39996 {
39997 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
39998 }
39999 {
40000 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
40001 }
40002 {
40003 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
40004 }
40005 {
40006 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
40007 }
40008 {
40009 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
40010 }
40011 {
40012 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
40013 }
40014 {
40015 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
40016 }
40017 {
40018 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
40019 }
40020 {
40021 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
40022 }
40023 {
40024 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
40025 }
40026 {
40027 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
40028 }
40029 {
40030 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
40031 }
40032 {
40033 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
40034 }
40035 {
40036 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
40037 }
40038 {
40039 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
40040 }
40041 {
40042 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
40043 }
40044 {
40045 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
40046 }
40047 {
40048 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
40049 }
40050 {
40051 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
40052 }
40053 {
40054 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
40055 }
40056 {
40057 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
40058 }
40059 {
40060 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
40061 }
40062 {
40063 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
40064 }
40065 {
40066 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
40067 }
40068 {
40069 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
40070 }
40071 {
40072 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
40073 }
40074 {
40075 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
40076 }
40077 {
40078 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
40079 }
40080 {
40081 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
40082 }
40083 {
40084 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
40085 }
40086 {
40087 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
40088 }
40089 {
40090 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
40091 }
40092 {
40093 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
40094 }
40095 {
40096 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
40097 }
40098 {
40099 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
40100 }
40101 {
40102 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
40103 }
40104 {
40105 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
40106 }
40107 {
40108 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
40109 }
40110 {
40111 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
40112 }
40113 {
40114 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
40115 }
40116 {
40117 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
40118 }
40119 {
40120 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
40121 }
40122 {
40123 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
40124 }
40125 {
40126 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
40127 }
40128 {
40129 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
40130 }
40131 {
40132 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
40133 }
40134 {
40135 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
40136 }
40137 {
40138 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
40139 }
40140 {
40141 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
40142 }
40143 {
40144 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
40145 }
40146 {
40147 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
40148 }
40149 {
40150 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
40151 }
40152 {
40153 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
40154 }
40155 {
40156 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
40157 }
40158 {
40159 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
40160 }
40161 {
40162 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
40163 }
40164 {
40165 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
40166 }
40167 {
40168 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
40169 }
40170 {
40171 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
40172 }
40173 {
40174 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
40175 }
40176 {
40177 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
40178 }
40179 {
40180 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
40181 }
40182 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
40183 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
40184 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
40185 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
40186 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
40187 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
40188 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
40189 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
40190 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
40191 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
40192 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
40193 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
40194 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
40195 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
40196 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
40197 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
40198 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
40199 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
40200 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
40201 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
40202
40203 // Map renamed classes back to their common name for OOR
40204 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
40205
40206 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
40207 {
40208 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
40209 }
40210 {
40211 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
40212 }
40213 {
40214 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
40215 }
40216 {
40217 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
40218 }
40219 {
40220 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
40221 }
40222 {
40223 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
40224 }
40225 {
40226 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
40227 }
40228 {
40229 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
40230 }
40231 {
40232 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
40233 }
40234 {
40235 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
40236 }
40237 {
40238 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
40239 }
40240 {
40241 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
40242 }
40243 {
40244 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
40245 }
40246 {
40247 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
40248 }
40249 {
40250 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
40251 }
40252 {
40253 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
40254 }
40255 {
40256 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
40257 }
40258 {
40259 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
40260 }
40261 {
40262 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
40263 }
40264 {
40265 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
40266 }
40267 {
40268 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
40269 }
40270 {
40271 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
40272 }
40273 {
40274 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
40275 }
40276 {
40277 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
40278 }
40279 {
40280 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
40281 }
40282 {
40283 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
40284 }
40285 {
40286 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
40287 }
40288 {
40289 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
40290 }
40291 {
40292 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
40293 }
40294 {
40295 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
40296 }
40297 {
40298 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
40299 }
40300 {
40301 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
40302 }
40303 {
40304 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
40305 }
40306 {
40307 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
40308 }
40309 {
40310 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
40311 }
40312 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
40313 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
40314 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
40315 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
40316 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
40317 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
40318 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
40319 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
40320 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
40321 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
40322 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
40323 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
40324 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
40325 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
40326 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
40327 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
40328 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
40329 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
40330 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
40331 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
40332 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
40333
40334 // Map renamed classes back to their common name for OOR
40335 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
40336 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
40337
40338 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
40339 {
40340 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
40341 }
40342 {
40343 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
40344 }
40345 {
40346 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
40347 }
40348 {
40349 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
40350 }
40351 {
40352 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
40353 }
40354 {
40355 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
40356 }
40357 {
40358 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
40359 }
40360 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
40361 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
40362
40363 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
40364
40365 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
40366 {
40367 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
40368 }
40369 {
40370 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
40371 }
40372 {
40373 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
40374 }
40375 {
40376 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
40377 }
40378 {
40379 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
40380 }
40381 }
40382