]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
Suppress VC++ 2005 deprecation warnings (for now)
[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
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29 /***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 #endif
44
45 /* inline attribute */
46 #ifndef SWIGINLINE
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
49 # else
50 # define SWIGINLINE
51 # endif
52 #endif
53
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
55 #ifndef SWIGUNUSED
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
58 # else
59 # define SWIGUNUSED
60 # endif
61 #endif
62
63 /* internal SWIG method */
64 #ifndef SWIGINTERN
65 # define SWIGINTERN static SWIGUNUSED
66 #endif
67
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71 #endif
72
73 /* exporting methods for Windows DLLs */
74 #ifndef SWIGEXPORT
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
77 # define SWIGEXPORT
78 # else
79 # define SWIGEXPORT __declspec(dllexport)
80 # endif
81 # else
82 # define SWIGEXPORT
83 # endif
84 #endif
85
86 /* calling conventions for Windows */
87 #ifndef SWIGSTDCALL
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
90 # else
91 # define SWIGSTDCALL
92 # endif
93 #endif
94
95
96
97 #include <Python.h>
98
99 /***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
110
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116 #else
117 # define SWIG_TYPE_TABLE_NAME
118 #endif
119
120 /*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127 */
128
129 #ifndef SWIGRUNTIME
130 # define SWIGRUNTIME SWIGINTERN
131 #endif
132
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135 #endif
136
137 #include <string.h>
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 typedef void *(*swig_converter_func)(void *);
144 typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153 } swig_type_info;
154
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161 } swig_cast_info;
162
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173 } swig_module_info;
174
175
176 /*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182 */
183 SWIGRUNTIME int
184 SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192 }
193
194 /*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197 */
198 SWIGRUNTIME int
199 SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211 }
212
213 /*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216 */
217 SWIGRUNTIME int
218 SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230 }
231
232
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255 /*
256 Check the typename
257 */
258 SWIGRUNTIME swig_cast_info *
259 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261 }
262
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info *
265 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267 }
268
269 /*
270 Cast a pointer up an inheritance hierarchy
271 */
272 SWIGRUNTIMEINLINE void *
273 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275 }
276
277 /*
278 Dynamic pointer casting. Down an inheritance hierarchy
279 */
280 SWIGRUNTIME swig_type_info *
281 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289 }
290
291 /*
292 Return the name associated with this type
293 */
294 SWIGRUNTIMEINLINE const char *
295 SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297 }
298
299 /*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302 */
303 SWIGRUNTIME const char *
304 SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318 }
319
320 /*
321 Set the clientdata field for a type
322 */
323 SWIGRUNTIME void
324 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338 }
339
340 /*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347 */
348 SWIGRUNTIME swig_type_info *
349 SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382 }
383
384 /*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392 */
393 SWIGRUNTIME swig_type_info *
394 SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417 }
418
419
420 /*
421 Pack binary data into a string
422 */
423 SWIGRUNTIME char *
424 SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434 }
435
436 /*
437 Unpack binary data from a string
438 */
439 SWIGRUNTIME const char *
440 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462 }
463
464 /*
465 Pack 'void *' into a string buffer.
466 */
467 SWIGRUNTIME char *
468 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476 }
477
478 SWIGRUNTIME const char *
479 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489 }
490
491 SWIGRUNTIME char *
492 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504 }
505
506 SWIGRUNTIME const char *
507 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517 }
518
519 #ifdef __cplusplus
520 }
521 #endif
522
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527 #ifdef __cplusplus
528 extern "C" {
529 #endif
530
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535 #ifndef SWIGINTERN
536 # define SWIGINTERN static SWIGUNUSED
537 #endif
538
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541 #endif
542
543 /*
544 Exception handling in wrappers
545 */
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553 /*
554 Contract support
555 */
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563 /* Constant Types */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
569
570 /* Constant information structure */
571 typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578 } swig_const_info;
579
580
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588 #ifdef __cplusplus
589 }
590 #endif
591
592
593 /***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613 /* Runtime API */
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620 /*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624 */
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
627 #endif
628
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
632
633
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
637 #endif
638
639 #ifdef __cplusplus
640 extern "C" {
641 #endif
642
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
648 #endif
649
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
652 static PyObject *
653 PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661 }
662 #endif
663
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
666 #endif
667
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674 typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678 } PySwigObject;
679
680 /* Declarations for objects of type PySwigObject */
681
682 SWIGRUNTIME int
683 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684 {
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693 }
694
695 SWIGRUNTIME PyObject *
696 PySwigObject_repr(PySwigObject *v)
697 {
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701 }
702
703 SWIGRUNTIME PyObject *
704 PySwigObject_str(PySwigObject *v)
705 {
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709 }
710
711 SWIGRUNTIME PyObject *
712 PySwigObject_long(PySwigObject *v)
713 {
714 return PyLong_FromVoidPtr(v->ptr);
715 }
716
717 SWIGRUNTIME PyObject *
718 PySwigObject_format(const char* fmt, PySwigObject *v)
719 {
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731 }
732
733 SWIGRUNTIME PyObject *
734 PySwigObject_oct(PySwigObject *v)
735 {
736 return PySwigObject_format("%o",v);
737 }
738
739 SWIGRUNTIME PyObject *
740 PySwigObject_hex(PySwigObject *v)
741 {
742 return PySwigObject_format("%x",v);
743 }
744
745 SWIGRUNTIME int
746 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747 {
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756 }
757
758 SWIGRUNTIME void
759 PySwigObject_dealloc(PySwigObject *self)
760 {
761 PyObject_Del(self);
762 }
763
764 SWIGRUNTIME PyTypeObject*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797 #endif
798 };
799
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806 #endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832 #endif
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836 #endif
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839 #endif
840 #if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842 #endif
843 #ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845 #endif
846 };
847 #if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851 #endif
852 return &pyswigobject_type;
853 }
854
855 SWIGRUNTIME PyObject *
856 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857 {
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864 }
865
866 SWIGRUNTIMEINLINE void *
867 PySwigObject_AsVoidPtr(PyObject *self)
868 {
869 return ((PySwigObject *)self)->ptr;
870 }
871
872 SWIGRUNTIMEINLINE const char *
873 PySwigObject_GetDesc(PyObject *self)
874 {
875 return ((PySwigObject *)self)->desc;
876 }
877
878 SWIGRUNTIMEINLINE int
879 PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882 }
883
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888 typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893 } PySwigPacked;
894
895 SWIGRUNTIME int
896 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897 {
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908 }
909
910 SWIGRUNTIME PyObject *
911 PySwigPacked_repr(PySwigPacked *v)
912 {
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919 }
920
921 SWIGRUNTIME PyObject *
922 PySwigPacked_str(PySwigPacked *v)
923 {
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930 }
931
932 SWIGRUNTIME int
933 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934 {
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944 }
945
946 SWIGRUNTIME void
947 PySwigPacked_dealloc(PySwigPacked *self)
948 {
949 free(self->pack);
950 PyObject_Del(self);
951 }
952
953 SWIGRUNTIME PyTypeObject*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963 #endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989 #endif
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993 #endif
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996 #endif
997 #if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999 #endif
1000 #ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002 #endif
1003 };
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008 #endif
1009 return &pyswigpacked_type;
1010 }
1011
1012 SWIGRUNTIME PyObject *
1013 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014 {
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029 }
1030
1031 SWIGRUNTIMEINLINE const char *
1032 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033 {
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038 }
1039
1040 SWIGRUNTIMEINLINE const char *
1041 PySwigPacked_GetDesc(PyObject *self)
1042 {
1043 return ((PySwigPacked *)self)->desc;
1044 }
1045
1046 SWIGRUNTIMEINLINE int
1047 PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050 }
1051
1052 #else
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062 #endif
1063
1064 #endif
1065
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070 SWIGRUNTIME void
1071 SWIG_Python_TypeError(const char *type, PyObject *obj)
1072 {
1073 if (type) {
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083 #endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104 }
1105
1106 SWIGRUNTIMEINLINE void
1107 SWIG_Python_NullRef(const char *type)
1108 {
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114 }
1115
1116 SWIGRUNTIME int
1117 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118 {
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139 }
1140
1141 SWIGRUNTIME int
1142 SWIG_Python_ArgFail(int argnum)
1143 {
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152 }
1153
1154
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159 /* Convert a pointer value */
1160 SWIGRUNTIME int
1161 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192 #else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210 #endif
1211
1212 type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225 type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248 }
1249
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1251 SWIGRUNTIME void *
1252 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262 }
1263
1264 /* Convert a packed value value */
1265 SWIGRUNTIME int
1266 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272 #else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277 #endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285 type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295 }
1296
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject *
1299 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313 #else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319 #endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335 }
1336
1337 SWIGRUNTIME PyObject *
1338 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346 #else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352 #endif
1353 return robj;
1354 }
1355
1356 /* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1362 #endif
1363
1364 SWIGRUNTIME swig_module_info *
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371 #else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378 #endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381 }
1382
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1386 SWIGINTERN int
1387 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388 {
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412 }
1413 #endif
1414
1415 SWIGRUNTIME void
1416 SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425 }
1426
1427 #ifdef __cplusplus
1428 }
1429 #endif
1430
1431
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1433
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_long swig_types[4]
1439 #define SWIGTYPE_p_unsigned_char swig_types[5]
1440 #define SWIGTYPE_p_unsigned_int swig_types[6]
1441 #define SWIGTYPE_p_unsigned_long swig_types[7]
1442 #define SWIGTYPE_p_void swig_types[8]
1443 #define SWIGTYPE_p_wxANIHandler swig_types[9]
1444 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446 #define SWIGTYPE_p_wxArrayInt swig_types[12]
1447 #define SWIGTYPE_p_wxArrayString swig_types[13]
1448 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449 #define SWIGTYPE_p_wxBitmap swig_types[15]
1450 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
1451 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
1452 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
1453 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
1454 #define SWIGTYPE_p_wxButton swig_types[20]
1455 #define SWIGTYPE_p_wxCURHandler swig_types[21]
1456 #define SWIGTYPE_p_wxCheckBox swig_types[22]
1457 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
1458 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
1459 #define SWIGTYPE_p_wxChoice swig_types[25]
1460 #define SWIGTYPE_p_wxChoicebook swig_types[26]
1461 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
1462 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
1463 #define SWIGTYPE_p_wxColour swig_types[29]
1464 #define SWIGTYPE_p_wxComboBox swig_types[30]
1465 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
1466 #define SWIGTYPE_p_wxContextHelp swig_types[32]
1467 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
1468 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
1469 #define SWIGTYPE_p_wxControl swig_types[35]
1470 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
1471 #define SWIGTYPE_p_wxCursor swig_types[37]
1472 #define SWIGTYPE_p_wxDC swig_types[38]
1473 #define SWIGTYPE_p_wxDateEvent swig_types[39]
1474 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
1475 #define SWIGTYPE_p_wxDateTime swig_types[41]
1476 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
1477 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
1478 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
1479 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
1480 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
1481 #define SWIGTYPE_p_wxEvent swig_types[47]
1482 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
1483 #define SWIGTYPE_p_wxFSFile swig_types[49]
1484 #define SWIGTYPE_p_wxFileSystem swig_types[50]
1485 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
1486 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
1487 #define SWIGTYPE_p_wxFont swig_types[53]
1488 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
1489 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
1490 #define SWIGTYPE_p_wxGauge swig_types[56]
1491 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
1492 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
1493 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
1494 #define SWIGTYPE_p_wxGridSizer swig_types[60]
1495 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
1496 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
1497 #define SWIGTYPE_p_wxICOHandler swig_types[63]
1498 #define SWIGTYPE_p_wxIcon swig_types[64]
1499 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
1500 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
1501 #define SWIGTYPE_p_wxImage swig_types[67]
1502 #define SWIGTYPE_p_wxImageHandler swig_types[68]
1503 #define SWIGTYPE_p_wxImageList swig_types[69]
1504 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
1505 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
1506 #define SWIGTYPE_p_wxItemContainer swig_types[72]
1507 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
1509 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
1510 #define SWIGTYPE_p_wxListBox swig_types[76]
1511 #define SWIGTYPE_p_wxListEvent swig_types[77]
1512 #define SWIGTYPE_p_wxListItem swig_types[78]
1513 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
1514 #define SWIGTYPE_p_wxListView swig_types[80]
1515 #define SWIGTYPE_p_wxListbook swig_types[81]
1516 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
1517 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
1518 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
1519 #define SWIGTYPE_p_wxMenu swig_types[85]
1520 #define SWIGTYPE_p_wxMenuBar swig_types[86]
1521 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
1522 #define SWIGTYPE_p_wxMenuItem swig_types[88]
1523 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
1524 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
1525 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
1526 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
1527 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
1528 #define SWIGTYPE_p_wxNotebook swig_types[94]
1529 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
1530 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
1531 #define SWIGTYPE_p_wxObject swig_types[97]
1532 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
1533 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
1534 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
1535 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
1536 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
1537 #define SWIGTYPE_p_wxPaperSize swig_types[103]
1538 #define SWIGTYPE_p_wxPoint swig_types[104]
1539 #define SWIGTYPE_p_wxPyApp swig_types[105]
1540 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
1541 #define SWIGTYPE_p_wxPyControl swig_types[107]
1542 #define SWIGTYPE_p_wxPyEvent swig_types[108]
1543 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
1544 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
1545 #define SWIGTYPE_p_wxPySizer swig_types[111]
1546 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
1547 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
1548 #define SWIGTYPE_p_wxPyValidator swig_types[114]
1549 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
1550 #define SWIGTYPE_p_wxRadioBox swig_types[116]
1551 #define SWIGTYPE_p_wxRadioButton swig_types[117]
1552 #define SWIGTYPE_p_wxRect swig_types[118]
1553 #define SWIGTYPE_p_wxScrollBar swig_types[119]
1554 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
1555 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
1556 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
1557 #define SWIGTYPE_p_wxShowEvent swig_types[123]
1558 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
1559 #define SWIGTYPE_p_wxSize swig_types[125]
1560 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
1561 #define SWIGTYPE_p_wxSizer swig_types[127]
1562 #define SWIGTYPE_p_wxSizerItem swig_types[128]
1563 #define SWIGTYPE_p_wxSlider swig_types[129]
1564 #define SWIGTYPE_p_wxSpinButton swig_types[130]
1565 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
1566 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
1567 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
1568 #define SWIGTYPE_p_wxStaticBox swig_types[134]
1569 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxStaticLine swig_types[136]
1571 #define SWIGTYPE_p_wxStaticText swig_types[137]
1572 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
1573 #define SWIGTYPE_p_wxString swig_types[139]
1574 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
1575 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
1576 #define SWIGTYPE_p_wxTextAttr swig_types[142]
1577 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
1578 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
1579 #define SWIGTYPE_p_wxToggleButton swig_types[145]
1580 #define SWIGTYPE_p_wxToolBar swig_types[146]
1581 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
1582 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
1583 #define SWIGTYPE_p_wxTreeEvent swig_types[149]
1584 #define SWIGTYPE_p_wxTreeItemId swig_types[150]
1585 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
1586 #define SWIGTYPE_p_wxValidator swig_types[152]
1587 #define SWIGTYPE_p_wxVisualAttributes swig_types[153]
1588 #define SWIGTYPE_p_wxWindow swig_types[154]
1589 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[155]
1590 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
1591 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
1592 #define SWIGTYPE_ptrdiff_t swig_types[158]
1593 #define SWIGTYPE_std__ptrdiff_t swig_types[159]
1594 #define SWIGTYPE_unsigned_int swig_types[160]
1595 static swig_type_info *swig_types[162];
1596 static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0};
1597 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1598 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1599
1600 /* -------- TYPES TABLE (END) -------- */
1601
1602
1603 /*-----------------------------------------------
1604 @(target):= _controls_.so
1605 ------------------------------------------------*/
1606 #define SWIG_init init_controls_
1607
1608 #define SWIG_name "_controls_"
1609
1610 #include "wx/wxPython/wxPython.h"
1611 #include "wx/wxPython/pyclasses.h"
1612
1613 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1614 static const wxString wxPyEmptyString(wxEmptyString);
1615 static const wxString wxPyControlNameStr(wxControlNameStr);
1616
1617 const wxArrayString wxPyEmptyStringArray;
1618
1619 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1620
1621 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1622 #define SWIG_From_int PyInt_FromLong
1623 /*@@*/
1624
1625
1626 #include <limits.h>
1627
1628
1629 SWIGINTERN int
1630 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1631 const char *errmsg)
1632 {
1633 if (value < min_value) {
1634 if (errmsg) {
1635 PyErr_Format(PyExc_OverflowError,
1636 "value %ld is less than '%s' minimum %ld",
1637 value, errmsg, min_value);
1638 }
1639 return 0;
1640 } else if (value > max_value) {
1641 if (errmsg) {
1642 PyErr_Format(PyExc_OverflowError,
1643 "value %ld is greater than '%s' maximum %ld",
1644 value, errmsg, max_value);
1645 }
1646 return 0;
1647 }
1648 return 1;
1649 }
1650
1651
1652 SWIGINTERN int
1653 SWIG_AsVal_long(PyObject* obj, long* val)
1654 {
1655 if (PyNumber_Check(obj)) {
1656 if (val) *val = PyInt_AsLong(obj);
1657 return 1;
1658 }
1659 else {
1660 SWIG_type_error("number", obj);
1661 }
1662 return 0;
1663 }
1664
1665
1666 #if INT_MAX != LONG_MAX
1667 SWIGINTERN int
1668 SWIG_AsVal_int(PyObject *obj, int *val)
1669 {
1670 const char* errmsg = val ? "int" : (char*)0;
1671 long v;
1672 if (SWIG_AsVal_long(obj, &v)) {
1673 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1674 if (val) *val = static_cast<int >(v);
1675 return 1;
1676 } else {
1677 return 0;
1678 }
1679 } else {
1680 PyErr_Clear();
1681 }
1682 if (val) {
1683 SWIG_type_error(errmsg, obj);
1684 }
1685 return 0;
1686 }
1687 #else
1688 SWIGINTERNINLINE int
1689 SWIG_AsVal_int(PyObject *obj, int *val)
1690 {
1691 return SWIG_AsVal_long(obj,(long*)val);
1692 }
1693 #endif
1694
1695
1696 SWIGINTERNINLINE int
1697 SWIG_As_int(PyObject* obj)
1698 {
1699 int v;
1700 if (!SWIG_AsVal_int(obj, &v)) {
1701 /*
1702 this is needed to make valgrind/purify happier.
1703 */
1704 memset((void*)&v, 0, sizeof(int));
1705 }
1706 return v;
1707 }
1708
1709
1710 SWIGINTERNINLINE long
1711 SWIG_As_long(PyObject* obj)
1712 {
1713 long v;
1714 if (!SWIG_AsVal_long(obj, &v)) {
1715 /*
1716 this is needed to make valgrind/purify happier.
1717 */
1718 memset((void*)&v, 0, sizeof(long));
1719 }
1720 return v;
1721 }
1722
1723
1724 SWIGINTERNINLINE int
1725 SWIG_Check_int(PyObject* obj)
1726 {
1727 return SWIG_AsVal_int(obj, (int*)0);
1728 }
1729
1730
1731 SWIGINTERNINLINE int
1732 SWIG_Check_long(PyObject* obj)
1733 {
1734 return SWIG_AsVal_long(obj, (long*)0);
1735 }
1736
1737 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1738
1739 SWIGINTERN int
1740 SWIG_AsVal_bool(PyObject *obj, bool *val)
1741 {
1742 if (obj == Py_True) {
1743 if (val) *val = true;
1744 return 1;
1745 }
1746 if (obj == Py_False) {
1747 if (val) *val = false;
1748 return 1;
1749 }
1750 int res = 0;
1751 if (SWIG_AsVal_int(obj, &res)) {
1752 if (val) *val = res ? true : false;
1753 return 1;
1754 } else {
1755 PyErr_Clear();
1756 }
1757 if (val) {
1758 SWIG_type_error("bool", obj);
1759 }
1760 return 0;
1761 }
1762
1763
1764 SWIGINTERNINLINE bool
1765 SWIG_As_bool(PyObject* obj)
1766 {
1767 bool v;
1768 if (!SWIG_AsVal_bool(obj, &v)) {
1769 /*
1770 this is needed to make valgrind/purify happier.
1771 */
1772 memset((void*)&v, 0, sizeof(bool));
1773 }
1774 return v;
1775 }
1776
1777
1778 SWIGINTERNINLINE int
1779 SWIG_Check_bool(PyObject* obj)
1780 {
1781 return SWIG_AsVal_bool(obj, (bool*)0);
1782 }
1783
1784 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1785 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1786
1787 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1788 #define SWIG_From_long PyInt_FromLong
1789 /*@@*/
1790
1791
1792 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1793 PyObject* o2;
1794 PyObject* o3;
1795
1796 if (!target) {
1797 target = o;
1798 } else if (target == Py_None) {
1799 Py_DECREF(Py_None);
1800 target = o;
1801 } else {
1802 if (!PyTuple_Check(target)) {
1803 o2 = target;
1804 target = PyTuple_New(1);
1805 PyTuple_SetItem(target, 0, o2);
1806 }
1807 o3 = PyTuple_New(1);
1808 PyTuple_SetItem(o3, 0, o);
1809
1810 o2 = target;
1811 target = PySequence_Concat(o2, o3);
1812 Py_DECREF(o2);
1813 Py_DECREF(o3);
1814 }
1815 return target;
1816 }
1817
1818
1819 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1820 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1821 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1822 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1823
1824 #include <wx/checklst.h>
1825
1826
1827 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1828 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1829 if (clientData) {
1830 wxPyClientData* data = new wxPyClientData(clientData);
1831 self->Insert(item, pos, data);
1832 } else
1833 self->Insert(item, pos);
1834 }
1835 static PyObject *wxListBox_GetSelections(wxListBox *self){
1836 wxArrayInt lst;
1837 self->GetSelections(lst);
1838 PyObject *tup = PyTuple_New(lst.GetCount());
1839 for(size_t i=0; i<lst.GetCount(); i++) {
1840 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1841 }
1842 return tup;
1843 }
1844 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1845 #ifdef __WXMSW__
1846 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1847 self->GetItem(item)->SetTextColour(c);
1848 #endif
1849 }
1850 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1851 #ifdef __WXMSW__
1852 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1853 self->GetItem(item)->SetBackgroundColour(c);
1854 #endif
1855 }
1856 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1857 #ifdef __WXMSW__
1858 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1859 self->GetItem(item)->SetFont(f);
1860 #endif
1861 }
1862 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1863
1864 SWIGINTERN int
1865 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1866 {
1867 long v = 0;
1868 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1869 SWIG_type_error("unsigned number", obj);
1870 }
1871 else if (val)
1872 *val = (unsigned long)v;
1873 return 1;
1874 }
1875
1876
1877 SWIGINTERNINLINE unsigned long
1878 SWIG_As_unsigned_SS_long(PyObject* obj)
1879 {
1880 unsigned long v;
1881 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1882 /*
1883 this is needed to make valgrind/purify happier.
1884 */
1885 memset((void*)&v, 0, sizeof(unsigned long));
1886 }
1887 return v;
1888 }
1889
1890
1891 SWIGINTERNINLINE int
1892 SWIG_Check_unsigned_SS_long(PyObject* obj)
1893 {
1894 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1895 }
1896
1897 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1898 self->AppendText(text);
1899 }
1900 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1901 return self->GetValue().Mid(from, to - from);
1902 }
1903 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1904 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1905 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1906 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1907 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1908
1909 #include <wx/slider.h>
1910
1911
1912 static const wxString wxPySliderNameStr(wxSliderNameStr);
1913 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1914
1915 #if !wxUSE_TOGGLEBTN
1916 // implement dummy items for platforms that don't have this class
1917
1918 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1919
1920 class wxToggleButton : public wxControl
1921 {
1922 public:
1923 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1924 const wxPoint&, const wxSize&, long,
1925 const wxValidator&, const wxString&)
1926 { wxPyRaiseNotImplemented(); }
1927
1928 wxToggleButton()
1929 { wxPyRaiseNotImplemented(); }
1930 };
1931 #endif
1932
1933 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1934
1935 SWIGINTERNINLINE PyObject*
1936 SWIG_From_unsigned_SS_long(unsigned long value)
1937 {
1938 return (value > LONG_MAX) ?
1939 PyLong_FromUnsignedLong(value)
1940 : PyInt_FromLong(static_cast<long >(value));
1941 }
1942
1943 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1944 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1945 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1946 if (udata) {
1947 Py_INCREF(udata->m_obj);
1948 return udata->m_obj;
1949 } else {
1950 Py_INCREF(Py_None);
1951 return Py_None;
1952 }
1953 }
1954 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1955 self->SetClientData(new wxPyUserData(clientData));
1956 }
1957 static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1958 wxPyUserData* udata = NULL;
1959 if (clientData && clientData != Py_None)
1960 udata = new wxPyUserData(clientData);
1961 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1962 shortHelp, longHelp, udata);
1963 }
1964 static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1965 wxPyUserData* udata = NULL;
1966 if (clientData && clientData != Py_None)
1967 udata = new wxPyUserData(clientData);
1968 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1969 shortHelp, longHelp, udata);
1970 }
1971 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1972 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1973 if (udata) {
1974 Py_INCREF(udata->m_obj);
1975 return udata->m_obj;
1976 } else {
1977 Py_INCREF(Py_None);
1978 return Py_None;
1979 }
1980 }
1981 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1982 self->SetToolClientData(id, new wxPyUserData(clientData));
1983 }
1984
1985 #include <wx/listctrl.h>
1986
1987 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1988 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1989 // Python aware sorting function for wxPyListCtrl
1990 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1991 int retval = 0;
1992 PyObject* func = (PyObject*)funcPtr;
1993 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1994
1995 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1996 PyObject* result = PyEval_CallObject(func, args);
1997 Py_DECREF(args);
1998 if (result) {
1999 retval = PyInt_AsLong(result);
2000 Py_DECREF(result);
2001 }
2002
2003 wxPyEndBlockThreads(blocked);
2004 return retval;
2005 }
2006
2007 // C++ Version of a Python aware class
2008 class wxPyListCtrl : public wxListCtrl {
2009 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
2010 public:
2011 wxPyListCtrl() : wxListCtrl() {}
2012 wxPyListCtrl(wxWindow* parent, wxWindowID id,
2013 const wxPoint& pos,
2014 const wxSize& size,
2015 long style,
2016 const wxValidator& validator,
2017 const wxString& name) :
2018 wxListCtrl(parent, id, pos, size, style, validator, name) {}
2019
2020 bool Create(wxWindow* parent, wxWindowID id,
2021 const wxPoint& pos,
2022 const wxSize& size,
2023 long style,
2024 const wxValidator& validator,
2025 const wxString& name) {
2026 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
2027 }
2028
2029 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
2030 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
2031
2032 // use the virtual version to avoid a confusing assert in the base class
2033 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
2034
2035 PYPRIVATE;
2036 };
2037
2038 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
2039
2040 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
2041 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
2042 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
2043
2044
2045 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
2046 wxListItem item;
2047 item.SetMask( wxLIST_MASK_STATE |
2048 wxLIST_MASK_TEXT |
2049 wxLIST_MASK_IMAGE |
2050 wxLIST_MASK_DATA |
2051 wxLIST_SET_ITEM |
2052 wxLIST_MASK_WIDTH |
2053 wxLIST_MASK_FORMAT
2054 );
2055 if (self->GetColumn(col, item))
2056 return new wxListItem(item);
2057 else
2058 return NULL;
2059 }
2060 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
2061 wxListItem* info = new wxListItem;
2062 info->m_itemId = itemId;
2063 info->m_col = col;
2064 info->m_mask = 0xFFFF;
2065 self->GetItem(*info);
2066 return info;
2067 }
2068 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
2069 wxPoint pos;
2070 self->GetItemPosition(item, pos);
2071 return pos;
2072 }
2073 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
2074 wxRect rect;
2075 self->GetItemRect(item, rect, code);
2076 return rect;
2077 }
2078
2079 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
2080 if (!PyCallable_Check(func))
2081 return false;
2082 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
2083 }
2084 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
2085
2086 return self;
2087
2088
2089
2090 }
2091
2092 #include <wx/treectrl.h>
2093 #include "wx/wxPython/pytree.h"
2094
2095 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
2096 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
2097 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
2098 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
2099 // C++ version of Python aware wxTreeCtrl
2100 class wxPyTreeCtrl : public wxTreeCtrl {
2101 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
2102 public:
2103 wxPyTreeCtrl() : wxTreeCtrl() {}
2104 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
2105 const wxPoint& pos,
2106 const wxSize& size,
2107 long style,
2108 const wxValidator& validator,
2109 const wxString& name) :
2110 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
2111
2112 bool Create(wxWindow *parent, wxWindowID id,
2113 const wxPoint& pos,
2114 const wxSize& size,
2115 long style,
2116 const wxValidator& validator,
2117 const wxString& name) {
2118 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
2119 }
2120
2121
2122 int OnCompareItems(const wxTreeItemId& item1,
2123 const wxTreeItemId& item2) {
2124 int rval = 0;
2125 bool found;
2126 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2127 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2128 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
2129 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
2130 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2131 Py_DECREF(o1);
2132 Py_DECREF(o2);
2133 }
2134 wxPyEndBlockThreads(blocked);
2135 if (! found)
2136 rval = wxTreeCtrl::OnCompareItems(item1, item2);
2137 return rval;
2138 }
2139 PYPRIVATE;
2140 };
2141
2142 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
2143
2144
2145
2146 #if UINT_MAX < LONG_MAX
2147 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2148 #define SWIG_From_unsigned_SS_int SWIG_From_long
2149 /*@@*/
2150 #else
2151 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
2152 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2153 /*@@*/
2154 #endif
2155
2156
2157 SWIGINTERNINLINE int
2158 SWIG_CheckUnsignedLongInRange(unsigned long value,
2159 unsigned long max_value,
2160 const char *errmsg)
2161 {
2162 if (value > max_value) {
2163 if (errmsg) {
2164 PyErr_Format(PyExc_OverflowError,
2165 "value %lu is greater than '%s' minimum %lu",
2166 value, errmsg, max_value);
2167 }
2168 return 0;
2169 }
2170 return 1;
2171 }
2172
2173
2174 #if UINT_MAX != ULONG_MAX
2175 SWIGINTERN int
2176 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2177 {
2178 const char* errmsg = val ? "unsigned int" : (char*)0;
2179 unsigned long v;
2180 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2181 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2182 if (val) *val = static_cast<unsigned int >(v);
2183 return 1;
2184 }
2185 } else {
2186 PyErr_Clear();
2187 }
2188 if (val) {
2189 SWIG_type_error(errmsg, obj);
2190 }
2191 return 0;
2192 }
2193 #else
2194 SWIGINTERNINLINE unsigned int
2195 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2196 {
2197 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2198 }
2199 #endif
2200
2201
2202 SWIGINTERNINLINE unsigned int
2203 SWIG_As_unsigned_SS_int(PyObject* obj)
2204 {
2205 unsigned int v;
2206 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2207 /*
2208 this is needed to make valgrind/purify happier.
2209 */
2210 memset((void*)&v, 0, sizeof(unsigned int));
2211 }
2212 return v;
2213 }
2214
2215
2216 SWIGINTERNINLINE int
2217 SWIG_Check_unsigned_SS_int(PyObject* obj)
2218 {
2219 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2220 }
2221
2222 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2223 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2224 if (data == NULL) {
2225 data = new wxPyTreeItemData();
2226 data->SetId(item); // set the id
2227 self->SetItemData(item, data);
2228 }
2229 return data;
2230 }
2231 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2232 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2233 if (data == NULL) {
2234 data = new wxPyTreeItemData();
2235 data->SetId(item); // set the id
2236 self->SetItemData(item, data);
2237 }
2238 return data->GetData();
2239 }
2240 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2241 data->SetId(item); // set the id
2242 self->SetItemData(item, data);
2243 }
2244 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2245 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2246 if (data == NULL) {
2247 data = new wxPyTreeItemData(obj);
2248 data->SetId(item); // set the id
2249 self->SetItemData(item, data);
2250 } else
2251 data->SetData(obj);
2252 }
2253 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2254 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2255 PyObject* rval = PyList_New(0);
2256 wxArrayTreeItemIds array;
2257 size_t num, x;
2258 num = self->GetSelections(array);
2259 for (x=0; x < num; x++) {
2260 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2261 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2262 PyList_Append(rval, item);
2263 Py_DECREF(item);
2264 }
2265 wxPyEndBlockThreads(blocked);
2266 return rval;
2267 }
2268 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2269 void* cookie = 0;
2270 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2271 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2272 PyObject* tup = PyTuple_New(2);
2273 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2274 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2275 wxPyEndBlockThreads(blocked);
2276 return tup;
2277 }
2278 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2279 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2280 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2281 PyObject* tup = PyTuple_New(2);
2282 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2283 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2284 wxPyEndBlockThreads(blocked);
2285 return tup;
2286 }
2287 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2288 wxRect rect;
2289 if (self->GetBoundingRect(item, rect, textOnly)) {
2290 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2291 wxRect* r = new wxRect(rect);
2292 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2293 wxPyEndBlockThreads(blocked);
2294 return val;
2295 }
2296 else
2297 RETURN_NONE();
2298 }
2299 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2300
2301 SWIGINTERNINLINE PyObject*
2302 SWIG_From_bool(bool value)
2303 {
2304 PyObject *obj = value ? Py_True : Py_False;
2305 Py_INCREF(obj);
2306 return obj;
2307 }
2308
2309
2310 // C++ version of Python aware wxControl
2311 class wxPyControl : public wxControl
2312 {
2313 DECLARE_DYNAMIC_CLASS(wxPyControl)
2314 public:
2315 wxPyControl() : wxControl() {}
2316 wxPyControl(wxWindow* parent, const wxWindowID id,
2317 const wxPoint& pos = wxDefaultPosition,
2318 const wxSize& size = wxDefaultSize,
2319 long style = 0,
2320 const wxValidator& validator=wxDefaultValidator,
2321 const wxString& name = wxPyControlNameStr)
2322 : wxControl(parent, id, pos, size, style, validator, name) {}
2323
2324 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2325
2326 bool DoEraseBackground(wxDC* dc) {
2327 #ifdef __WXMSW__
2328 return wxWindow::DoEraseBackground(dc->GetHDC());
2329 #else
2330 dc->SetBackground(wxBrush(GetBackgroundColour()));
2331 dc->Clear();
2332 return true;
2333 #endif
2334 }
2335
2336 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2337 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2338 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2339 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2340
2341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2343 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2344
2345 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2346 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2347
2348 DEC_PYCALLBACK__(InitDialog);
2349 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2350 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2351 DEC_PYCALLBACK_BOOL_(Validate);
2352
2353 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2354 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2355 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2356
2357 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2358 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2359
2360 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2361 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2362
2363 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2364
2365 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2366
2367 PYPRIVATE;
2368 };
2369
2370 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2371
2372 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2373 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2374 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2375 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2376
2377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2379 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2380
2381 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2382 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2383
2384 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2385 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2386 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2387 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2388
2389 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2390 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2391 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2392
2393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2394 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2395
2396 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2397 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2398
2399 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2400
2401 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2402
2403
2404
2405 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2406
2407 #include <wx/generic/dragimgg.h>
2408
2409 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2410 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2411 wxDateTime rv;
2412 self->GetRange(&rv, NULL);
2413 return rv;
2414 }
2415 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2416 wxDateTime rv;
2417 self->GetRange(NULL, &rv);
2418 return rv;
2419 }
2420 #ifdef __cplusplus
2421 extern "C" {
2422 #endif
2423 static int _wrap_ButtonNameStr_set(PyObject *) {
2424 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2425 return 1;
2426 }
2427
2428
2429 static PyObject *_wrap_ButtonNameStr_get(void) {
2430 PyObject *pyobj = NULL;
2431
2432 {
2433 #if wxUSE_UNICODE
2434 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2435 #else
2436 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2437 #endif
2438 }
2439 return pyobj;
2440 }
2441
2442
2443 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj = NULL;
2445 wxWindow *arg1 = (wxWindow *) 0 ;
2446 int arg2 = (int) -1 ;
2447 wxString const &arg3_defvalue = wxPyEmptyString ;
2448 wxString *arg3 = (wxString *) &arg3_defvalue ;
2449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2451 wxSize const &arg5_defvalue = wxDefaultSize ;
2452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2453 long arg6 = (long) 0 ;
2454 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2455 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2456 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2457 wxString *arg8 = (wxString *) &arg8_defvalue ;
2458 wxButton *result;
2459 bool temp3 = false ;
2460 wxPoint temp4 ;
2461 wxSize temp5 ;
2462 bool temp8 = false ;
2463 PyObject * obj0 = 0 ;
2464 PyObject * obj1 = 0 ;
2465 PyObject * obj2 = 0 ;
2466 PyObject * obj3 = 0 ;
2467 PyObject * obj4 = 0 ;
2468 PyObject * obj5 = 0 ;
2469 PyObject * obj6 = 0 ;
2470 PyObject * obj7 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2477 if (SWIG_arg_fail(1)) SWIG_fail;
2478 if (obj1) {
2479 {
2480 arg2 = static_cast<int >(SWIG_As_int(obj1));
2481 if (SWIG_arg_fail(2)) SWIG_fail;
2482 }
2483 }
2484 if (obj2) {
2485 {
2486 arg3 = wxString_in_helper(obj2);
2487 if (arg3 == NULL) SWIG_fail;
2488 temp3 = true;
2489 }
2490 }
2491 if (obj3) {
2492 {
2493 arg4 = &temp4;
2494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2495 }
2496 }
2497 if (obj4) {
2498 {
2499 arg5 = &temp5;
2500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2501 }
2502 }
2503 if (obj5) {
2504 {
2505 arg6 = static_cast<long >(SWIG_As_long(obj5));
2506 if (SWIG_arg_fail(6)) SWIG_fail;
2507 }
2508 }
2509 if (obj6) {
2510 {
2511 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2512 if (SWIG_arg_fail(7)) SWIG_fail;
2513 if (arg7 == NULL) {
2514 SWIG_null_ref("wxValidator");
2515 }
2516 if (SWIG_arg_fail(7)) SWIG_fail;
2517 }
2518 }
2519 if (obj7) {
2520 {
2521 arg8 = wxString_in_helper(obj7);
2522 if (arg8 == NULL) SWIG_fail;
2523 temp8 = true;
2524 }
2525 }
2526 {
2527 if (!wxPyCheckForApp()) SWIG_fail;
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2535 {
2536 if (temp3)
2537 delete arg3;
2538 }
2539 {
2540 if (temp8)
2541 delete arg8;
2542 }
2543 return resultobj;
2544 fail:
2545 {
2546 if (temp3)
2547 delete arg3;
2548 }
2549 {
2550 if (temp8)
2551 delete arg8;
2552 }
2553 return NULL;
2554 }
2555
2556
2557 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2558 PyObject *resultobj = NULL;
2559 wxButton *result;
2560 char *kwnames[] = {
2561 NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2565 {
2566 if (!wxPyCheckForApp()) SWIG_fail;
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 result = (wxButton *)new wxButton();
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj = NULL;
2582 wxButton *arg1 = (wxButton *) 0 ;
2583 wxWindow *arg2 = (wxWindow *) 0 ;
2584 int arg3 = (int) -1 ;
2585 wxString const &arg4_defvalue = wxPyEmptyString ;
2586 wxString *arg4 = (wxString *) &arg4_defvalue ;
2587 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2588 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2589 wxSize const &arg6_defvalue = wxDefaultSize ;
2590 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2591 long arg7 = (long) 0 ;
2592 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2593 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2594 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2595 wxString *arg9 = (wxString *) &arg9_defvalue ;
2596 bool result;
2597 bool temp4 = false ;
2598 wxPoint temp5 ;
2599 wxSize temp6 ;
2600 bool temp9 = false ;
2601 PyObject * obj0 = 0 ;
2602 PyObject * obj1 = 0 ;
2603 PyObject * obj2 = 0 ;
2604 PyObject * obj3 = 0 ;
2605 PyObject * obj4 = 0 ;
2606 PyObject * obj5 = 0 ;
2607 PyObject * obj6 = 0 ;
2608 PyObject * obj7 = 0 ;
2609 PyObject * obj8 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail;
2617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2618 if (SWIG_arg_fail(2)) SWIG_fail;
2619 if (obj2) {
2620 {
2621 arg3 = static_cast<int >(SWIG_As_int(obj2));
2622 if (SWIG_arg_fail(3)) SWIG_fail;
2623 }
2624 }
2625 if (obj3) {
2626 {
2627 arg4 = wxString_in_helper(obj3);
2628 if (arg4 == NULL) SWIG_fail;
2629 temp4 = true;
2630 }
2631 }
2632 if (obj4) {
2633 {
2634 arg5 = &temp5;
2635 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2636 }
2637 }
2638 if (obj5) {
2639 {
2640 arg6 = &temp6;
2641 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2642 }
2643 }
2644 if (obj6) {
2645 {
2646 arg7 = static_cast<long >(SWIG_As_long(obj6));
2647 if (SWIG_arg_fail(7)) SWIG_fail;
2648 }
2649 }
2650 if (obj7) {
2651 {
2652 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2653 if (SWIG_arg_fail(8)) SWIG_fail;
2654 if (arg8 == NULL) {
2655 SWIG_null_ref("wxValidator");
2656 }
2657 if (SWIG_arg_fail(8)) SWIG_fail;
2658 }
2659 }
2660 if (obj8) {
2661 {
2662 arg9 = wxString_in_helper(obj8);
2663 if (arg9 == NULL) SWIG_fail;
2664 temp9 = true;
2665 }
2666 }
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 {
2675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2676 }
2677 {
2678 if (temp4)
2679 delete arg4;
2680 }
2681 {
2682 if (temp9)
2683 delete arg9;
2684 }
2685 return resultobj;
2686 fail:
2687 {
2688 if (temp4)
2689 delete arg4;
2690 }
2691 {
2692 if (temp9)
2693 delete arg9;
2694 }
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj = NULL;
2701 wxButton *arg1 = (wxButton *) 0 ;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2709 if (SWIG_arg_fail(1)) SWIG_fail;
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 (arg1)->SetDefault();
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 Py_INCREF(Py_None); resultobj = Py_None;
2718 return resultobj;
2719 fail:
2720 return NULL;
2721 }
2722
2723
2724 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj = NULL;
2726 wxSize result;
2727 char *kwnames[] = {
2728 NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 result = wxButton::GetDefaultSize();
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 wxSize * resultptr;
2741 resultptr = new wxSize(static_cast<wxSize & >(result));
2742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2743 }
2744 return resultobj;
2745 fail:
2746 return NULL;
2747 }
2748
2749
2750 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj = NULL;
2752 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2753 wxVisualAttributes result;
2754 PyObject * obj0 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "variant", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2760 if (obj0) {
2761 {
2762 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
2763 if (SWIG_arg_fail(1)) SWIG_fail;
2764 }
2765 }
2766 {
2767 if (!wxPyCheckForApp()) SWIG_fail;
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 result = wxButton::GetClassDefaultAttributes(arg1);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775 wxVisualAttributes * resultptr;
2776 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
2777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2778 }
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2786 PyObject *obj;
2787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2788 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2789 Py_INCREF(obj);
2790 return Py_BuildValue((char *)"");
2791 }
2792 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj = NULL;
2794 wxWindow *arg1 = (wxWindow *) 0 ;
2795 int arg2 = (int) -1 ;
2796 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2797 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2800 wxSize const &arg5_defvalue = wxDefaultSize ;
2801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2802 long arg6 = (long) wxBU_AUTODRAW ;
2803 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2804 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2805 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2806 wxString *arg8 = (wxString *) &arg8_defvalue ;
2807 wxBitmapButton *result;
2808 wxPoint temp4 ;
2809 wxSize temp5 ;
2810 bool temp8 = false ;
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj1 = 0 ;
2813 PyObject * obj2 = 0 ;
2814 PyObject * obj3 = 0 ;
2815 PyObject * obj4 = 0 ;
2816 PyObject * obj5 = 0 ;
2817 PyObject * obj6 = 0 ;
2818 PyObject * obj7 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2825 if (SWIG_arg_fail(1)) SWIG_fail;
2826 if (obj1) {
2827 {
2828 arg2 = static_cast<int >(SWIG_As_int(obj1));
2829 if (SWIG_arg_fail(2)) SWIG_fail;
2830 }
2831 }
2832 if (obj2) {
2833 {
2834 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2835 if (SWIG_arg_fail(3)) SWIG_fail;
2836 if (arg3 == NULL) {
2837 SWIG_null_ref("wxBitmap");
2838 }
2839 if (SWIG_arg_fail(3)) SWIG_fail;
2840 }
2841 }
2842 if (obj3) {
2843 {
2844 arg4 = &temp4;
2845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2846 }
2847 }
2848 if (obj4) {
2849 {
2850 arg5 = &temp5;
2851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2852 }
2853 }
2854 if (obj5) {
2855 {
2856 arg6 = static_cast<long >(SWIG_As_long(obj5));
2857 if (SWIG_arg_fail(6)) SWIG_fail;
2858 }
2859 }
2860 if (obj6) {
2861 {
2862 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2863 if (SWIG_arg_fail(7)) SWIG_fail;
2864 if (arg7 == NULL) {
2865 SWIG_null_ref("wxValidator");
2866 }
2867 if (SWIG_arg_fail(7)) SWIG_fail;
2868 }
2869 }
2870 if (obj7) {
2871 {
2872 arg8 = wxString_in_helper(obj7);
2873 if (arg8 == NULL) SWIG_fail;
2874 temp8 = true;
2875 }
2876 }
2877 {
2878 if (!wxPyCheckForApp()) SWIG_fail;
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2886 {
2887 if (temp8)
2888 delete arg8;
2889 }
2890 return resultobj;
2891 fail:
2892 {
2893 if (temp8)
2894 delete arg8;
2895 }
2896 return NULL;
2897 }
2898
2899
2900 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2901 PyObject *resultobj = NULL;
2902 wxBitmapButton *result;
2903 char *kwnames[] = {
2904 NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2908 {
2909 if (!wxPyCheckForApp()) SWIG_fail;
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxBitmapButton *)new wxBitmapButton();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj = NULL;
2925 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2926 wxWindow *arg2 = (wxWindow *) 0 ;
2927 int arg3 = (int) -1 ;
2928 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2929 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2932 wxSize const &arg6_defvalue = wxDefaultSize ;
2933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2934 long arg7 = (long) wxBU_AUTODRAW ;
2935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2937 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2938 wxString *arg9 = (wxString *) &arg9_defvalue ;
2939 bool result;
2940 wxPoint temp5 ;
2941 wxSize temp6 ;
2942 bool temp9 = false ;
2943 PyObject * obj0 = 0 ;
2944 PyObject * obj1 = 0 ;
2945 PyObject * obj2 = 0 ;
2946 PyObject * obj3 = 0 ;
2947 PyObject * obj4 = 0 ;
2948 PyObject * obj5 = 0 ;
2949 PyObject * obj6 = 0 ;
2950 PyObject * obj7 = 0 ;
2951 PyObject * obj8 = 0 ;
2952 char *kwnames[] = {
2953 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2958 if (SWIG_arg_fail(1)) SWIG_fail;
2959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2960 if (SWIG_arg_fail(2)) SWIG_fail;
2961 if (obj2) {
2962 {
2963 arg3 = static_cast<int >(SWIG_As_int(obj2));
2964 if (SWIG_arg_fail(3)) SWIG_fail;
2965 }
2966 }
2967 if (obj3) {
2968 {
2969 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2970 if (SWIG_arg_fail(4)) SWIG_fail;
2971 if (arg4 == NULL) {
2972 SWIG_null_ref("wxBitmap");
2973 }
2974 if (SWIG_arg_fail(4)) SWIG_fail;
2975 }
2976 }
2977 if (obj4) {
2978 {
2979 arg5 = &temp5;
2980 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2981 }
2982 }
2983 if (obj5) {
2984 {
2985 arg6 = &temp6;
2986 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2987 }
2988 }
2989 if (obj6) {
2990 {
2991 arg7 = static_cast<long >(SWIG_As_long(obj6));
2992 if (SWIG_arg_fail(7)) SWIG_fail;
2993 }
2994 }
2995 if (obj7) {
2996 {
2997 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2998 if (SWIG_arg_fail(8)) SWIG_fail;
2999 if (arg8 == NULL) {
3000 SWIG_null_ref("wxValidator");
3001 }
3002 if (SWIG_arg_fail(8)) SWIG_fail;
3003 }
3004 }
3005 if (obj8) {
3006 {
3007 arg9 = wxString_in_helper(obj8);
3008 if (arg9 == NULL) SWIG_fail;
3009 temp9 = true;
3010 }
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 {
3020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3021 }
3022 {
3023 if (temp9)
3024 delete arg9;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp9)
3030 delete arg9;
3031 }
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj = NULL;
3038 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3039 wxBitmap result;
3040 PyObject * obj0 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
3046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3047 if (SWIG_arg_fail(1)) SWIG_fail;
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 result = (arg1)->GetBitmapLabel();
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 {
3056 wxBitmap * resultptr;
3057 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3059 }
3060 return resultobj;
3061 fail:
3062 return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj = NULL;
3068 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3069 wxBitmap result;
3070 PyObject * obj0 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
3076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3077 if (SWIG_arg_fail(1)) SWIG_fail;
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = (arg1)->GetBitmapDisabled();
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 {
3086 wxBitmap * resultptr;
3087 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3089 }
3090 return resultobj;
3091 fail:
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj = NULL;
3098 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3099 wxBitmap result;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
3106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3107 if (SWIG_arg_fail(1)) SWIG_fail;
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (arg1)->GetBitmapFocus();
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 {
3116 wxBitmap * resultptr;
3117 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3119 }
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3127 PyObject *resultobj = NULL;
3128 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3129 wxBitmap result;
3130 PyObject * obj0 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
3136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3137 if (SWIG_arg_fail(1)) SWIG_fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (arg1)->GetBitmapSelected();
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 {
3146 wxBitmap * resultptr;
3147 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
3148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
3149 }
3150 return resultobj;
3151 fail:
3152 return NULL;
3153 }
3154
3155
3156 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
3157 PyObject *resultobj = NULL;
3158 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3159 wxBitmap *arg2 = 0 ;
3160 PyObject * obj0 = 0 ;
3161 PyObject * obj1 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "bitmap", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail;
3169 {
3170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3171 if (SWIG_arg_fail(2)) SWIG_fail;
3172 if (arg2 == NULL) {
3173 SWIG_null_ref("wxBitmap");
3174 }
3175 if (SWIG_arg_fail(2)) SWIG_fail;
3176 }
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 Py_INCREF(Py_None); resultobj = Py_None;
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj = NULL;
3193 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3194 wxBitmap *arg2 = 0 ;
3195 PyObject * obj0 = 0 ;
3196 PyObject * obj1 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self",(char *) "bitmap", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3203 if (SWIG_arg_fail(1)) SWIG_fail;
3204 {
3205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3206 if (SWIG_arg_fail(2)) SWIG_fail;
3207 if (arg2 == NULL) {
3208 SWIG_null_ref("wxBitmap");
3209 }
3210 if (SWIG_arg_fail(2)) SWIG_fail;
3211 }
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 Py_INCREF(Py_None); resultobj = Py_None;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj = NULL;
3228 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3229 wxBitmap *arg2 = 0 ;
3230 PyObject * obj0 = 0 ;
3231 PyObject * obj1 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "bitmap", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail;
3239 {
3240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3241 if (SWIG_arg_fail(2)) SWIG_fail;
3242 if (arg2 == NULL) {
3243 SWIG_null_ref("wxBitmap");
3244 }
3245 if (SWIG_arg_fail(2)) SWIG_fail;
3246 }
3247 {
3248 PyThreadState* __tstate = wxPyBeginAllowThreads();
3249 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3250
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj = NULL;
3263 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3264 wxBitmap *arg2 = 0 ;
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "bitmap", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail;
3274 {
3275 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3276 if (SWIG_arg_fail(2)) SWIG_fail;
3277 if (arg2 == NULL) {
3278 SWIG_null_ref("wxBitmap");
3279 }
3280 if (SWIG_arg_fail(2)) SWIG_fail;
3281 }
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 Py_INCREF(Py_None); resultobj = Py_None;
3290 return resultobj;
3291 fail:
3292 return NULL;
3293 }
3294
3295
3296 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj = NULL;
3298 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3299 int arg2 ;
3300 int arg3 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 PyObject * obj2 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self",(char *) "x",(char *) "y", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3310 if (SWIG_arg_fail(1)) SWIG_fail;
3311 {
3312 arg2 = static_cast<int >(SWIG_As_int(obj1));
3313 if (SWIG_arg_fail(2)) SWIG_fail;
3314 }
3315 {
3316 arg3 = static_cast<int >(SWIG_As_int(obj2));
3317 if (SWIG_arg_fail(3)) SWIG_fail;
3318 }
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 (arg1)->SetMargins(arg2,arg3);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 Py_INCREF(Py_None); resultobj = Py_None;
3327 return resultobj;
3328 fail:
3329 return NULL;
3330 }
3331
3332
3333 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3334 PyObject *resultobj = NULL;
3335 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3336 int result;
3337 PyObject * obj0 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 resultobj = SWIG_From_int(static_cast<int >(result));
3354 }
3355 return resultobj;
3356 fail:
3357 return NULL;
3358 }
3359
3360
3361 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj = NULL;
3363 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3364 int result;
3365 PyObject * obj0 = 0 ;
3366 char *kwnames[] = {
3367 (char *) "self", NULL
3368 };
3369
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail;
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 {
3381 resultobj = SWIG_From_int(static_cast<int >(result));
3382 }
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3390 PyObject *obj;
3391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3392 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3393 Py_INCREF(obj);
3394 return Py_BuildValue((char *)"");
3395 }
3396 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3397 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3398 return 1;
3399 }
3400
3401
3402 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3403 PyObject *pyobj = NULL;
3404
3405 {
3406 #if wxUSE_UNICODE
3407 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3408 #else
3409 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3410 #endif
3411 }
3412 return pyobj;
3413 }
3414
3415
3416 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj = NULL;
3418 wxWindow *arg1 = (wxWindow *) 0 ;
3419 int arg2 = (int) -1 ;
3420 wxString const &arg3_defvalue = wxPyEmptyString ;
3421 wxString *arg3 = (wxString *) &arg3_defvalue ;
3422 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3423 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3424 wxSize const &arg5_defvalue = wxDefaultSize ;
3425 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3426 long arg6 = (long) 0 ;
3427 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3428 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3429 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3430 wxString *arg8 = (wxString *) &arg8_defvalue ;
3431 wxCheckBox *result;
3432 bool temp3 = false ;
3433 wxPoint temp4 ;
3434 wxSize temp5 ;
3435 bool temp8 = false ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 PyObject * obj4 = 0 ;
3441 PyObject * obj5 = 0 ;
3442 PyObject * obj6 = 0 ;
3443 PyObject * obj7 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3450 if (SWIG_arg_fail(1)) SWIG_fail;
3451 if (obj1) {
3452 {
3453 arg2 = static_cast<int >(SWIG_As_int(obj1));
3454 if (SWIG_arg_fail(2)) SWIG_fail;
3455 }
3456 }
3457 if (obj2) {
3458 {
3459 arg3 = wxString_in_helper(obj2);
3460 if (arg3 == NULL) SWIG_fail;
3461 temp3 = true;
3462 }
3463 }
3464 if (obj3) {
3465 {
3466 arg4 = &temp4;
3467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3468 }
3469 }
3470 if (obj4) {
3471 {
3472 arg5 = &temp5;
3473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3474 }
3475 }
3476 if (obj5) {
3477 {
3478 arg6 = static_cast<long >(SWIG_As_long(obj5));
3479 if (SWIG_arg_fail(6)) SWIG_fail;
3480 }
3481 }
3482 if (obj6) {
3483 {
3484 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3485 if (SWIG_arg_fail(7)) SWIG_fail;
3486 if (arg7 == NULL) {
3487 SWIG_null_ref("wxValidator");
3488 }
3489 if (SWIG_arg_fail(7)) SWIG_fail;
3490 }
3491 }
3492 if (obj7) {
3493 {
3494 arg8 = wxString_in_helper(obj7);
3495 if (arg8 == NULL) SWIG_fail;
3496 temp8 = true;
3497 }
3498 }
3499 {
3500 if (!wxPyCheckForApp()) SWIG_fail;
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3508 {
3509 if (temp3)
3510 delete arg3;
3511 }
3512 {
3513 if (temp8)
3514 delete arg8;
3515 }
3516 return resultobj;
3517 fail:
3518 {
3519 if (temp3)
3520 delete arg3;
3521 }
3522 {
3523 if (temp8)
3524 delete arg8;
3525 }
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj = NULL;
3532 wxCheckBox *result;
3533 char *kwnames[] = {
3534 NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3538 {
3539 if (!wxPyCheckForApp()) SWIG_fail;
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (wxCheckBox *)new wxCheckBox();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj = NULL;
3555 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3556 wxWindow *arg2 = (wxWindow *) 0 ;
3557 int arg3 = (int) -1 ;
3558 wxString const &arg4_defvalue = wxPyEmptyString ;
3559 wxString *arg4 = (wxString *) &arg4_defvalue ;
3560 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3561 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3562 wxSize const &arg6_defvalue = wxDefaultSize ;
3563 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3564 long arg7 = (long) 0 ;
3565 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3566 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3567 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3568 wxString *arg9 = (wxString *) &arg9_defvalue ;
3569 bool result;
3570 bool temp4 = false ;
3571 wxPoint temp5 ;
3572 wxSize temp6 ;
3573 bool temp9 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj5 = 0 ;
3580 PyObject * obj6 = 0 ;
3581 PyObject * obj7 = 0 ;
3582 PyObject * obj8 = 0 ;
3583 char *kwnames[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail;
3590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3591 if (SWIG_arg_fail(2)) SWIG_fail;
3592 if (obj2) {
3593 {
3594 arg3 = static_cast<int >(SWIG_As_int(obj2));
3595 if (SWIG_arg_fail(3)) SWIG_fail;
3596 }
3597 }
3598 if (obj3) {
3599 {
3600 arg4 = wxString_in_helper(obj3);
3601 if (arg4 == NULL) SWIG_fail;
3602 temp4 = true;
3603 }
3604 }
3605 if (obj4) {
3606 {
3607 arg5 = &temp5;
3608 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3609 }
3610 }
3611 if (obj5) {
3612 {
3613 arg6 = &temp6;
3614 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3615 }
3616 }
3617 if (obj6) {
3618 {
3619 arg7 = static_cast<long >(SWIG_As_long(obj6));
3620 if (SWIG_arg_fail(7)) SWIG_fail;
3621 }
3622 }
3623 if (obj7) {
3624 {
3625 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(8)) SWIG_fail;
3627 if (arg8 == NULL) {
3628 SWIG_null_ref("wxValidator");
3629 }
3630 if (SWIG_arg_fail(8)) SWIG_fail;
3631 }
3632 }
3633 if (obj8) {
3634 {
3635 arg9 = wxString_in_helper(obj8);
3636 if (arg9 == NULL) SWIG_fail;
3637 temp9 = true;
3638 }
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3649 }
3650 {
3651 if (temp4)
3652 delete arg4;
3653 }
3654 {
3655 if (temp9)
3656 delete arg9;
3657 }
3658 return resultobj;
3659 fail:
3660 {
3661 if (temp4)
3662 delete arg4;
3663 }
3664 {
3665 if (temp9)
3666 delete arg9;
3667 }
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj = NULL;
3674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3675 bool result;
3676 PyObject * obj0 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail;
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (bool)(arg1)->GetValue();
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj = NULL;
3702 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (bool)(arg1)->IsChecked();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 {
3720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3721 }
3722 return resultobj;
3723 fail:
3724 return NULL;
3725 }
3726
3727
3728 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj = NULL;
3730 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3731 bool arg2 ;
3732 PyObject * obj0 = 0 ;
3733 PyObject * obj1 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self",(char *) "state", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail;
3741 {
3742 arg2 = static_cast<bool const >(SWIG_As_bool(obj1));
3743 if (SWIG_arg_fail(2)) SWIG_fail;
3744 }
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->SetValue(arg2);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = NULL;
3761 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3762 wxCheckBoxState result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail;
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 resultobj = SWIG_From_int((result));
3779 return resultobj;
3780 fail:
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj = NULL;
3787 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3788 wxCheckBoxState arg2 ;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj1 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "state", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail;
3798 {
3799 arg2 = static_cast<wxCheckBoxState >(SWIG_As_int(obj1));
3800 if (SWIG_arg_fail(2)) SWIG_fail;
3801 }
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 (arg1)->Set3StateValue(arg2);
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 Py_INCREF(Py_None); resultobj = Py_None;
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj = NULL;
3818 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3819 bool result;
3820 PyObject * obj0 = 0 ;
3821 char *kwnames[] = {
3822 (char *) "self", NULL
3823 };
3824
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 {
3836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3837 }
3838 return resultobj;
3839 fail:
3840 return NULL;
3841 }
3842
3843
3844 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3845 PyObject *resultobj = NULL;
3846 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3847 bool result;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail;
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 {
3864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3865 }
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj = NULL;
3874 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3875 wxVisualAttributes result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "variant", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3882 if (obj0) {
3883 {
3884 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3885 if (SWIG_arg_fail(1)) SWIG_fail;
3886 }
3887 }
3888 {
3889 if (!wxPyCheckForApp()) SWIG_fail;
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 result = wxCheckBox::GetClassDefaultAttributes(arg1);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 {
3897 wxVisualAttributes * resultptr;
3898 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3900 }
3901 return resultobj;
3902 fail:
3903 return NULL;
3904 }
3905
3906
3907 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3908 PyObject *obj;
3909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3910 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3911 Py_INCREF(obj);
3912 return Py_BuildValue((char *)"");
3913 }
3914 static int _wrap_ChoiceNameStr_set(PyObject *) {
3915 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3916 return 1;
3917 }
3918
3919
3920 static PyObject *_wrap_ChoiceNameStr_get(void) {
3921 PyObject *pyobj = NULL;
3922
3923 {
3924 #if wxUSE_UNICODE
3925 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3926 #else
3927 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3928 #endif
3929 }
3930 return pyobj;
3931 }
3932
3933
3934 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj = NULL;
3936 wxWindow *arg1 = (wxWindow *) 0 ;
3937 int arg2 = (int) -1 ;
3938 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3939 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3940 wxSize const &arg4_defvalue = wxDefaultSize ;
3941 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3942 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3943 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3944 long arg6 = (long) 0 ;
3945 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3946 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3947 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3948 wxString *arg8 = (wxString *) &arg8_defvalue ;
3949 wxChoice *result;
3950 wxPoint temp3 ;
3951 wxSize temp4 ;
3952 bool temp5 = false ;
3953 bool temp8 = false ;
3954 PyObject * obj0 = 0 ;
3955 PyObject * obj1 = 0 ;
3956 PyObject * obj2 = 0 ;
3957 PyObject * obj3 = 0 ;
3958 PyObject * obj4 = 0 ;
3959 PyObject * obj5 = 0 ;
3960 PyObject * obj6 = 0 ;
3961 PyObject * obj7 = 0 ;
3962 char *kwnames[] = {
3963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3968 if (SWIG_arg_fail(1)) SWIG_fail;
3969 if (obj1) {
3970 {
3971 arg2 = static_cast<int >(SWIG_As_int(obj1));
3972 if (SWIG_arg_fail(2)) SWIG_fail;
3973 }
3974 }
3975 if (obj2) {
3976 {
3977 arg3 = &temp3;
3978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3979 }
3980 }
3981 if (obj3) {
3982 {
3983 arg4 = &temp4;
3984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3985 }
3986 }
3987 if (obj4) {
3988 {
3989 if (! PySequence_Check(obj4)) {
3990 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3991 SWIG_fail;
3992 }
3993 arg5 = new wxArrayString;
3994 temp5 = true;
3995 int i, len=PySequence_Length(obj4);
3996 for (i=0; i<len; i++) {
3997 PyObject* item = PySequence_GetItem(obj4, i);
3998 wxString* s = wxString_in_helper(item);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 arg5->Add(*s);
4001 delete s;
4002 Py_DECREF(item);
4003 }
4004 }
4005 }
4006 if (obj5) {
4007 {
4008 arg6 = static_cast<long >(SWIG_As_long(obj5));
4009 if (SWIG_arg_fail(6)) SWIG_fail;
4010 }
4011 }
4012 if (obj6) {
4013 {
4014 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4015 if (SWIG_arg_fail(7)) SWIG_fail;
4016 if (arg7 == NULL) {
4017 SWIG_null_ref("wxValidator");
4018 }
4019 if (SWIG_arg_fail(7)) SWIG_fail;
4020 }
4021 }
4022 if (obj7) {
4023 {
4024 arg8 = wxString_in_helper(obj7);
4025 if (arg8 == NULL) SWIG_fail;
4026 temp8 = true;
4027 }
4028 }
4029 {
4030 if (!wxPyCheckForApp()) SWIG_fail;
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4038 {
4039 if (temp5) delete arg5;
4040 }
4041 {
4042 if (temp8)
4043 delete arg8;
4044 }
4045 return resultobj;
4046 fail:
4047 {
4048 if (temp5) delete arg5;
4049 }
4050 {
4051 if (temp8)
4052 delete arg8;
4053 }
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj = NULL;
4060 wxChoice *result;
4061 char *kwnames[] = {
4062 NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
4066 {
4067 if (!wxPyCheckForApp()) SWIG_fail;
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = (wxChoice *)new wxChoice();
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
4075 return resultobj;
4076 fail:
4077 return NULL;
4078 }
4079
4080
4081 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj = NULL;
4083 wxChoice *arg1 = (wxChoice *) 0 ;
4084 wxWindow *arg2 = (wxWindow *) 0 ;
4085 int arg3 = (int) -1 ;
4086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4088 wxSize const &arg5_defvalue = wxDefaultSize ;
4089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4090 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4091 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4092 long arg7 = (long) 0 ;
4093 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4094 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4095 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
4096 wxString *arg9 = (wxString *) &arg9_defvalue ;
4097 bool result;
4098 wxPoint temp4 ;
4099 wxSize temp5 ;
4100 bool temp6 = false ;
4101 bool temp9 = false ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 PyObject * obj2 = 0 ;
4105 PyObject * obj3 = 0 ;
4106 PyObject * obj4 = 0 ;
4107 PyObject * obj5 = 0 ;
4108 PyObject * obj6 = 0 ;
4109 PyObject * obj7 = 0 ;
4110 PyObject * obj8 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4117 if (SWIG_arg_fail(1)) SWIG_fail;
4118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(2)) SWIG_fail;
4120 if (obj2) {
4121 {
4122 arg3 = static_cast<int >(SWIG_As_int(obj2));
4123 if (SWIG_arg_fail(3)) SWIG_fail;
4124 }
4125 }
4126 if (obj3) {
4127 {
4128 arg4 = &temp4;
4129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4130 }
4131 }
4132 if (obj4) {
4133 {
4134 arg5 = &temp5;
4135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4136 }
4137 }
4138 if (obj5) {
4139 {
4140 if (! PySequence_Check(obj5)) {
4141 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4142 SWIG_fail;
4143 }
4144 arg6 = new wxArrayString;
4145 temp6 = true;
4146 int i, len=PySequence_Length(obj5);
4147 for (i=0; i<len; i++) {
4148 PyObject* item = PySequence_GetItem(obj5, i);
4149 wxString* s = wxString_in_helper(item);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 arg6->Add(*s);
4152 delete s;
4153 Py_DECREF(item);
4154 }
4155 }
4156 }
4157 if (obj6) {
4158 {
4159 arg7 = static_cast<long >(SWIG_As_long(obj6));
4160 if (SWIG_arg_fail(7)) SWIG_fail;
4161 }
4162 }
4163 if (obj7) {
4164 {
4165 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4166 if (SWIG_arg_fail(8)) SWIG_fail;
4167 if (arg8 == NULL) {
4168 SWIG_null_ref("wxValidator");
4169 }
4170 if (SWIG_arg_fail(8)) SWIG_fail;
4171 }
4172 }
4173 if (obj8) {
4174 {
4175 arg9 = wxString_in_helper(obj8);
4176 if (arg9 == NULL) SWIG_fail;
4177 temp9 = true;
4178 }
4179 }
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 {
4188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4189 }
4190 {
4191 if (temp6) delete arg6;
4192 }
4193 {
4194 if (temp9)
4195 delete arg9;
4196 }
4197 return resultobj;
4198 fail:
4199 {
4200 if (temp6) delete arg6;
4201 }
4202 {
4203 if (temp9)
4204 delete arg9;
4205 }
4206 return NULL;
4207 }
4208
4209
4210 static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj = NULL;
4212 wxChoice *arg1 = (wxChoice *) 0 ;
4213 int result;
4214 PyObject * obj0 = 0 ;
4215 char *kwnames[] = {
4216 (char *) "self", NULL
4217 };
4218
4219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetCurrentSelection",kwnames,&obj0)) goto fail;
4220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4221 if (SWIG_arg_fail(1)) SWIG_fail;
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = SWIG_From_int(static_cast<int >(result));
4231 }
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = NULL;
4240 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4241 wxVisualAttributes result;
4242 PyObject * obj0 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "variant", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4248 if (obj0) {
4249 {
4250 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4251 if (SWIG_arg_fail(1)) SWIG_fail;
4252 }
4253 }
4254 {
4255 if (!wxPyCheckForApp()) SWIG_fail;
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 result = wxChoice::GetClassDefaultAttributes(arg1);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 {
4263 wxVisualAttributes * resultptr;
4264 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4266 }
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4274 PyObject *obj;
4275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4277 Py_INCREF(obj);
4278 return Py_BuildValue((char *)"");
4279 }
4280 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4281 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4282 return 1;
4283 }
4284
4285
4286 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4287 PyObject *pyobj = NULL;
4288
4289 {
4290 #if wxUSE_UNICODE
4291 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4292 #else
4293 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4294 #endif
4295 }
4296 return pyobj;
4297 }
4298
4299
4300 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj = NULL;
4302 wxWindow *arg1 = (wxWindow *) 0 ;
4303 int arg2 = (int) -1 ;
4304 wxString const &arg3_defvalue = wxPyEmptyString ;
4305 wxString *arg3 = (wxString *) &arg3_defvalue ;
4306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4308 wxSize const &arg5_defvalue = wxDefaultSize ;
4309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4310 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4311 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4312 long arg7 = (long) 0 ;
4313 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4314 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4315 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4316 wxString *arg9 = (wxString *) &arg9_defvalue ;
4317 wxComboBox *result;
4318 bool temp3 = false ;
4319 wxPoint temp4 ;
4320 wxSize temp5 ;
4321 bool temp6 = false ;
4322 bool temp9 = false ;
4323 PyObject * obj0 = 0 ;
4324 PyObject * obj1 = 0 ;
4325 PyObject * obj2 = 0 ;
4326 PyObject * obj3 = 0 ;
4327 PyObject * obj4 = 0 ;
4328 PyObject * obj5 = 0 ;
4329 PyObject * obj6 = 0 ;
4330 PyObject * obj7 = 0 ;
4331 PyObject * obj8 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4338 if (SWIG_arg_fail(1)) SWIG_fail;
4339 if (obj1) {
4340 {
4341 arg2 = static_cast<int >(SWIG_As_int(obj1));
4342 if (SWIG_arg_fail(2)) SWIG_fail;
4343 }
4344 }
4345 if (obj2) {
4346 {
4347 arg3 = wxString_in_helper(obj2);
4348 if (arg3 == NULL) SWIG_fail;
4349 temp3 = true;
4350 }
4351 }
4352 if (obj3) {
4353 {
4354 arg4 = &temp4;
4355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4356 }
4357 }
4358 if (obj4) {
4359 {
4360 arg5 = &temp5;
4361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4362 }
4363 }
4364 if (obj5) {
4365 {
4366 if (! PySequence_Check(obj5)) {
4367 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4368 SWIG_fail;
4369 }
4370 arg6 = new wxArrayString;
4371 temp6 = true;
4372 int i, len=PySequence_Length(obj5);
4373 for (i=0; i<len; i++) {
4374 PyObject* item = PySequence_GetItem(obj5, i);
4375 wxString* s = wxString_in_helper(item);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 arg6->Add(*s);
4378 delete s;
4379 Py_DECREF(item);
4380 }
4381 }
4382 }
4383 if (obj6) {
4384 {
4385 arg7 = static_cast<long >(SWIG_As_long(obj6));
4386 if (SWIG_arg_fail(7)) SWIG_fail;
4387 }
4388 }
4389 if (obj7) {
4390 {
4391 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4392 if (SWIG_arg_fail(8)) SWIG_fail;
4393 if (arg8 == NULL) {
4394 SWIG_null_ref("wxValidator");
4395 }
4396 if (SWIG_arg_fail(8)) SWIG_fail;
4397 }
4398 }
4399 if (obj8) {
4400 {
4401 arg9 = wxString_in_helper(obj8);
4402 if (arg9 == NULL) SWIG_fail;
4403 temp9 = true;
4404 }
4405 }
4406 {
4407 if (!wxPyCheckForApp()) SWIG_fail;
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4415 {
4416 if (temp3)
4417 delete arg3;
4418 }
4419 {
4420 if (temp6) delete arg6;
4421 }
4422 {
4423 if (temp9)
4424 delete arg9;
4425 }
4426 return resultobj;
4427 fail:
4428 {
4429 if (temp3)
4430 delete arg3;
4431 }
4432 {
4433 if (temp6) delete arg6;
4434 }
4435 {
4436 if (temp9)
4437 delete arg9;
4438 }
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj = NULL;
4445 wxComboBox *result;
4446 char *kwnames[] = {
4447 NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4451 {
4452 if (!wxPyCheckForApp()) SWIG_fail;
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (wxComboBox *)new wxComboBox();
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4460 return resultobj;
4461 fail:
4462 return NULL;
4463 }
4464
4465
4466 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj = NULL;
4468 wxComboBox *arg1 = (wxComboBox *) 0 ;
4469 wxWindow *arg2 = (wxWindow *) 0 ;
4470 int arg3 = (int) -1 ;
4471 wxString const &arg4_defvalue = wxPyEmptyString ;
4472 wxString *arg4 = (wxString *) &arg4_defvalue ;
4473 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4474 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4475 wxSize const &arg6_defvalue = wxDefaultSize ;
4476 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4477 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4478 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4479 long arg8 = (long) 0 ;
4480 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4481 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4482 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4483 wxString *arg10 = (wxString *) &arg10_defvalue ;
4484 bool result;
4485 bool temp4 = false ;
4486 wxPoint temp5 ;
4487 wxSize temp6 ;
4488 bool temp7 = false ;
4489 bool temp10 = false ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 PyObject * obj3 = 0 ;
4494 PyObject * obj4 = 0 ;
4495 PyObject * obj5 = 0 ;
4496 PyObject * obj6 = 0 ;
4497 PyObject * obj7 = 0 ;
4498 PyObject * obj8 = 0 ;
4499 PyObject * obj9 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail;
4507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(2)) SWIG_fail;
4509 if (obj2) {
4510 {
4511 arg3 = static_cast<int >(SWIG_As_int(obj2));
4512 if (SWIG_arg_fail(3)) SWIG_fail;
4513 }
4514 }
4515 if (obj3) {
4516 {
4517 arg4 = wxString_in_helper(obj3);
4518 if (arg4 == NULL) SWIG_fail;
4519 temp4 = true;
4520 }
4521 }
4522 if (obj4) {
4523 {
4524 arg5 = &temp5;
4525 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4526 }
4527 }
4528 if (obj5) {
4529 {
4530 arg6 = &temp6;
4531 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4532 }
4533 }
4534 if (obj6) {
4535 {
4536 if (! PySequence_Check(obj6)) {
4537 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4538 SWIG_fail;
4539 }
4540 arg7 = new wxArrayString;
4541 temp7 = true;
4542 int i, len=PySequence_Length(obj6);
4543 for (i=0; i<len; i++) {
4544 PyObject* item = PySequence_GetItem(obj6, i);
4545 wxString* s = wxString_in_helper(item);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 arg7->Add(*s);
4548 delete s;
4549 Py_DECREF(item);
4550 }
4551 }
4552 }
4553 if (obj7) {
4554 {
4555 arg8 = static_cast<long >(SWIG_As_long(obj7));
4556 if (SWIG_arg_fail(8)) SWIG_fail;
4557 }
4558 }
4559 if (obj8) {
4560 {
4561 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4562 if (SWIG_arg_fail(9)) SWIG_fail;
4563 if (arg9 == NULL) {
4564 SWIG_null_ref("wxValidator");
4565 }
4566 if (SWIG_arg_fail(9)) SWIG_fail;
4567 }
4568 }
4569 if (obj9) {
4570 {
4571 arg10 = wxString_in_helper(obj9);
4572 if (arg10 == NULL) SWIG_fail;
4573 temp10 = true;
4574 }
4575 }
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4579
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 {
4584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4585 }
4586 {
4587 if (temp4)
4588 delete arg4;
4589 }
4590 {
4591 if (temp7) delete arg7;
4592 }
4593 {
4594 if (temp10)
4595 delete arg10;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 {
4604 if (temp7) delete arg7;
4605 }
4606 {
4607 if (temp10)
4608 delete arg10;
4609 }
4610 return NULL;
4611 }
4612
4613
4614 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj = NULL;
4616 wxComboBox *arg1 = (wxComboBox *) 0 ;
4617 wxString result;
4618 PyObject * obj0 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "self", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 result = ((wxComboBox const *)arg1)->GetValue();
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 #if wxUSE_UNICODE
4635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4636 #else
4637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4638 #endif
4639 }
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj = NULL;
4648 wxComboBox *arg1 = (wxComboBox *) 0 ;
4649 wxString *arg2 = 0 ;
4650 bool temp2 = false ;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj1 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self",(char *) "value", NULL
4655 };
4656
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4659 if (SWIG_arg_fail(1)) SWIG_fail;
4660 {
4661 arg2 = wxString_in_helper(obj1);
4662 if (arg2 == NULL) SWIG_fail;
4663 temp2 = true;
4664 }
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 (arg1)->SetValue((wxString const &)*arg2);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 Py_INCREF(Py_None); resultobj = Py_None;
4673 {
4674 if (temp2)
4675 delete arg2;
4676 }
4677 return resultobj;
4678 fail:
4679 {
4680 if (temp2)
4681 delete arg2;
4682 }
4683 return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj = NULL;
4689 wxComboBox *arg1 = (wxComboBox *) 0 ;
4690 PyObject * obj0 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "self", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4697 if (SWIG_arg_fail(1)) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->Copy();
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj = NULL;
4714 wxComboBox *arg1 = (wxComboBox *) 0 ;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4722 if (SWIG_arg_fail(1)) SWIG_fail;
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 (arg1)->Cut();
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 Py_INCREF(Py_None); resultobj = Py_None;
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj = NULL;
4739 wxComboBox *arg1 = (wxComboBox *) 0 ;
4740 PyObject * obj0 = 0 ;
4741 char *kwnames[] = {
4742 (char *) "self", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail;
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 (arg1)->Paste();
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 Py_INCREF(Py_None); resultobj = Py_None;
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj = NULL;
4764 wxComboBox *arg1 = (wxComboBox *) 0 ;
4765 long arg2 ;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 char *kwnames[] = {
4769 (char *) "self",(char *) "pos", NULL
4770 };
4771
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4774 if (SWIG_arg_fail(1)) SWIG_fail;
4775 {
4776 arg2 = static_cast<long >(SWIG_As_long(obj1));
4777 if (SWIG_arg_fail(2)) SWIG_fail;
4778 }
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 (arg1)->SetInsertionPoint(arg2);
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 Py_INCREF(Py_None); resultobj = Py_None;
4787 return resultobj;
4788 fail:
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj = NULL;
4795 wxComboBox *arg1 = (wxComboBox *) 0 ;
4796 long result;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 {
4813 resultobj = SWIG_From_long(static_cast<long >(result));
4814 }
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj = NULL;
4823 wxComboBox *arg1 = (wxComboBox *) 0 ;
4824 long result;
4825 PyObject * obj0 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "self", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4832 if (SWIG_arg_fail(1)) SWIG_fail;
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 {
4841 resultobj = SWIG_From_long(static_cast<long >(result));
4842 }
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj = NULL;
4851 wxComboBox *arg1 = (wxComboBox *) 0 ;
4852 long arg2 ;
4853 long arg3 ;
4854 wxString *arg4 = 0 ;
4855 bool temp4 = false ;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 PyObject * obj2 = 0 ;
4859 PyObject * obj3 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail;
4867 {
4868 arg2 = static_cast<long >(SWIG_As_long(obj1));
4869 if (SWIG_arg_fail(2)) SWIG_fail;
4870 }
4871 {
4872 arg3 = static_cast<long >(SWIG_As_long(obj2));
4873 if (SWIG_arg_fail(3)) SWIG_fail;
4874 }
4875 {
4876 arg4 = wxString_in_helper(obj3);
4877 if (arg4 == NULL) SWIG_fail;
4878 temp4 = true;
4879 }
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 Py_INCREF(Py_None); resultobj = Py_None;
4888 {
4889 if (temp4)
4890 delete arg4;
4891 }
4892 return resultobj;
4893 fail:
4894 {
4895 if (temp4)
4896 delete arg4;
4897 }
4898 return NULL;
4899 }
4900
4901
4902 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj = NULL;
4904 wxComboBox *arg1 = (wxComboBox *) 0 ;
4905 int arg2 ;
4906 PyObject * obj0 = 0 ;
4907 PyObject * obj1 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "n", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail;
4915 {
4916 arg2 = static_cast<int >(SWIG_As_int(obj1));
4917 if (SWIG_arg_fail(2)) SWIG_fail;
4918 }
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 (arg1)->SetSelection(arg2);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 Py_INCREF(Py_None); resultobj = Py_None;
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj = NULL;
4935 wxComboBox *arg1 = (wxComboBox *) 0 ;
4936 long arg2 ;
4937 long arg3 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 PyObject * obj2 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "from",(char *) "to", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail;
4948 {
4949 arg2 = static_cast<long >(SWIG_As_long(obj1));
4950 if (SWIG_arg_fail(2)) SWIG_fail;
4951 }
4952 {
4953 arg3 = static_cast<long >(SWIG_As_long(obj2));
4954 if (SWIG_arg_fail(3)) SWIG_fail;
4955 }
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->SetSelection(arg2,arg3);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj = NULL;
4972 wxComboBox *arg1 = (wxComboBox *) 0 ;
4973 long *arg2 = (long *) 0 ;
4974 long *arg3 = (long *) 0 ;
4975 long temp2 ;
4976 int res2 = 0 ;
4977 long temp3 ;
4978 int res3 = 0 ;
4979 PyObject * obj0 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self", NULL
4982 };
4983
4984 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4985 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 (arg1)->GetSelection(arg2,arg3);
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 Py_INCREF(Py_None); resultobj = Py_None;
4997 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4998 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4999 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5000 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
5001 return resultobj;
5002 fail:
5003 return NULL;
5004 }
5005
5006
5007 static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5008 PyObject *resultobj = NULL;
5009 wxComboBox *arg1 = (wxComboBox *) 0 ;
5010 int result;
5011 PyObject * obj0 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetCurrentSelection",kwnames,&obj0)) goto fail;
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 {
5027 resultobj = SWIG_From_int(static_cast<int >(result));
5028 }
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj = NULL;
5037 wxComboBox *arg1 = (wxComboBox *) 0 ;
5038 wxString *arg2 = 0 ;
5039 bool result;
5040 bool temp2 = false ;
5041 PyObject * obj0 = 0 ;
5042 PyObject * obj1 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self",(char *) "string", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
5048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail;
5050 {
5051 arg2 = wxString_in_helper(obj1);
5052 if (arg2 == NULL) SWIG_fail;
5053 temp2 = true;
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 {
5063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5064 }
5065 {
5066 if (temp2)
5067 delete arg2;
5068 }
5069 return resultobj;
5070 fail:
5071 {
5072 if (temp2)
5073 delete arg2;
5074 }
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj = NULL;
5081 wxComboBox *arg1 = (wxComboBox *) 0 ;
5082 int arg2 ;
5083 wxString *arg3 = 0 ;
5084 bool temp3 = false ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 PyObject * obj2 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self",(char *) "n",(char *) "string", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
5093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail;
5095 {
5096 arg2 = static_cast<int >(SWIG_As_int(obj1));
5097 if (SWIG_arg_fail(2)) SWIG_fail;
5098 }
5099 {
5100 arg3 = wxString_in_helper(obj2);
5101 if (arg3 == NULL) SWIG_fail;
5102 temp3 = true;
5103 }
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 (arg1)->SetString(arg2,(wxString const &)*arg3);
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 Py_INCREF(Py_None); resultobj = Py_None;
5112 {
5113 if (temp3)
5114 delete arg3;
5115 }
5116 return resultobj;
5117 fail:
5118 {
5119 if (temp3)
5120 delete arg3;
5121 }
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj = NULL;
5128 wxComboBox *arg1 = (wxComboBox *) 0 ;
5129 bool arg2 ;
5130 PyObject * obj0 = 0 ;
5131 PyObject * obj1 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self",(char *) "editable", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
5137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5138 if (SWIG_arg_fail(1)) SWIG_fail;
5139 {
5140 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5141 if (SWIG_arg_fail(2)) SWIG_fail;
5142 }
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetEditable(arg2);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 Py_INCREF(Py_None); resultobj = Py_None;
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj = NULL;
5159 wxComboBox *arg1 = (wxComboBox *) 0 ;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5167 if (SWIG_arg_fail(1)) SWIG_fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SetInsertionPointEnd();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 Py_INCREF(Py_None); resultobj = Py_None;
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj = NULL;
5184 wxComboBox *arg1 = (wxComboBox *) 0 ;
5185 long arg2 ;
5186 long arg3 ;
5187 PyObject * obj0 = 0 ;
5188 PyObject * obj1 = 0 ;
5189 PyObject * obj2 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self",(char *) "from",(char *) "to", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail;
5197 {
5198 arg2 = static_cast<long >(SWIG_As_long(obj1));
5199 if (SWIG_arg_fail(2)) SWIG_fail;
5200 }
5201 {
5202 arg3 = static_cast<long >(SWIG_As_long(obj2));
5203 if (SWIG_arg_fail(3)) SWIG_fail;
5204 }
5205 {
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 (arg1)->Remove(arg2,arg3);
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 }
5212 Py_INCREF(Py_None); resultobj = Py_None;
5213 return resultobj;
5214 fail:
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5220 PyObject *resultobj = NULL;
5221 wxComboBox *arg1 = (wxComboBox *) 0 ;
5222 bool result;
5223 PyObject * obj0 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail;
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 {
5239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5240 }
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj = NULL;
5249 wxComboBox *arg1 = (wxComboBox *) 0 ;
5250 PyObject * obj0 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5257 if (SWIG_arg_fail(1)) SWIG_fail;
5258 {
5259 PyThreadState* __tstate = wxPyBeginAllowThreads();
5260 (arg1)->Undo();
5261
5262 wxPyEndAllowThreads(__tstate);
5263 if (PyErr_Occurred()) SWIG_fail;
5264 }
5265 Py_INCREF(Py_None); resultobj = Py_None;
5266 return resultobj;
5267 fail:
5268 return NULL;
5269 }
5270
5271
5272 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5273 PyObject *resultobj = NULL;
5274 wxComboBox *arg1 = (wxComboBox *) 0 ;
5275 PyObject * obj0 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5282 if (SWIG_arg_fail(1)) SWIG_fail;
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->Redo();
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj = NULL;
5299 wxComboBox *arg1 = (wxComboBox *) 0 ;
5300 PyObject * obj0 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5307 if (SWIG_arg_fail(1)) SWIG_fail;
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 (arg1)->SelectAll();
5311
5312 wxPyEndAllowThreads(__tstate);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 Py_INCREF(Py_None); resultobj = Py_None;
5316 return resultobj;
5317 fail:
5318 return NULL;
5319 }
5320
5321
5322 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj = NULL;
5324 wxComboBox *arg1 = (wxComboBox *) 0 ;
5325 bool result;
5326 PyObject * obj0 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 {
5342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5343 }
5344 return resultobj;
5345 fail:
5346 return NULL;
5347 }
5348
5349
5350 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj = NULL;
5352 wxComboBox *arg1 = (wxComboBox *) 0 ;
5353 bool result;
5354 PyObject * obj0 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5361 if (SWIG_arg_fail(1)) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (bool)((wxComboBox const *)arg1)->CanCut();
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5371 }
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj = NULL;
5380 wxComboBox *arg1 = (wxComboBox *) 0 ;
5381 bool result;
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 {
5398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5399 }
5400 return resultobj;
5401 fail:
5402 return NULL;
5403 }
5404
5405
5406 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj = NULL;
5408 wxComboBox *arg1 = (wxComboBox *) 0 ;
5409 bool result;
5410 PyObject * obj0 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "self", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail;
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 {
5426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5427 }
5428 return resultobj;
5429 fail:
5430 return NULL;
5431 }
5432
5433
5434 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj = NULL;
5436 wxComboBox *arg1 = (wxComboBox *) 0 ;
5437 bool result;
5438 PyObject * obj0 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 {
5454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5455 }
5456 return resultobj;
5457 fail:
5458 return NULL;
5459 }
5460
5461
5462 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5463 PyObject *resultobj = NULL;
5464 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5465 wxVisualAttributes result;
5466 PyObject * obj0 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "variant", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5472 if (obj0) {
5473 {
5474 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5475 if (SWIG_arg_fail(1)) SWIG_fail;
5476 }
5477 }
5478 {
5479 if (!wxPyCheckForApp()) SWIG_fail;
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = wxComboBox::GetClassDefaultAttributes(arg1);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487 wxVisualAttributes * resultptr;
5488 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5490 }
5491 return resultobj;
5492 fail:
5493 return NULL;
5494 }
5495
5496
5497 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5498 PyObject *obj;
5499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5500 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5501 Py_INCREF(obj);
5502 return Py_BuildValue((char *)"");
5503 }
5504 static int _wrap_GaugeNameStr_set(PyObject *) {
5505 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5506 return 1;
5507 }
5508
5509
5510 static PyObject *_wrap_GaugeNameStr_get(void) {
5511 PyObject *pyobj = NULL;
5512
5513 {
5514 #if wxUSE_UNICODE
5515 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5516 #else
5517 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5518 #endif
5519 }
5520 return pyobj;
5521 }
5522
5523
5524 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj = NULL;
5526 wxWindow *arg1 = (wxWindow *) 0 ;
5527 int arg2 = (int) -1 ;
5528 int arg3 = (int) 100 ;
5529 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5530 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5531 wxSize const &arg5_defvalue = wxDefaultSize ;
5532 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5533 long arg6 = (long) wxGA_HORIZONTAL ;
5534 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5535 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5536 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5537 wxString *arg8 = (wxString *) &arg8_defvalue ;
5538 wxGauge *result;
5539 wxPoint temp4 ;
5540 wxSize temp5 ;
5541 bool temp8 = false ;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 PyObject * obj2 = 0 ;
5545 PyObject * obj3 = 0 ;
5546 PyObject * obj4 = 0 ;
5547 PyObject * obj5 = 0 ;
5548 PyObject * obj6 = 0 ;
5549 PyObject * obj7 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail;
5557 if (obj1) {
5558 {
5559 arg2 = static_cast<int >(SWIG_As_int(obj1));
5560 if (SWIG_arg_fail(2)) SWIG_fail;
5561 }
5562 }
5563 if (obj2) {
5564 {
5565 arg3 = static_cast<int >(SWIG_As_int(obj2));
5566 if (SWIG_arg_fail(3)) SWIG_fail;
5567 }
5568 }
5569 if (obj3) {
5570 {
5571 arg4 = &temp4;
5572 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5573 }
5574 }
5575 if (obj4) {
5576 {
5577 arg5 = &temp5;
5578 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5579 }
5580 }
5581 if (obj5) {
5582 {
5583 arg6 = static_cast<long >(SWIG_As_long(obj5));
5584 if (SWIG_arg_fail(6)) SWIG_fail;
5585 }
5586 }
5587 if (obj6) {
5588 {
5589 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5590 if (SWIG_arg_fail(7)) SWIG_fail;
5591 if (arg7 == NULL) {
5592 SWIG_null_ref("wxValidator");
5593 }
5594 if (SWIG_arg_fail(7)) SWIG_fail;
5595 }
5596 }
5597 if (obj7) {
5598 {
5599 arg8 = wxString_in_helper(obj7);
5600 if (arg8 == NULL) SWIG_fail;
5601 temp8 = true;
5602 }
5603 }
5604 {
5605 if (!wxPyCheckForApp()) SWIG_fail;
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5613 {
5614 if (temp8)
5615 delete arg8;
5616 }
5617 return resultobj;
5618 fail:
5619 {
5620 if (temp8)
5621 delete arg8;
5622 }
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj = NULL;
5629 wxGauge *result;
5630 char *kwnames[] = {
5631 NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5635 {
5636 if (!wxPyCheckForApp()) SWIG_fail;
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 result = (wxGauge *)new wxGauge();
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj = NULL;
5652 wxGauge *arg1 = (wxGauge *) 0 ;
5653 wxWindow *arg2 = (wxWindow *) 0 ;
5654 int arg3 = (int) -1 ;
5655 int arg4 = (int) 100 ;
5656 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5657 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5658 wxSize const &arg6_defvalue = wxDefaultSize ;
5659 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5660 long arg7 = (long) wxGA_HORIZONTAL ;
5661 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5662 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5663 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5664 wxString *arg9 = (wxString *) &arg9_defvalue ;
5665 bool result;
5666 wxPoint temp5 ;
5667 wxSize temp6 ;
5668 bool temp9 = false ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 PyObject * obj2 = 0 ;
5672 PyObject * obj3 = 0 ;
5673 PyObject * obj4 = 0 ;
5674 PyObject * obj5 = 0 ;
5675 PyObject * obj6 = 0 ;
5676 PyObject * obj7 = 0 ;
5677 PyObject * obj8 = 0 ;
5678 char *kwnames[] = {
5679 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5680 };
5681
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5684 if (SWIG_arg_fail(1)) SWIG_fail;
5685 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5686 if (SWIG_arg_fail(2)) SWIG_fail;
5687 if (obj2) {
5688 {
5689 arg3 = static_cast<int >(SWIG_As_int(obj2));
5690 if (SWIG_arg_fail(3)) SWIG_fail;
5691 }
5692 }
5693 if (obj3) {
5694 {
5695 arg4 = static_cast<int >(SWIG_As_int(obj3));
5696 if (SWIG_arg_fail(4)) SWIG_fail;
5697 }
5698 }
5699 if (obj4) {
5700 {
5701 arg5 = &temp5;
5702 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5703 }
5704 }
5705 if (obj5) {
5706 {
5707 arg6 = &temp6;
5708 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5709 }
5710 }
5711 if (obj6) {
5712 {
5713 arg7 = static_cast<long >(SWIG_As_long(obj6));
5714 if (SWIG_arg_fail(7)) SWIG_fail;
5715 }
5716 }
5717 if (obj7) {
5718 {
5719 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(8)) SWIG_fail;
5721 if (arg8 == NULL) {
5722 SWIG_null_ref("wxValidator");
5723 }
5724 if (SWIG_arg_fail(8)) SWIG_fail;
5725 }
5726 }
5727 if (obj8) {
5728 {
5729 arg9 = wxString_in_helper(obj8);
5730 if (arg9 == NULL) SWIG_fail;
5731 temp9 = true;
5732 }
5733 }
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 {
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 }
5744 {
5745 if (temp9)
5746 delete arg9;
5747 }
5748 return resultobj;
5749 fail:
5750 {
5751 if (temp9)
5752 delete arg9;
5753 }
5754 return NULL;
5755 }
5756
5757
5758 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj = NULL;
5760 wxGauge *arg1 = (wxGauge *) 0 ;
5761 int arg2 ;
5762 PyObject * obj0 = 0 ;
5763 PyObject * obj1 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "range", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5770 if (SWIG_arg_fail(1)) SWIG_fail;
5771 {
5772 arg2 = static_cast<int >(SWIG_As_int(obj1));
5773 if (SWIG_arg_fail(2)) SWIG_fail;
5774 }
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 (arg1)->SetRange(arg2);
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 Py_INCREF(Py_None); resultobj = Py_None;
5783 return resultobj;
5784 fail:
5785 return NULL;
5786 }
5787
5788
5789 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj = NULL;
5791 wxGauge *arg1 = (wxGauge *) 0 ;
5792 int result;
5793 PyObject * obj0 = 0 ;
5794 char *kwnames[] = {
5795 (char *) "self", NULL
5796 };
5797
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5800 if (SWIG_arg_fail(1)) SWIG_fail;
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 result = (int)((wxGauge const *)arg1)->GetRange();
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 {
5809 resultobj = SWIG_From_int(static_cast<int >(result));
5810 }
5811 return resultobj;
5812 fail:
5813 return NULL;
5814 }
5815
5816
5817 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj = NULL;
5819 wxGauge *arg1 = (wxGauge *) 0 ;
5820 int arg2 ;
5821 PyObject * obj0 = 0 ;
5822 PyObject * obj1 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self",(char *) "pos", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail;
5830 {
5831 arg2 = static_cast<int >(SWIG_As_int(obj1));
5832 if (SWIG_arg_fail(2)) SWIG_fail;
5833 }
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 (arg1)->SetValue(arg2);
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 Py_INCREF(Py_None); resultobj = Py_None;
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj = NULL;
5850 wxGauge *arg1 = (wxGauge *) 0 ;
5851 int result;
5852 PyObject * obj0 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (int)((wxGauge const *)arg1)->GetValue();
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 {
5868 resultobj = SWIG_From_int(static_cast<int >(result));
5869 }
5870 return resultobj;
5871 fail:
5872 return NULL;
5873 }
5874
5875
5876 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj = NULL;
5878 wxGauge *arg1 = (wxGauge *) 0 ;
5879 bool result;
5880 PyObject * obj0 = 0 ;
5881 char *kwnames[] = {
5882 (char *) "self", NULL
5883 };
5884
5885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5887 if (SWIG_arg_fail(1)) SWIG_fail;
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 result = (bool)((wxGauge const *)arg1)->IsVertical();
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 {
5896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5897 }
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj = NULL;
5906 wxGauge *arg1 = (wxGauge *) 0 ;
5907 int arg2 ;
5908 PyObject * obj0 = 0 ;
5909 PyObject * obj1 = 0 ;
5910 char *kwnames[] = {
5911 (char *) "self",(char *) "w", NULL
5912 };
5913
5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5916 if (SWIG_arg_fail(1)) SWIG_fail;
5917 {
5918 arg2 = static_cast<int >(SWIG_As_int(obj1));
5919 if (SWIG_arg_fail(2)) SWIG_fail;
5920 }
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 (arg1)->SetShadowWidth(arg2);
5924
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 Py_INCREF(Py_None); resultobj = Py_None;
5929 return resultobj;
5930 fail:
5931 return NULL;
5932 }
5933
5934
5935 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj = NULL;
5937 wxGauge *arg1 = (wxGauge *) 0 ;
5938 int result;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "self", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail;
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 {
5955 resultobj = SWIG_From_int(static_cast<int >(result));
5956 }
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj = NULL;
5965 wxGauge *arg1 = (wxGauge *) 0 ;
5966 int arg2 ;
5967 PyObject * obj0 = 0 ;
5968 PyObject * obj1 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self",(char *) "w", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail;
5976 {
5977 arg2 = static_cast<int >(SWIG_As_int(obj1));
5978 if (SWIG_arg_fail(2)) SWIG_fail;
5979 }
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 (arg1)->SetBezelFace(arg2);
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 Py_INCREF(Py_None); resultobj = Py_None;
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5995 PyObject *resultobj = NULL;
5996 wxGauge *arg1 = (wxGauge *) 0 ;
5997 int result;
5998 PyObject * obj0 = 0 ;
5999 char *kwnames[] = {
6000 (char *) "self", NULL
6001 };
6002
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
6004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
6005 if (SWIG_arg_fail(1)) SWIG_fail;
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 result = (int)((wxGauge const *)arg1)->GetBezelFace();
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 {
6014 resultobj = SWIG_From_int(static_cast<int >(result));
6015 }
6016 return resultobj;
6017 fail:
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj = NULL;
6024 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6025 wxVisualAttributes result;
6026 PyObject * obj0 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "variant", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6032 if (obj0) {
6033 {
6034 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6035 if (SWIG_arg_fail(1)) SWIG_fail;
6036 }
6037 }
6038 {
6039 if (!wxPyCheckForApp()) SWIG_fail;
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = wxGauge::GetClassDefaultAttributes(arg1);
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 {
6047 wxVisualAttributes * resultptr;
6048 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6050 }
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
6058 PyObject *obj;
6059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6060 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
6061 Py_INCREF(obj);
6062 return Py_BuildValue((char *)"");
6063 }
6064 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
6065 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
6066 return 1;
6067 }
6068
6069
6070 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
6071 PyObject *pyobj = NULL;
6072
6073 {
6074 #if wxUSE_UNICODE
6075 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6076 #else
6077 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
6078 #endif
6079 }
6080 return pyobj;
6081 }
6082
6083
6084 static int _wrap_StaticBoxNameStr_set(PyObject *) {
6085 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
6086 return 1;
6087 }
6088
6089
6090 static PyObject *_wrap_StaticBoxNameStr_get(void) {
6091 PyObject *pyobj = NULL;
6092
6093 {
6094 #if wxUSE_UNICODE
6095 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6096 #else
6097 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
6098 #endif
6099 }
6100 return pyobj;
6101 }
6102
6103
6104 static int _wrap_StaticTextNameStr_set(PyObject *) {
6105 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
6106 return 1;
6107 }
6108
6109
6110 static PyObject *_wrap_StaticTextNameStr_get(void) {
6111 PyObject *pyobj = NULL;
6112
6113 {
6114 #if wxUSE_UNICODE
6115 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6116 #else
6117 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
6118 #endif
6119 }
6120 return pyobj;
6121 }
6122
6123
6124 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj = NULL;
6126 wxWindow *arg1 = (wxWindow *) 0 ;
6127 int arg2 = (int) -1 ;
6128 wxString const &arg3_defvalue = wxPyEmptyString ;
6129 wxString *arg3 = (wxString *) &arg3_defvalue ;
6130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6132 wxSize const &arg5_defvalue = wxDefaultSize ;
6133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6134 long arg6 = (long) 0 ;
6135 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
6136 wxString *arg7 = (wxString *) &arg7_defvalue ;
6137 wxStaticBox *result;
6138 bool temp3 = false ;
6139 wxPoint temp4 ;
6140 wxSize temp5 ;
6141 bool temp7 = false ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 PyObject * obj2 = 0 ;
6145 PyObject * obj3 = 0 ;
6146 PyObject * obj4 = 0 ;
6147 PyObject * obj5 = 0 ;
6148 PyObject * obj6 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6155 if (SWIG_arg_fail(1)) SWIG_fail;
6156 if (obj1) {
6157 {
6158 arg2 = static_cast<int >(SWIG_As_int(obj1));
6159 if (SWIG_arg_fail(2)) SWIG_fail;
6160 }
6161 }
6162 if (obj2) {
6163 {
6164 arg3 = wxString_in_helper(obj2);
6165 if (arg3 == NULL) SWIG_fail;
6166 temp3 = true;
6167 }
6168 }
6169 if (obj3) {
6170 {
6171 arg4 = &temp4;
6172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6173 }
6174 }
6175 if (obj4) {
6176 {
6177 arg5 = &temp5;
6178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6179 }
6180 }
6181 if (obj5) {
6182 {
6183 arg6 = static_cast<long >(SWIG_As_long(obj5));
6184 if (SWIG_arg_fail(6)) SWIG_fail;
6185 }
6186 }
6187 if (obj6) {
6188 {
6189 arg7 = wxString_in_helper(obj6);
6190 if (arg7 == NULL) SWIG_fail;
6191 temp7 = true;
6192 }
6193 }
6194 {
6195 if (!wxPyCheckForApp()) SWIG_fail;
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6203 {
6204 if (temp3)
6205 delete arg3;
6206 }
6207 {
6208 if (temp7)
6209 delete arg7;
6210 }
6211 return resultobj;
6212 fail:
6213 {
6214 if (temp3)
6215 delete arg3;
6216 }
6217 {
6218 if (temp7)
6219 delete arg7;
6220 }
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj = NULL;
6227 wxStaticBox *result;
6228 char *kwnames[] = {
6229 NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6233 {
6234 if (!wxPyCheckForApp()) SWIG_fail;
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (wxStaticBox *)new wxStaticBox();
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj = NULL;
6250 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6251 wxWindow *arg2 = (wxWindow *) 0 ;
6252 int arg3 = (int) -1 ;
6253 wxString const &arg4_defvalue = wxPyEmptyString ;
6254 wxString *arg4 = (wxString *) &arg4_defvalue ;
6255 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6256 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6257 wxSize const &arg6_defvalue = wxDefaultSize ;
6258 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6259 long arg7 = (long) 0 ;
6260 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6261 wxString *arg8 = (wxString *) &arg8_defvalue ;
6262 bool result;
6263 bool temp4 = false ;
6264 wxPoint temp5 ;
6265 wxSize temp6 ;
6266 bool temp8 = false ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 PyObject * obj2 = 0 ;
6270 PyObject * obj3 = 0 ;
6271 PyObject * obj4 = 0 ;
6272 PyObject * obj5 = 0 ;
6273 PyObject * obj6 = 0 ;
6274 PyObject * obj7 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail;
6282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(2)) SWIG_fail;
6284 if (obj2) {
6285 {
6286 arg3 = static_cast<int >(SWIG_As_int(obj2));
6287 if (SWIG_arg_fail(3)) SWIG_fail;
6288 }
6289 }
6290 if (obj3) {
6291 {
6292 arg4 = wxString_in_helper(obj3);
6293 if (arg4 == NULL) SWIG_fail;
6294 temp4 = true;
6295 }
6296 }
6297 if (obj4) {
6298 {
6299 arg5 = &temp5;
6300 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6301 }
6302 }
6303 if (obj5) {
6304 {
6305 arg6 = &temp6;
6306 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6307 }
6308 }
6309 if (obj6) {
6310 {
6311 arg7 = static_cast<long >(SWIG_As_long(obj6));
6312 if (SWIG_arg_fail(7)) SWIG_fail;
6313 }
6314 }
6315 if (obj7) {
6316 {
6317 arg8 = wxString_in_helper(obj7);
6318 if (arg8 == NULL) SWIG_fail;
6319 temp8 = true;
6320 }
6321 }
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 {
6330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6331 }
6332 {
6333 if (temp4)
6334 delete arg4;
6335 }
6336 {
6337 if (temp8)
6338 delete arg8;
6339 }
6340 return resultobj;
6341 fail:
6342 {
6343 if (temp4)
6344 delete arg4;
6345 }
6346 {
6347 if (temp8)
6348 delete arg8;
6349 }
6350 return NULL;
6351 }
6352
6353
6354 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6355 PyObject *resultobj = NULL;
6356 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6357 wxVisualAttributes result;
6358 PyObject * obj0 = 0 ;
6359 char *kwnames[] = {
6360 (char *) "variant", NULL
6361 };
6362
6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6364 if (obj0) {
6365 {
6366 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6367 if (SWIG_arg_fail(1)) SWIG_fail;
6368 }
6369 }
6370 {
6371 if (!wxPyCheckForApp()) SWIG_fail;
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 result = wxStaticBox::GetClassDefaultAttributes(arg1);
6374
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 {
6379 wxVisualAttributes * resultptr;
6380 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6382 }
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6390 PyObject *obj;
6391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6392 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6393 Py_INCREF(obj);
6394 return Py_BuildValue((char *)"");
6395 }
6396 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj = NULL;
6398 wxWindow *arg1 = (wxWindow *) 0 ;
6399 int arg2 = (int) -1 ;
6400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6402 wxSize const &arg4_defvalue = wxDefaultSize ;
6403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6404 long arg5 = (long) wxLI_HORIZONTAL ;
6405 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6406 wxString *arg6 = (wxString *) &arg6_defvalue ;
6407 wxStaticLine *result;
6408 wxPoint temp3 ;
6409 wxSize temp4 ;
6410 bool temp6 = false ;
6411 PyObject * obj0 = 0 ;
6412 PyObject * obj1 = 0 ;
6413 PyObject * obj2 = 0 ;
6414 PyObject * obj3 = 0 ;
6415 PyObject * obj4 = 0 ;
6416 PyObject * obj5 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail;
6424 if (obj1) {
6425 {
6426 arg2 = static_cast<int >(SWIG_As_int(obj1));
6427 if (SWIG_arg_fail(2)) SWIG_fail;
6428 }
6429 }
6430 if (obj2) {
6431 {
6432 arg3 = &temp3;
6433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6434 }
6435 }
6436 if (obj3) {
6437 {
6438 arg4 = &temp4;
6439 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6440 }
6441 }
6442 if (obj4) {
6443 {
6444 arg5 = static_cast<long >(SWIG_As_long(obj4));
6445 if (SWIG_arg_fail(5)) SWIG_fail;
6446 }
6447 }
6448 if (obj5) {
6449 {
6450 arg6 = wxString_in_helper(obj5);
6451 if (arg6 == NULL) SWIG_fail;
6452 temp6 = true;
6453 }
6454 }
6455 {
6456 if (!wxPyCheckForApp()) SWIG_fail;
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6464 {
6465 if (temp6)
6466 delete arg6;
6467 }
6468 return resultobj;
6469 fail:
6470 {
6471 if (temp6)
6472 delete arg6;
6473 }
6474 return NULL;
6475 }
6476
6477
6478 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6479 PyObject *resultobj = NULL;
6480 wxStaticLine *result;
6481 char *kwnames[] = {
6482 NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6486 {
6487 if (!wxPyCheckForApp()) SWIG_fail;
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 result = (wxStaticLine *)new wxStaticLine();
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj = NULL;
6503 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6504 wxWindow *arg2 = (wxWindow *) 0 ;
6505 int arg3 = (int) -1 ;
6506 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6507 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6508 wxSize const &arg5_defvalue = wxDefaultSize ;
6509 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6510 long arg6 = (long) wxLI_HORIZONTAL ;
6511 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6512 wxString *arg7 = (wxString *) &arg7_defvalue ;
6513 bool result;
6514 wxPoint temp4 ;
6515 wxSize temp5 ;
6516 bool temp7 = false ;
6517 PyObject * obj0 = 0 ;
6518 PyObject * obj1 = 0 ;
6519 PyObject * obj2 = 0 ;
6520 PyObject * obj3 = 0 ;
6521 PyObject * obj4 = 0 ;
6522 PyObject * obj5 = 0 ;
6523 PyObject * obj6 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6530 if (SWIG_arg_fail(1)) SWIG_fail;
6531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6532 if (SWIG_arg_fail(2)) SWIG_fail;
6533 if (obj2) {
6534 {
6535 arg3 = static_cast<int >(SWIG_As_int(obj2));
6536 if (SWIG_arg_fail(3)) SWIG_fail;
6537 }
6538 }
6539 if (obj3) {
6540 {
6541 arg4 = &temp4;
6542 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6543 }
6544 }
6545 if (obj4) {
6546 {
6547 arg5 = &temp5;
6548 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6549 }
6550 }
6551 if (obj5) {
6552 {
6553 arg6 = static_cast<long >(SWIG_As_long(obj5));
6554 if (SWIG_arg_fail(6)) SWIG_fail;
6555 }
6556 }
6557 if (obj6) {
6558 {
6559 arg7 = wxString_in_helper(obj6);
6560 if (arg7 == NULL) SWIG_fail;
6561 temp7 = true;
6562 }
6563 }
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 {
6572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6573 }
6574 {
6575 if (temp7)
6576 delete arg7;
6577 }
6578 return resultobj;
6579 fail:
6580 {
6581 if (temp7)
6582 delete arg7;
6583 }
6584 return NULL;
6585 }
6586
6587
6588 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj = NULL;
6590 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6591 bool result;
6592 PyObject * obj0 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6599 if (SWIG_arg_fail(1)) SWIG_fail;
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 {
6608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6609 }
6610 return resultobj;
6611 fail:
6612 return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj = NULL;
6618 int result;
6619 char *kwnames[] = {
6620 NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (int)wxStaticLine::GetDefaultSize();
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 {
6632 resultobj = SWIG_From_int(static_cast<int >(result));
6633 }
6634 return resultobj;
6635 fail:
6636 return NULL;
6637 }
6638
6639
6640 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj = NULL;
6642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6643 wxVisualAttributes result;
6644 PyObject * obj0 = 0 ;
6645 char *kwnames[] = {
6646 (char *) "variant", NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6650 if (obj0) {
6651 {
6652 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6653 if (SWIG_arg_fail(1)) SWIG_fail;
6654 }
6655 }
6656 {
6657 if (!wxPyCheckForApp()) SWIG_fail;
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = wxStaticLine::GetClassDefaultAttributes(arg1);
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 wxVisualAttributes * resultptr;
6666 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6668 }
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6676 PyObject *obj;
6677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6678 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6679 Py_INCREF(obj);
6680 return Py_BuildValue((char *)"");
6681 }
6682 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj = NULL;
6684 wxWindow *arg1 = (wxWindow *) 0 ;
6685 int arg2 = (int) -1 ;
6686 wxString const &arg3_defvalue = wxPyEmptyString ;
6687 wxString *arg3 = (wxString *) &arg3_defvalue ;
6688 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6689 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6690 wxSize const &arg5_defvalue = wxDefaultSize ;
6691 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6692 long arg6 = (long) 0 ;
6693 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6694 wxString *arg7 = (wxString *) &arg7_defvalue ;
6695 wxStaticText *result;
6696 bool temp3 = false ;
6697 wxPoint temp4 ;
6698 wxSize temp5 ;
6699 bool temp7 = false ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 PyObject * obj2 = 0 ;
6703 PyObject * obj3 = 0 ;
6704 PyObject * obj4 = 0 ;
6705 PyObject * obj5 = 0 ;
6706 PyObject * obj6 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail;
6714 if (obj1) {
6715 {
6716 arg2 = static_cast<int >(SWIG_As_int(obj1));
6717 if (SWIG_arg_fail(2)) SWIG_fail;
6718 }
6719 }
6720 if (obj2) {
6721 {
6722 arg3 = wxString_in_helper(obj2);
6723 if (arg3 == NULL) SWIG_fail;
6724 temp3 = true;
6725 }
6726 }
6727 if (obj3) {
6728 {
6729 arg4 = &temp4;
6730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6731 }
6732 }
6733 if (obj4) {
6734 {
6735 arg5 = &temp5;
6736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6737 }
6738 }
6739 if (obj5) {
6740 {
6741 arg6 = static_cast<long >(SWIG_As_long(obj5));
6742 if (SWIG_arg_fail(6)) SWIG_fail;
6743 }
6744 }
6745 if (obj6) {
6746 {
6747 arg7 = wxString_in_helper(obj6);
6748 if (arg7 == NULL) SWIG_fail;
6749 temp7 = true;
6750 }
6751 }
6752 {
6753 if (!wxPyCheckForApp()) SWIG_fail;
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6761 {
6762 if (temp3)
6763 delete arg3;
6764 }
6765 {
6766 if (temp7)
6767 delete arg7;
6768 }
6769 return resultobj;
6770 fail:
6771 {
6772 if (temp3)
6773 delete arg3;
6774 }
6775 {
6776 if (temp7)
6777 delete arg7;
6778 }
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj = NULL;
6785 wxStaticText *result;
6786 char *kwnames[] = {
6787 NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6791 {
6792 if (!wxPyCheckForApp()) SWIG_fail;
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 result = (wxStaticText *)new wxStaticText();
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj = NULL;
6808 wxStaticText *arg1 = (wxStaticText *) 0 ;
6809 wxWindow *arg2 = (wxWindow *) 0 ;
6810 int arg3 = (int) -1 ;
6811 wxString const &arg4_defvalue = wxPyEmptyString ;
6812 wxString *arg4 = (wxString *) &arg4_defvalue ;
6813 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6814 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6815 wxSize const &arg6_defvalue = wxDefaultSize ;
6816 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6817 long arg7 = (long) 0 ;
6818 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6819 wxString *arg8 = (wxString *) &arg8_defvalue ;
6820 bool result;
6821 bool temp4 = false ;
6822 wxPoint temp5 ;
6823 wxSize temp6 ;
6824 bool temp8 = false ;
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj1 = 0 ;
6827 PyObject * obj2 = 0 ;
6828 PyObject * obj3 = 0 ;
6829 PyObject * obj4 = 0 ;
6830 PyObject * obj5 = 0 ;
6831 PyObject * obj6 = 0 ;
6832 PyObject * obj7 = 0 ;
6833 char *kwnames[] = {
6834 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6839 if (SWIG_arg_fail(1)) SWIG_fail;
6840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(2)) SWIG_fail;
6842 if (obj2) {
6843 {
6844 arg3 = static_cast<int >(SWIG_As_int(obj2));
6845 if (SWIG_arg_fail(3)) SWIG_fail;
6846 }
6847 }
6848 if (obj3) {
6849 {
6850 arg4 = wxString_in_helper(obj3);
6851 if (arg4 == NULL) SWIG_fail;
6852 temp4 = true;
6853 }
6854 }
6855 if (obj4) {
6856 {
6857 arg5 = &temp5;
6858 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6859 }
6860 }
6861 if (obj5) {
6862 {
6863 arg6 = &temp6;
6864 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6865 }
6866 }
6867 if (obj6) {
6868 {
6869 arg7 = static_cast<long >(SWIG_As_long(obj6));
6870 if (SWIG_arg_fail(7)) SWIG_fail;
6871 }
6872 }
6873 if (obj7) {
6874 {
6875 arg8 = wxString_in_helper(obj7);
6876 if (arg8 == NULL) SWIG_fail;
6877 temp8 = true;
6878 }
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 {
6888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6889 }
6890 {
6891 if (temp4)
6892 delete arg4;
6893 }
6894 {
6895 if (temp8)
6896 delete arg8;
6897 }
6898 return resultobj;
6899 fail:
6900 {
6901 if (temp4)
6902 delete arg4;
6903 }
6904 {
6905 if (temp8)
6906 delete arg8;
6907 }
6908 return NULL;
6909 }
6910
6911
6912 static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj = NULL;
6914 wxStaticText *arg1 = (wxStaticText *) 0 ;
6915 int arg2 ;
6916 PyObject * obj0 = 0 ;
6917 PyObject * obj1 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self",(char *) "width", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) goto fail;
6923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail;
6925 {
6926 arg2 = static_cast<int >(SWIG_As_int(obj1));
6927 if (SWIG_arg_fail(2)) SWIG_fail;
6928 }
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->Wrap(arg2);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj = NULL;
6945 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6946 wxVisualAttributes result;
6947 PyObject * obj0 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "variant", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6953 if (obj0) {
6954 {
6955 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6956 if (SWIG_arg_fail(1)) SWIG_fail;
6957 }
6958 }
6959 {
6960 if (!wxPyCheckForApp()) SWIG_fail;
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 result = wxStaticText::GetClassDefaultAttributes(arg1);
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 {
6968 wxVisualAttributes * resultptr;
6969 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6971 }
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6979 PyObject *obj;
6980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6981 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6982 Py_INCREF(obj);
6983 return Py_BuildValue((char *)"");
6984 }
6985 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj = NULL;
6987 wxWindow *arg1 = (wxWindow *) 0 ;
6988 int arg2 = (int) -1 ;
6989 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6990 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6993 wxSize const &arg5_defvalue = wxDefaultSize ;
6994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6995 long arg6 = (long) 0 ;
6996 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6997 wxString *arg7 = (wxString *) &arg7_defvalue ;
6998 wxStaticBitmap *result;
6999 wxPoint temp4 ;
7000 wxSize temp5 ;
7001 bool temp7 = false ;
7002 PyObject * obj0 = 0 ;
7003 PyObject * obj1 = 0 ;
7004 PyObject * obj2 = 0 ;
7005 PyObject * obj3 = 0 ;
7006 PyObject * obj4 = 0 ;
7007 PyObject * obj5 = 0 ;
7008 PyObject * obj6 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7015 if (SWIG_arg_fail(1)) SWIG_fail;
7016 if (obj1) {
7017 {
7018 arg2 = static_cast<int >(SWIG_As_int(obj1));
7019 if (SWIG_arg_fail(2)) SWIG_fail;
7020 }
7021 }
7022 if (obj2) {
7023 {
7024 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7025 if (SWIG_arg_fail(3)) SWIG_fail;
7026 if (arg3 == NULL) {
7027 SWIG_null_ref("wxBitmap");
7028 }
7029 if (SWIG_arg_fail(3)) SWIG_fail;
7030 }
7031 }
7032 if (obj3) {
7033 {
7034 arg4 = &temp4;
7035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7036 }
7037 }
7038 if (obj4) {
7039 {
7040 arg5 = &temp5;
7041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7042 }
7043 }
7044 if (obj5) {
7045 {
7046 arg6 = static_cast<long >(SWIG_As_long(obj5));
7047 if (SWIG_arg_fail(6)) SWIG_fail;
7048 }
7049 }
7050 if (obj6) {
7051 {
7052 arg7 = wxString_in_helper(obj6);
7053 if (arg7 == NULL) SWIG_fail;
7054 temp7 = true;
7055 }
7056 }
7057 {
7058 if (!wxPyCheckForApp()) SWIG_fail;
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7066 {
7067 if (temp7)
7068 delete arg7;
7069 }
7070 return resultobj;
7071 fail:
7072 {
7073 if (temp7)
7074 delete arg7;
7075 }
7076 return NULL;
7077 }
7078
7079
7080 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj = NULL;
7082 wxStaticBitmap *result;
7083 char *kwnames[] = {
7084 NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
7088 {
7089 if (!wxPyCheckForApp()) SWIG_fail;
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = (wxStaticBitmap *)new wxStaticBitmap();
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj = NULL;
7105 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7106 wxWindow *arg2 = (wxWindow *) 0 ;
7107 int arg3 = (int) -1 ;
7108 wxBitmap const &arg4_defvalue = wxNullBitmap ;
7109 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
7110 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7111 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7112 wxSize const &arg6_defvalue = wxDefaultSize ;
7113 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7114 long arg7 = (long) 0 ;
7115 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
7116 wxString *arg8 = (wxString *) &arg8_defvalue ;
7117 bool result;
7118 wxPoint temp5 ;
7119 wxSize temp6 ;
7120 bool temp8 = false ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 PyObject * obj2 = 0 ;
7124 PyObject * obj3 = 0 ;
7125 PyObject * obj4 = 0 ;
7126 PyObject * obj5 = 0 ;
7127 PyObject * obj6 = 0 ;
7128 PyObject * obj7 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7135 if (SWIG_arg_fail(1)) SWIG_fail;
7136 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7137 if (SWIG_arg_fail(2)) SWIG_fail;
7138 if (obj2) {
7139 {
7140 arg3 = static_cast<int >(SWIG_As_int(obj2));
7141 if (SWIG_arg_fail(3)) SWIG_fail;
7142 }
7143 }
7144 if (obj3) {
7145 {
7146 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7147 if (SWIG_arg_fail(4)) SWIG_fail;
7148 if (arg4 == NULL) {
7149 SWIG_null_ref("wxBitmap");
7150 }
7151 if (SWIG_arg_fail(4)) SWIG_fail;
7152 }
7153 }
7154 if (obj4) {
7155 {
7156 arg5 = &temp5;
7157 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7158 }
7159 }
7160 if (obj5) {
7161 {
7162 arg6 = &temp6;
7163 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7164 }
7165 }
7166 if (obj6) {
7167 {
7168 arg7 = static_cast<long >(SWIG_As_long(obj6));
7169 if (SWIG_arg_fail(7)) SWIG_fail;
7170 }
7171 }
7172 if (obj7) {
7173 {
7174 arg8 = wxString_in_helper(obj7);
7175 if (arg8 == NULL) SWIG_fail;
7176 temp8 = true;
7177 }
7178 }
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 {
7187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7188 }
7189 {
7190 if (temp8)
7191 delete arg8;
7192 }
7193 return resultobj;
7194 fail:
7195 {
7196 if (temp8)
7197 delete arg8;
7198 }
7199 return NULL;
7200 }
7201
7202
7203 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj = NULL;
7205 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7206 wxBitmap result;
7207 PyObject * obj0 = 0 ;
7208 char *kwnames[] = {
7209 (char *) "self", NULL
7210 };
7211
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7214 if (SWIG_arg_fail(1)) SWIG_fail;
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 result = (arg1)->GetBitmap();
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 {
7223 wxBitmap * resultptr;
7224 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
7225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7226 }
7227 return resultobj;
7228 fail:
7229 return NULL;
7230 }
7231
7232
7233 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj = NULL;
7235 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7236 wxBitmap *arg2 = 0 ;
7237 PyObject * obj0 = 0 ;
7238 PyObject * obj1 = 0 ;
7239 char *kwnames[] = {
7240 (char *) "self",(char *) "bitmap", NULL
7241 };
7242
7243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7245 if (SWIG_arg_fail(1)) SWIG_fail;
7246 {
7247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7248 if (SWIG_arg_fail(2)) SWIG_fail;
7249 if (arg2 == NULL) {
7250 SWIG_null_ref("wxBitmap");
7251 }
7252 if (SWIG_arg_fail(2)) SWIG_fail;
7253 }
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj = NULL;
7270 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7271 wxIcon *arg2 = 0 ;
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self",(char *) "icon", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7280 if (SWIG_arg_fail(1)) SWIG_fail;
7281 {
7282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7283 if (SWIG_arg_fail(2)) SWIG_fail;
7284 if (arg2 == NULL) {
7285 SWIG_null_ref("wxIcon");
7286 }
7287 if (SWIG_arg_fail(2)) SWIG_fail;
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 (arg1)->SetIcon((wxIcon const &)*arg2);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj = NULL;
7305 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7306 wxVisualAttributes result;
7307 PyObject * obj0 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "variant", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7313 if (obj0) {
7314 {
7315 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7316 if (SWIG_arg_fail(1)) SWIG_fail;
7317 }
7318 }
7319 {
7320 if (!wxPyCheckForApp()) SWIG_fail;
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 {
7328 wxVisualAttributes * resultptr;
7329 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7331 }
7332 return resultobj;
7333 fail:
7334 return NULL;
7335 }
7336
7337
7338 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7339 PyObject *obj;
7340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7341 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7342 Py_INCREF(obj);
7343 return Py_BuildValue((char *)"");
7344 }
7345 static int _wrap_ListBoxNameStr_set(PyObject *) {
7346 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7347 return 1;
7348 }
7349
7350
7351 static PyObject *_wrap_ListBoxNameStr_get(void) {
7352 PyObject *pyobj = NULL;
7353
7354 {
7355 #if wxUSE_UNICODE
7356 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7357 #else
7358 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7359 #endif
7360 }
7361 return pyobj;
7362 }
7363
7364
7365 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7366 PyObject *resultobj = NULL;
7367 wxWindow *arg1 = (wxWindow *) 0 ;
7368 int arg2 = (int) -1 ;
7369 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7370 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7371 wxSize const &arg4_defvalue = wxDefaultSize ;
7372 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7373 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7374 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7375 long arg6 = (long) 0 ;
7376 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7377 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7378 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7379 wxString *arg8 = (wxString *) &arg8_defvalue ;
7380 wxListBox *result;
7381 wxPoint temp3 ;
7382 wxSize temp4 ;
7383 bool temp5 = false ;
7384 bool temp8 = false ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 PyObject * obj2 = 0 ;
7388 PyObject * obj3 = 0 ;
7389 PyObject * obj4 = 0 ;
7390 PyObject * obj5 = 0 ;
7391 PyObject * obj6 = 0 ;
7392 PyObject * obj7 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail;
7400 if (obj1) {
7401 {
7402 arg2 = static_cast<int >(SWIG_As_int(obj1));
7403 if (SWIG_arg_fail(2)) SWIG_fail;
7404 }
7405 }
7406 if (obj2) {
7407 {
7408 arg3 = &temp3;
7409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7410 }
7411 }
7412 if (obj3) {
7413 {
7414 arg4 = &temp4;
7415 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7416 }
7417 }
7418 if (obj4) {
7419 {
7420 if (! PySequence_Check(obj4)) {
7421 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7422 SWIG_fail;
7423 }
7424 arg5 = new wxArrayString;
7425 temp5 = true;
7426 int i, len=PySequence_Length(obj4);
7427 for (i=0; i<len; i++) {
7428 PyObject* item = PySequence_GetItem(obj4, i);
7429 wxString* s = wxString_in_helper(item);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 arg5->Add(*s);
7432 delete s;
7433 Py_DECREF(item);
7434 }
7435 }
7436 }
7437 if (obj5) {
7438 {
7439 arg6 = static_cast<long >(SWIG_As_long(obj5));
7440 if (SWIG_arg_fail(6)) SWIG_fail;
7441 }
7442 }
7443 if (obj6) {
7444 {
7445 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7446 if (SWIG_arg_fail(7)) SWIG_fail;
7447 if (arg7 == NULL) {
7448 SWIG_null_ref("wxValidator");
7449 }
7450 if (SWIG_arg_fail(7)) SWIG_fail;
7451 }
7452 }
7453 if (obj7) {
7454 {
7455 arg8 = wxString_in_helper(obj7);
7456 if (arg8 == NULL) SWIG_fail;
7457 temp8 = true;
7458 }
7459 }
7460 {
7461 if (!wxPyCheckForApp()) SWIG_fail;
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7469 {
7470 if (temp5) delete arg5;
7471 }
7472 {
7473 if (temp8)
7474 delete arg8;
7475 }
7476 return resultobj;
7477 fail:
7478 {
7479 if (temp5) delete arg5;
7480 }
7481 {
7482 if (temp8)
7483 delete arg8;
7484 }
7485 return NULL;
7486 }
7487
7488
7489 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj = NULL;
7491 wxListBox *result;
7492 char *kwnames[] = {
7493 NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7497 {
7498 if (!wxPyCheckForApp()) SWIG_fail;
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (wxListBox *)new wxListBox();
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7506 return resultobj;
7507 fail:
7508 return NULL;
7509 }
7510
7511
7512 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj = NULL;
7514 wxListBox *arg1 = (wxListBox *) 0 ;
7515 wxWindow *arg2 = (wxWindow *) 0 ;
7516 int arg3 = (int) -1 ;
7517 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7518 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7519 wxSize const &arg5_defvalue = wxDefaultSize ;
7520 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7521 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7522 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7523 long arg7 = (long) 0 ;
7524 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7525 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7526 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7527 wxString *arg9 = (wxString *) &arg9_defvalue ;
7528 bool result;
7529 wxPoint temp4 ;
7530 wxSize temp5 ;
7531 bool temp6 = false ;
7532 bool temp9 = false ;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 PyObject * obj2 = 0 ;
7536 PyObject * obj3 = 0 ;
7537 PyObject * obj4 = 0 ;
7538 PyObject * obj5 = 0 ;
7539 PyObject * obj6 = 0 ;
7540 PyObject * obj7 = 0 ;
7541 PyObject * obj8 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail;
7549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(2)) SWIG_fail;
7551 if (obj2) {
7552 {
7553 arg3 = static_cast<int >(SWIG_As_int(obj2));
7554 if (SWIG_arg_fail(3)) SWIG_fail;
7555 }
7556 }
7557 if (obj3) {
7558 {
7559 arg4 = &temp4;
7560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7561 }
7562 }
7563 if (obj4) {
7564 {
7565 arg5 = &temp5;
7566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7567 }
7568 }
7569 if (obj5) {
7570 {
7571 if (! PySequence_Check(obj5)) {
7572 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7573 SWIG_fail;
7574 }
7575 arg6 = new wxArrayString;
7576 temp6 = true;
7577 int i, len=PySequence_Length(obj5);
7578 for (i=0; i<len; i++) {
7579 PyObject* item = PySequence_GetItem(obj5, i);
7580 wxString* s = wxString_in_helper(item);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 arg6->Add(*s);
7583 delete s;
7584 Py_DECREF(item);
7585 }
7586 }
7587 }
7588 if (obj6) {
7589 {
7590 arg7 = static_cast<long >(SWIG_As_long(obj6));
7591 if (SWIG_arg_fail(7)) SWIG_fail;
7592 }
7593 }
7594 if (obj7) {
7595 {
7596 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7597 if (SWIG_arg_fail(8)) SWIG_fail;
7598 if (arg8 == NULL) {
7599 SWIG_null_ref("wxValidator");
7600 }
7601 if (SWIG_arg_fail(8)) SWIG_fail;
7602 }
7603 }
7604 if (obj8) {
7605 {
7606 arg9 = wxString_in_helper(obj8);
7607 if (arg9 == NULL) SWIG_fail;
7608 temp9 = true;
7609 }
7610 }
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 {
7619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7620 }
7621 {
7622 if (temp6) delete arg6;
7623 }
7624 {
7625 if (temp9)
7626 delete arg9;
7627 }
7628 return resultobj;
7629 fail:
7630 {
7631 if (temp6) delete arg6;
7632 }
7633 {
7634 if (temp9)
7635 delete arg9;
7636 }
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = NULL;
7643 wxListBox *arg1 = (wxListBox *) 0 ;
7644 wxString *arg2 = 0 ;
7645 int arg3 ;
7646 PyObject *arg4 = (PyObject *) NULL ;
7647 bool temp2 = false ;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 PyObject * obj2 = 0 ;
7651 PyObject * obj3 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7658 if (SWIG_arg_fail(1)) SWIG_fail;
7659 {
7660 arg2 = wxString_in_helper(obj1);
7661 if (arg2 == NULL) SWIG_fail;
7662 temp2 = true;
7663 }
7664 {
7665 arg3 = static_cast<int >(SWIG_As_int(obj2));
7666 if (SWIG_arg_fail(3)) SWIG_fail;
7667 }
7668 if (obj3) {
7669 arg4 = obj3;
7670 }
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 Py_INCREF(Py_None); resultobj = Py_None;
7679 {
7680 if (temp2)
7681 delete arg2;
7682 }
7683 return resultobj;
7684 fail:
7685 {
7686 if (temp2)
7687 delete arg2;
7688 }
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj = NULL;
7695 wxListBox *arg1 = (wxListBox *) 0 ;
7696 wxArrayString *arg2 = 0 ;
7697 int arg3 ;
7698 bool temp2 = false ;
7699 PyObject * obj0 = 0 ;
7700 PyObject * obj1 = 0 ;
7701 PyObject * obj2 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self",(char *) "items",(char *) "pos", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail;
7709 {
7710 if (! PySequence_Check(obj1)) {
7711 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7712 SWIG_fail;
7713 }
7714 arg2 = new wxArrayString;
7715 temp2 = true;
7716 int i, len=PySequence_Length(obj1);
7717 for (i=0; i<len; i++) {
7718 PyObject* item = PySequence_GetItem(obj1, i);
7719 wxString* s = wxString_in_helper(item);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 arg2->Add(*s);
7722 delete s;
7723 Py_DECREF(item);
7724 }
7725 }
7726 {
7727 arg3 = static_cast<int >(SWIG_As_int(obj2));
7728 if (SWIG_arg_fail(3)) SWIG_fail;
7729 }
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 Py_INCREF(Py_None); resultobj = Py_None;
7738 {
7739 if (temp2) delete arg2;
7740 }
7741 return resultobj;
7742 fail:
7743 {
7744 if (temp2) delete arg2;
7745 }
7746 return NULL;
7747 }
7748
7749
7750 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj = NULL;
7752 wxListBox *arg1 = (wxListBox *) 0 ;
7753 wxArrayString *arg2 = 0 ;
7754 bool temp2 = false ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "items", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail;
7764 {
7765 if (! PySequence_Check(obj1)) {
7766 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7767 SWIG_fail;
7768 }
7769 arg2 = new wxArrayString;
7770 temp2 = true;
7771 int i, len=PySequence_Length(obj1);
7772 for (i=0; i<len; i++) {
7773 PyObject* item = PySequence_GetItem(obj1, i);
7774 wxString* s = wxString_in_helper(item);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 arg2->Add(*s);
7777 delete s;
7778 Py_DECREF(item);
7779 }
7780 }
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 (arg1)->Set((wxArrayString const &)*arg2);
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 Py_INCREF(Py_None); resultobj = Py_None;
7789 {
7790 if (temp2) delete arg2;
7791 }
7792 return resultobj;
7793 fail:
7794 {
7795 if (temp2) delete arg2;
7796 }
7797 return NULL;
7798 }
7799
7800
7801 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj = NULL;
7803 wxListBox *arg1 = (wxListBox *) 0 ;
7804 int arg2 ;
7805 bool result;
7806 PyObject * obj0 = 0 ;
7807 PyObject * obj1 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "self",(char *) "n", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail;
7815 {
7816 arg2 = static_cast<int >(SWIG_As_int(obj1));
7817 if (SWIG_arg_fail(2)) SWIG_fail;
7818 }
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 {
7827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7828 }
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj = NULL;
7837 wxListBox *arg1 = (wxListBox *) 0 ;
7838 int arg2 ;
7839 bool arg3 = (bool) true ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 PyObject * obj2 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "n",(char *) "select", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 arg2 = static_cast<int >(SWIG_As_int(obj1));
7852 if (SWIG_arg_fail(2)) SWIG_fail;
7853 }
7854 if (obj2) {
7855 {
7856 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7857 if (SWIG_arg_fail(3)) SWIG_fail;
7858 }
7859 }
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 (arg1)->SetSelection(arg2,arg3);
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 Py_INCREF(Py_None); resultobj = Py_None;
7868 return resultobj;
7869 fail:
7870 return NULL;
7871 }
7872
7873
7874 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj = NULL;
7876 wxListBox *arg1 = (wxListBox *) 0 ;
7877 int arg2 ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self",(char *) "n", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail;
7887 {
7888 arg2 = static_cast<int >(SWIG_As_int(obj1));
7889 if (SWIG_arg_fail(2)) SWIG_fail;
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 (arg1)->Select(arg2);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 Py_INCREF(Py_None); resultobj = Py_None;
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj = NULL;
7907 wxListBox *arg1 = (wxListBox *) 0 ;
7908 int arg2 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "n", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail;
7918 {
7919 arg2 = static_cast<int >(SWIG_As_int(obj1));
7920 if (SWIG_arg_fail(2)) SWIG_fail;
7921 }
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 (arg1)->Deselect(arg2);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 Py_INCREF(Py_None); resultobj = Py_None;
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj = NULL;
7938 wxListBox *arg1 = (wxListBox *) 0 ;
7939 int arg2 = (int) -1 ;
7940 PyObject * obj0 = 0 ;
7941 PyObject * obj1 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "itemToLeaveSelected", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail;
7949 if (obj1) {
7950 {
7951 arg2 = static_cast<int >(SWIG_As_int(obj1));
7952 if (SWIG_arg_fail(2)) SWIG_fail;
7953 }
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 (arg1)->DeselectAll(arg2);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 Py_INCREF(Py_None); resultobj = Py_None;
7963 return resultobj;
7964 fail:
7965 return NULL;
7966 }
7967
7968
7969 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7970 PyObject *resultobj = NULL;
7971 wxListBox *arg1 = (wxListBox *) 0 ;
7972 wxString *arg2 = 0 ;
7973 bool arg3 = (bool) true ;
7974 bool result;
7975 bool temp2 = false ;
7976 PyObject * obj0 = 0 ;
7977 PyObject * obj1 = 0 ;
7978 PyObject * obj2 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self",(char *) "s",(char *) "select", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail;
7986 {
7987 arg2 = wxString_in_helper(obj1);
7988 if (arg2 == NULL) SWIG_fail;
7989 temp2 = true;
7990 }
7991 if (obj2) {
7992 {
7993 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
7994 if (SWIG_arg_fail(3)) SWIG_fail;
7995 }
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 {
8005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8006 }
8007 {
8008 if (temp2)
8009 delete arg2;
8010 }
8011 return resultobj;
8012 fail:
8013 {
8014 if (temp2)
8015 delete arg2;
8016 }
8017 return NULL;
8018 }
8019
8020
8021 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
8022 PyObject *resultobj = NULL;
8023 wxListBox *arg1 = (wxListBox *) 0 ;
8024 PyObject *result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
8031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail;
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (PyObject *)wxListBox_GetSelections(arg1);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = result;
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj = NULL;
8049 wxListBox *arg1 = (wxListBox *) 0 ;
8050 int arg2 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self",(char *) "n", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
8058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail;
8060 {
8061 arg2 = static_cast<int >(SWIG_As_int(obj1));
8062 if (SWIG_arg_fail(2)) SWIG_fail;
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->SetFirstItem(arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj = NULL;
8080 wxListBox *arg1 = (wxListBox *) 0 ;
8081 wxString *arg2 = 0 ;
8082 bool temp2 = false ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self",(char *) "s", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
8090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail;
8092 {
8093 arg2 = wxString_in_helper(obj1);
8094 if (arg2 == NULL) SWIG_fail;
8095 temp2 = true;
8096 }
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 (arg1)->SetFirstItem((wxString const &)*arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 {
8106 if (temp2)
8107 delete arg2;
8108 }
8109 return resultobj;
8110 fail:
8111 {
8112 if (temp2)
8113 delete arg2;
8114 }
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj = NULL;
8121 wxListBox *arg1 = (wxListBox *) 0 ;
8122 int arg2 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "n", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail;
8132 {
8133 arg2 = static_cast<int >(SWIG_As_int(obj1));
8134 if (SWIG_arg_fail(2)) SWIG_fail;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->EnsureVisible(arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj = NULL;
8152 wxListBox *arg1 = (wxListBox *) 0 ;
8153 wxString *arg2 = 0 ;
8154 bool temp2 = false ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self",(char *) "s", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8163 if (SWIG_arg_fail(1)) SWIG_fail;
8164 {
8165 arg2 = wxString_in_helper(obj1);
8166 if (arg2 == NULL) SWIG_fail;
8167 temp2 = true;
8168 }
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 {
8178 if (temp2)
8179 delete arg2;
8180 }
8181 return resultobj;
8182 fail:
8183 {
8184 if (temp2)
8185 delete arg2;
8186 }
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj = NULL;
8193 wxListBox *arg1 = (wxListBox *) 0 ;
8194 bool result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
8201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8202 if (SWIG_arg_fail(1)) SWIG_fail;
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 result = (bool)((wxListBox const *)arg1)->IsSorted();
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 {
8211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8212 }
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = NULL;
8221 wxListBox *arg1 = (wxListBox *) 0 ;
8222 int arg2 ;
8223 wxColour *arg3 = 0 ;
8224 wxColour temp3 ;
8225 PyObject * obj0 = 0 ;
8226 PyObject * obj1 = 0 ;
8227 PyObject * obj2 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "item",(char *) "c", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail;
8235 {
8236 arg2 = static_cast<int >(SWIG_As_int(obj1));
8237 if (SWIG_arg_fail(2)) SWIG_fail;
8238 }
8239 {
8240 arg3 = &temp3;
8241 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8242 }
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 Py_INCREF(Py_None); resultobj = Py_None;
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj = NULL;
8259 wxListBox *arg1 = (wxListBox *) 0 ;
8260 int arg2 ;
8261 wxColour *arg3 = 0 ;
8262 wxColour temp3 ;
8263 PyObject * obj0 = 0 ;
8264 PyObject * obj1 = 0 ;
8265 PyObject * obj2 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "item",(char *) "c", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail;
8273 {
8274 arg2 = static_cast<int >(SWIG_As_int(obj1));
8275 if (SWIG_arg_fail(2)) SWIG_fail;
8276 }
8277 {
8278 arg3 = &temp3;
8279 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 Py_INCREF(Py_None); resultobj = Py_None;
8289 return resultobj;
8290 fail:
8291 return NULL;
8292 }
8293
8294
8295 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj = NULL;
8297 wxListBox *arg1 = (wxListBox *) 0 ;
8298 int arg2 ;
8299 wxFont *arg3 = 0 ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 char *kwnames[] = {
8304 (char *) "self",(char *) "item",(char *) "f", NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8309 if (SWIG_arg_fail(1)) SWIG_fail;
8310 {
8311 arg2 = static_cast<int >(SWIG_As_int(obj1));
8312 if (SWIG_arg_fail(2)) SWIG_fail;
8313 }
8314 {
8315 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8316 if (SWIG_arg_fail(3)) SWIG_fail;
8317 if (arg3 == NULL) {
8318 SWIG_null_ref("wxFont");
8319 }
8320 if (SWIG_arg_fail(3)) SWIG_fail;
8321 }
8322 {
8323 PyThreadState* __tstate = wxPyBeginAllowThreads();
8324 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8325
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 Py_INCREF(Py_None); resultobj = Py_None;
8330 return resultobj;
8331 fail:
8332 return NULL;
8333 }
8334
8335
8336 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8337 PyObject *resultobj = NULL;
8338 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8339 wxVisualAttributes result;
8340 PyObject * obj0 = 0 ;
8341 char *kwnames[] = {
8342 (char *) "variant", NULL
8343 };
8344
8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8346 if (obj0) {
8347 {
8348 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8349 if (SWIG_arg_fail(1)) SWIG_fail;
8350 }
8351 }
8352 {
8353 if (!wxPyCheckForApp()) SWIG_fail;
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = wxListBox::GetClassDefaultAttributes(arg1);
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 {
8361 wxVisualAttributes * resultptr;
8362 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8364 }
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8372 PyObject *obj;
8373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8374 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8375 Py_INCREF(obj);
8376 return Py_BuildValue((char *)"");
8377 }
8378 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj = NULL;
8380 wxWindow *arg1 = (wxWindow *) 0 ;
8381 int arg2 = (int) -1 ;
8382 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8383 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8384 wxSize const &arg4_defvalue = wxDefaultSize ;
8385 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8386 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8387 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8388 long arg6 = (long) 0 ;
8389 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8390 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8391 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8392 wxString *arg8 = (wxString *) &arg8_defvalue ;
8393 wxCheckListBox *result;
8394 wxPoint temp3 ;
8395 wxSize temp4 ;
8396 bool temp5 = false ;
8397 bool temp8 = false ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 PyObject * obj2 = 0 ;
8401 PyObject * obj3 = 0 ;
8402 PyObject * obj4 = 0 ;
8403 PyObject * obj5 = 0 ;
8404 PyObject * obj6 = 0 ;
8405 PyObject * obj7 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail;
8413 if (obj1) {
8414 {
8415 arg2 = static_cast<int >(SWIG_As_int(obj1));
8416 if (SWIG_arg_fail(2)) SWIG_fail;
8417 }
8418 }
8419 if (obj2) {
8420 {
8421 arg3 = &temp3;
8422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8423 }
8424 }
8425 if (obj3) {
8426 {
8427 arg4 = &temp4;
8428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8429 }
8430 }
8431 if (obj4) {
8432 {
8433 if (! PySequence_Check(obj4)) {
8434 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8435 SWIG_fail;
8436 }
8437 arg5 = new wxArrayString;
8438 temp5 = true;
8439 int i, len=PySequence_Length(obj4);
8440 for (i=0; i<len; i++) {
8441 PyObject* item = PySequence_GetItem(obj4, i);
8442 wxString* s = wxString_in_helper(item);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 arg5->Add(*s);
8445 delete s;
8446 Py_DECREF(item);
8447 }
8448 }
8449 }
8450 if (obj5) {
8451 {
8452 arg6 = static_cast<long >(SWIG_As_long(obj5));
8453 if (SWIG_arg_fail(6)) SWIG_fail;
8454 }
8455 }
8456 if (obj6) {
8457 {
8458 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8459 if (SWIG_arg_fail(7)) SWIG_fail;
8460 if (arg7 == NULL) {
8461 SWIG_null_ref("wxValidator");
8462 }
8463 if (SWIG_arg_fail(7)) SWIG_fail;
8464 }
8465 }
8466 if (obj7) {
8467 {
8468 arg8 = wxString_in_helper(obj7);
8469 if (arg8 == NULL) SWIG_fail;
8470 temp8 = true;
8471 }
8472 }
8473 {
8474 if (!wxPyCheckForApp()) SWIG_fail;
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8482 {
8483 if (temp5) delete arg5;
8484 }
8485 {
8486 if (temp8)
8487 delete arg8;
8488 }
8489 return resultobj;
8490 fail:
8491 {
8492 if (temp5) delete arg5;
8493 }
8494 {
8495 if (temp8)
8496 delete arg8;
8497 }
8498 return NULL;
8499 }
8500
8501
8502 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj = NULL;
8504 wxCheckListBox *result;
8505 char *kwnames[] = {
8506 NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8510 {
8511 if (!wxPyCheckForApp()) SWIG_fail;
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (wxCheckListBox *)new wxCheckListBox();
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8519 return resultobj;
8520 fail:
8521 return NULL;
8522 }
8523
8524
8525 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj = NULL;
8527 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8528 wxWindow *arg2 = (wxWindow *) 0 ;
8529 int arg3 = (int) -1 ;
8530 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8531 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8532 wxSize const &arg5_defvalue = wxDefaultSize ;
8533 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8534 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8535 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8536 long arg7 = (long) 0 ;
8537 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8538 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8539 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8540 wxString *arg9 = (wxString *) &arg9_defvalue ;
8541 bool result;
8542 wxPoint temp4 ;
8543 wxSize temp5 ;
8544 bool temp6 = false ;
8545 bool temp9 = false ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 PyObject * obj2 = 0 ;
8549 PyObject * obj3 = 0 ;
8550 PyObject * obj4 = 0 ;
8551 PyObject * obj5 = 0 ;
8552 PyObject * obj6 = 0 ;
8553 PyObject * obj7 = 0 ;
8554 PyObject * obj8 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail;
8562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8563 if (SWIG_arg_fail(2)) SWIG_fail;
8564 if (obj2) {
8565 {
8566 arg3 = static_cast<int >(SWIG_As_int(obj2));
8567 if (SWIG_arg_fail(3)) SWIG_fail;
8568 }
8569 }
8570 if (obj3) {
8571 {
8572 arg4 = &temp4;
8573 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8574 }
8575 }
8576 if (obj4) {
8577 {
8578 arg5 = &temp5;
8579 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8580 }
8581 }
8582 if (obj5) {
8583 {
8584 if (! PySequence_Check(obj5)) {
8585 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8586 SWIG_fail;
8587 }
8588 arg6 = new wxArrayString;
8589 temp6 = true;
8590 int i, len=PySequence_Length(obj5);
8591 for (i=0; i<len; i++) {
8592 PyObject* item = PySequence_GetItem(obj5, i);
8593 wxString* s = wxString_in_helper(item);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 arg6->Add(*s);
8596 delete s;
8597 Py_DECREF(item);
8598 }
8599 }
8600 }
8601 if (obj6) {
8602 {
8603 arg7 = static_cast<long >(SWIG_As_long(obj6));
8604 if (SWIG_arg_fail(7)) SWIG_fail;
8605 }
8606 }
8607 if (obj7) {
8608 {
8609 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8610 if (SWIG_arg_fail(8)) SWIG_fail;
8611 if (arg8 == NULL) {
8612 SWIG_null_ref("wxValidator");
8613 }
8614 if (SWIG_arg_fail(8)) SWIG_fail;
8615 }
8616 }
8617 if (obj8) {
8618 {
8619 arg9 = wxString_in_helper(obj8);
8620 if (arg9 == NULL) SWIG_fail;
8621 temp9 = true;
8622 }
8623 }
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 {
8632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8633 }
8634 {
8635 if (temp6) delete arg6;
8636 }
8637 {
8638 if (temp9)
8639 delete arg9;
8640 }
8641 return resultobj;
8642 fail:
8643 {
8644 if (temp6) delete arg6;
8645 }
8646 {
8647 if (temp9)
8648 delete arg9;
8649 }
8650 return NULL;
8651 }
8652
8653
8654 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj = NULL;
8656 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8657 int arg2 ;
8658 bool result;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj1 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "index", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8667 if (SWIG_arg_fail(1)) SWIG_fail;
8668 {
8669 arg2 = static_cast<int >(SWIG_As_int(obj1));
8670 if (SWIG_arg_fail(2)) SWIG_fail;
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (bool)(arg1)->IsChecked(arg2);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 {
8680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8681 }
8682 return resultobj;
8683 fail:
8684 return NULL;
8685 }
8686
8687
8688 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8689 PyObject *resultobj = NULL;
8690 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8691 int arg2 ;
8692 int arg3 = (int) true ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 PyObject * obj2 = 0 ;
8696 char *kwnames[] = {
8697 (char *) "self",(char *) "index",(char *) "check", NULL
8698 };
8699
8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8702 if (SWIG_arg_fail(1)) SWIG_fail;
8703 {
8704 arg2 = static_cast<int >(SWIG_As_int(obj1));
8705 if (SWIG_arg_fail(2)) SWIG_fail;
8706 }
8707 if (obj2) {
8708 {
8709 arg3 = static_cast<int >(SWIG_As_int(obj2));
8710 if (SWIG_arg_fail(3)) SWIG_fail;
8711 }
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->Check(arg2,arg3);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj = NULL;
8729 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8730 int result;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail;
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 result = (int)(arg1)->GetItemHeight();
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 {
8747 resultobj = SWIG_From_int(static_cast<int >(result));
8748 }
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj = NULL;
8757 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8758 wxPoint *arg2 = 0 ;
8759 int result;
8760 wxPoint temp2 ;
8761 PyObject * obj0 = 0 ;
8762 PyObject * obj1 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "pt", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail;
8770 {
8771 arg2 = &temp2;
8772 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 {
8782 resultobj = SWIG_From_int(static_cast<int >(result));
8783 }
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj = NULL;
8792 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8793 int arg2 ;
8794 int arg3 ;
8795 int result;
8796 PyObject * obj0 = 0 ;
8797 PyObject * obj1 = 0 ;
8798 PyObject * obj2 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "x",(char *) "y", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail;
8806 {
8807 arg2 = static_cast<int >(SWIG_As_int(obj1));
8808 if (SWIG_arg_fail(2)) SWIG_fail;
8809 }
8810 {
8811 arg3 = static_cast<int >(SWIG_As_int(obj2));
8812 if (SWIG_arg_fail(3)) SWIG_fail;
8813 }
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 {
8822 resultobj = SWIG_From_int(static_cast<int >(result));
8823 }
8824 return resultobj;
8825 fail:
8826 return NULL;
8827 }
8828
8829
8830 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8831 PyObject *obj;
8832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8834 Py_INCREF(obj);
8835 return Py_BuildValue((char *)"");
8836 }
8837 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8838 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8839 return 1;
8840 }
8841
8842
8843 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8844 PyObject *pyobj = NULL;
8845
8846 {
8847 #if wxUSE_UNICODE
8848 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8849 #else
8850 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8851 #endif
8852 }
8853 return pyobj;
8854 }
8855
8856
8857 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj = NULL;
8859 wxColour const &arg1_defvalue = wxNullColour ;
8860 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8861 wxColour const &arg2_defvalue = wxNullColour ;
8862 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8863 wxFont const &arg3_defvalue = wxNullFont ;
8864 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8865 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8866 wxTextAttr *result;
8867 wxColour temp1 ;
8868 wxColour temp2 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 PyObject * obj2 = 0 ;
8872 PyObject * obj3 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8878 if (obj0) {
8879 {
8880 arg1 = &temp1;
8881 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8882 }
8883 }
8884 if (obj1) {
8885 {
8886 arg2 = &temp2;
8887 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8888 }
8889 }
8890 if (obj2) {
8891 {
8892 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8893 if (SWIG_arg_fail(3)) SWIG_fail;
8894 if (arg3 == NULL) {
8895 SWIG_null_ref("wxFont");
8896 }
8897 if (SWIG_arg_fail(3)) SWIG_fail;
8898 }
8899 }
8900 if (obj3) {
8901 {
8902 arg4 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj3));
8903 if (SWIG_arg_fail(4)) SWIG_fail;
8904 }
8905 }
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj = NULL;
8922 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8923 PyObject * obj0 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail;
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 delete arg1;
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 Py_INCREF(Py_None); resultobj = Py_None;
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj = NULL;
8947 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8948 PyObject * obj0 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail;
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 (arg1)->Init();
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 Py_INCREF(Py_None); resultobj = Py_None;
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj = NULL;
8972 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8973 wxColour *arg2 = 0 ;
8974 wxColour temp2 ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "colText", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail;
8984 {
8985 arg2 = &temp2;
8986 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->SetTextColour((wxColour const &)*arg2);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 Py_INCREF(Py_None); resultobj = Py_None;
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj = NULL;
9004 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9005 wxColour *arg2 = 0 ;
9006 wxColour temp2 ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "colBack", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail;
9016 {
9017 arg2 = &temp2;
9018 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9019 }
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 Py_INCREF(Py_None); resultobj = Py_None;
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj = NULL;
9036 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9037 wxFont *arg2 = 0 ;
9038 long arg3 = (long) wxTEXT_ATTR_FONT ;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 PyObject * obj2 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self",(char *) "font",(char *) "flags", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
9047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9048 if (SWIG_arg_fail(1)) SWIG_fail;
9049 {
9050 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9051 if (SWIG_arg_fail(2)) SWIG_fail;
9052 if (arg2 == NULL) {
9053 SWIG_null_ref("wxFont");
9054 }
9055 if (SWIG_arg_fail(2)) SWIG_fail;
9056 }
9057 if (obj2) {
9058 {
9059 arg3 = static_cast<long >(SWIG_As_long(obj2));
9060 if (SWIG_arg_fail(3)) SWIG_fail;
9061 }
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 (arg1)->SetFont((wxFont const &)*arg2,arg3);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 Py_INCREF(Py_None); resultobj = Py_None;
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj = NULL;
9079 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9080 wxTextAttrAlignment arg2 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "alignment", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9089 if (SWIG_arg_fail(1)) SWIG_fail;
9090 {
9091 arg2 = static_cast<wxTextAttrAlignment >(SWIG_As_int(obj1));
9092 if (SWIG_arg_fail(2)) SWIG_fail;
9093 }
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 (arg1)->SetAlignment(arg2);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj = NULL;
9110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9111 wxArrayInt *arg2 = 0 ;
9112 bool temp2 = false ;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self",(char *) "tabs", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
9120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9121 if (SWIG_arg_fail(1)) SWIG_fail;
9122 {
9123 if (! PySequence_Check(obj1)) {
9124 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
9125 SWIG_fail;
9126 }
9127 arg2 = new wxArrayInt;
9128 temp2 = true;
9129 int i, len=PySequence_Length(obj1);
9130 for (i=0; i<len; i++) {
9131 PyObject* item = PySequence_GetItem(obj1, i);
9132 PyObject* number = PyNumber_Int(item);
9133 arg2->Add(PyInt_AS_LONG(number));
9134 Py_DECREF(item);
9135 Py_DECREF(number);
9136 }
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->SetTabs((wxArrayInt const &)*arg2);
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 Py_INCREF(Py_None); resultobj = Py_None;
9146 {
9147 if (temp2) delete arg2;
9148 }
9149 return resultobj;
9150 fail:
9151 {
9152 if (temp2) delete arg2;
9153 }
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj = NULL;
9160 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9161 int arg2 ;
9162 int arg3 = (int) 0 ;
9163 PyObject * obj0 = 0 ;
9164 PyObject * obj1 = 0 ;
9165 PyObject * obj2 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9172 if (SWIG_arg_fail(1)) SWIG_fail;
9173 {
9174 arg2 = static_cast<int >(SWIG_As_int(obj1));
9175 if (SWIG_arg_fail(2)) SWIG_fail;
9176 }
9177 if (obj2) {
9178 {
9179 arg3 = static_cast<int >(SWIG_As_int(obj2));
9180 if (SWIG_arg_fail(3)) SWIG_fail;
9181 }
9182 }
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 (arg1)->SetLeftIndent(arg2,arg3);
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 Py_INCREF(Py_None); resultobj = Py_None;
9191 return resultobj;
9192 fail:
9193 return NULL;
9194 }
9195
9196
9197 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj = NULL;
9199 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9200 int arg2 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "indent", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9209 if (SWIG_arg_fail(1)) SWIG_fail;
9210 {
9211 arg2 = static_cast<int >(SWIG_As_int(obj1));
9212 if (SWIG_arg_fail(2)) SWIG_fail;
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 (arg1)->SetRightIndent(arg2);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 Py_INCREF(Py_None); resultobj = Py_None;
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj = NULL;
9230 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9231 long arg2 ;
9232 PyObject * obj0 = 0 ;
9233 PyObject * obj1 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self",(char *) "flags", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail;
9241 {
9242 arg2 = static_cast<long >(SWIG_As_long(obj1));
9243 if (SWIG_arg_fail(2)) SWIG_fail;
9244 }
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 (arg1)->SetFlags(arg2);
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 Py_INCREF(Py_None); resultobj = Py_None;
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj = NULL;
9261 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9262 bool result;
9263 PyObject * obj0 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail;
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 {
9279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9280 }
9281 return resultobj;
9282 fail:
9283 return NULL;
9284 }
9285
9286
9287 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj = NULL;
9289 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9290 bool result;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9308 }
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj = NULL;
9317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9318 bool result;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail;
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 {
9335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9336 }
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj = NULL;
9345 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9346 bool result;
9347 PyObject * obj0 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self", NULL
9350 };
9351
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9354 if (SWIG_arg_fail(1)) SWIG_fail;
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 {
9363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9364 }
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj = NULL;
9373 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9374 bool result;
9375 PyObject * obj0 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9382 if (SWIG_arg_fail(1)) SWIG_fail;
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9386
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 {
9391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9392 }
9393 return resultobj;
9394 fail:
9395 return NULL;
9396 }
9397
9398
9399 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9400 PyObject *resultobj = NULL;
9401 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9402 bool result;
9403 PyObject * obj0 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "self", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 {
9419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9420 }
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj = NULL;
9429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9430 bool result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 {
9447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9448 }
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj = NULL;
9457 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9458 long arg2 ;
9459 bool result;
9460 PyObject * obj0 = 0 ;
9461 PyObject * obj1 = 0 ;
9462 char *kwnames[] = {
9463 (char *) "self",(char *) "flag", NULL
9464 };
9465
9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail;
9469 {
9470 arg2 = static_cast<long >(SWIG_As_long(obj1));
9471 if (SWIG_arg_fail(2)) SWIG_fail;
9472 }
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 {
9481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9482 }
9483 return resultobj;
9484 fail:
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj = NULL;
9491 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9492 wxColour *result;
9493 PyObject * obj0 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9500 if (SWIG_arg_fail(1)) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 {
9504 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9505 result = (wxColour *) &_result_ref;
9506 }
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj = NULL;
9520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9521 wxColour *result;
9522 PyObject * obj0 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "self", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9529 if (SWIG_arg_fail(1)) SWIG_fail;
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 {
9533 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9534 result = (wxColour *) &_result_ref;
9535 }
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj = NULL;
9549 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9550 wxFont *result;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9558 if (SWIG_arg_fail(1)) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 {
9562 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9563 result = (wxFont *) &_result_ref;
9564 }
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 {
9570 wxFont* resultptr = new wxFont(*result);
9571 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9572 }
9573 return resultobj;
9574 fail:
9575 return NULL;
9576 }
9577
9578
9579 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj = NULL;
9581 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9582 wxTextAttrAlignment result;
9583 PyObject * obj0 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = SWIG_From_int((result));
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj = NULL;
9607 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9608 wxArrayInt *result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9616 if (SWIG_arg_fail(1)) SWIG_fail;
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 {
9620 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9621 result = (wxArrayInt *) &_result_ref;
9622 }
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 {
9628 resultobj = PyList_New(0);
9629 size_t idx;
9630 for (idx = 0; idx < result->GetCount(); idx += 1) {
9631 PyObject* val = PyInt_FromLong( result->Item(idx) );
9632 PyList_Append(resultobj, val);
9633 Py_DECREF(val);
9634 }
9635 }
9636 return resultobj;
9637 fail:
9638 return NULL;
9639 }
9640
9641
9642 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9643 PyObject *resultobj = NULL;
9644 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9645 long result;
9646 PyObject * obj0 = 0 ;
9647 char *kwnames[] = {
9648 (char *) "self", NULL
9649 };
9650
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9653 if (SWIG_arg_fail(1)) SWIG_fail;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 {
9662 resultobj = SWIG_From_long(static_cast<long >(result));
9663 }
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj = NULL;
9672 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9673 long result;
9674 PyObject * obj0 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9681 if (SWIG_arg_fail(1)) SWIG_fail;
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 {
9690 resultobj = SWIG_From_long(static_cast<long >(result));
9691 }
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj = NULL;
9700 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9701 long result;
9702 PyObject * obj0 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9709 if (SWIG_arg_fail(1)) SWIG_fail;
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 {
9718 resultobj = SWIG_From_long(static_cast<long >(result));
9719 }
9720 return resultobj;
9721 fail:
9722 return NULL;
9723 }
9724
9725
9726 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj = NULL;
9728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9729 long result;
9730 PyObject * obj0 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9737 if (SWIG_arg_fail(1)) SWIG_fail;
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9741
9742 wxPyEndAllowThreads(__tstate);
9743 if (PyErr_Occurred()) SWIG_fail;
9744 }
9745 {
9746 resultobj = SWIG_From_long(static_cast<long >(result));
9747 }
9748 return resultobj;
9749 fail:
9750 return NULL;
9751 }
9752
9753
9754 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj = NULL;
9756 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9757 bool result;
9758 PyObject * obj0 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9765 if (SWIG_arg_fail(1)) SWIG_fail;
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 {
9774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9775 }
9776 return resultobj;
9777 fail:
9778 return NULL;
9779 }
9780
9781
9782 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj = NULL;
9784 wxTextAttr *arg1 = 0 ;
9785 wxTextAttr *arg2 = 0 ;
9786 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9787 wxTextAttr result;
9788 PyObject * obj0 = 0 ;
9789 PyObject * obj1 = 0 ;
9790 PyObject * obj2 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9796 {
9797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail;
9799 if (arg1 == NULL) {
9800 SWIG_null_ref("wxTextAttr");
9801 }
9802 if (SWIG_arg_fail(1)) SWIG_fail;
9803 }
9804 {
9805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9806 if (SWIG_arg_fail(2)) SWIG_fail;
9807 if (arg2 == NULL) {
9808 SWIG_null_ref("wxTextAttr");
9809 }
9810 if (SWIG_arg_fail(2)) SWIG_fail;
9811 }
9812 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9813 if (SWIG_arg_fail(3)) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 {
9822 wxTextAttr * resultptr;
9823 resultptr = new wxTextAttr(static_cast<wxTextAttr & >(result));
9824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9825 }
9826 return resultobj;
9827 fail:
9828 return NULL;
9829 }
9830
9831
9832 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9833 PyObject *obj;
9834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9835 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9836 Py_INCREF(obj);
9837 return Py_BuildValue((char *)"");
9838 }
9839 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj = NULL;
9841 wxWindow *arg1 = (wxWindow *) 0 ;
9842 int arg2 = (int) -1 ;
9843 wxString const &arg3_defvalue = wxPyEmptyString ;
9844 wxString *arg3 = (wxString *) &arg3_defvalue ;
9845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9847 wxSize const &arg5_defvalue = wxDefaultSize ;
9848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9849 long arg6 = (long) 0 ;
9850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9852 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9853 wxString *arg8 = (wxString *) &arg8_defvalue ;
9854 wxTextCtrl *result;
9855 bool temp3 = false ;
9856 wxPoint temp4 ;
9857 wxSize temp5 ;
9858 bool temp8 = false ;
9859 PyObject * obj0 = 0 ;
9860 PyObject * obj1 = 0 ;
9861 PyObject * obj2 = 0 ;
9862 PyObject * obj3 = 0 ;
9863 PyObject * obj4 = 0 ;
9864 PyObject * obj5 = 0 ;
9865 PyObject * obj6 = 0 ;
9866 PyObject * obj7 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail;
9874 if (obj1) {
9875 {
9876 arg2 = static_cast<int >(SWIG_As_int(obj1));
9877 if (SWIG_arg_fail(2)) SWIG_fail;
9878 }
9879 }
9880 if (obj2) {
9881 {
9882 arg3 = wxString_in_helper(obj2);
9883 if (arg3 == NULL) SWIG_fail;
9884 temp3 = true;
9885 }
9886 }
9887 if (obj3) {
9888 {
9889 arg4 = &temp4;
9890 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9891 }
9892 }
9893 if (obj4) {
9894 {
9895 arg5 = &temp5;
9896 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9897 }
9898 }
9899 if (obj5) {
9900 {
9901 arg6 = static_cast<long >(SWIG_As_long(obj5));
9902 if (SWIG_arg_fail(6)) SWIG_fail;
9903 }
9904 }
9905 if (obj6) {
9906 {
9907 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9908 if (SWIG_arg_fail(7)) SWIG_fail;
9909 if (arg7 == NULL) {
9910 SWIG_null_ref("wxValidator");
9911 }
9912 if (SWIG_arg_fail(7)) SWIG_fail;
9913 }
9914 }
9915 if (obj7) {
9916 {
9917 arg8 = wxString_in_helper(obj7);
9918 if (arg8 == NULL) SWIG_fail;
9919 temp8 = true;
9920 }
9921 }
9922 {
9923 if (!wxPyCheckForApp()) SWIG_fail;
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9931 {
9932 if (temp3)
9933 delete arg3;
9934 }
9935 {
9936 if (temp8)
9937 delete arg8;
9938 }
9939 return resultobj;
9940 fail:
9941 {
9942 if (temp3)
9943 delete arg3;
9944 }
9945 {
9946 if (temp8)
9947 delete arg8;
9948 }
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj = NULL;
9955 wxTextCtrl *result;
9956 char *kwnames[] = {
9957 NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9961 {
9962 if (!wxPyCheckForApp()) SWIG_fail;
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (wxTextCtrl *)new wxTextCtrl();
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj = NULL;
9978 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9979 wxWindow *arg2 = (wxWindow *) 0 ;
9980 int arg3 = (int) -1 ;
9981 wxString const &arg4_defvalue = wxPyEmptyString ;
9982 wxString *arg4 = (wxString *) &arg4_defvalue ;
9983 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9984 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9985 wxSize const &arg6_defvalue = wxDefaultSize ;
9986 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9987 long arg7 = (long) 0 ;
9988 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9989 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9990 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9991 wxString *arg9 = (wxString *) &arg9_defvalue ;
9992 bool result;
9993 bool temp4 = false ;
9994 wxPoint temp5 ;
9995 wxSize temp6 ;
9996 bool temp9 = false ;
9997 PyObject * obj0 = 0 ;
9998 PyObject * obj1 = 0 ;
9999 PyObject * obj2 = 0 ;
10000 PyObject * obj3 = 0 ;
10001 PyObject * obj4 = 0 ;
10002 PyObject * obj5 = 0 ;
10003 PyObject * obj6 = 0 ;
10004 PyObject * obj7 = 0 ;
10005 PyObject * obj8 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
10011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail;
10013 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10014 if (SWIG_arg_fail(2)) SWIG_fail;
10015 if (obj2) {
10016 {
10017 arg3 = static_cast<int >(SWIG_As_int(obj2));
10018 if (SWIG_arg_fail(3)) SWIG_fail;
10019 }
10020 }
10021 if (obj3) {
10022 {
10023 arg4 = wxString_in_helper(obj3);
10024 if (arg4 == NULL) SWIG_fail;
10025 temp4 = true;
10026 }
10027 }
10028 if (obj4) {
10029 {
10030 arg5 = &temp5;
10031 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10032 }
10033 }
10034 if (obj5) {
10035 {
10036 arg6 = &temp6;
10037 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10038 }
10039 }
10040 if (obj6) {
10041 {
10042 arg7 = static_cast<long >(SWIG_As_long(obj6));
10043 if (SWIG_arg_fail(7)) SWIG_fail;
10044 }
10045 }
10046 if (obj7) {
10047 {
10048 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
10049 if (SWIG_arg_fail(8)) SWIG_fail;
10050 if (arg8 == NULL) {
10051 SWIG_null_ref("wxValidator");
10052 }
10053 if (SWIG_arg_fail(8)) SWIG_fail;
10054 }
10055 }
10056 if (obj8) {
10057 {
10058 arg9 = wxString_in_helper(obj8);
10059 if (arg9 == NULL) SWIG_fail;
10060 temp9 = true;
10061 }
10062 }
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 {
10071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10072 }
10073 {
10074 if (temp4)
10075 delete arg4;
10076 }
10077 {
10078 if (temp9)
10079 delete arg9;
10080 }
10081 return resultobj;
10082 fail:
10083 {
10084 if (temp4)
10085 delete arg4;
10086 }
10087 {
10088 if (temp9)
10089 delete arg9;
10090 }
10091 return NULL;
10092 }
10093
10094
10095 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10096 PyObject *resultobj = NULL;
10097 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10098 wxString result;
10099 PyObject * obj0 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "self", NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
10105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail;
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 result = ((wxTextCtrl const *)arg1)->GetValue();
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 {
10115 #if wxUSE_UNICODE
10116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10117 #else
10118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10119 #endif
10120 }
10121 return resultobj;
10122 fail:
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj = NULL;
10129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10130 wxString *arg2 = 0 ;
10131 bool temp2 = false ;
10132 PyObject * obj0 = 0 ;
10133 PyObject * obj1 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self",(char *) "value", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10140 if (SWIG_arg_fail(1)) SWIG_fail;
10141 {
10142 arg2 = wxString_in_helper(obj1);
10143 if (arg2 == NULL) SWIG_fail;
10144 temp2 = true;
10145 }
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 (arg1)->SetValue((wxString const &)*arg2);
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 Py_INCREF(Py_None); resultobj = Py_None;
10154 {
10155 if (temp2)
10156 delete arg2;
10157 }
10158 return resultobj;
10159 fail:
10160 {
10161 if (temp2)
10162 delete arg2;
10163 }
10164 return NULL;
10165 }
10166
10167
10168 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj = NULL;
10170 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10171 long arg2 ;
10172 long arg3 ;
10173 wxString result;
10174 PyObject * obj0 = 0 ;
10175 PyObject * obj1 = 0 ;
10176 PyObject * obj2 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self",(char *) "from",(char *) "to", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10183 if (SWIG_arg_fail(1)) SWIG_fail;
10184 {
10185 arg2 = static_cast<long >(SWIG_As_long(obj1));
10186 if (SWIG_arg_fail(2)) SWIG_fail;
10187 }
10188 {
10189 arg3 = static_cast<long >(SWIG_As_long(obj2));
10190 if (SWIG_arg_fail(3)) SWIG_fail;
10191 }
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10195
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 {
10200 #if wxUSE_UNICODE
10201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10202 #else
10203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10204 #endif
10205 }
10206 return resultobj;
10207 fail:
10208 return NULL;
10209 }
10210
10211
10212 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj = NULL;
10214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10215 long arg2 ;
10216 int result;
10217 PyObject * obj0 = 0 ;
10218 PyObject * obj1 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self",(char *) "lineNo", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail;
10226 {
10227 arg2 = static_cast<long >(SWIG_As_long(obj1));
10228 if (SWIG_arg_fail(2)) SWIG_fail;
10229 }
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 {
10238 resultobj = SWIG_From_int(static_cast<int >(result));
10239 }
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj = NULL;
10248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10249 long arg2 ;
10250 wxString result;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self",(char *) "lineNo", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail;
10260 {
10261 arg2 = static_cast<long >(SWIG_As_long(obj1));
10262 if (SWIG_arg_fail(2)) SWIG_fail;
10263 }
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 {
10272 #if wxUSE_UNICODE
10273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10274 #else
10275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10276 #endif
10277 }
10278 return resultobj;
10279 fail:
10280 return NULL;
10281 }
10282
10283
10284 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj = NULL;
10286 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10287 int result;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10295 if (SWIG_arg_fail(1)) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 {
10304 resultobj = SWIG_From_int(static_cast<int >(result));
10305 }
10306 return resultobj;
10307 fail:
10308 return NULL;
10309 }
10310
10311
10312 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10313 PyObject *resultobj = NULL;
10314 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10315 bool result;
10316 PyObject * obj0 = 0 ;
10317 char *kwnames[] = {
10318 (char *) "self", NULL
10319 };
10320
10321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10323 if (SWIG_arg_fail(1)) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 {
10332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10333 }
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj = NULL;
10342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10343 bool result;
10344 PyObject * obj0 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail;
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 {
10360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10361 }
10362 return resultobj;
10363 fail:
10364 return NULL;
10365 }
10366
10367
10368 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10369 PyObject *resultobj = NULL;
10370 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10371 bool result;
10372 PyObject * obj0 = 0 ;
10373 char *kwnames[] = {
10374 (char *) "self", NULL
10375 };
10376
10377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10379 if (SWIG_arg_fail(1)) SWIG_fail;
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 {
10388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10389 }
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj = NULL;
10398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10399 bool result;
10400 PyObject * obj0 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail;
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 {
10416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10417 }
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj = NULL;
10426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10427 long *arg2 = (long *) 0 ;
10428 long *arg3 = (long *) 0 ;
10429 long temp2 ;
10430 int res2 = 0 ;
10431 long temp3 ;
10432 int res3 = 0 ;
10433 PyObject * obj0 = 0 ;
10434 char *kwnames[] = {
10435 (char *) "self", NULL
10436 };
10437
10438 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10439 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10442 if (SWIG_arg_fail(1)) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 Py_INCREF(Py_None); resultobj = Py_None;
10451 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10452 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10453 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10454 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj = NULL;
10463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10464 wxString result;
10465 PyObject * obj0 = 0 ;
10466 char *kwnames[] = {
10467 (char *) "self", NULL
10468 };
10469
10470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10472 if (SWIG_arg_fail(1)) SWIG_fail;
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 {
10481 #if wxUSE_UNICODE
10482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10483 #else
10484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10485 #endif
10486 }
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj = NULL;
10495 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10496 PyObject * obj0 = 0 ;
10497 char *kwnames[] = {
10498 (char *) "self", NULL
10499 };
10500
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10503 if (SWIG_arg_fail(1)) SWIG_fail;
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->Clear();
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 Py_INCREF(Py_None); resultobj = Py_None;
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj = NULL;
10520 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10521 long arg2 ;
10522 long arg3 ;
10523 wxString *arg4 = 0 ;
10524 bool temp4 = false ;
10525 PyObject * obj0 = 0 ;
10526 PyObject * obj1 = 0 ;
10527 PyObject * obj2 = 0 ;
10528 PyObject * obj3 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail;
10536 {
10537 arg2 = static_cast<long >(SWIG_As_long(obj1));
10538 if (SWIG_arg_fail(2)) SWIG_fail;
10539 }
10540 {
10541 arg3 = static_cast<long >(SWIG_As_long(obj2));
10542 if (SWIG_arg_fail(3)) SWIG_fail;
10543 }
10544 {
10545 arg4 = wxString_in_helper(obj3);
10546 if (arg4 == NULL) SWIG_fail;
10547 temp4 = true;
10548 }
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 {
10558 if (temp4)
10559 delete arg4;
10560 }
10561 return resultobj;
10562 fail:
10563 {
10564 if (temp4)
10565 delete arg4;
10566 }
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj = NULL;
10573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10574 long arg2 ;
10575 long arg3 ;
10576 PyObject * obj0 = 0 ;
10577 PyObject * obj1 = 0 ;
10578 PyObject * obj2 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "from",(char *) "to", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10585 if (SWIG_arg_fail(1)) SWIG_fail;
10586 {
10587 arg2 = static_cast<long >(SWIG_As_long(obj1));
10588 if (SWIG_arg_fail(2)) SWIG_fail;
10589 }
10590 {
10591 arg3 = static_cast<long >(SWIG_As_long(obj2));
10592 if (SWIG_arg_fail(3)) SWIG_fail;
10593 }
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 (arg1)->Remove(arg2,arg3);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 Py_INCREF(Py_None); resultobj = Py_None;
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj = NULL;
10610 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10611 wxString *arg2 = 0 ;
10612 bool result;
10613 bool temp2 = false ;
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self",(char *) "file", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10622 if (SWIG_arg_fail(1)) SWIG_fail;
10623 {
10624 arg2 = wxString_in_helper(obj1);
10625 if (arg2 == NULL) SWIG_fail;
10626 temp2 = true;
10627 }
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 {
10636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10637 }
10638 {
10639 if (temp2)
10640 delete arg2;
10641 }
10642 return resultobj;
10643 fail:
10644 {
10645 if (temp2)
10646 delete arg2;
10647 }
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj = NULL;
10654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10655 wxString const &arg2_defvalue = wxPyEmptyString ;
10656 wxString *arg2 = (wxString *) &arg2_defvalue ;
10657 bool result;
10658 bool temp2 = false ;
10659 PyObject * obj0 = 0 ;
10660 PyObject * obj1 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "self",(char *) "file", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10667 if (SWIG_arg_fail(1)) SWIG_fail;
10668 if (obj1) {
10669 {
10670 arg2 = wxString_in_helper(obj1);
10671 if (arg2 == NULL) SWIG_fail;
10672 temp2 = true;
10673 }
10674 }
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 {
10683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10684 }
10685 {
10686 if (temp2)
10687 delete arg2;
10688 }
10689 return resultobj;
10690 fail:
10691 {
10692 if (temp2)
10693 delete arg2;
10694 }
10695 return NULL;
10696 }
10697
10698
10699 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj = NULL;
10701 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->MarkDirty();
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721 }
10722
10723
10724 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj = NULL;
10726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10727 PyObject * obj0 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail;
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 (arg1)->DiscardEdits();
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 Py_INCREF(Py_None); resultobj = Py_None;
10743 return resultobj;
10744 fail:
10745 return NULL;
10746 }
10747
10748
10749 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10750 PyObject *resultobj = NULL;
10751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10752 unsigned long arg2 ;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self",(char *) "len", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10761 if (SWIG_arg_fail(1)) SWIG_fail;
10762 {
10763 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
10764 if (SWIG_arg_fail(2)) SWIG_fail;
10765 }
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 (arg1)->SetMaxLength(arg2);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 Py_INCREF(Py_None); resultobj = Py_None;
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj = NULL;
10782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10783 wxString *arg2 = 0 ;
10784 bool temp2 = false ;
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "text", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail;
10794 {
10795 arg2 = wxString_in_helper(obj1);
10796 if (arg2 == NULL) SWIG_fail;
10797 temp2 = true;
10798 }
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 (arg1)->WriteText((wxString const &)*arg2);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 Py_INCREF(Py_None); resultobj = Py_None;
10807 {
10808 if (temp2)
10809 delete arg2;
10810 }
10811 return resultobj;
10812 fail:
10813 {
10814 if (temp2)
10815 delete arg2;
10816 }
10817 return NULL;
10818 }
10819
10820
10821 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10822 PyObject *resultobj = NULL;
10823 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10824 wxString *arg2 = 0 ;
10825 bool temp2 = false ;
10826 PyObject * obj0 = 0 ;
10827 PyObject * obj1 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self",(char *) "text", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail;
10835 {
10836 arg2 = wxString_in_helper(obj1);
10837 if (arg2 == NULL) SWIG_fail;
10838 temp2 = true;
10839 }
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 (arg1)->AppendText((wxString const &)*arg2);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 Py_INCREF(Py_None); resultobj = Py_None;
10848 {
10849 if (temp2)
10850 delete arg2;
10851 }
10852 return resultobj;
10853 fail:
10854 {
10855 if (temp2)
10856 delete arg2;
10857 }
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj = NULL;
10864 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10865 wxKeyEvent *arg2 = 0 ;
10866 bool result;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 char *kwnames[] = {
10870 (char *) "self",(char *) "event", NULL
10871 };
10872
10873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail;
10876 {
10877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10878 if (SWIG_arg_fail(2)) SWIG_fail;
10879 if (arg2 == NULL) {
10880 SWIG_null_ref("wxKeyEvent");
10881 }
10882 if (SWIG_arg_fail(2)) SWIG_fail;
10883 }
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10887
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 {
10892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10893 }
10894 return resultobj;
10895 fail:
10896 return NULL;
10897 }
10898
10899
10900 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10901 PyObject *resultobj = NULL;
10902 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10903 long arg2 ;
10904 long arg3 ;
10905 wxTextAttr *arg4 = 0 ;
10906 bool result;
10907 PyObject * obj0 = 0 ;
10908 PyObject * obj1 = 0 ;
10909 PyObject * obj2 = 0 ;
10910 PyObject * obj3 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10917 if (SWIG_arg_fail(1)) SWIG_fail;
10918 {
10919 arg2 = static_cast<long >(SWIG_As_long(obj1));
10920 if (SWIG_arg_fail(2)) SWIG_fail;
10921 }
10922 {
10923 arg3 = static_cast<long >(SWIG_As_long(obj2));
10924 if (SWIG_arg_fail(3)) SWIG_fail;
10925 }
10926 {
10927 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10928 if (SWIG_arg_fail(4)) SWIG_fail;
10929 if (arg4 == NULL) {
10930 SWIG_null_ref("wxTextAttr");
10931 }
10932 if (SWIG_arg_fail(4)) SWIG_fail;
10933 }
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 {
10942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10943 }
10944 return resultobj;
10945 fail:
10946 return NULL;
10947 }
10948
10949
10950 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj = NULL;
10952 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10953 long arg2 ;
10954 wxTextAttr *arg3 = 0 ;
10955 bool result;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 PyObject * obj2 = 0 ;
10959 char *kwnames[] = {
10960 (char *) "self",(char *) "position",(char *) "style", NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10965 if (SWIG_arg_fail(1)) SWIG_fail;
10966 {
10967 arg2 = static_cast<long >(SWIG_As_long(obj1));
10968 if (SWIG_arg_fail(2)) SWIG_fail;
10969 }
10970 {
10971 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10972 if (SWIG_arg_fail(3)) SWIG_fail;
10973 if (arg3 == NULL) {
10974 SWIG_null_ref("wxTextAttr");
10975 }
10976 if (SWIG_arg_fail(3)) SWIG_fail;
10977 }
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 {
10986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10987 }
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj = NULL;
10996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10997 wxTextAttr *arg2 = 0 ;
10998 bool result;
10999 PyObject * obj0 = 0 ;
11000 PyObject * obj1 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self",(char *) "style", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
11006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11007 if (SWIG_arg_fail(1)) SWIG_fail;
11008 {
11009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
11010 if (SWIG_arg_fail(2)) SWIG_fail;
11011 if (arg2 == NULL) {
11012 SWIG_null_ref("wxTextAttr");
11013 }
11014 if (SWIG_arg_fail(2)) SWIG_fail;
11015 }
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 {
11024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11025 }
11026 return resultobj;
11027 fail:
11028 return NULL;
11029 }
11030
11031
11032 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj = NULL;
11034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11035 wxTextAttr *result;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
11042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail;
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 {
11047 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
11048 result = (wxTextAttr *) &_result_ref;
11049 }
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj = NULL;
11063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11064 long arg2 ;
11065 long arg3 ;
11066 long result;
11067 PyObject * obj0 = 0 ;
11068 PyObject * obj1 = 0 ;
11069 PyObject * obj2 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "self",(char *) "x",(char *) "y", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
11075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail;
11077 {
11078 arg2 = static_cast<long >(SWIG_As_long(obj1));
11079 if (SWIG_arg_fail(2)) SWIG_fail;
11080 }
11081 {
11082 arg3 = static_cast<long >(SWIG_As_long(obj2));
11083 if (SWIG_arg_fail(3)) SWIG_fail;
11084 }
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 {
11093 resultobj = SWIG_From_long(static_cast<long >(result));
11094 }
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj = NULL;
11103 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11104 long arg2 ;
11105 long *arg3 = (long *) 0 ;
11106 long *arg4 = (long *) 0 ;
11107 long temp3 ;
11108 int res3 = 0 ;
11109 long temp4 ;
11110 int res4 = 0 ;
11111 PyObject * obj0 = 0 ;
11112 PyObject * obj1 = 0 ;
11113 char *kwnames[] = {
11114 (char *) "self",(char *) "pos", NULL
11115 };
11116
11117 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11118 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
11120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail;
11122 {
11123 arg2 = static_cast<long >(SWIG_As_long(obj1));
11124 if (SWIG_arg_fail(2)) SWIG_fail;
11125 }
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 Py_INCREF(Py_None); resultobj = Py_None;
11134 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11135 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11136 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11137 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11138 return resultobj;
11139 fail:
11140 return NULL;
11141 }
11142
11143
11144 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj = NULL;
11146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11147 long arg2 ;
11148 PyObject * obj0 = 0 ;
11149 PyObject * obj1 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self",(char *) "pos", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
11155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail;
11157 {
11158 arg2 = static_cast<long >(SWIG_As_long(obj1));
11159 if (SWIG_arg_fail(2)) SWIG_fail;
11160 }
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 (arg1)->ShowPosition(arg2);
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj = NULL;
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 wxPoint *arg2 = 0 ;
11179 long *arg3 = (long *) 0 ;
11180 long *arg4 = (long *) 0 ;
11181 wxTextCtrlHitTestResult result;
11182 wxPoint temp2 ;
11183 long temp3 ;
11184 int res3 = 0 ;
11185 long temp4 ;
11186 int res4 = 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self",(char *) "pt", NULL
11191 };
11192
11193 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11194 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail;
11198 {
11199 arg2 = &temp2;
11200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11201 }
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 resultobj = SWIG_From_int((result));
11210 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11211 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11212 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11213 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj = NULL;
11222 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11223 wxPoint *arg2 = 0 ;
11224 long *arg3 = (long *) 0 ;
11225 wxTextCtrlHitTestResult result;
11226 wxPoint temp2 ;
11227 long temp3 ;
11228 int res3 = 0 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 char *kwnames[] = {
11232 (char *) "self",(char *) "pt", NULL
11233 };
11234
11235 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail;
11239 {
11240 arg2 = &temp2;
11241 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 resultobj = SWIG_From_int((result));
11251 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11252 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj = NULL;
11261 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11262 PyObject * obj0 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self", NULL
11265 };
11266
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail;
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 (arg1)->Copy();
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 Py_INCREF(Py_None); resultobj = Py_None;
11278 return resultobj;
11279 fail:
11280 return NULL;
11281 }
11282
11283
11284 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11285 PyObject *resultobj = NULL;
11286 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11287 PyObject * obj0 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail;
11295 {
11296 PyThreadState* __tstate = wxPyBeginAllowThreads();
11297 (arg1)->Cut();
11298
11299 wxPyEndAllowThreads(__tstate);
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 Py_INCREF(Py_None); resultobj = Py_None;
11303 return resultobj;
11304 fail:
11305 return NULL;
11306 }
11307
11308
11309 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj = NULL;
11311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11312 PyObject * obj0 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail;
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 (arg1)->Paste();
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj = NULL;
11336 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11337 bool result;
11338 PyObject * obj0 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 {
11354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11355 }
11356 return resultobj;
11357 fail:
11358 return NULL;
11359 }
11360
11361
11362 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj = NULL;
11364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11365 bool result;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 {
11382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11383 }
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj = NULL;
11392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11393 bool result;
11394 PyObject * obj0 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail;
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 {
11410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11411 }
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj = NULL;
11420 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11421 PyObject * obj0 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 (arg1)->Undo();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 Py_INCREF(Py_None); resultobj = Py_None;
11437 return resultobj;
11438 fail:
11439 return NULL;
11440 }
11441
11442
11443 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj = NULL;
11445 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11446 PyObject * obj0 = 0 ;
11447 char *kwnames[] = {
11448 (char *) "self", NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail;
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 (arg1)->Redo();
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 Py_INCREF(Py_None); resultobj = Py_None;
11462 return resultobj;
11463 fail:
11464 return NULL;
11465 }
11466
11467
11468 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj = NULL;
11470 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11471 bool result;
11472 PyObject * obj0 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11479 if (SWIG_arg_fail(1)) SWIG_fail;
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 {
11488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11489 }
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj = NULL;
11498 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11499 bool result;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 {
11516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11517 }
11518 return resultobj;
11519 fail:
11520 return NULL;
11521 }
11522
11523
11524 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj = NULL;
11526 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11527 long arg2 ;
11528 PyObject * obj0 = 0 ;
11529 PyObject * obj1 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self",(char *) "pos", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail;
11537 {
11538 arg2 = static_cast<long >(SWIG_As_long(obj1));
11539 if (SWIG_arg_fail(2)) SWIG_fail;
11540 }
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 (arg1)->SetInsertionPoint(arg2);
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 Py_INCREF(Py_None); resultobj = Py_None;
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj = NULL;
11557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11558 PyObject * obj0 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail;
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 (arg1)->SetInsertionPointEnd();
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 Py_INCREF(Py_None); resultobj = Py_None;
11574 return resultobj;
11575 fail:
11576 return NULL;
11577 }
11578
11579
11580 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj = NULL;
11582 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11583 long result;
11584 PyObject * obj0 = 0 ;
11585 char *kwnames[] = {
11586 (char *) "self", NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail;
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 resultobj = SWIG_From_long(static_cast<long >(result));
11601 }
11602 return resultobj;
11603 fail:
11604 return NULL;
11605 }
11606
11607
11608 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11609 PyObject *resultobj = NULL;
11610 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11611 long result;
11612 PyObject * obj0 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "self", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11619 if (SWIG_arg_fail(1)) SWIG_fail;
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 {
11628 resultobj = SWIG_From_long(static_cast<long >(result));
11629 }
11630 return resultobj;
11631 fail:
11632 return NULL;
11633 }
11634
11635
11636 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj = NULL;
11638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11639 long arg2 ;
11640 long arg3 ;
11641 PyObject * obj0 = 0 ;
11642 PyObject * obj1 = 0 ;
11643 PyObject * obj2 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self",(char *) "from",(char *) "to", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11650 if (SWIG_arg_fail(1)) SWIG_fail;
11651 {
11652 arg2 = static_cast<long >(SWIG_As_long(obj1));
11653 if (SWIG_arg_fail(2)) SWIG_fail;
11654 }
11655 {
11656 arg3 = static_cast<long >(SWIG_As_long(obj2));
11657 if (SWIG_arg_fail(3)) SWIG_fail;
11658 }
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 (arg1)->SetSelection(arg2,arg3);
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 Py_INCREF(Py_None); resultobj = Py_None;
11667 return resultobj;
11668 fail:
11669 return NULL;
11670 }
11671
11672
11673 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj = NULL;
11675 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11676 PyObject * obj0 = 0 ;
11677 char *kwnames[] = {
11678 (char *) "self", NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11683 if (SWIG_arg_fail(1)) SWIG_fail;
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 (arg1)->SelectAll();
11687
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 Py_INCREF(Py_None); resultobj = Py_None;
11692 return resultobj;
11693 fail:
11694 return NULL;
11695 }
11696
11697
11698 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11699 PyObject *resultobj = NULL;
11700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11701 bool arg2 ;
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self",(char *) "editable", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11710 if (SWIG_arg_fail(1)) SWIG_fail;
11711 {
11712 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11713 if (SWIG_arg_fail(2)) SWIG_fail;
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 (arg1)->SetEditable(arg2);
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 Py_INCREF(Py_None); resultobj = Py_None;
11723 return resultobj;
11724 fail:
11725 return NULL;
11726 }
11727
11728
11729 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj = NULL;
11731 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11732 bool arg2 = (bool) true ;
11733 bool result;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self",(char *) "show", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
11741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11742 if (SWIG_arg_fail(1)) SWIG_fail;
11743 if (obj1) {
11744 {
11745 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
11746 if (SWIG_arg_fail(2)) SWIG_fail;
11747 }
11748 }
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 result = (bool)(arg1)->ShowNativeCaret(arg2);
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 {
11757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11758 }
11759 return resultobj;
11760 fail:
11761 return NULL;
11762 }
11763
11764
11765 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11766 PyObject *resultobj = NULL;
11767 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11768 bool result;
11769 PyObject * obj0 = 0 ;
11770 char *kwnames[] = {
11771 (char *) "self", NULL
11772 };
11773
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
11775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11776 if (SWIG_arg_fail(1)) SWIG_fail;
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 result = (bool)(arg1)->HideNativeCaret();
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 {
11785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11786 }
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj = NULL;
11795 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11796 wxString *arg2 = 0 ;
11797 bool temp2 = false ;
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "self",(char *) "text", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail;
11807 {
11808 arg2 = wxString_in_helper(obj1);
11809 if (arg2 == NULL) SWIG_fail;
11810 temp2 = true;
11811 }
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11815
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 Py_INCREF(Py_None); resultobj = Py_None;
11820 {
11821 if (temp2)
11822 delete arg2;
11823 }
11824 return resultobj;
11825 fail:
11826 {
11827 if (temp2)
11828 delete arg2;
11829 }
11830 return NULL;
11831 }
11832
11833
11834 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj = NULL;
11836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11837 long arg2 ;
11838 long arg3 ;
11839 wxString result;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 PyObject * obj2 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "self",(char *) "from",(char *) "to", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11849 if (SWIG_arg_fail(1)) SWIG_fail;
11850 {
11851 arg2 = static_cast<long >(SWIG_As_long(obj1));
11852 if (SWIG_arg_fail(2)) SWIG_fail;
11853 }
11854 {
11855 arg3 = static_cast<long >(SWIG_As_long(obj2));
11856 if (SWIG_arg_fail(3)) SWIG_fail;
11857 }
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11861
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 {
11866 #if wxUSE_UNICODE
11867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11868 #else
11869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11870 #endif
11871 }
11872 return resultobj;
11873 fail:
11874 return NULL;
11875 }
11876
11877
11878 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11879 PyObject *resultobj = NULL;
11880 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11881 wxVisualAttributes result;
11882 PyObject * obj0 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "variant", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11888 if (obj0) {
11889 {
11890 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
11891 if (SWIG_arg_fail(1)) SWIG_fail;
11892 }
11893 }
11894 {
11895 if (!wxPyCheckForApp()) SWIG_fail;
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 {
11903 wxVisualAttributes * resultptr;
11904 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
11905 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11906 }
11907 return resultobj;
11908 fail:
11909 return NULL;
11910 }
11911
11912
11913 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11914 PyObject *obj;
11915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11916 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11917 Py_INCREF(obj);
11918 return Py_BuildValue((char *)"");
11919 }
11920 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj = NULL;
11922 int arg1 ;
11923 wxMouseEvent *arg2 = 0 ;
11924 long arg3 ;
11925 long arg4 ;
11926 wxTextUrlEvent *result;
11927 PyObject * obj0 = 0 ;
11928 PyObject * obj1 = 0 ;
11929 PyObject * obj2 = 0 ;
11930 PyObject * obj3 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11936 {
11937 arg1 = static_cast<int >(SWIG_As_int(obj0));
11938 if (SWIG_arg_fail(1)) SWIG_fail;
11939 }
11940 {
11941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11942 if (SWIG_arg_fail(2)) SWIG_fail;
11943 if (arg2 == NULL) {
11944 SWIG_null_ref("wxMouseEvent");
11945 }
11946 if (SWIG_arg_fail(2)) SWIG_fail;
11947 }
11948 {
11949 arg3 = static_cast<long >(SWIG_As_long(obj2));
11950 if (SWIG_arg_fail(3)) SWIG_fail;
11951 }
11952 {
11953 arg4 = static_cast<long >(SWIG_As_long(obj3));
11954 if (SWIG_arg_fail(4)) SWIG_fail;
11955 }
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11959
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 }
11963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11964 return resultobj;
11965 fail:
11966 return NULL;
11967 }
11968
11969
11970 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj = NULL;
11972 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11973 wxMouseEvent *result;
11974 PyObject * obj0 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11981 if (SWIG_arg_fail(1)) SWIG_fail;
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 {
11985 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11986 result = (wxMouseEvent *) &_result_ref;
11987 }
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11993 return resultobj;
11994 fail:
11995 return NULL;
11996 }
11997
11998
11999 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj = NULL;
12001 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12002 long result;
12003 PyObject * obj0 = 0 ;
12004 char *kwnames[] = {
12005 (char *) "self", NULL
12006 };
12007
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
12009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12010 if (SWIG_arg_fail(1)) SWIG_fail;
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
12014
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 {
12019 resultobj = SWIG_From_long(static_cast<long >(result));
12020 }
12021 return resultobj;
12022 fail:
12023 return NULL;
12024 }
12025
12026
12027 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj = NULL;
12029 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
12030 long result;
12031 PyObject * obj0 = 0 ;
12032 char *kwnames[] = {
12033 (char *) "self", NULL
12034 };
12035
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
12037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail;
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 {
12047 resultobj = SWIG_From_long(static_cast<long >(result));
12048 }
12049 return resultobj;
12050 fail:
12051 return NULL;
12052 }
12053
12054
12055 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
12056 PyObject *obj;
12057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12058 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
12059 Py_INCREF(obj);
12060 return Py_BuildValue((char *)"");
12061 }
12062 static int _wrap_ScrollBarNameStr_set(PyObject *) {
12063 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
12064 return 1;
12065 }
12066
12067
12068 static PyObject *_wrap_ScrollBarNameStr_get(void) {
12069 PyObject *pyobj = NULL;
12070
12071 {
12072 #if wxUSE_UNICODE
12073 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12074 #else
12075 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
12076 #endif
12077 }
12078 return pyobj;
12079 }
12080
12081
12082 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj = NULL;
12084 wxWindow *arg1 = (wxWindow *) 0 ;
12085 int arg2 = (int) -1 ;
12086 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12087 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12088 wxSize const &arg4_defvalue = wxDefaultSize ;
12089 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12090 long arg5 = (long) wxSB_HORIZONTAL ;
12091 wxValidator const &arg6_defvalue = wxDefaultValidator ;
12092 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
12093 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
12094 wxString *arg7 = (wxString *) &arg7_defvalue ;
12095 wxScrollBar *result;
12096 wxPoint temp3 ;
12097 wxSize temp4 ;
12098 bool temp7 = false ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 PyObject * obj2 = 0 ;
12102 PyObject * obj3 = 0 ;
12103 PyObject * obj4 = 0 ;
12104 PyObject * obj5 = 0 ;
12105 PyObject * obj6 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail;
12113 if (obj1) {
12114 {
12115 arg2 = static_cast<int >(SWIG_As_int(obj1));
12116 if (SWIG_arg_fail(2)) SWIG_fail;
12117 }
12118 }
12119 if (obj2) {
12120 {
12121 arg3 = &temp3;
12122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12123 }
12124 }
12125 if (obj3) {
12126 {
12127 arg4 = &temp4;
12128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12129 }
12130 }
12131 if (obj4) {
12132 {
12133 arg5 = static_cast<long >(SWIG_As_long(obj4));
12134 if (SWIG_arg_fail(5)) SWIG_fail;
12135 }
12136 }
12137 if (obj5) {
12138 {
12139 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12140 if (SWIG_arg_fail(6)) SWIG_fail;
12141 if (arg6 == NULL) {
12142 SWIG_null_ref("wxValidator");
12143 }
12144 if (SWIG_arg_fail(6)) SWIG_fail;
12145 }
12146 }
12147 if (obj6) {
12148 {
12149 arg7 = wxString_in_helper(obj6);
12150 if (arg7 == NULL) SWIG_fail;
12151 temp7 = true;
12152 }
12153 }
12154 {
12155 if (!wxPyCheckForApp()) SWIG_fail;
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12163 {
12164 if (temp7)
12165 delete arg7;
12166 }
12167 return resultobj;
12168 fail:
12169 {
12170 if (temp7)
12171 delete arg7;
12172 }
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj = NULL;
12179 wxScrollBar *result;
12180 char *kwnames[] = {
12181 NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
12185 {
12186 if (!wxPyCheckForApp()) SWIG_fail;
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (wxScrollBar *)new wxScrollBar();
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12201 PyObject *resultobj = NULL;
12202 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12203 wxWindow *arg2 = (wxWindow *) 0 ;
12204 int arg3 = (int) -1 ;
12205 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12206 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12207 wxSize const &arg5_defvalue = wxDefaultSize ;
12208 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12209 long arg6 = (long) wxSB_HORIZONTAL ;
12210 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12211 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12212 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
12213 wxString *arg8 = (wxString *) &arg8_defvalue ;
12214 bool result;
12215 wxPoint temp4 ;
12216 wxSize temp5 ;
12217 bool temp8 = false ;
12218 PyObject * obj0 = 0 ;
12219 PyObject * obj1 = 0 ;
12220 PyObject * obj2 = 0 ;
12221 PyObject * obj3 = 0 ;
12222 PyObject * obj4 = 0 ;
12223 PyObject * obj5 = 0 ;
12224 PyObject * obj6 = 0 ;
12225 PyObject * obj7 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail;
12233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12234 if (SWIG_arg_fail(2)) SWIG_fail;
12235 if (obj2) {
12236 {
12237 arg3 = static_cast<int >(SWIG_As_int(obj2));
12238 if (SWIG_arg_fail(3)) SWIG_fail;
12239 }
12240 }
12241 if (obj3) {
12242 {
12243 arg4 = &temp4;
12244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12245 }
12246 }
12247 if (obj4) {
12248 {
12249 arg5 = &temp5;
12250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12251 }
12252 }
12253 if (obj5) {
12254 {
12255 arg6 = static_cast<long >(SWIG_As_long(obj5));
12256 if (SWIG_arg_fail(6)) SWIG_fail;
12257 }
12258 }
12259 if (obj6) {
12260 {
12261 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12262 if (SWIG_arg_fail(7)) SWIG_fail;
12263 if (arg7 == NULL) {
12264 SWIG_null_ref("wxValidator");
12265 }
12266 if (SWIG_arg_fail(7)) SWIG_fail;
12267 }
12268 }
12269 if (obj7) {
12270 {
12271 arg8 = wxString_in_helper(obj7);
12272 if (arg8 == NULL) SWIG_fail;
12273 temp8 = true;
12274 }
12275 }
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 {
12284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12285 }
12286 {
12287 if (temp8)
12288 delete arg8;
12289 }
12290 return resultobj;
12291 fail:
12292 {
12293 if (temp8)
12294 delete arg8;
12295 }
12296 return NULL;
12297 }
12298
12299
12300 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj = NULL;
12302 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12303 int result;
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "self", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 {
12320 resultobj = SWIG_From_int(static_cast<int >(result));
12321 }
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj = NULL;
12330 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12331 int result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail;
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 {
12348 resultobj = SWIG_From_int(static_cast<int >(result));
12349 }
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj = NULL;
12358 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12359 int result;
12360 PyObject * obj0 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail;
12368 {
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12371
12372 wxPyEndAllowThreads(__tstate);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 {
12376 resultobj = SWIG_From_int(static_cast<int >(result));
12377 }
12378 return resultobj;
12379 fail:
12380 return NULL;
12381 }
12382
12383
12384 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj = NULL;
12386 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12387 int result;
12388 PyObject * obj0 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail;
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = (int)((wxScrollBar const *)arg1)->GetRange();
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 {
12404 resultobj = SWIG_From_int(static_cast<int >(result));
12405 }
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = NULL;
12414 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12415 bool result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 {
12432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12433 }
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj = NULL;
12442 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12443 int arg2 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self",(char *) "viewStart", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail;
12453 {
12454 arg2 = static_cast<int >(SWIG_As_int(obj1));
12455 if (SWIG_arg_fail(2)) SWIG_fail;
12456 }
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 (arg1)->SetThumbPosition(arg2);
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 Py_INCREF(Py_None); resultobj = Py_None;
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj = NULL;
12473 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12474 int arg2 ;
12475 int arg3 ;
12476 int arg4 ;
12477 int arg5 ;
12478 bool arg6 = (bool) true ;
12479 PyObject * obj0 = 0 ;
12480 PyObject * obj1 = 0 ;
12481 PyObject * obj2 = 0 ;
12482 PyObject * obj3 = 0 ;
12483 PyObject * obj4 = 0 ;
12484 PyObject * obj5 = 0 ;
12485 char *kwnames[] = {
12486 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12487 };
12488
12489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail;
12492 {
12493 arg2 = static_cast<int >(SWIG_As_int(obj1));
12494 if (SWIG_arg_fail(2)) SWIG_fail;
12495 }
12496 {
12497 arg3 = static_cast<int >(SWIG_As_int(obj2));
12498 if (SWIG_arg_fail(3)) SWIG_fail;
12499 }
12500 {
12501 arg4 = static_cast<int >(SWIG_As_int(obj3));
12502 if (SWIG_arg_fail(4)) SWIG_fail;
12503 }
12504 {
12505 arg5 = static_cast<int >(SWIG_As_int(obj4));
12506 if (SWIG_arg_fail(5)) SWIG_fail;
12507 }
12508 if (obj5) {
12509 {
12510 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
12511 if (SWIG_arg_fail(6)) SWIG_fail;
12512 }
12513 }
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj = NULL;
12530 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12531 wxVisualAttributes result;
12532 PyObject * obj0 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "variant", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12538 if (obj0) {
12539 {
12540 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
12541 if (SWIG_arg_fail(1)) SWIG_fail;
12542 }
12543 }
12544 {
12545 if (!wxPyCheckForApp()) SWIG_fail;
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 result = wxScrollBar::GetClassDefaultAttributes(arg1);
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 {
12553 wxVisualAttributes * resultptr;
12554 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
12555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12556 }
12557 return resultobj;
12558 fail:
12559 return NULL;
12560 }
12561
12562
12563 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12564 PyObject *obj;
12565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12566 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12567 Py_INCREF(obj);
12568 return Py_BuildValue((char *)"");
12569 }
12570 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12571 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12572 return 1;
12573 }
12574
12575
12576 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12577 PyObject *pyobj = NULL;
12578
12579 {
12580 #if wxUSE_UNICODE
12581 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12582 #else
12583 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12584 #endif
12585 }
12586 return pyobj;
12587 }
12588
12589
12590 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12591 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12592 return 1;
12593 }
12594
12595
12596 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12597 PyObject *pyobj = NULL;
12598
12599 {
12600 #if wxUSE_UNICODE
12601 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12602 #else
12603 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12604 #endif
12605 }
12606 return pyobj;
12607 }
12608
12609
12610 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj = NULL;
12612 wxWindow *arg1 = (wxWindow *) 0 ;
12613 int arg2 = (int) -1 ;
12614 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12615 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12616 wxSize const &arg4_defvalue = wxDefaultSize ;
12617 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12618 long arg5 = (long) wxSP_HORIZONTAL ;
12619 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12620 wxString *arg6 = (wxString *) &arg6_defvalue ;
12621 wxSpinButton *result;
12622 wxPoint temp3 ;
12623 wxSize temp4 ;
12624 bool temp6 = false ;
12625 PyObject * obj0 = 0 ;
12626 PyObject * obj1 = 0 ;
12627 PyObject * obj2 = 0 ;
12628 PyObject * obj3 = 0 ;
12629 PyObject * obj4 = 0 ;
12630 PyObject * obj5 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail;
12638 if (obj1) {
12639 {
12640 arg2 = static_cast<int >(SWIG_As_int(obj1));
12641 if (SWIG_arg_fail(2)) SWIG_fail;
12642 }
12643 }
12644 if (obj2) {
12645 {
12646 arg3 = &temp3;
12647 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12648 }
12649 }
12650 if (obj3) {
12651 {
12652 arg4 = &temp4;
12653 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12654 }
12655 }
12656 if (obj4) {
12657 {
12658 arg5 = static_cast<long >(SWIG_As_long(obj4));
12659 if (SWIG_arg_fail(5)) SWIG_fail;
12660 }
12661 }
12662 if (obj5) {
12663 {
12664 arg6 = wxString_in_helper(obj5);
12665 if (arg6 == NULL) SWIG_fail;
12666 temp6 = true;
12667 }
12668 }
12669 {
12670 if (!wxPyCheckForApp()) SWIG_fail;
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12673
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12678 {
12679 if (temp6)
12680 delete arg6;
12681 }
12682 return resultobj;
12683 fail:
12684 {
12685 if (temp6)
12686 delete arg6;
12687 }
12688 return NULL;
12689 }
12690
12691
12692 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj = NULL;
12694 wxSpinButton *result;
12695 char *kwnames[] = {
12696 NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12700 {
12701 if (!wxPyCheckForApp()) SWIG_fail;
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 result = (wxSpinButton *)new wxSpinButton();
12704
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12709 return resultobj;
12710 fail:
12711 return NULL;
12712 }
12713
12714
12715 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12716 PyObject *resultobj = NULL;
12717 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12718 wxWindow *arg2 = (wxWindow *) 0 ;
12719 int arg3 = (int) -1 ;
12720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12722 wxSize const &arg5_defvalue = wxDefaultSize ;
12723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12724 long arg6 = (long) wxSP_HORIZONTAL ;
12725 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12726 wxString *arg7 = (wxString *) &arg7_defvalue ;
12727 bool result;
12728 wxPoint temp4 ;
12729 wxSize temp5 ;
12730 bool temp7 = false ;
12731 PyObject * obj0 = 0 ;
12732 PyObject * obj1 = 0 ;
12733 PyObject * obj2 = 0 ;
12734 PyObject * obj3 = 0 ;
12735 PyObject * obj4 = 0 ;
12736 PyObject * obj5 = 0 ;
12737 PyObject * obj6 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail;
12745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12746 if (SWIG_arg_fail(2)) SWIG_fail;
12747 if (obj2) {
12748 {
12749 arg3 = static_cast<int >(SWIG_As_int(obj2));
12750 if (SWIG_arg_fail(3)) SWIG_fail;
12751 }
12752 }
12753 if (obj3) {
12754 {
12755 arg4 = &temp4;
12756 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12757 }
12758 }
12759 if (obj4) {
12760 {
12761 arg5 = &temp5;
12762 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12763 }
12764 }
12765 if (obj5) {
12766 {
12767 arg6 = static_cast<long >(SWIG_As_long(obj5));
12768 if (SWIG_arg_fail(6)) SWIG_fail;
12769 }
12770 }
12771 if (obj6) {
12772 {
12773 arg7 = wxString_in_helper(obj6);
12774 if (arg7 == NULL) SWIG_fail;
12775 temp7 = true;
12776 }
12777 }
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 {
12786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12787 }
12788 {
12789 if (temp7)
12790 delete arg7;
12791 }
12792 return resultobj;
12793 fail:
12794 {
12795 if (temp7)
12796 delete arg7;
12797 }
12798 return NULL;
12799 }
12800
12801
12802 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj = NULL;
12804 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12805 int result;
12806 PyObject * obj0 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "self", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12813 if (SWIG_arg_fail(1)) SWIG_fail;
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 result = (int)((wxSpinButton const *)arg1)->GetValue();
12817
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 resultobj = SWIG_From_int(static_cast<int >(result));
12823 }
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj = NULL;
12832 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12833 int result;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (int)((wxSpinButton const *)arg1)->GetMin();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 resultobj = SWIG_From_int(static_cast<int >(result));
12851 }
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = NULL;
12860 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12861 int result;
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12869 if (SWIG_arg_fail(1)) SWIG_fail;
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (int)((wxSpinButton const *)arg1)->GetMax();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 {
12878 resultobj = SWIG_From_int(static_cast<int >(result));
12879 }
12880 return resultobj;
12881 fail:
12882 return NULL;
12883 }
12884
12885
12886 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12887 PyObject *resultobj = NULL;
12888 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12889 int arg2 ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self",(char *) "val", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail;
12899 {
12900 arg2 = static_cast<int >(SWIG_As_int(obj1));
12901 if (SWIG_arg_fail(2)) SWIG_fail;
12902 }
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 (arg1)->SetValue(arg2);
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 Py_INCREF(Py_None); resultobj = Py_None;
12911 return resultobj;
12912 fail:
12913 return NULL;
12914 }
12915
12916
12917 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj = NULL;
12919 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12920 int arg2 ;
12921 PyObject * obj0 = 0 ;
12922 PyObject * obj1 = 0 ;
12923 char *kwnames[] = {
12924 (char *) "self",(char *) "minVal", NULL
12925 };
12926
12927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12929 if (SWIG_arg_fail(1)) SWIG_fail;
12930 {
12931 arg2 = static_cast<int >(SWIG_As_int(obj1));
12932 if (SWIG_arg_fail(2)) SWIG_fail;
12933 }
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 (arg1)->SetMin(arg2);
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 Py_INCREF(Py_None); resultobj = Py_None;
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj = NULL;
12950 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12951 int arg2 ;
12952 PyObject * obj0 = 0 ;
12953 PyObject * obj1 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self",(char *) "maxVal", NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12960 if (SWIG_arg_fail(1)) SWIG_fail;
12961 {
12962 arg2 = static_cast<int >(SWIG_As_int(obj1));
12963 if (SWIG_arg_fail(2)) SWIG_fail;
12964 }
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 (arg1)->SetMax(arg2);
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 Py_INCREF(Py_None); resultobj = Py_None;
12973 return resultobj;
12974 fail:
12975 return NULL;
12976 }
12977
12978
12979 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12980 PyObject *resultobj = NULL;
12981 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12982 int arg2 ;
12983 int arg3 ;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 PyObject * obj2 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail;
12994 {
12995 arg2 = static_cast<int >(SWIG_As_int(obj1));
12996 if (SWIG_arg_fail(2)) SWIG_fail;
12997 }
12998 {
12999 arg3 = static_cast<int >(SWIG_As_int(obj2));
13000 if (SWIG_arg_fail(3)) SWIG_fail;
13001 }
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 (arg1)->SetRange(arg2,arg3);
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 Py_INCREF(Py_None); resultobj = Py_None;
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj = NULL;
13018 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
13019 bool result;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
13026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13037 }
13038 return resultobj;
13039 fail:
13040 return NULL;
13041 }
13042
13043
13044 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj = NULL;
13046 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13047 wxVisualAttributes result;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "variant", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13054 if (obj0) {
13055 {
13056 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13057 if (SWIG_arg_fail(1)) SWIG_fail;
13058 }
13059 }
13060 {
13061 if (!wxPyCheckForApp()) SWIG_fail;
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 result = wxSpinButton::GetClassDefaultAttributes(arg1);
13064
13065 wxPyEndAllowThreads(__tstate);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
13068 {
13069 wxVisualAttributes * resultptr;
13070 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13072 }
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
13080 PyObject *obj;
13081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13082 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
13083 Py_INCREF(obj);
13084 return Py_BuildValue((char *)"");
13085 }
13086 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj = NULL;
13088 wxWindow *arg1 = (wxWindow *) 0 ;
13089 int arg2 = (int) -1 ;
13090 wxString const &arg3_defvalue = wxPyEmptyString ;
13091 wxString *arg3 = (wxString *) &arg3_defvalue ;
13092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13094 wxSize const &arg5_defvalue = wxDefaultSize ;
13095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13096 long arg6 = (long) wxSP_ARROW_KEYS ;
13097 int arg7 = (int) 0 ;
13098 int arg8 = (int) 100 ;
13099 int arg9 = (int) 0 ;
13100 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
13101 wxString *arg10 = (wxString *) &arg10_defvalue ;
13102 wxSpinCtrl *result;
13103 bool temp3 = false ;
13104 wxPoint temp4 ;
13105 wxSize temp5 ;
13106 bool temp10 = false ;
13107 PyObject * obj0 = 0 ;
13108 PyObject * obj1 = 0 ;
13109 PyObject * obj2 = 0 ;
13110 PyObject * obj3 = 0 ;
13111 PyObject * obj4 = 0 ;
13112 PyObject * obj5 = 0 ;
13113 PyObject * obj6 = 0 ;
13114 PyObject * obj7 = 0 ;
13115 PyObject * obj8 = 0 ;
13116 PyObject * obj9 = 0 ;
13117 char *kwnames[] = {
13118 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13119 };
13120
13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13123 if (SWIG_arg_fail(1)) SWIG_fail;
13124 if (obj1) {
13125 {
13126 arg2 = static_cast<int >(SWIG_As_int(obj1));
13127 if (SWIG_arg_fail(2)) SWIG_fail;
13128 }
13129 }
13130 if (obj2) {
13131 {
13132 arg3 = wxString_in_helper(obj2);
13133 if (arg3 == NULL) SWIG_fail;
13134 temp3 = true;
13135 }
13136 }
13137 if (obj3) {
13138 {
13139 arg4 = &temp4;
13140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13141 }
13142 }
13143 if (obj4) {
13144 {
13145 arg5 = &temp5;
13146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13147 }
13148 }
13149 if (obj5) {
13150 {
13151 arg6 = static_cast<long >(SWIG_As_long(obj5));
13152 if (SWIG_arg_fail(6)) SWIG_fail;
13153 }
13154 }
13155 if (obj6) {
13156 {
13157 arg7 = static_cast<int >(SWIG_As_int(obj6));
13158 if (SWIG_arg_fail(7)) SWIG_fail;
13159 }
13160 }
13161 if (obj7) {
13162 {
13163 arg8 = static_cast<int >(SWIG_As_int(obj7));
13164 if (SWIG_arg_fail(8)) SWIG_fail;
13165 }
13166 }
13167 if (obj8) {
13168 {
13169 arg9 = static_cast<int >(SWIG_As_int(obj8));
13170 if (SWIG_arg_fail(9)) SWIG_fail;
13171 }
13172 }
13173 if (obj9) {
13174 {
13175 arg10 = wxString_in_helper(obj9);
13176 if (arg10 == NULL) SWIG_fail;
13177 temp10 = true;
13178 }
13179 }
13180 {
13181 if (!wxPyCheckForApp()) SWIG_fail;
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13189 {
13190 if (temp3)
13191 delete arg3;
13192 }
13193 {
13194 if (temp10)
13195 delete arg10;
13196 }
13197 return resultobj;
13198 fail:
13199 {
13200 if (temp3)
13201 delete arg3;
13202 }
13203 {
13204 if (temp10)
13205 delete arg10;
13206 }
13207 return NULL;
13208 }
13209
13210
13211 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
13212 PyObject *resultobj = NULL;
13213 wxSpinCtrl *result;
13214 char *kwnames[] = {
13215 NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13219 {
13220 if (!wxPyCheckForApp()) SWIG_fail;
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 result = (wxSpinCtrl *)new wxSpinCtrl();
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13228 return resultobj;
13229 fail:
13230 return NULL;
13231 }
13232
13233
13234 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13235 PyObject *resultobj = NULL;
13236 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13237 wxWindow *arg2 = (wxWindow *) 0 ;
13238 int arg3 = (int) -1 ;
13239 wxString const &arg4_defvalue = wxPyEmptyString ;
13240 wxString *arg4 = (wxString *) &arg4_defvalue ;
13241 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13242 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13243 wxSize const &arg6_defvalue = wxDefaultSize ;
13244 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13245 long arg7 = (long) wxSP_ARROW_KEYS ;
13246 int arg8 = (int) 0 ;
13247 int arg9 = (int) 100 ;
13248 int arg10 = (int) 0 ;
13249 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13250 wxString *arg11 = (wxString *) &arg11_defvalue ;
13251 bool result;
13252 bool temp4 = false ;
13253 wxPoint temp5 ;
13254 wxSize temp6 ;
13255 bool temp11 = false ;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 PyObject * obj2 = 0 ;
13259 PyObject * obj3 = 0 ;
13260 PyObject * obj4 = 0 ;
13261 PyObject * obj5 = 0 ;
13262 PyObject * obj6 = 0 ;
13263 PyObject * obj7 = 0 ;
13264 PyObject * obj8 = 0 ;
13265 PyObject * obj9 = 0 ;
13266 PyObject * obj10 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13273 if (SWIG_arg_fail(1)) SWIG_fail;
13274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13275 if (SWIG_arg_fail(2)) SWIG_fail;
13276 if (obj2) {
13277 {
13278 arg3 = static_cast<int >(SWIG_As_int(obj2));
13279 if (SWIG_arg_fail(3)) SWIG_fail;
13280 }
13281 }
13282 if (obj3) {
13283 {
13284 arg4 = wxString_in_helper(obj3);
13285 if (arg4 == NULL) SWIG_fail;
13286 temp4 = true;
13287 }
13288 }
13289 if (obj4) {
13290 {
13291 arg5 = &temp5;
13292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13293 }
13294 }
13295 if (obj5) {
13296 {
13297 arg6 = &temp6;
13298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13299 }
13300 }
13301 if (obj6) {
13302 {
13303 arg7 = static_cast<long >(SWIG_As_long(obj6));
13304 if (SWIG_arg_fail(7)) SWIG_fail;
13305 }
13306 }
13307 if (obj7) {
13308 {
13309 arg8 = static_cast<int >(SWIG_As_int(obj7));
13310 if (SWIG_arg_fail(8)) SWIG_fail;
13311 }
13312 }
13313 if (obj8) {
13314 {
13315 arg9 = static_cast<int >(SWIG_As_int(obj8));
13316 if (SWIG_arg_fail(9)) SWIG_fail;
13317 }
13318 }
13319 if (obj9) {
13320 {
13321 arg10 = static_cast<int >(SWIG_As_int(obj9));
13322 if (SWIG_arg_fail(10)) SWIG_fail;
13323 }
13324 }
13325 if (obj10) {
13326 {
13327 arg11 = wxString_in_helper(obj10);
13328 if (arg11 == NULL) SWIG_fail;
13329 temp11 = true;
13330 }
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
13340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13341 }
13342 {
13343 if (temp4)
13344 delete arg4;
13345 }
13346 {
13347 if (temp11)
13348 delete arg11;
13349 }
13350 return resultobj;
13351 fail:
13352 {
13353 if (temp4)
13354 delete arg4;
13355 }
13356 {
13357 if (temp11)
13358 delete arg11;
13359 }
13360 return NULL;
13361 }
13362
13363
13364 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj = NULL;
13366 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13367 int result;
13368 PyObject * obj0 = 0 ;
13369 char *kwnames[] = {
13370 (char *) "self", NULL
13371 };
13372
13373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13375 if (SWIG_arg_fail(1)) SWIG_fail;
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 {
13384 resultobj = SWIG_From_int(static_cast<int >(result));
13385 }
13386 return resultobj;
13387 fail:
13388 return NULL;
13389 }
13390
13391
13392 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj = NULL;
13394 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13395 int arg2 ;
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self",(char *) "value", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail;
13405 {
13406 arg2 = static_cast<int >(SWIG_As_int(obj1));
13407 if (SWIG_arg_fail(2)) SWIG_fail;
13408 }
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 (arg1)->SetValue(arg2);
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 Py_INCREF(Py_None); resultobj = Py_None;
13417 return resultobj;
13418 fail:
13419 return NULL;
13420 }
13421
13422
13423 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13424 PyObject *resultobj = NULL;
13425 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13426 wxString *arg2 = 0 ;
13427 bool temp2 = false ;
13428 PyObject * obj0 = 0 ;
13429 PyObject * obj1 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self",(char *) "text", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13436 if (SWIG_arg_fail(1)) SWIG_fail;
13437 {
13438 arg2 = wxString_in_helper(obj1);
13439 if (arg2 == NULL) SWIG_fail;
13440 temp2 = true;
13441 }
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 (arg1)->SetValue((wxString const &)*arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 Py_INCREF(Py_None); resultobj = Py_None;
13450 {
13451 if (temp2)
13452 delete arg2;
13453 }
13454 return resultobj;
13455 fail:
13456 {
13457 if (temp2)
13458 delete arg2;
13459 }
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj = NULL;
13466 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13467 int arg2 ;
13468 int arg3 ;
13469 PyObject * obj0 = 0 ;
13470 PyObject * obj1 = 0 ;
13471 PyObject * obj2 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13478 if (SWIG_arg_fail(1)) SWIG_fail;
13479 {
13480 arg2 = static_cast<int >(SWIG_As_int(obj1));
13481 if (SWIG_arg_fail(2)) SWIG_fail;
13482 }
13483 {
13484 arg3 = static_cast<int >(SWIG_As_int(obj2));
13485 if (SWIG_arg_fail(3)) SWIG_fail;
13486 }
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 (arg1)->SetRange(arg2,arg3);
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 Py_INCREF(Py_None); resultobj = Py_None;
13495 return resultobj;
13496 fail:
13497 return NULL;
13498 }
13499
13500
13501 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj = NULL;
13503 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13504 int result;
13505 PyObject * obj0 = 0 ;
13506 char *kwnames[] = {
13507 (char *) "self", NULL
13508 };
13509
13510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13512 if (SWIG_arg_fail(1)) SWIG_fail;
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 {
13521 resultobj = SWIG_From_int(static_cast<int >(result));
13522 }
13523 return resultobj;
13524 fail:
13525 return NULL;
13526 }
13527
13528
13529 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13530 PyObject *resultobj = NULL;
13531 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13532 int result;
13533 PyObject * obj0 = 0 ;
13534 char *kwnames[] = {
13535 (char *) "self", NULL
13536 };
13537
13538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail;
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 {
13549 resultobj = SWIG_From_int(static_cast<int >(result));
13550 }
13551 return resultobj;
13552 fail:
13553 return NULL;
13554 }
13555
13556
13557 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj = NULL;
13559 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13560 long arg2 ;
13561 long arg3 ;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 PyObject * obj2 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self",(char *) "from",(char *) "to", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13571 if (SWIG_arg_fail(1)) SWIG_fail;
13572 {
13573 arg2 = static_cast<long >(SWIG_As_long(obj1));
13574 if (SWIG_arg_fail(2)) SWIG_fail;
13575 }
13576 {
13577 arg3 = static_cast<long >(SWIG_As_long(obj2));
13578 if (SWIG_arg_fail(3)) SWIG_fail;
13579 }
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 (arg1)->SetSelection(arg2,arg3);
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 Py_INCREF(Py_None); resultobj = Py_None;
13588 return resultobj;
13589 fail:
13590 return NULL;
13591 }
13592
13593
13594 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13595 PyObject *resultobj = NULL;
13596 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13597 wxVisualAttributes result;
13598 PyObject * obj0 = 0 ;
13599 char *kwnames[] = {
13600 (char *) "variant", NULL
13601 };
13602
13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13604 if (obj0) {
13605 {
13606 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
13607 if (SWIG_arg_fail(1)) SWIG_fail;
13608 }
13609 }
13610 {
13611 if (!wxPyCheckForApp()) SWIG_fail;
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 {
13619 wxVisualAttributes * resultptr;
13620 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
13621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13622 }
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13630 PyObject *obj;
13631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13632 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13633 Py_INCREF(obj);
13634 return Py_BuildValue((char *)"");
13635 }
13636 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13637 PyObject *resultobj = NULL;
13638 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13639 int arg2 = (int) 0 ;
13640 wxSpinEvent *result;
13641 PyObject * obj0 = 0 ;
13642 PyObject * obj1 = 0 ;
13643 char *kwnames[] = {
13644 (char *) "commandType",(char *) "winid", NULL
13645 };
13646
13647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13648 if (obj0) {
13649 {
13650 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13651 if (SWIG_arg_fail(1)) SWIG_fail;
13652 }
13653 }
13654 if (obj1) {
13655 {
13656 arg2 = static_cast<int >(SWIG_As_int(obj1));
13657 if (SWIG_arg_fail(2)) SWIG_fail;
13658 }
13659 }
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13668 return resultobj;
13669 fail:
13670 return NULL;
13671 }
13672
13673
13674 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj = NULL;
13676 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13677 int result;
13678 PyObject * obj0 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "self", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13685 if (SWIG_arg_fail(1)) SWIG_fail;
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 {
13694 resultobj = SWIG_From_int(static_cast<int >(result));
13695 }
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj = NULL;
13704 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13705 int arg2 ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "pos", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail;
13715 {
13716 arg2 = static_cast<int >(SWIG_As_int(obj1));
13717 if (SWIG_arg_fail(2)) SWIG_fail;
13718 }
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 (arg1)->SetPosition(arg2);
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 Py_INCREF(Py_None); resultobj = Py_None;
13727 return resultobj;
13728 fail:
13729 return NULL;
13730 }
13731
13732
13733 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13734 PyObject *obj;
13735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13737 Py_INCREF(obj);
13738 return Py_BuildValue((char *)"");
13739 }
13740 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13741 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13742 return 1;
13743 }
13744
13745
13746 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13747 PyObject *pyobj = NULL;
13748
13749 {
13750 #if wxUSE_UNICODE
13751 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13752 #else
13753 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13754 #endif
13755 }
13756 return pyobj;
13757 }
13758
13759
13760 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13761 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13762 return 1;
13763 }
13764
13765
13766 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13767 PyObject *pyobj = NULL;
13768
13769 {
13770 #if wxUSE_UNICODE
13771 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13772 #else
13773 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13774 #endif
13775 }
13776 return pyobj;
13777 }
13778
13779
13780 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13781 PyObject *resultobj = NULL;
13782 wxWindow *arg1 = (wxWindow *) 0 ;
13783 int arg2 = (int) -1 ;
13784 wxString const &arg3_defvalue = wxPyEmptyString ;
13785 wxString *arg3 = (wxString *) &arg3_defvalue ;
13786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13788 wxSize const &arg5_defvalue = wxDefaultSize ;
13789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13790 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13791 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13792 int arg7 = (int) 0 ;
13793 long arg8 = (long) wxRA_HORIZONTAL ;
13794 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13795 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13796 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13797 wxString *arg10 = (wxString *) &arg10_defvalue ;
13798 wxRadioBox *result;
13799 bool temp3 = false ;
13800 wxPoint temp4 ;
13801 wxSize temp5 ;
13802 bool temp6 = false ;
13803 bool temp10 = false ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 PyObject * obj2 = 0 ;
13807 PyObject * obj3 = 0 ;
13808 PyObject * obj4 = 0 ;
13809 PyObject * obj5 = 0 ;
13810 PyObject * obj6 = 0 ;
13811 PyObject * obj7 = 0 ;
13812 PyObject * obj8 = 0 ;
13813 PyObject * obj9 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail;
13821 if (obj1) {
13822 {
13823 arg2 = static_cast<int >(SWIG_As_int(obj1));
13824 if (SWIG_arg_fail(2)) SWIG_fail;
13825 }
13826 }
13827 if (obj2) {
13828 {
13829 arg3 = wxString_in_helper(obj2);
13830 if (arg3 == NULL) SWIG_fail;
13831 temp3 = true;
13832 }
13833 }
13834 if (obj3) {
13835 {
13836 arg4 = &temp4;
13837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13838 }
13839 }
13840 if (obj4) {
13841 {
13842 arg5 = &temp5;
13843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13844 }
13845 }
13846 if (obj5) {
13847 {
13848 if (! PySequence_Check(obj5)) {
13849 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13850 SWIG_fail;
13851 }
13852 arg6 = new wxArrayString;
13853 temp6 = true;
13854 int i, len=PySequence_Length(obj5);
13855 for (i=0; i<len; i++) {
13856 PyObject* item = PySequence_GetItem(obj5, i);
13857 wxString* s = wxString_in_helper(item);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 arg6->Add(*s);
13860 delete s;
13861 Py_DECREF(item);
13862 }
13863 }
13864 }
13865 if (obj6) {
13866 {
13867 arg7 = static_cast<int >(SWIG_As_int(obj6));
13868 if (SWIG_arg_fail(7)) SWIG_fail;
13869 }
13870 }
13871 if (obj7) {
13872 {
13873 arg8 = static_cast<long >(SWIG_As_long(obj7));
13874 if (SWIG_arg_fail(8)) SWIG_fail;
13875 }
13876 }
13877 if (obj8) {
13878 {
13879 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13880 if (SWIG_arg_fail(9)) SWIG_fail;
13881 if (arg9 == NULL) {
13882 SWIG_null_ref("wxValidator");
13883 }
13884 if (SWIG_arg_fail(9)) SWIG_fail;
13885 }
13886 }
13887 if (obj9) {
13888 {
13889 arg10 = wxString_in_helper(obj9);
13890 if (arg10 == NULL) SWIG_fail;
13891 temp10 = true;
13892 }
13893 }
13894 {
13895 if (!wxPyCheckForApp()) SWIG_fail;
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 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);
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13903 {
13904 if (temp3)
13905 delete arg3;
13906 }
13907 {
13908 if (temp6) delete arg6;
13909 }
13910 {
13911 if (temp10)
13912 delete arg10;
13913 }
13914 return resultobj;
13915 fail:
13916 {
13917 if (temp3)
13918 delete arg3;
13919 }
13920 {
13921 if (temp6) delete arg6;
13922 }
13923 {
13924 if (temp10)
13925 delete arg10;
13926 }
13927 return NULL;
13928 }
13929
13930
13931 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13932 PyObject *resultobj = NULL;
13933 wxRadioBox *result;
13934 char *kwnames[] = {
13935 NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13939 {
13940 if (!wxPyCheckForApp()) SWIG_fail;
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (wxRadioBox *)new wxRadioBox();
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj = NULL;
13956 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13957 wxWindow *arg2 = (wxWindow *) 0 ;
13958 int arg3 = (int) -1 ;
13959 wxString const &arg4_defvalue = wxPyEmptyString ;
13960 wxString *arg4 = (wxString *) &arg4_defvalue ;
13961 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13962 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13963 wxSize const &arg6_defvalue = wxDefaultSize ;
13964 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13965 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13966 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13967 int arg8 = (int) 0 ;
13968 long arg9 = (long) wxRA_HORIZONTAL ;
13969 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13970 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13971 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13972 wxString *arg11 = (wxString *) &arg11_defvalue ;
13973 bool result;
13974 bool temp4 = false ;
13975 wxPoint temp5 ;
13976 wxSize temp6 ;
13977 bool temp7 = false ;
13978 bool temp11 = false ;
13979 PyObject * obj0 = 0 ;
13980 PyObject * obj1 = 0 ;
13981 PyObject * obj2 = 0 ;
13982 PyObject * obj3 = 0 ;
13983 PyObject * obj4 = 0 ;
13984 PyObject * obj5 = 0 ;
13985 PyObject * obj6 = 0 ;
13986 PyObject * obj7 = 0 ;
13987 PyObject * obj8 = 0 ;
13988 PyObject * obj9 = 0 ;
13989 PyObject * obj10 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13996 if (SWIG_arg_fail(1)) SWIG_fail;
13997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13998 if (SWIG_arg_fail(2)) SWIG_fail;
13999 if (obj2) {
14000 {
14001 arg3 = static_cast<int >(SWIG_As_int(obj2));
14002 if (SWIG_arg_fail(3)) SWIG_fail;
14003 }
14004 }
14005 if (obj3) {
14006 {
14007 arg4 = wxString_in_helper(obj3);
14008 if (arg4 == NULL) SWIG_fail;
14009 temp4 = true;
14010 }
14011 }
14012 if (obj4) {
14013 {
14014 arg5 = &temp5;
14015 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14016 }
14017 }
14018 if (obj5) {
14019 {
14020 arg6 = &temp6;
14021 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14022 }
14023 }
14024 if (obj6) {
14025 {
14026 if (! PySequence_Check(obj6)) {
14027 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14028 SWIG_fail;
14029 }
14030 arg7 = new wxArrayString;
14031 temp7 = true;
14032 int i, len=PySequence_Length(obj6);
14033 for (i=0; i<len; i++) {
14034 PyObject* item = PySequence_GetItem(obj6, i);
14035 wxString* s = wxString_in_helper(item);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 arg7->Add(*s);
14038 delete s;
14039 Py_DECREF(item);
14040 }
14041 }
14042 }
14043 if (obj7) {
14044 {
14045 arg8 = static_cast<int >(SWIG_As_int(obj7));
14046 if (SWIG_arg_fail(8)) SWIG_fail;
14047 }
14048 }
14049 if (obj8) {
14050 {
14051 arg9 = static_cast<long >(SWIG_As_long(obj8));
14052 if (SWIG_arg_fail(9)) SWIG_fail;
14053 }
14054 }
14055 if (obj9) {
14056 {
14057 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14058 if (SWIG_arg_fail(10)) SWIG_fail;
14059 if (arg10 == NULL) {
14060 SWIG_null_ref("wxValidator");
14061 }
14062 if (SWIG_arg_fail(10)) SWIG_fail;
14063 }
14064 }
14065 if (obj10) {
14066 {
14067 arg11 = wxString_in_helper(obj10);
14068 if (arg11 == NULL) SWIG_fail;
14069 temp11 = true;
14070 }
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 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);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 {
14080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14081 }
14082 {
14083 if (temp4)
14084 delete arg4;
14085 }
14086 {
14087 if (temp7) delete arg7;
14088 }
14089 {
14090 if (temp11)
14091 delete arg11;
14092 }
14093 return resultobj;
14094 fail:
14095 {
14096 if (temp4)
14097 delete arg4;
14098 }
14099 {
14100 if (temp7) delete arg7;
14101 }
14102 {
14103 if (temp11)
14104 delete arg11;
14105 }
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj = NULL;
14112 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14113 int arg2 ;
14114 PyObject * obj0 = 0 ;
14115 PyObject * obj1 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self",(char *) "n", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail;
14123 {
14124 arg2 = static_cast<int >(SWIG_As_int(obj1));
14125 if (SWIG_arg_fail(2)) SWIG_fail;
14126 }
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 (arg1)->SetSelection(arg2);
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 Py_INCREF(Py_None); resultobj = Py_None;
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj = NULL;
14143 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14144 int result;
14145 PyObject * obj0 = 0 ;
14146 char *kwnames[] = {
14147 (char *) "self", NULL
14148 };
14149
14150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
14151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14152 if (SWIG_arg_fail(1)) SWIG_fail;
14153 {
14154 PyThreadState* __tstate = wxPyBeginAllowThreads();
14155 result = (int)((wxRadioBox const *)arg1)->GetSelection();
14156
14157 wxPyEndAllowThreads(__tstate);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
14160 {
14161 resultobj = SWIG_From_int(static_cast<int >(result));
14162 }
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj = NULL;
14171 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14172 wxString result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
14179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail;
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = ((wxRadioBox const *)arg1)->GetStringSelection();
14184
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 {
14189 #if wxUSE_UNICODE
14190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14191 #else
14192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14193 #endif
14194 }
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj = NULL;
14203 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14204 wxString *arg2 = 0 ;
14205 bool result;
14206 bool temp2 = false ;
14207 PyObject * obj0 = 0 ;
14208 PyObject * obj1 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self",(char *) "s", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
14214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14215 if (SWIG_arg_fail(1)) SWIG_fail;
14216 {
14217 arg2 = wxString_in_helper(obj1);
14218 if (arg2 == NULL) SWIG_fail;
14219 temp2 = true;
14220 }
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 {
14229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14230 }
14231 {
14232 if (temp2)
14233 delete arg2;
14234 }
14235 return resultobj;
14236 fail:
14237 {
14238 if (temp2)
14239 delete arg2;
14240 }
14241 return NULL;
14242 }
14243
14244
14245 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14246 PyObject *resultobj = NULL;
14247 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14248 int result;
14249 PyObject * obj0 = 0 ;
14250 char *kwnames[] = {
14251 (char *) "self", NULL
14252 };
14253
14254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail;
14257 {
14258 PyThreadState* __tstate = wxPyBeginAllowThreads();
14259 result = (int)((wxRadioBox const *)arg1)->GetCount();
14260
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 {
14265 resultobj = SWIG_From_int(static_cast<int >(result));
14266 }
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj = NULL;
14275 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14276 wxString *arg2 = 0 ;
14277 int result;
14278 bool temp2 = false ;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "s", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14287 if (SWIG_arg_fail(1)) SWIG_fail;
14288 {
14289 arg2 = wxString_in_helper(obj1);
14290 if (arg2 == NULL) SWIG_fail;
14291 temp2 = true;
14292 }
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 {
14301 resultobj = SWIG_From_int(static_cast<int >(result));
14302 }
14303 {
14304 if (temp2)
14305 delete arg2;
14306 }
14307 return resultobj;
14308 fail:
14309 {
14310 if (temp2)
14311 delete arg2;
14312 }
14313 return NULL;
14314 }
14315
14316
14317 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj = NULL;
14319 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14320 int arg2 ;
14321 wxString result;
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self",(char *) "n", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail;
14331 {
14332 arg2 = static_cast<int >(SWIG_As_int(obj1));
14333 if (SWIG_arg_fail(2)) SWIG_fail;
14334 }
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14338
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 {
14343 #if wxUSE_UNICODE
14344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14345 #else
14346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14347 #endif
14348 }
14349 return resultobj;
14350 fail:
14351 return NULL;
14352 }
14353
14354
14355 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14356 PyObject *resultobj = NULL;
14357 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14358 int arg2 ;
14359 wxString *arg3 = 0 ;
14360 bool temp3 = false ;
14361 PyObject * obj0 = 0 ;
14362 PyObject * obj1 = 0 ;
14363 PyObject * obj2 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self",(char *) "n",(char *) "label", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail;
14371 {
14372 arg2 = static_cast<int >(SWIG_As_int(obj1));
14373 if (SWIG_arg_fail(2)) SWIG_fail;
14374 }
14375 {
14376 arg3 = wxString_in_helper(obj2);
14377 if (arg3 == NULL) SWIG_fail;
14378 temp3 = true;
14379 }
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 (arg1)->SetString(arg2,(wxString const &)*arg3);
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 Py_INCREF(Py_None); resultobj = Py_None;
14388 {
14389 if (temp3)
14390 delete arg3;
14391 }
14392 return resultobj;
14393 fail:
14394 {
14395 if (temp3)
14396 delete arg3;
14397 }
14398 return NULL;
14399 }
14400
14401
14402 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj = NULL;
14404 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14405 int arg2 ;
14406 bool arg3 = (bool) true ;
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 PyObject * obj2 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "n",(char *) "enable", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail;
14417 {
14418 arg2 = static_cast<int >(SWIG_As_int(obj1));
14419 if (SWIG_arg_fail(2)) SWIG_fail;
14420 }
14421 if (obj2) {
14422 {
14423 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14424 if (SWIG_arg_fail(3)) SWIG_fail;
14425 }
14426 }
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 (arg1)->Enable(arg2,arg3);
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 Py_INCREF(Py_None); resultobj = Py_None;
14435 return resultobj;
14436 fail:
14437 return NULL;
14438 }
14439
14440
14441 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj = NULL;
14443 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14444 int arg2 ;
14445 bool arg3 = (bool) true ;
14446 PyObject * obj0 = 0 ;
14447 PyObject * obj1 = 0 ;
14448 PyObject * obj2 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self",(char *) "n",(char *) "show", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail;
14456 {
14457 arg2 = static_cast<int >(SWIG_As_int(obj1));
14458 if (SWIG_arg_fail(2)) SWIG_fail;
14459 }
14460 if (obj2) {
14461 {
14462 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
14463 if (SWIG_arg_fail(3)) SWIG_fail;
14464 }
14465 }
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 (arg1)->Show(arg2,arg3);
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 Py_INCREF(Py_None); resultobj = Py_None;
14474 return resultobj;
14475 fail:
14476 return NULL;
14477 }
14478
14479
14480 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj = NULL;
14482 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14483 int result;
14484 PyObject * obj0 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 {
14500 resultobj = SWIG_From_int(static_cast<int >(result));
14501 }
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj = NULL;
14510 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14511 int result;
14512 PyObject * obj0 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14519 if (SWIG_arg_fail(1)) SWIG_fail;
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14523
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 {
14528 resultobj = SWIG_From_int(static_cast<int >(result));
14529 }
14530 return resultobj;
14531 fail:
14532 return NULL;
14533 }
14534
14535
14536 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj = NULL;
14538 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14539 int arg2 ;
14540 wxDirection arg3 ;
14541 long arg4 ;
14542 int result;
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 PyObject * obj2 = 0 ;
14546 PyObject * obj3 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail;
14554 {
14555 arg2 = static_cast<int >(SWIG_As_int(obj1));
14556 if (SWIG_arg_fail(2)) SWIG_fail;
14557 }
14558 {
14559 arg3 = static_cast<wxDirection >(SWIG_As_int(obj2));
14560 if (SWIG_arg_fail(3)) SWIG_fail;
14561 }
14562 {
14563 arg4 = static_cast<long >(SWIG_As_long(obj3));
14564 if (SWIG_arg_fail(4)) SWIG_fail;
14565 }
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 {
14574 resultobj = SWIG_From_int(static_cast<int >(result));
14575 }
14576 return resultobj;
14577 fail:
14578 return NULL;
14579 }
14580
14581
14582 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj = NULL;
14584 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14585 wxVisualAttributes result;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "variant", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14592 if (obj0) {
14593 {
14594 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14595 if (SWIG_arg_fail(1)) SWIG_fail;
14596 }
14597 }
14598 {
14599 if (!wxPyCheckForApp()) SWIG_fail;
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = wxRadioBox::GetClassDefaultAttributes(arg1);
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 {
14607 wxVisualAttributes * resultptr;
14608 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14610 }
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14618 PyObject *obj;
14619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14620 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14621 Py_INCREF(obj);
14622 return Py_BuildValue((char *)"");
14623 }
14624 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj = NULL;
14626 wxWindow *arg1 = (wxWindow *) 0 ;
14627 int arg2 = (int) -1 ;
14628 wxString const &arg3_defvalue = wxPyEmptyString ;
14629 wxString *arg3 = (wxString *) &arg3_defvalue ;
14630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14632 wxSize const &arg5_defvalue = wxDefaultSize ;
14633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14634 long arg6 = (long) 0 ;
14635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14637 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14638 wxString *arg8 = (wxString *) &arg8_defvalue ;
14639 wxRadioButton *result;
14640 bool temp3 = false ;
14641 wxPoint temp4 ;
14642 wxSize temp5 ;
14643 bool temp8 = false ;
14644 PyObject * obj0 = 0 ;
14645 PyObject * obj1 = 0 ;
14646 PyObject * obj2 = 0 ;
14647 PyObject * obj3 = 0 ;
14648 PyObject * obj4 = 0 ;
14649 PyObject * obj5 = 0 ;
14650 PyObject * obj6 = 0 ;
14651 PyObject * obj7 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14658 if (SWIG_arg_fail(1)) SWIG_fail;
14659 if (obj1) {
14660 {
14661 arg2 = static_cast<int >(SWIG_As_int(obj1));
14662 if (SWIG_arg_fail(2)) SWIG_fail;
14663 }
14664 }
14665 if (obj2) {
14666 {
14667 arg3 = wxString_in_helper(obj2);
14668 if (arg3 == NULL) SWIG_fail;
14669 temp3 = true;
14670 }
14671 }
14672 if (obj3) {
14673 {
14674 arg4 = &temp4;
14675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14676 }
14677 }
14678 if (obj4) {
14679 {
14680 arg5 = &temp5;
14681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14682 }
14683 }
14684 if (obj5) {
14685 {
14686 arg6 = static_cast<long >(SWIG_As_long(obj5));
14687 if (SWIG_arg_fail(6)) SWIG_fail;
14688 }
14689 }
14690 if (obj6) {
14691 {
14692 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14693 if (SWIG_arg_fail(7)) SWIG_fail;
14694 if (arg7 == NULL) {
14695 SWIG_null_ref("wxValidator");
14696 }
14697 if (SWIG_arg_fail(7)) SWIG_fail;
14698 }
14699 }
14700 if (obj7) {
14701 {
14702 arg8 = wxString_in_helper(obj7);
14703 if (arg8 == NULL) SWIG_fail;
14704 temp8 = true;
14705 }
14706 }
14707 {
14708 if (!wxPyCheckForApp()) SWIG_fail;
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14716 {
14717 if (temp3)
14718 delete arg3;
14719 }
14720 {
14721 if (temp8)
14722 delete arg8;
14723 }
14724 return resultobj;
14725 fail:
14726 {
14727 if (temp3)
14728 delete arg3;
14729 }
14730 {
14731 if (temp8)
14732 delete arg8;
14733 }
14734 return NULL;
14735 }
14736
14737
14738 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14739 PyObject *resultobj = NULL;
14740 wxRadioButton *result;
14741 char *kwnames[] = {
14742 NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14746 {
14747 if (!wxPyCheckForApp()) SWIG_fail;
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (wxRadioButton *)new wxRadioButton();
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj = NULL;
14763 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14764 wxWindow *arg2 = (wxWindow *) 0 ;
14765 int arg3 = (int) -1 ;
14766 wxString const &arg4_defvalue = wxPyEmptyString ;
14767 wxString *arg4 = (wxString *) &arg4_defvalue ;
14768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14770 wxSize const &arg6_defvalue = wxDefaultSize ;
14771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14772 long arg7 = (long) 0 ;
14773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14775 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14776 wxString *arg9 = (wxString *) &arg9_defvalue ;
14777 bool result;
14778 bool temp4 = false ;
14779 wxPoint temp5 ;
14780 wxSize temp6 ;
14781 bool temp9 = false ;
14782 PyObject * obj0 = 0 ;
14783 PyObject * obj1 = 0 ;
14784 PyObject * obj2 = 0 ;
14785 PyObject * obj3 = 0 ;
14786 PyObject * obj4 = 0 ;
14787 PyObject * obj5 = 0 ;
14788 PyObject * obj6 = 0 ;
14789 PyObject * obj7 = 0 ;
14790 PyObject * obj8 = 0 ;
14791 char *kwnames[] = {
14792 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14793 };
14794
14795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14797 if (SWIG_arg_fail(1)) SWIG_fail;
14798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14799 if (SWIG_arg_fail(2)) SWIG_fail;
14800 if (obj2) {
14801 {
14802 arg3 = static_cast<int >(SWIG_As_int(obj2));
14803 if (SWIG_arg_fail(3)) SWIG_fail;
14804 }
14805 }
14806 if (obj3) {
14807 {
14808 arg4 = wxString_in_helper(obj3);
14809 if (arg4 == NULL) SWIG_fail;
14810 temp4 = true;
14811 }
14812 }
14813 if (obj4) {
14814 {
14815 arg5 = &temp5;
14816 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14817 }
14818 }
14819 if (obj5) {
14820 {
14821 arg6 = &temp6;
14822 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14823 }
14824 }
14825 if (obj6) {
14826 {
14827 arg7 = static_cast<long >(SWIG_As_long(obj6));
14828 if (SWIG_arg_fail(7)) SWIG_fail;
14829 }
14830 }
14831 if (obj7) {
14832 {
14833 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14834 if (SWIG_arg_fail(8)) SWIG_fail;
14835 if (arg8 == NULL) {
14836 SWIG_null_ref("wxValidator");
14837 }
14838 if (SWIG_arg_fail(8)) SWIG_fail;
14839 }
14840 }
14841 if (obj8) {
14842 {
14843 arg9 = wxString_in_helper(obj8);
14844 if (arg9 == NULL) SWIG_fail;
14845 temp9 = true;
14846 }
14847 }
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14851
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 {
14856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14857 }
14858 {
14859 if (temp4)
14860 delete arg4;
14861 }
14862 {
14863 if (temp9)
14864 delete arg9;
14865 }
14866 return resultobj;
14867 fail:
14868 {
14869 if (temp4)
14870 delete arg4;
14871 }
14872 {
14873 if (temp9)
14874 delete arg9;
14875 }
14876 return NULL;
14877 }
14878
14879
14880 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14881 PyObject *resultobj = NULL;
14882 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14883 bool result;
14884 PyObject * obj0 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail;
14892 {
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 result = (bool)(arg1)->GetValue();
14895
14896 wxPyEndAllowThreads(__tstate);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 }
14899 {
14900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14901 }
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj = NULL;
14910 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14911 bool arg2 ;
14912 PyObject * obj0 = 0 ;
14913 PyObject * obj1 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self",(char *) "value", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail;
14921 {
14922 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
14923 if (SWIG_arg_fail(2)) SWIG_fail;
14924 }
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 (arg1)->SetValue(arg2);
14928
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 Py_INCREF(Py_None); resultobj = Py_None;
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj = NULL;
14941 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14942 wxVisualAttributes result;
14943 PyObject * obj0 = 0 ;
14944 char *kwnames[] = {
14945 (char *) "variant", NULL
14946 };
14947
14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14949 if (obj0) {
14950 {
14951 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
14952 if (SWIG_arg_fail(1)) SWIG_fail;
14953 }
14954 }
14955 {
14956 if (!wxPyCheckForApp()) SWIG_fail;
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = wxRadioButton::GetClassDefaultAttributes(arg1);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 {
14964 wxVisualAttributes * resultptr;
14965 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
14966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14967 }
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14975 PyObject *obj;
14976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14977 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14978 Py_INCREF(obj);
14979 return Py_BuildValue((char *)"");
14980 }
14981 static int _wrap_SliderNameStr_set(PyObject *) {
14982 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14983 return 1;
14984 }
14985
14986
14987 static PyObject *_wrap_SliderNameStr_get(void) {
14988 PyObject *pyobj = NULL;
14989
14990 {
14991 #if wxUSE_UNICODE
14992 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14993 #else
14994 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14995 #endif
14996 }
14997 return pyobj;
14998 }
14999
15000
15001 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj = NULL;
15003 wxWindow *arg1 = (wxWindow *) 0 ;
15004 int arg2 = (int) -1 ;
15005 int arg3 = (int) 0 ;
15006 int arg4 = (int) 0 ;
15007 int arg5 = (int) 100 ;
15008 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15009 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15010 wxSize const &arg7_defvalue = wxDefaultSize ;
15011 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
15012 long arg8 = (long) wxSL_HORIZONTAL ;
15013 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15014 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15015 wxString const &arg10_defvalue = wxPySliderNameStr ;
15016 wxString *arg10 = (wxString *) &arg10_defvalue ;
15017 wxSlider *result;
15018 wxPoint temp6 ;
15019 wxSize temp7 ;
15020 bool temp10 = false ;
15021 PyObject * obj0 = 0 ;
15022 PyObject * obj1 = 0 ;
15023 PyObject * obj2 = 0 ;
15024 PyObject * obj3 = 0 ;
15025 PyObject * obj4 = 0 ;
15026 PyObject * obj5 = 0 ;
15027 PyObject * obj6 = 0 ;
15028 PyObject * obj7 = 0 ;
15029 PyObject * obj8 = 0 ;
15030 PyObject * obj9 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail;
15038 if (obj1) {
15039 {
15040 arg2 = static_cast<int >(SWIG_As_int(obj1));
15041 if (SWIG_arg_fail(2)) SWIG_fail;
15042 }
15043 }
15044 if (obj2) {
15045 {
15046 arg3 = static_cast<int >(SWIG_As_int(obj2));
15047 if (SWIG_arg_fail(3)) SWIG_fail;
15048 }
15049 }
15050 if (obj3) {
15051 {
15052 arg4 = static_cast<int >(SWIG_As_int(obj3));
15053 if (SWIG_arg_fail(4)) SWIG_fail;
15054 }
15055 }
15056 if (obj4) {
15057 {
15058 arg5 = static_cast<int >(SWIG_As_int(obj4));
15059 if (SWIG_arg_fail(5)) SWIG_fail;
15060 }
15061 }
15062 if (obj5) {
15063 {
15064 arg6 = &temp6;
15065 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15066 }
15067 }
15068 if (obj6) {
15069 {
15070 arg7 = &temp7;
15071 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
15072 }
15073 }
15074 if (obj7) {
15075 {
15076 arg8 = static_cast<long >(SWIG_As_long(obj7));
15077 if (SWIG_arg_fail(8)) SWIG_fail;
15078 }
15079 }
15080 if (obj8) {
15081 {
15082 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15083 if (SWIG_arg_fail(9)) SWIG_fail;
15084 if (arg9 == NULL) {
15085 SWIG_null_ref("wxValidator");
15086 }
15087 if (SWIG_arg_fail(9)) SWIG_fail;
15088 }
15089 }
15090 if (obj9) {
15091 {
15092 arg10 = wxString_in_helper(obj9);
15093 if (arg10 == NULL) SWIG_fail;
15094 temp10 = true;
15095 }
15096 }
15097 {
15098 if (!wxPyCheckForApp()) SWIG_fail;
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15106 {
15107 if (temp10)
15108 delete arg10;
15109 }
15110 return resultobj;
15111 fail:
15112 {
15113 if (temp10)
15114 delete arg10;
15115 }
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj = NULL;
15122 wxSlider *result;
15123 char *kwnames[] = {
15124 NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
15128 {
15129 if (!wxPyCheckForApp()) SWIG_fail;
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (wxSlider *)new wxSlider();
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj = NULL;
15145 wxSlider *arg1 = (wxSlider *) 0 ;
15146 wxWindow *arg2 = (wxWindow *) 0 ;
15147 int arg3 = (int) -1 ;
15148 int arg4 = (int) 0 ;
15149 int arg5 = (int) 0 ;
15150 int arg6 = (int) 100 ;
15151 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15152 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15153 wxSize const &arg8_defvalue = wxDefaultSize ;
15154 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
15155 long arg9 = (long) wxSL_HORIZONTAL ;
15156 wxValidator const &arg10_defvalue = wxDefaultValidator ;
15157 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
15158 wxString const &arg11_defvalue = wxPySliderNameStr ;
15159 wxString *arg11 = (wxString *) &arg11_defvalue ;
15160 bool result;
15161 wxPoint temp7 ;
15162 wxSize temp8 ;
15163 bool temp11 = false ;
15164 PyObject * obj0 = 0 ;
15165 PyObject * obj1 = 0 ;
15166 PyObject * obj2 = 0 ;
15167 PyObject * obj3 = 0 ;
15168 PyObject * obj4 = 0 ;
15169 PyObject * obj5 = 0 ;
15170 PyObject * obj6 = 0 ;
15171 PyObject * obj7 = 0 ;
15172 PyObject * obj8 = 0 ;
15173 PyObject * obj9 = 0 ;
15174 PyObject * obj10 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail;
15182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15183 if (SWIG_arg_fail(2)) SWIG_fail;
15184 if (obj2) {
15185 {
15186 arg3 = static_cast<int >(SWIG_As_int(obj2));
15187 if (SWIG_arg_fail(3)) SWIG_fail;
15188 }
15189 }
15190 if (obj3) {
15191 {
15192 arg4 = static_cast<int >(SWIG_As_int(obj3));
15193 if (SWIG_arg_fail(4)) SWIG_fail;
15194 }
15195 }
15196 if (obj4) {
15197 {
15198 arg5 = static_cast<int >(SWIG_As_int(obj4));
15199 if (SWIG_arg_fail(5)) SWIG_fail;
15200 }
15201 }
15202 if (obj5) {
15203 {
15204 arg6 = static_cast<int >(SWIG_As_int(obj5));
15205 if (SWIG_arg_fail(6)) SWIG_fail;
15206 }
15207 }
15208 if (obj6) {
15209 {
15210 arg7 = &temp7;
15211 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15212 }
15213 }
15214 if (obj7) {
15215 {
15216 arg8 = &temp8;
15217 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15218 }
15219 }
15220 if (obj8) {
15221 {
15222 arg9 = static_cast<long >(SWIG_As_long(obj8));
15223 if (SWIG_arg_fail(9)) SWIG_fail;
15224 }
15225 }
15226 if (obj9) {
15227 {
15228 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15229 if (SWIG_arg_fail(10)) SWIG_fail;
15230 if (arg10 == NULL) {
15231 SWIG_null_ref("wxValidator");
15232 }
15233 if (SWIG_arg_fail(10)) SWIG_fail;
15234 }
15235 }
15236 if (obj10) {
15237 {
15238 arg11 = wxString_in_helper(obj10);
15239 if (arg11 == NULL) SWIG_fail;
15240 temp11 = true;
15241 }
15242 }
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 {
15251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15252 }
15253 {
15254 if (temp11)
15255 delete arg11;
15256 }
15257 return resultobj;
15258 fail:
15259 {
15260 if (temp11)
15261 delete arg11;
15262 }
15263 return NULL;
15264 }
15265
15266
15267 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj = NULL;
15269 wxSlider *arg1 = (wxSlider *) 0 ;
15270 int result;
15271 PyObject * obj0 = 0 ;
15272 char *kwnames[] = {
15273 (char *) "self", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 result = (int)((wxSlider const *)arg1)->GetValue();
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 {
15287 resultobj = SWIG_From_int(static_cast<int >(result));
15288 }
15289 return resultobj;
15290 fail:
15291 return NULL;
15292 }
15293
15294
15295 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj = NULL;
15297 wxSlider *arg1 = (wxSlider *) 0 ;
15298 int arg2 ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self",(char *) "value", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail;
15308 {
15309 arg2 = static_cast<int >(SWIG_As_int(obj1));
15310 if (SWIG_arg_fail(2)) SWIG_fail;
15311 }
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 (arg1)->SetValue(arg2);
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 Py_INCREF(Py_None); resultobj = Py_None;
15320 return resultobj;
15321 fail:
15322 return NULL;
15323 }
15324
15325
15326 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15327 PyObject *resultobj = NULL;
15328 wxSlider *arg1 = (wxSlider *) 0 ;
15329 int arg2 ;
15330 int arg3 ;
15331 PyObject * obj0 = 0 ;
15332 PyObject * obj1 = 0 ;
15333 PyObject * obj2 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail;
15341 {
15342 arg2 = static_cast<int >(SWIG_As_int(obj1));
15343 if (SWIG_arg_fail(2)) SWIG_fail;
15344 }
15345 {
15346 arg3 = static_cast<int >(SWIG_As_int(obj2));
15347 if (SWIG_arg_fail(3)) SWIG_fail;
15348 }
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 (arg1)->SetRange(arg2,arg3);
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 Py_INCREF(Py_None); resultobj = Py_None;
15357 return resultobj;
15358 fail:
15359 return NULL;
15360 }
15361
15362
15363 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj = NULL;
15365 wxSlider *arg1 = (wxSlider *) 0 ;
15366 int result;
15367 PyObject * obj0 = 0 ;
15368 char *kwnames[] = {
15369 (char *) "self", NULL
15370 };
15371
15372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail;
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 result = (int)((wxSlider const *)arg1)->GetMin();
15378
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 {
15383 resultobj = SWIG_From_int(static_cast<int >(result));
15384 }
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj = NULL;
15393 wxSlider *arg1 = (wxSlider *) 0 ;
15394 int result;
15395 PyObject * obj0 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail;
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 result = (int)((wxSlider const *)arg1)->GetMax();
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 {
15411 resultobj = SWIG_From_int(static_cast<int >(result));
15412 }
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj = NULL;
15421 wxSlider *arg1 = (wxSlider *) 0 ;
15422 int arg2 ;
15423 PyObject * obj0 = 0 ;
15424 PyObject * obj1 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self",(char *) "minValue", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail;
15432 {
15433 arg2 = static_cast<int >(SWIG_As_int(obj1));
15434 if (SWIG_arg_fail(2)) SWIG_fail;
15435 }
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 (arg1)->SetMin(arg2);
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 Py_INCREF(Py_None); resultobj = Py_None;
15444 return resultobj;
15445 fail:
15446 return NULL;
15447 }
15448
15449
15450 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj = NULL;
15452 wxSlider *arg1 = (wxSlider *) 0 ;
15453 int arg2 ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "maxValue", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail;
15463 {
15464 arg2 = static_cast<int >(SWIG_As_int(obj1));
15465 if (SWIG_arg_fail(2)) SWIG_fail;
15466 }
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 (arg1)->SetMax(arg2);
15470
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 Py_INCREF(Py_None); resultobj = Py_None;
15475 return resultobj;
15476 fail:
15477 return NULL;
15478 }
15479
15480
15481 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15482 PyObject *resultobj = NULL;
15483 wxSlider *arg1 = (wxSlider *) 0 ;
15484 int arg2 ;
15485 PyObject * obj0 = 0 ;
15486 PyObject * obj1 = 0 ;
15487 char *kwnames[] = {
15488 (char *) "self",(char *) "lineSize", NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15493 if (SWIG_arg_fail(1)) SWIG_fail;
15494 {
15495 arg2 = static_cast<int >(SWIG_As_int(obj1));
15496 if (SWIG_arg_fail(2)) SWIG_fail;
15497 }
15498 {
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 (arg1)->SetLineSize(arg2);
15501
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 Py_INCREF(Py_None); resultobj = Py_None;
15506 return resultobj;
15507 fail:
15508 return NULL;
15509 }
15510
15511
15512 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj = NULL;
15514 wxSlider *arg1 = (wxSlider *) 0 ;
15515 int arg2 ;
15516 PyObject * obj0 = 0 ;
15517 PyObject * obj1 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self",(char *) "pageSize", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail;
15525 {
15526 arg2 = static_cast<int >(SWIG_As_int(obj1));
15527 if (SWIG_arg_fail(2)) SWIG_fail;
15528 }
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 (arg1)->SetPageSize(arg2);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 Py_INCREF(Py_None); resultobj = Py_None;
15537 return resultobj;
15538 fail:
15539 return NULL;
15540 }
15541
15542
15543 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj = NULL;
15545 wxSlider *arg1 = (wxSlider *) 0 ;
15546 int result;
15547 PyObject * obj0 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "self", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15554 if (SWIG_arg_fail(1)) SWIG_fail;
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (int)((wxSlider const *)arg1)->GetLineSize();
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 {
15563 resultobj = SWIG_From_int(static_cast<int >(result));
15564 }
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj = NULL;
15573 wxSlider *arg1 = (wxSlider *) 0 ;
15574 int result;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15582 if (SWIG_arg_fail(1)) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (int)((wxSlider const *)arg1)->GetPageSize();
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 {
15591 resultobj = SWIG_From_int(static_cast<int >(result));
15592 }
15593 return resultobj;
15594 fail:
15595 return NULL;
15596 }
15597
15598
15599 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj = NULL;
15601 wxSlider *arg1 = (wxSlider *) 0 ;
15602 int arg2 ;
15603 PyObject * obj0 = 0 ;
15604 PyObject * obj1 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self",(char *) "lenPixels", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail;
15612 {
15613 arg2 = static_cast<int >(SWIG_As_int(obj1));
15614 if (SWIG_arg_fail(2)) SWIG_fail;
15615 }
15616 {
15617 PyThreadState* __tstate = wxPyBeginAllowThreads();
15618 (arg1)->SetThumbLength(arg2);
15619
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 Py_INCREF(Py_None); resultobj = Py_None;
15624 return resultobj;
15625 fail:
15626 return NULL;
15627 }
15628
15629
15630 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15631 PyObject *resultobj = NULL;
15632 wxSlider *arg1 = (wxSlider *) 0 ;
15633 int result;
15634 PyObject * obj0 = 0 ;
15635 char *kwnames[] = {
15636 (char *) "self", NULL
15637 };
15638
15639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15641 if (SWIG_arg_fail(1)) SWIG_fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 {
15650 resultobj = SWIG_From_int(static_cast<int >(result));
15651 }
15652 return resultobj;
15653 fail:
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj = NULL;
15660 wxSlider *arg1 = (wxSlider *) 0 ;
15661 int arg2 ;
15662 int arg3 = (int) 1 ;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 PyObject * obj2 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self",(char *) "n",(char *) "pos", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15672 if (SWIG_arg_fail(1)) SWIG_fail;
15673 {
15674 arg2 = static_cast<int >(SWIG_As_int(obj1));
15675 if (SWIG_arg_fail(2)) SWIG_fail;
15676 }
15677 if (obj2) {
15678 {
15679 arg3 = static_cast<int >(SWIG_As_int(obj2));
15680 if (SWIG_arg_fail(3)) SWIG_fail;
15681 }
15682 }
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->SetTickFreq(arg2,arg3);
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 Py_INCREF(Py_None); resultobj = Py_None;
15691 return resultobj;
15692 fail:
15693 return NULL;
15694 }
15695
15696
15697 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj = NULL;
15699 wxSlider *arg1 = (wxSlider *) 0 ;
15700 int result;
15701 PyObject * obj0 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self", NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15708 if (SWIG_arg_fail(1)) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 {
15717 resultobj = SWIG_From_int(static_cast<int >(result));
15718 }
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj = NULL;
15727 wxSlider *arg1 = (wxSlider *) 0 ;
15728 PyObject * obj0 = 0 ;
15729 char *kwnames[] = {
15730 (char *) "self", NULL
15731 };
15732
15733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15735 if (SWIG_arg_fail(1)) SWIG_fail;
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->ClearTicks();
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 Py_INCREF(Py_None); resultobj = Py_None;
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj = NULL;
15752 wxSlider *arg1 = (wxSlider *) 0 ;
15753 int arg2 ;
15754 PyObject * obj0 = 0 ;
15755 PyObject * obj1 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self",(char *) "tickPos", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15762 if (SWIG_arg_fail(1)) SWIG_fail;
15763 {
15764 arg2 = static_cast<int >(SWIG_As_int(obj1));
15765 if (SWIG_arg_fail(2)) SWIG_fail;
15766 }
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 (arg1)->SetTick(arg2);
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 Py_INCREF(Py_None); resultobj = Py_None;
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj = NULL;
15783 wxSlider *arg1 = (wxSlider *) 0 ;
15784 PyObject * obj0 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15791 if (SWIG_arg_fail(1)) SWIG_fail;
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 (arg1)->ClearSel();
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 Py_INCREF(Py_None); resultobj = Py_None;
15800 return resultobj;
15801 fail:
15802 return NULL;
15803 }
15804
15805
15806 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15807 PyObject *resultobj = NULL;
15808 wxSlider *arg1 = (wxSlider *) 0 ;
15809 int result;
15810 PyObject * obj0 = 0 ;
15811 char *kwnames[] = {
15812 (char *) "self", NULL
15813 };
15814
15815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15817 if (SWIG_arg_fail(1)) SWIG_fail;
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15821
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 {
15826 resultobj = SWIG_From_int(static_cast<int >(result));
15827 }
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj = NULL;
15836 wxSlider *arg1 = (wxSlider *) 0 ;
15837 int result;
15838 PyObject * obj0 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15845 if (SWIG_arg_fail(1)) SWIG_fail;
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 result = (int)((wxSlider const *)arg1)->GetSelStart();
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 {
15854 resultobj = SWIG_From_int(static_cast<int >(result));
15855 }
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj = NULL;
15864 wxSlider *arg1 = (wxSlider *) 0 ;
15865 int arg2 ;
15866 int arg3 ;
15867 PyObject * obj0 = 0 ;
15868 PyObject * obj1 = 0 ;
15869 PyObject * obj2 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self",(char *) "min",(char *) "max", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail;
15877 {
15878 arg2 = static_cast<int >(SWIG_As_int(obj1));
15879 if (SWIG_arg_fail(2)) SWIG_fail;
15880 }
15881 {
15882 arg3 = static_cast<int >(SWIG_As_int(obj2));
15883 if (SWIG_arg_fail(3)) SWIG_fail;
15884 }
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 (arg1)->SetSelection(arg2,arg3);
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 Py_INCREF(Py_None); resultobj = Py_None;
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj = NULL;
15901 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15902 wxVisualAttributes result;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "variant", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15909 if (obj0) {
15910 {
15911 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
15912 if (SWIG_arg_fail(1)) SWIG_fail;
15913 }
15914 }
15915 {
15916 if (!wxPyCheckForApp()) SWIG_fail;
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 result = wxSlider::GetClassDefaultAttributes(arg1);
15919
15920 wxPyEndAllowThreads(__tstate);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 {
15924 wxVisualAttributes * resultptr;
15925 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
15926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15927 }
15928 return resultobj;
15929 fail:
15930 return NULL;
15931 }
15932
15933
15934 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15935 PyObject *obj;
15936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15937 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15938 Py_INCREF(obj);
15939 return Py_BuildValue((char *)"");
15940 }
15941 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15942 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15943 return 1;
15944 }
15945
15946
15947 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15948 PyObject *pyobj = NULL;
15949
15950 {
15951 #if wxUSE_UNICODE
15952 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15953 #else
15954 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15955 #endif
15956 }
15957 return pyobj;
15958 }
15959
15960
15961 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj = NULL;
15963 wxWindow *arg1 = (wxWindow *) 0 ;
15964 int arg2 = (int) -1 ;
15965 wxString const &arg3_defvalue = wxPyEmptyString ;
15966 wxString *arg3 = (wxString *) &arg3_defvalue ;
15967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15969 wxSize const &arg5_defvalue = wxDefaultSize ;
15970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15971 long arg6 = (long) 0 ;
15972 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15973 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15974 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15975 wxString *arg8 = (wxString *) &arg8_defvalue ;
15976 wxToggleButton *result;
15977 bool temp3 = false ;
15978 wxPoint temp4 ;
15979 wxSize temp5 ;
15980 bool temp8 = false ;
15981 PyObject * obj0 = 0 ;
15982 PyObject * obj1 = 0 ;
15983 PyObject * obj2 = 0 ;
15984 PyObject * obj3 = 0 ;
15985 PyObject * obj4 = 0 ;
15986 PyObject * obj5 = 0 ;
15987 PyObject * obj6 = 0 ;
15988 PyObject * obj7 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail;
15996 if (obj1) {
15997 {
15998 arg2 = static_cast<int >(SWIG_As_int(obj1));
15999 if (SWIG_arg_fail(2)) SWIG_fail;
16000 }
16001 }
16002 if (obj2) {
16003 {
16004 arg3 = wxString_in_helper(obj2);
16005 if (arg3 == NULL) SWIG_fail;
16006 temp3 = true;
16007 }
16008 }
16009 if (obj3) {
16010 {
16011 arg4 = &temp4;
16012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16013 }
16014 }
16015 if (obj4) {
16016 {
16017 arg5 = &temp5;
16018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16019 }
16020 }
16021 if (obj5) {
16022 {
16023 arg6 = static_cast<long >(SWIG_As_long(obj5));
16024 if (SWIG_arg_fail(6)) SWIG_fail;
16025 }
16026 }
16027 if (obj6) {
16028 {
16029 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16030 if (SWIG_arg_fail(7)) SWIG_fail;
16031 if (arg7 == NULL) {
16032 SWIG_null_ref("wxValidator");
16033 }
16034 if (SWIG_arg_fail(7)) SWIG_fail;
16035 }
16036 }
16037 if (obj7) {
16038 {
16039 arg8 = wxString_in_helper(obj7);
16040 if (arg8 == NULL) SWIG_fail;
16041 temp8 = true;
16042 }
16043 }
16044 {
16045 if (!wxPyCheckForApp()) SWIG_fail;
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16053 {
16054 if (temp3)
16055 delete arg3;
16056 }
16057 {
16058 if (temp8)
16059 delete arg8;
16060 }
16061 return resultobj;
16062 fail:
16063 {
16064 if (temp3)
16065 delete arg3;
16066 }
16067 {
16068 if (temp8)
16069 delete arg8;
16070 }
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj = NULL;
16077 wxToggleButton *result;
16078 char *kwnames[] = {
16079 NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
16083 {
16084 if (!wxPyCheckForApp()) SWIG_fail;
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 result = (wxToggleButton *)new wxToggleButton();
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
16092 return resultobj;
16093 fail:
16094 return NULL;
16095 }
16096
16097
16098 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16099 PyObject *resultobj = NULL;
16100 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16101 wxWindow *arg2 = (wxWindow *) 0 ;
16102 int arg3 = (int) -1 ;
16103 wxString const &arg4_defvalue = wxPyEmptyString ;
16104 wxString *arg4 = (wxString *) &arg4_defvalue ;
16105 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16106 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16107 wxSize const &arg6_defvalue = wxDefaultSize ;
16108 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16109 long arg7 = (long) 0 ;
16110 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16111 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16112 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
16113 wxString *arg9 = (wxString *) &arg9_defvalue ;
16114 bool result;
16115 bool temp4 = false ;
16116 wxPoint temp5 ;
16117 wxSize temp6 ;
16118 bool temp9 = false ;
16119 PyObject * obj0 = 0 ;
16120 PyObject * obj1 = 0 ;
16121 PyObject * obj2 = 0 ;
16122 PyObject * obj3 = 0 ;
16123 PyObject * obj4 = 0 ;
16124 PyObject * obj5 = 0 ;
16125 PyObject * obj6 = 0 ;
16126 PyObject * obj7 = 0 ;
16127 PyObject * obj8 = 0 ;
16128 char *kwnames[] = {
16129 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16130 };
16131
16132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16134 if (SWIG_arg_fail(1)) SWIG_fail;
16135 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16136 if (SWIG_arg_fail(2)) SWIG_fail;
16137 if (obj2) {
16138 {
16139 arg3 = static_cast<int >(SWIG_As_int(obj2));
16140 if (SWIG_arg_fail(3)) SWIG_fail;
16141 }
16142 }
16143 if (obj3) {
16144 {
16145 arg4 = wxString_in_helper(obj3);
16146 if (arg4 == NULL) SWIG_fail;
16147 temp4 = true;
16148 }
16149 }
16150 if (obj4) {
16151 {
16152 arg5 = &temp5;
16153 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16154 }
16155 }
16156 if (obj5) {
16157 {
16158 arg6 = &temp6;
16159 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16160 }
16161 }
16162 if (obj6) {
16163 {
16164 arg7 = static_cast<long >(SWIG_As_long(obj6));
16165 if (SWIG_arg_fail(7)) SWIG_fail;
16166 }
16167 }
16168 if (obj7) {
16169 {
16170 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
16171 if (SWIG_arg_fail(8)) SWIG_fail;
16172 if (arg8 == NULL) {
16173 SWIG_null_ref("wxValidator");
16174 }
16175 if (SWIG_arg_fail(8)) SWIG_fail;
16176 }
16177 }
16178 if (obj8) {
16179 {
16180 arg9 = wxString_in_helper(obj8);
16181 if (arg9 == NULL) SWIG_fail;
16182 temp9 = true;
16183 }
16184 }
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 {
16193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16194 }
16195 {
16196 if (temp4)
16197 delete arg4;
16198 }
16199 {
16200 if (temp9)
16201 delete arg9;
16202 }
16203 return resultobj;
16204 fail:
16205 {
16206 if (temp4)
16207 delete arg4;
16208 }
16209 {
16210 if (temp9)
16211 delete arg9;
16212 }
16213 return NULL;
16214 }
16215
16216
16217 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj = NULL;
16219 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16220 bool arg2 ;
16221 PyObject * obj0 = 0 ;
16222 PyObject * obj1 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self",(char *) "value", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
16228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16229 if (SWIG_arg_fail(1)) SWIG_fail;
16230 {
16231 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
16232 if (SWIG_arg_fail(2)) SWIG_fail;
16233 }
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 (arg1)->SetValue(arg2);
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 Py_INCREF(Py_None); resultobj = Py_None;
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj = NULL;
16250 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16251 bool result;
16252 PyObject * obj0 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16259 if (SWIG_arg_fail(1)) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 {
16268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16269 }
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj = NULL;
16278 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16279 wxString *arg2 = 0 ;
16280 bool temp2 = false ;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "label", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
16291 arg2 = wxString_in_helper(obj1);
16292 if (arg2 == NULL) SWIG_fail;
16293 temp2 = true;
16294 }
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 (arg1)->SetLabel((wxString const &)*arg2);
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 Py_INCREF(Py_None); resultobj = Py_None;
16303 {
16304 if (temp2)
16305 delete arg2;
16306 }
16307 return resultobj;
16308 fail:
16309 {
16310 if (temp2)
16311 delete arg2;
16312 }
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj = NULL;
16319 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16320 wxVisualAttributes result;
16321 PyObject * obj0 = 0 ;
16322 char *kwnames[] = {
16323 (char *) "variant", NULL
16324 };
16325
16326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16327 if (obj0) {
16328 {
16329 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
16330 if (SWIG_arg_fail(1)) SWIG_fail;
16331 }
16332 }
16333 {
16334 if (!wxPyCheckForApp()) SWIG_fail;
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 result = wxToggleButton::GetClassDefaultAttributes(arg1);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 {
16342 wxVisualAttributes * resultptr;
16343 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
16344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16345 }
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16353 PyObject *obj;
16354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16355 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16356 Py_INCREF(obj);
16357 return Py_BuildValue((char *)"");
16358 }
16359 static int _wrap_NotebookNameStr_set(PyObject *) {
16360 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16361 return 1;
16362 }
16363
16364
16365 static PyObject *_wrap_NotebookNameStr_get(void) {
16366 PyObject *pyobj = NULL;
16367
16368 {
16369 #if wxUSE_UNICODE
16370 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16371 #else
16372 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16373 #endif
16374 }
16375 return pyobj;
16376 }
16377
16378
16379 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj = NULL;
16381 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16382 size_t result;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail;
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
16400 }
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj = NULL;
16409 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16410 size_t arg2 ;
16411 wxWindow *result;
16412 PyObject * obj0 = 0 ;
16413 PyObject * obj1 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "n", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail;
16421 {
16422 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16423 if (SWIG_arg_fail(2)) SWIG_fail;
16424 }
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = (wxWindow *)(arg1)->GetPage(arg2);
16428
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
16433 resultobj = wxPyMake_wxObject(result, 0);
16434 }
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj = NULL;
16443 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16444 wxWindow *result;
16445 PyObject * obj0 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail;
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16456
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 {
16461 resultobj = wxPyMake_wxObject(result, 0);
16462 }
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj = NULL;
16471 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16472 int result;
16473 PyObject * obj0 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16480 if (SWIG_arg_fail(1)) SWIG_fail;
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 resultobj = SWIG_From_int(static_cast<int >(result));
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj = NULL;
16499 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16500 size_t arg2 ;
16501 wxString *arg3 = 0 ;
16502 bool result;
16503 bool temp3 = false ;
16504 PyObject * obj0 = 0 ;
16505 PyObject * obj1 = 0 ;
16506 PyObject * obj2 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "n",(char *) "strText", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail;
16514 {
16515 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16516 if (SWIG_arg_fail(2)) SWIG_fail;
16517 }
16518 {
16519 arg3 = wxString_in_helper(obj2);
16520 if (arg3 == NULL) SWIG_fail;
16521 temp3 = true;
16522 }
16523 {
16524 PyThreadState* __tstate = wxPyBeginAllowThreads();
16525 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16526
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16532 }
16533 {
16534 if (temp3)
16535 delete arg3;
16536 }
16537 return resultobj;
16538 fail:
16539 {
16540 if (temp3)
16541 delete arg3;
16542 }
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj = NULL;
16549 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16550 size_t arg2 ;
16551 wxString result;
16552 PyObject * obj0 = 0 ;
16553 PyObject * obj1 = 0 ;
16554 char *kwnames[] = {
16555 (char *) "self",(char *) "n", NULL
16556 };
16557
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16560 if (SWIG_arg_fail(1)) SWIG_fail;
16561 {
16562 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16563 if (SWIG_arg_fail(2)) SWIG_fail;
16564 }
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 {
16573 #if wxUSE_UNICODE
16574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16575 #else
16576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16577 #endif
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj = NULL;
16587 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16588 wxImageList *arg2 = (wxImageList *) 0 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "imageList", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
16598 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16599 if (SWIG_arg_fail(2)) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 (arg1)->SetImageList(arg2);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 Py_INCREF(Py_None); resultobj = Py_None;
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj = NULL;
16616 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16617 wxImageList *arg2 = (wxImageList *) 0 ;
16618 PyObject * obj0 = 0 ;
16619 PyObject * obj1 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "imageList", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail;
16627 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16628 if (SWIG_arg_fail(2)) SWIG_fail;
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 (arg1)->AssignImageList(arg2);
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 Py_INCREF(Py_None); resultobj = Py_None;
16637 return resultobj;
16638 fail:
16639 return NULL;
16640 }
16641
16642
16643 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj = NULL;
16645 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16646 wxImageList *result;
16647 PyObject * obj0 = 0 ;
16648 char *kwnames[] = {
16649 (char *) "self", NULL
16650 };
16651
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16654 if (SWIG_arg_fail(1)) SWIG_fail;
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 {
16663 resultobj = wxPyMake_wxObject(result, 0);
16664 }
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj = NULL;
16673 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16674 size_t arg2 ;
16675 int result;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 char *kwnames[] = {
16679 (char *) "self",(char *) "n", NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16684 if (SWIG_arg_fail(1)) SWIG_fail;
16685 {
16686 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16687 if (SWIG_arg_fail(2)) SWIG_fail;
16688 }
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 {
16697 resultobj = SWIG_From_int(static_cast<int >(result));
16698 }
16699 return resultobj;
16700 fail:
16701 return NULL;
16702 }
16703
16704
16705 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj = NULL;
16707 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16708 size_t arg2 ;
16709 int arg3 ;
16710 bool result;
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 PyObject * obj2 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "n",(char *) "imageId", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16720 if (SWIG_arg_fail(1)) SWIG_fail;
16721 {
16722 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16723 if (SWIG_arg_fail(2)) SWIG_fail;
16724 }
16725 {
16726 arg3 = static_cast<int >(SWIG_As_int(obj2));
16727 if (SWIG_arg_fail(3)) SWIG_fail;
16728 }
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj = NULL;
16747 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16748 wxSize *arg2 = 0 ;
16749 wxSize temp2 ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self",(char *) "size", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16758 if (SWIG_arg_fail(1)) SWIG_fail;
16759 {
16760 arg2 = &temp2;
16761 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16762 }
16763 {
16764 PyThreadState* __tstate = wxPyBeginAllowThreads();
16765 (arg1)->SetPageSize((wxSize const &)*arg2);
16766
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 Py_INCREF(Py_None); resultobj = Py_None;
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj = NULL;
16779 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16780 wxSize *arg2 = 0 ;
16781 wxSize result;
16782 wxSize temp2 ;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self",(char *) "sizePage", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail;
16792 {
16793 arg2 = &temp2;
16794 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16795 }
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 {
16804 wxSize * resultptr;
16805 resultptr = new wxSize(static_cast<wxSize & >(result));
16806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16807 }
16808 return resultobj;
16809 fail:
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj = NULL;
16816 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16817 size_t arg2 ;
16818 bool result;
16819 PyObject * obj0 = 0 ;
16820 PyObject * obj1 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self",(char *) "n", NULL
16823 };
16824
16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail;
16828 {
16829 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16830 if (SWIG_arg_fail(2)) SWIG_fail;
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (bool)(arg1)->DeletePage(arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 {
16840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16841 }
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj = NULL;
16850 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16851 size_t arg2 ;
16852 bool result;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self",(char *) "n", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",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<size_t >(SWIG_As_unsigned_SS_long(obj1));
16864 if (SWIG_arg_fail(2)) SWIG_fail;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (bool)(arg1)->RemovePage(arg2);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 {
16874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16875 }
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj = NULL;
16884 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16885 bool result;
16886 PyObject * obj0 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16893 if (SWIG_arg_fail(1)) SWIG_fail;
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = (bool)(arg1)->DeleteAllPages();
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 {
16902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16903 }
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj = NULL;
16912 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16913 wxWindow *arg2 = (wxWindow *) 0 ;
16914 wxString *arg3 = 0 ;
16915 bool arg4 = (bool) false ;
16916 int arg5 = (int) -1 ;
16917 bool result;
16918 bool temp3 = false ;
16919 PyObject * obj0 = 0 ;
16920 PyObject * obj1 = 0 ;
16921 PyObject * obj2 = 0 ;
16922 PyObject * obj3 = 0 ;
16923 PyObject * obj4 = 0 ;
16924 char *kwnames[] = {
16925 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16926 };
16927
16928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16930 if (SWIG_arg_fail(1)) SWIG_fail;
16931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16932 if (SWIG_arg_fail(2)) SWIG_fail;
16933 {
16934 arg3 = wxString_in_helper(obj2);
16935 if (arg3 == NULL) SWIG_fail;
16936 temp3 = true;
16937 }
16938 if (obj3) {
16939 {
16940 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
16941 if (SWIG_arg_fail(4)) SWIG_fail;
16942 }
16943 }
16944 if (obj4) {
16945 {
16946 arg5 = static_cast<int >(SWIG_As_int(obj4));
16947 if (SWIG_arg_fail(5)) SWIG_fail;
16948 }
16949 }
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 {
16958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16959 }
16960 {
16961 if (temp3)
16962 delete arg3;
16963 }
16964 return resultobj;
16965 fail:
16966 {
16967 if (temp3)
16968 delete arg3;
16969 }
16970 return NULL;
16971 }
16972
16973
16974 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj = NULL;
16976 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16977 size_t arg2 ;
16978 wxWindow *arg3 = (wxWindow *) 0 ;
16979 wxString *arg4 = 0 ;
16980 bool arg5 = (bool) false ;
16981 int arg6 = (int) -1 ;
16982 bool result;
16983 bool temp4 = false ;
16984 PyObject * obj0 = 0 ;
16985 PyObject * obj1 = 0 ;
16986 PyObject * obj2 = 0 ;
16987 PyObject * obj3 = 0 ;
16988 PyObject * obj4 = 0 ;
16989 PyObject * obj5 = 0 ;
16990 char *kwnames[] = {
16991 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16996 if (SWIG_arg_fail(1)) SWIG_fail;
16997 {
16998 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
16999 if (SWIG_arg_fail(2)) SWIG_fail;
17000 }
17001 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17002 if (SWIG_arg_fail(3)) SWIG_fail;
17003 {
17004 arg4 = wxString_in_helper(obj3);
17005 if (arg4 == NULL) SWIG_fail;
17006 temp4 = true;
17007 }
17008 if (obj4) {
17009 {
17010 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
17011 if (SWIG_arg_fail(5)) SWIG_fail;
17012 }
17013 }
17014 if (obj5) {
17015 {
17016 arg6 = static_cast<int >(SWIG_As_int(obj5));
17017 if (SWIG_arg_fail(6)) SWIG_fail;
17018 }
17019 }
17020 {
17021 PyThreadState* __tstate = wxPyBeginAllowThreads();
17022 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
17023
17024 wxPyEndAllowThreads(__tstate);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
17027 {
17028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17029 }
17030 {
17031 if (temp4)
17032 delete arg4;
17033 }
17034 return resultobj;
17035 fail:
17036 {
17037 if (temp4)
17038 delete arg4;
17039 }
17040 return NULL;
17041 }
17042
17043
17044 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17045 PyObject *resultobj = NULL;
17046 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17047 size_t arg2 ;
17048 int result;
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self",(char *) "n", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail;
17058 {
17059 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
17060 if (SWIG_arg_fail(2)) SWIG_fail;
17061 }
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 result = (int)(arg1)->SetSelection(arg2);
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 {
17070 resultobj = SWIG_From_int(static_cast<int >(result));
17071 }
17072 return resultobj;
17073 fail:
17074 return NULL;
17075 }
17076
17077
17078 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj = NULL;
17080 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
17081 bool arg2 = (bool) true ;
17082 PyObject * obj0 = 0 ;
17083 PyObject * obj1 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self",(char *) "forward", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
17089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
17090 if (SWIG_arg_fail(1)) SWIG_fail;
17091 if (obj1) {
17092 {
17093 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17094 if (SWIG_arg_fail(2)) SWIG_fail;
17095 }
17096 }
17097 {
17098 PyThreadState* __tstate = wxPyBeginAllowThreads();
17099 (arg1)->AdvanceSelection(arg2);
17100
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 Py_INCREF(Py_None); resultobj = Py_None;
17105 return resultobj;
17106 fail:
17107 return NULL;
17108 }
17109
17110
17111 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17112 PyObject *resultobj = NULL;
17113 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17114 wxVisualAttributes result;
17115 PyObject * obj0 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "variant", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17121 if (obj0) {
17122 {
17123 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17124 if (SWIG_arg_fail(1)) SWIG_fail;
17125 }
17126 }
17127 {
17128 if (!wxPyCheckForApp()) SWIG_fail;
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 {
17136 wxVisualAttributes * resultptr;
17137 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17139 }
17140 return resultobj;
17141 fail:
17142 return NULL;
17143 }
17144
17145
17146 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
17147 PyObject *obj;
17148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17149 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
17150 Py_INCREF(obj);
17151 return Py_BuildValue((char *)"");
17152 }
17153 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17154 PyObject *resultobj = NULL;
17155 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17156 int arg2 = (int) 0 ;
17157 int arg3 = (int) -1 ;
17158 int arg4 = (int) -1 ;
17159 wxBookCtrlBaseEvent *result;
17160 PyObject * obj0 = 0 ;
17161 PyObject * obj1 = 0 ;
17162 PyObject * obj2 = 0 ;
17163 PyObject * obj3 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17169 if (obj0) {
17170 {
17171 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17172 if (SWIG_arg_fail(1)) SWIG_fail;
17173 }
17174 }
17175 if (obj1) {
17176 {
17177 arg2 = static_cast<int >(SWIG_As_int(obj1));
17178 if (SWIG_arg_fail(2)) SWIG_fail;
17179 }
17180 }
17181 if (obj2) {
17182 {
17183 arg3 = static_cast<int >(SWIG_As_int(obj2));
17184 if (SWIG_arg_fail(3)) SWIG_fail;
17185 }
17186 }
17187 if (obj3) {
17188 {
17189 arg4 = static_cast<int >(SWIG_As_int(obj3));
17190 if (SWIG_arg_fail(4)) SWIG_fail;
17191 }
17192 }
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj = NULL;
17209 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17210 int result;
17211 PyObject * obj0 = 0 ;
17212 char *kwnames[] = {
17213 (char *) "self", NULL
17214 };
17215
17216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
17217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17218 if (SWIG_arg_fail(1)) SWIG_fail;
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
17222
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
17226 {
17227 resultobj = SWIG_From_int(static_cast<int >(result));
17228 }
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj = NULL;
17237 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17238 int arg2 ;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self",(char *) "nSel", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17247 if (SWIG_arg_fail(1)) SWIG_fail;
17248 {
17249 arg2 = static_cast<int >(SWIG_As_int(obj1));
17250 if (SWIG_arg_fail(2)) SWIG_fail;
17251 }
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetSelection(arg2);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 Py_INCREF(Py_None); resultobj = Py_None;
17260 return resultobj;
17261 fail:
17262 return NULL;
17263 }
17264
17265
17266 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17267 PyObject *resultobj = NULL;
17268 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17269 int result;
17270 PyObject * obj0 = 0 ;
17271 char *kwnames[] = {
17272 (char *) "self", NULL
17273 };
17274
17275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17277 if (SWIG_arg_fail(1)) SWIG_fail;
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 {
17286 resultobj = SWIG_From_int(static_cast<int >(result));
17287 }
17288 return resultobj;
17289 fail:
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj = NULL;
17296 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17297 int arg2 ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self",(char *) "nOldSel", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17306 if (SWIG_arg_fail(1)) SWIG_fail;
17307 {
17308 arg2 = static_cast<int >(SWIG_As_int(obj1));
17309 if (SWIG_arg_fail(2)) SWIG_fail;
17310 }
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 (arg1)->SetOldSelection(arg2);
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 Py_INCREF(Py_None); resultobj = Py_None;
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17326 PyObject *obj;
17327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17328 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17329 Py_INCREF(obj);
17330 return Py_BuildValue((char *)"");
17331 }
17332 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj = NULL;
17334 wxWindow *arg1 = (wxWindow *) 0 ;
17335 int arg2 = (int) -1 ;
17336 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17337 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17338 wxSize const &arg4_defvalue = wxDefaultSize ;
17339 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17340 long arg5 = (long) 0 ;
17341 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17342 wxString *arg6 = (wxString *) &arg6_defvalue ;
17343 wxNotebook *result;
17344 wxPoint temp3 ;
17345 wxSize temp4 ;
17346 bool temp6 = false ;
17347 PyObject * obj0 = 0 ;
17348 PyObject * obj1 = 0 ;
17349 PyObject * obj2 = 0 ;
17350 PyObject * obj3 = 0 ;
17351 PyObject * obj4 = 0 ;
17352 PyObject * obj5 = 0 ;
17353 char *kwnames[] = {
17354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17355 };
17356
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail;
17360 if (obj1) {
17361 {
17362 arg2 = static_cast<int >(SWIG_As_int(obj1));
17363 if (SWIG_arg_fail(2)) SWIG_fail;
17364 }
17365 }
17366 if (obj2) {
17367 {
17368 arg3 = &temp3;
17369 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17370 }
17371 }
17372 if (obj3) {
17373 {
17374 arg4 = &temp4;
17375 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17376 }
17377 }
17378 if (obj4) {
17379 {
17380 arg5 = static_cast<long >(SWIG_As_long(obj4));
17381 if (SWIG_arg_fail(5)) SWIG_fail;
17382 }
17383 }
17384 if (obj5) {
17385 {
17386 arg6 = wxString_in_helper(obj5);
17387 if (arg6 == NULL) SWIG_fail;
17388 temp6 = true;
17389 }
17390 }
17391 {
17392 if (!wxPyCheckForApp()) SWIG_fail;
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17400 {
17401 if (temp6)
17402 delete arg6;
17403 }
17404 return resultobj;
17405 fail:
17406 {
17407 if (temp6)
17408 delete arg6;
17409 }
17410 return NULL;
17411 }
17412
17413
17414 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj = NULL;
17416 wxNotebook *result;
17417 char *kwnames[] = {
17418 NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17422 {
17423 if (!wxPyCheckForApp()) SWIG_fail;
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 result = (wxNotebook *)new wxNotebook();
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17431 return resultobj;
17432 fail:
17433 return NULL;
17434 }
17435
17436
17437 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj = NULL;
17439 wxNotebook *arg1 = (wxNotebook *) 0 ;
17440 wxWindow *arg2 = (wxWindow *) 0 ;
17441 int arg3 = (int) -1 ;
17442 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17443 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17444 wxSize const &arg5_defvalue = wxDefaultSize ;
17445 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17446 long arg6 = (long) 0 ;
17447 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17448 wxString *arg7 = (wxString *) &arg7_defvalue ;
17449 bool result;
17450 wxPoint temp4 ;
17451 wxSize temp5 ;
17452 bool temp7 = false ;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 PyObject * obj2 = 0 ;
17456 PyObject * obj3 = 0 ;
17457 PyObject * obj4 = 0 ;
17458 PyObject * obj5 = 0 ;
17459 PyObject * obj6 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17466 if (SWIG_arg_fail(1)) SWIG_fail;
17467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17468 if (SWIG_arg_fail(2)) SWIG_fail;
17469 if (obj2) {
17470 {
17471 arg3 = static_cast<int >(SWIG_As_int(obj2));
17472 if (SWIG_arg_fail(3)) SWIG_fail;
17473 }
17474 }
17475 if (obj3) {
17476 {
17477 arg4 = &temp4;
17478 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17479 }
17480 }
17481 if (obj4) {
17482 {
17483 arg5 = &temp5;
17484 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17485 }
17486 }
17487 if (obj5) {
17488 {
17489 arg6 = static_cast<long >(SWIG_As_long(obj5));
17490 if (SWIG_arg_fail(6)) SWIG_fail;
17491 }
17492 }
17493 if (obj6) {
17494 {
17495 arg7 = wxString_in_helper(obj6);
17496 if (arg7 == NULL) SWIG_fail;
17497 temp7 = true;
17498 }
17499 }
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 {
17508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17509 }
17510 {
17511 if (temp7)
17512 delete arg7;
17513 }
17514 return resultobj;
17515 fail:
17516 {
17517 if (temp7)
17518 delete arg7;
17519 }
17520 return NULL;
17521 }
17522
17523
17524 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17525 PyObject *resultobj = NULL;
17526 wxNotebook *arg1 = (wxNotebook *) 0 ;
17527 int result;
17528 PyObject * obj0 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "self", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail;
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17539
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 {
17544 resultobj = SWIG_From_int(static_cast<int >(result));
17545 }
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj = NULL;
17554 wxNotebook *arg1 = (wxNotebook *) 0 ;
17555 wxSize *arg2 = 0 ;
17556 wxSize temp2 ;
17557 PyObject * obj0 = 0 ;
17558 PyObject * obj1 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self",(char *) "padding", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17565 if (SWIG_arg_fail(1)) SWIG_fail;
17566 {
17567 arg2 = &temp2;
17568 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17569 }
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 (arg1)->SetPadding((wxSize const &)*arg2);
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 Py_INCREF(Py_None); resultobj = Py_None;
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj = NULL;
17586 wxNotebook *arg1 = (wxNotebook *) 0 ;
17587 wxSize *arg2 = 0 ;
17588 wxSize temp2 ;
17589 PyObject * obj0 = 0 ;
17590 PyObject * obj1 = 0 ;
17591 char *kwnames[] = {
17592 (char *) "self",(char *) "sz", NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17597 if (SWIG_arg_fail(1)) SWIG_fail;
17598 {
17599 arg2 = &temp2;
17600 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17601 }
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 (arg1)->SetTabSize((wxSize const &)*arg2);
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 Py_INCREF(Py_None); resultobj = Py_None;
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj = NULL;
17618 wxNotebook *arg1 = (wxNotebook *) 0 ;
17619 wxPoint *arg2 = 0 ;
17620 long *arg3 = (long *) 0 ;
17621 int result;
17622 wxPoint temp2 ;
17623 long temp3 ;
17624 int res3 = 0 ;
17625 PyObject * obj0 = 0 ;
17626 PyObject * obj1 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "pt", NULL
17629 };
17630
17631 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail;
17635 {
17636 arg2 = &temp2;
17637 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17638 }
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 resultobj = SWIG_From_int(static_cast<int >(result));
17648 }
17649 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17650 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17651 return resultobj;
17652 fail:
17653 return NULL;
17654 }
17655
17656
17657 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj = NULL;
17659 wxNotebook *arg1 = (wxNotebook *) 0 ;
17660 wxSize *arg2 = 0 ;
17661 wxSize result;
17662 wxSize temp2 ;
17663 PyObject * obj0 = 0 ;
17664 PyObject * obj1 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self",(char *) "sizePage", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail;
17672 {
17673 arg2 = &temp2;
17674 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17675 }
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 {
17684 wxSize * resultptr;
17685 resultptr = new wxSize(static_cast<wxSize & >(result));
17686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17687 }
17688 return resultobj;
17689 fail:
17690 return NULL;
17691 }
17692
17693
17694 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj = NULL;
17696 wxNotebook *arg1 = (wxNotebook *) 0 ;
17697 wxColour result;
17698 PyObject * obj0 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17705 if (SWIG_arg_fail(1)) SWIG_fail;
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 {
17714 wxColour * resultptr;
17715 resultptr = new wxColour(static_cast<wxColour & >(result));
17716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17717 }
17718 return resultobj;
17719 fail:
17720 return NULL;
17721 }
17722
17723
17724 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17725 PyObject *resultobj = NULL;
17726 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17727 wxVisualAttributes result;
17728 PyObject * obj0 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "variant", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17734 if (obj0) {
17735 {
17736 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
17737 if (SWIG_arg_fail(1)) SWIG_fail;
17738 }
17739 }
17740 {
17741 if (!wxPyCheckForApp()) SWIG_fail;
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = wxNotebook::GetClassDefaultAttributes(arg1);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 {
17749 wxVisualAttributes * resultptr;
17750 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
17751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17752 }
17753 return resultobj;
17754 fail:
17755 return NULL;
17756 }
17757
17758
17759 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17760 PyObject *obj;
17761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17762 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17763 Py_INCREF(obj);
17764 return Py_BuildValue((char *)"");
17765 }
17766 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17767 PyObject *resultobj = NULL;
17768 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17769 int arg2 = (int) 0 ;
17770 int arg3 = (int) -1 ;
17771 int arg4 = (int) -1 ;
17772 wxNotebookEvent *result;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 PyObject * obj2 = 0 ;
17776 PyObject * obj3 = 0 ;
17777 char *kwnames[] = {
17778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17779 };
17780
17781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17782 if (obj0) {
17783 {
17784 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
17785 if (SWIG_arg_fail(1)) SWIG_fail;
17786 }
17787 }
17788 if (obj1) {
17789 {
17790 arg2 = static_cast<int >(SWIG_As_int(obj1));
17791 if (SWIG_arg_fail(2)) SWIG_fail;
17792 }
17793 }
17794 if (obj2) {
17795 {
17796 arg3 = static_cast<int >(SWIG_As_int(obj2));
17797 if (SWIG_arg_fail(3)) SWIG_fail;
17798 }
17799 }
17800 if (obj3) {
17801 {
17802 arg4 = static_cast<int >(SWIG_As_int(obj3));
17803 if (SWIG_arg_fail(4)) SWIG_fail;
17804 }
17805 }
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17821 PyObject *obj;
17822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17823 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17824 Py_INCREF(obj);
17825 return Py_BuildValue((char *)"");
17826 }
17827 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17828 PyObject *resultobj = NULL;
17829 wxWindow *arg1 = (wxWindow *) 0 ;
17830 int arg2 = (int) -1 ;
17831 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17832 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17833 wxSize const &arg4_defvalue = wxDefaultSize ;
17834 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17835 long arg5 = (long) 0 ;
17836 wxString const &arg6_defvalue = wxPyEmptyString ;
17837 wxString *arg6 = (wxString *) &arg6_defvalue ;
17838 wxListbook *result;
17839 wxPoint temp3 ;
17840 wxSize temp4 ;
17841 bool temp6 = false ;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 PyObject * obj2 = 0 ;
17845 PyObject * obj3 = 0 ;
17846 PyObject * obj4 = 0 ;
17847 PyObject * obj5 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17854 if (SWIG_arg_fail(1)) SWIG_fail;
17855 if (obj1) {
17856 {
17857 arg2 = static_cast<int >(SWIG_As_int(obj1));
17858 if (SWIG_arg_fail(2)) SWIG_fail;
17859 }
17860 }
17861 if (obj2) {
17862 {
17863 arg3 = &temp3;
17864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17865 }
17866 }
17867 if (obj3) {
17868 {
17869 arg4 = &temp4;
17870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17871 }
17872 }
17873 if (obj4) {
17874 {
17875 arg5 = static_cast<long >(SWIG_As_long(obj4));
17876 if (SWIG_arg_fail(5)) SWIG_fail;
17877 }
17878 }
17879 if (obj5) {
17880 {
17881 arg6 = wxString_in_helper(obj5);
17882 if (arg6 == NULL) SWIG_fail;
17883 temp6 = true;
17884 }
17885 }
17886 {
17887 if (!wxPyCheckForApp()) SWIG_fail;
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17895 {
17896 if (temp6)
17897 delete arg6;
17898 }
17899 return resultobj;
17900 fail:
17901 {
17902 if (temp6)
17903 delete arg6;
17904 }
17905 return NULL;
17906 }
17907
17908
17909 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj = NULL;
17911 wxListbook *result;
17912 char *kwnames[] = {
17913 NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17917 {
17918 if (!wxPyCheckForApp()) SWIG_fail;
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (wxListbook *)new wxListbook();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17926 return resultobj;
17927 fail:
17928 return NULL;
17929 }
17930
17931
17932 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17933 PyObject *resultobj = NULL;
17934 wxListbook *arg1 = (wxListbook *) 0 ;
17935 wxWindow *arg2 = (wxWindow *) 0 ;
17936 int arg3 = (int) -1 ;
17937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17939 wxSize const &arg5_defvalue = wxDefaultSize ;
17940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17941 long arg6 = (long) 0 ;
17942 wxString const &arg7_defvalue = wxPyEmptyString ;
17943 wxString *arg7 = (wxString *) &arg7_defvalue ;
17944 bool result;
17945 wxPoint temp4 ;
17946 wxSize temp5 ;
17947 bool temp7 = false ;
17948 PyObject * obj0 = 0 ;
17949 PyObject * obj1 = 0 ;
17950 PyObject * obj2 = 0 ;
17951 PyObject * obj3 = 0 ;
17952 PyObject * obj4 = 0 ;
17953 PyObject * obj5 = 0 ;
17954 PyObject * obj6 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail;
17962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17963 if (SWIG_arg_fail(2)) SWIG_fail;
17964 if (obj2) {
17965 {
17966 arg3 = static_cast<int >(SWIG_As_int(obj2));
17967 if (SWIG_arg_fail(3)) SWIG_fail;
17968 }
17969 }
17970 if (obj3) {
17971 {
17972 arg4 = &temp4;
17973 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17974 }
17975 }
17976 if (obj4) {
17977 {
17978 arg5 = &temp5;
17979 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17980 }
17981 }
17982 if (obj5) {
17983 {
17984 arg6 = static_cast<long >(SWIG_As_long(obj5));
17985 if (SWIG_arg_fail(6)) SWIG_fail;
17986 }
17987 }
17988 if (obj6) {
17989 {
17990 arg7 = wxString_in_helper(obj6);
17991 if (arg7 == NULL) SWIG_fail;
17992 temp7 = true;
17993 }
17994 }
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 {
18003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18004 }
18005 {
18006 if (temp7)
18007 delete arg7;
18008 }
18009 return resultobj;
18010 fail:
18011 {
18012 if (temp7)
18013 delete arg7;
18014 }
18015 return NULL;
18016 }
18017
18018
18019 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj = NULL;
18021 wxListbook *arg1 = (wxListbook *) 0 ;
18022 bool result;
18023 PyObject * obj0 = 0 ;
18024 char *kwnames[] = {
18025 (char *) "self", NULL
18026 };
18027
18028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
18029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail;
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 result = (bool)((wxListbook const *)arg1)->IsVertical();
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 {
18039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18040 }
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj = NULL;
18049 wxListbook *arg1 = (wxListbook *) 0 ;
18050 wxListView *result;
18051 PyObject * obj0 = 0 ;
18052 char *kwnames[] = {
18053 (char *) "self", NULL
18054 };
18055
18056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
18057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail;
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 result = (wxListView *)(arg1)->GetListView();
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
18074 PyObject *obj;
18075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18076 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
18077 Py_INCREF(obj);
18078 return Py_BuildValue((char *)"");
18079 }
18080 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj = NULL;
18082 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18083 int arg2 = (int) 0 ;
18084 int arg3 = (int) -1 ;
18085 int arg4 = (int) -1 ;
18086 wxListbookEvent *result;
18087 PyObject * obj0 = 0 ;
18088 PyObject * obj1 = 0 ;
18089 PyObject * obj2 = 0 ;
18090 PyObject * obj3 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18096 if (obj0) {
18097 {
18098 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18099 if (SWIG_arg_fail(1)) SWIG_fail;
18100 }
18101 }
18102 if (obj1) {
18103 {
18104 arg2 = static_cast<int >(SWIG_As_int(obj1));
18105 if (SWIG_arg_fail(2)) SWIG_fail;
18106 }
18107 }
18108 if (obj2) {
18109 {
18110 arg3 = static_cast<int >(SWIG_As_int(obj2));
18111 if (SWIG_arg_fail(3)) SWIG_fail;
18112 }
18113 }
18114 if (obj3) {
18115 {
18116 arg4 = static_cast<int >(SWIG_As_int(obj3));
18117 if (SWIG_arg_fail(4)) SWIG_fail;
18118 }
18119 }
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
18128 return resultobj;
18129 fail:
18130 return NULL;
18131 }
18132
18133
18134 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
18135 PyObject *obj;
18136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18137 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
18138 Py_INCREF(obj);
18139 return Py_BuildValue((char *)"");
18140 }
18141 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj = NULL;
18143 wxWindow *arg1 = (wxWindow *) 0 ;
18144 int arg2 ;
18145 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18146 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18147 wxSize const &arg4_defvalue = wxDefaultSize ;
18148 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18149 long arg5 = (long) 0 ;
18150 wxString const &arg6_defvalue = wxPyEmptyString ;
18151 wxString *arg6 = (wxString *) &arg6_defvalue ;
18152 wxChoicebook *result;
18153 wxPoint temp3 ;
18154 wxSize temp4 ;
18155 bool temp6 = false ;
18156 PyObject * obj0 = 0 ;
18157 PyObject * obj1 = 0 ;
18158 PyObject * obj2 = 0 ;
18159 PyObject * obj3 = 0 ;
18160 PyObject * obj4 = 0 ;
18161 PyObject * obj5 = 0 ;
18162 char *kwnames[] = {
18163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail;
18169 {
18170 arg2 = static_cast<int >(SWIG_As_int(obj1));
18171 if (SWIG_arg_fail(2)) SWIG_fail;
18172 }
18173 if (obj2) {
18174 {
18175 arg3 = &temp3;
18176 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18177 }
18178 }
18179 if (obj3) {
18180 {
18181 arg4 = &temp4;
18182 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18183 }
18184 }
18185 if (obj4) {
18186 {
18187 arg5 = static_cast<long >(SWIG_As_long(obj4));
18188 if (SWIG_arg_fail(5)) SWIG_fail;
18189 }
18190 }
18191 if (obj5) {
18192 {
18193 arg6 = wxString_in_helper(obj5);
18194 if (arg6 == NULL) SWIG_fail;
18195 temp6 = true;
18196 }
18197 }
18198 {
18199 if (!wxPyCheckForApp()) SWIG_fail;
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18207 {
18208 if (temp6)
18209 delete arg6;
18210 }
18211 return resultobj;
18212 fail:
18213 {
18214 if (temp6)
18215 delete arg6;
18216 }
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj = NULL;
18223 wxChoicebook *result;
18224 char *kwnames[] = {
18225 NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18229 {
18230 if (!wxPyCheckForApp()) SWIG_fail;
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (wxChoicebook *)new wxChoicebook();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj = NULL;
18246 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18247 wxWindow *arg2 = (wxWindow *) 0 ;
18248 int arg3 ;
18249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18251 wxSize const &arg5_defvalue = wxDefaultSize ;
18252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18253 long arg6 = (long) 0 ;
18254 wxString const &arg7_defvalue = wxPyEmptyString ;
18255 wxString *arg7 = (wxString *) &arg7_defvalue ;
18256 bool result;
18257 wxPoint temp4 ;
18258 wxSize temp5 ;
18259 bool temp7 = false ;
18260 PyObject * obj0 = 0 ;
18261 PyObject * obj1 = 0 ;
18262 PyObject * obj2 = 0 ;
18263 PyObject * obj3 = 0 ;
18264 PyObject * obj4 = 0 ;
18265 PyObject * obj5 = 0 ;
18266 PyObject * obj6 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18273 if (SWIG_arg_fail(1)) SWIG_fail;
18274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18275 if (SWIG_arg_fail(2)) SWIG_fail;
18276 {
18277 arg3 = static_cast<int >(SWIG_As_int(obj2));
18278 if (SWIG_arg_fail(3)) SWIG_fail;
18279 }
18280 if (obj3) {
18281 {
18282 arg4 = &temp4;
18283 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18284 }
18285 }
18286 if (obj4) {
18287 {
18288 arg5 = &temp5;
18289 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18290 }
18291 }
18292 if (obj5) {
18293 {
18294 arg6 = static_cast<long >(SWIG_As_long(obj5));
18295 if (SWIG_arg_fail(6)) SWIG_fail;
18296 }
18297 }
18298 if (obj6) {
18299 {
18300 arg7 = wxString_in_helper(obj6);
18301 if (arg7 == NULL) SWIG_fail;
18302 temp7 = true;
18303 }
18304 }
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 {
18313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18314 }
18315 {
18316 if (temp7)
18317 delete arg7;
18318 }
18319 return resultobj;
18320 fail:
18321 {
18322 if (temp7)
18323 delete arg7;
18324 }
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj = NULL;
18331 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18332 bool result;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail;
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18350 }
18351 return resultobj;
18352 fail:
18353 return NULL;
18354 }
18355
18356
18357 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18358 PyObject *resultobj = NULL;
18359 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18360 wxChoice *result;
18361 PyObject * obj0 = 0 ;
18362 char *kwnames[] = {
18363 (char *) "self", NULL
18364 };
18365
18366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail;
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj = NULL;
18385 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18386 bool result;
18387 PyObject * obj0 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18394 if (SWIG_arg_fail(1)) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (bool)(arg1)->DeleteAllPages();
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 {
18403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18404 }
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18412 PyObject *obj;
18413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18414 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18415 Py_INCREF(obj);
18416 return Py_BuildValue((char *)"");
18417 }
18418 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj = NULL;
18420 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18421 int arg2 = (int) 0 ;
18422 int arg3 = (int) -1 ;
18423 int arg4 = (int) -1 ;
18424 wxChoicebookEvent *result;
18425 PyObject * obj0 = 0 ;
18426 PyObject * obj1 = 0 ;
18427 PyObject * obj2 = 0 ;
18428 PyObject * obj3 = 0 ;
18429 char *kwnames[] = {
18430 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18431 };
18432
18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18434 if (obj0) {
18435 {
18436 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
18437 if (SWIG_arg_fail(1)) SWIG_fail;
18438 }
18439 }
18440 if (obj1) {
18441 {
18442 arg2 = static_cast<int >(SWIG_As_int(obj1));
18443 if (SWIG_arg_fail(2)) SWIG_fail;
18444 }
18445 }
18446 if (obj2) {
18447 {
18448 arg3 = static_cast<int >(SWIG_As_int(obj2));
18449 if (SWIG_arg_fail(3)) SWIG_fail;
18450 }
18451 }
18452 if (obj3) {
18453 {
18454 arg4 = static_cast<int >(SWIG_As_int(obj3));
18455 if (SWIG_arg_fail(4)) SWIG_fail;
18456 }
18457 }
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18473 PyObject *obj;
18474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18475 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18476 Py_INCREF(obj);
18477 return Py_BuildValue((char *)"");
18478 }
18479 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18480 PyObject *resultobj = NULL;
18481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18482 int result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18490 if (SWIG_arg_fail(1)) SWIG_fail;
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = (int)(arg1)->GetId();
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
18499 resultobj = SWIG_From_int(static_cast<int >(result));
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504 }
18505
18506
18507 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj = NULL;
18509 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18510 wxControl *result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18518 if (SWIG_arg_fail(1)) SWIG_fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (wxControl *)(arg1)->GetControl();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 {
18527 resultobj = wxPyMake_wxObject(result, 0);
18528 }
18529 return resultobj;
18530 fail:
18531 return NULL;
18532 }
18533
18534
18535 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18536 PyObject *resultobj = NULL;
18537 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18538 wxToolBarBase *result;
18539 PyObject * obj0 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail;
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 result = (wxToolBarBase *)(arg1)->GetToolBar();
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 {
18555 resultobj = wxPyMake_wxObject(result, 0);
18556 }
18557 return resultobj;
18558 fail:
18559 return NULL;
18560 }
18561
18562
18563 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18564 PyObject *resultobj = NULL;
18565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18566 int result;
18567 PyObject * obj0 = 0 ;
18568 char *kwnames[] = {
18569 (char *) "self", NULL
18570 };
18571
18572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail;
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (int)(arg1)->IsButton();
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 {
18583 resultobj = SWIG_From_int(static_cast<int >(result));
18584 }
18585 return resultobj;
18586 fail:
18587 return NULL;
18588 }
18589
18590
18591 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18592 PyObject *resultobj = NULL;
18593 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18594 int result;
18595 PyObject * obj0 = 0 ;
18596 char *kwnames[] = {
18597 (char *) "self", NULL
18598 };
18599
18600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail;
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (int)(arg1)->IsControl();
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 {
18611 resultobj = SWIG_From_int(static_cast<int >(result));
18612 }
18613 return resultobj;
18614 fail:
18615 return NULL;
18616 }
18617
18618
18619 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18620 PyObject *resultobj = NULL;
18621 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18622 int result;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (int)(arg1)->IsSeparator();
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 {
18639 resultobj = SWIG_From_int(static_cast<int >(result));
18640 }
18641 return resultobj;
18642 fail:
18643 return NULL;
18644 }
18645
18646
18647 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj = NULL;
18649 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18650 int result;
18651 PyObject * obj0 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18658 if (SWIG_arg_fail(1)) SWIG_fail;
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (int)(arg1)->GetStyle();
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 {
18667 resultobj = SWIG_From_int(static_cast<int >(result));
18668 }
18669 return resultobj;
18670 fail:
18671 return NULL;
18672 }
18673
18674
18675 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj = NULL;
18677 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18678 wxItemKind result;
18679 PyObject * obj0 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail;
18687 {
18688 PyThreadState* __tstate = wxPyBeginAllowThreads();
18689 result = (wxItemKind)(arg1)->GetKind();
18690
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 resultobj = SWIG_From_int((result));
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj = NULL;
18703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18704 bool result;
18705 PyObject * obj0 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail;
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (bool)(arg1)->IsEnabled();
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 {
18721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18722 }
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj = NULL;
18731 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18732 bool result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail;
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = (bool)(arg1)->IsToggled();
18744
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 {
18749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18750 }
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj = NULL;
18759 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18760 bool result;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 result = (bool)(arg1)->CanBeToggled();
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 {
18777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18778 }
18779 return resultobj;
18780 fail:
18781 return NULL;
18782 }
18783
18784
18785 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj = NULL;
18787 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18788 wxBitmap *result;
18789 PyObject * obj0 = 0 ;
18790 char *kwnames[] = {
18791 (char *) "self", NULL
18792 };
18793
18794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18796 if (SWIG_arg_fail(1)) SWIG_fail;
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 {
18800 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18801 result = (wxBitmap *) &_result_ref;
18802 }
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 {
18808 wxBitmap* resultptr = new wxBitmap(*result);
18809 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18810 }
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj = NULL;
18819 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18820 wxBitmap *result;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18828 if (SWIG_arg_fail(1)) SWIG_fail;
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 {
18832 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18833 result = (wxBitmap *) &_result_ref;
18834 }
18835
18836 wxPyEndAllowThreads(__tstate);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 {
18840 wxBitmap* resultptr = new wxBitmap(*result);
18841 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18842 }
18843 return resultobj;
18844 fail:
18845 return NULL;
18846 }
18847
18848
18849 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj = NULL;
18851 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18852 wxBitmap result;
18853 PyObject * obj0 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18860 if (SWIG_arg_fail(1)) SWIG_fail;
18861 {
18862 PyThreadState* __tstate = wxPyBeginAllowThreads();
18863 result = (arg1)->GetBitmap();
18864
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 {
18869 wxBitmap * resultptr;
18870 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
18871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18872 }
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj = NULL;
18881 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18882 wxString result;
18883 PyObject * obj0 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18890 if (SWIG_arg_fail(1)) SWIG_fail;
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 result = (arg1)->GetLabel();
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 {
18899 #if wxUSE_UNICODE
18900 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18901 #else
18902 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18903 #endif
18904 }
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj = NULL;
18913 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18914 wxString result;
18915 PyObject * obj0 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18922 if (SWIG_arg_fail(1)) SWIG_fail;
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (arg1)->GetShortHelp();
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 {
18931 #if wxUSE_UNICODE
18932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18933 #else
18934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18935 #endif
18936 }
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj = NULL;
18945 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18946 wxString result;
18947 PyObject * obj0 = 0 ;
18948 char *kwnames[] = {
18949 (char *) "self", NULL
18950 };
18951
18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18954 if (SWIG_arg_fail(1)) SWIG_fail;
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = (arg1)->GetLongHelp();
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 {
18963 #if wxUSE_UNICODE
18964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18965 #else
18966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18967 #endif
18968 }
18969 return resultobj;
18970 fail:
18971 return NULL;
18972 }
18973
18974
18975 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj = NULL;
18977 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18978 bool arg2 ;
18979 bool result;
18980 PyObject * obj0 = 0 ;
18981 PyObject * obj1 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "enable", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
18989 {
18990 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
18991 if (SWIG_arg_fail(2)) SWIG_fail;
18992 }
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 result = (bool)(arg1)->Enable(arg2);
18996
18997 wxPyEndAllowThreads(__tstate);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 }
19000 {
19001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19002 }
19003 return resultobj;
19004 fail:
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj = NULL;
19011 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
19018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail;
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 (arg1)->Toggle();
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 Py_INCREF(Py_None); resultobj = Py_None;
19028 return resultobj;
19029 fail:
19030 return NULL;
19031 }
19032
19033
19034 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj = NULL;
19036 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19037 bool arg2 ;
19038 bool result;
19039 PyObject * obj0 = 0 ;
19040 PyObject * obj1 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self",(char *) "toggle", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
19046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail;
19048 {
19049 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
19050 if (SWIG_arg_fail(2)) SWIG_fail;
19051 }
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (bool)(arg1)->SetToggle(arg2);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 {
19060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19061 }
19062 return resultobj;
19063 fail:
19064 return NULL;
19065 }
19066
19067
19068 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19069 PyObject *resultobj = NULL;
19070 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19071 wxString *arg2 = 0 ;
19072 bool result;
19073 bool temp2 = false ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "help", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail;
19083 {
19084 arg2 = wxString_in_helper(obj1);
19085 if (arg2 == NULL) SWIG_fail;
19086 temp2 = true;
19087 }
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 {
19096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19097 }
19098 {
19099 if (temp2)
19100 delete arg2;
19101 }
19102 return resultobj;
19103 fail:
19104 {
19105 if (temp2)
19106 delete arg2;
19107 }
19108 return NULL;
19109 }
19110
19111
19112 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj = NULL;
19114 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19115 wxString *arg2 = 0 ;
19116 bool result;
19117 bool temp2 = false ;
19118 PyObject * obj0 = 0 ;
19119 PyObject * obj1 = 0 ;
19120 char *kwnames[] = {
19121 (char *) "self",(char *) "help", NULL
19122 };
19123
19124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19126 if (SWIG_arg_fail(1)) SWIG_fail;
19127 {
19128 arg2 = wxString_in_helper(obj1);
19129 if (arg2 == NULL) SWIG_fail;
19130 temp2 = true;
19131 }
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 {
19140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19141 }
19142 {
19143 if (temp2)
19144 delete arg2;
19145 }
19146 return resultobj;
19147 fail:
19148 {
19149 if (temp2)
19150 delete arg2;
19151 }
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj = NULL;
19158 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19159 wxBitmap *arg2 = 0 ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "bmp", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail;
19169 {
19170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19171 if (SWIG_arg_fail(2)) SWIG_fail;
19172 if (arg2 == NULL) {
19173 SWIG_null_ref("wxBitmap");
19174 }
19175 if (SWIG_arg_fail(2)) SWIG_fail;
19176 }
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj = NULL;
19193 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19194 wxBitmap *arg2 = 0 ;
19195 PyObject * obj0 = 0 ;
19196 PyObject * obj1 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self",(char *) "bmp", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail;
19204 {
19205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19206 if (SWIG_arg_fail(2)) SWIG_fail;
19207 if (arg2 == NULL) {
19208 SWIG_null_ref("wxBitmap");
19209 }
19210 if (SWIG_arg_fail(2)) SWIG_fail;
19211 }
19212 {
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19215
19216 wxPyEndAllowThreads(__tstate);
19217 if (PyErr_Occurred()) SWIG_fail;
19218 }
19219 Py_INCREF(Py_None); resultobj = Py_None;
19220 return resultobj;
19221 fail:
19222 return NULL;
19223 }
19224
19225
19226 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19227 PyObject *resultobj = NULL;
19228 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19229 wxString *arg2 = 0 ;
19230 bool temp2 = false ;
19231 PyObject * obj0 = 0 ;
19232 PyObject * obj1 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self",(char *) "label", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19239 if (SWIG_arg_fail(1)) SWIG_fail;
19240 {
19241 arg2 = wxString_in_helper(obj1);
19242 if (arg2 == NULL) SWIG_fail;
19243 temp2 = true;
19244 }
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 (arg1)->SetLabel((wxString const &)*arg2);
19248
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 Py_INCREF(Py_None); resultobj = Py_None;
19253 {
19254 if (temp2)
19255 delete arg2;
19256 }
19257 return resultobj;
19258 fail:
19259 {
19260 if (temp2)
19261 delete arg2;
19262 }
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj = NULL;
19269 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19270 PyObject * obj0 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19277 if (SWIG_arg_fail(1)) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 (arg1)->Detach();
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 Py_INCREF(Py_None); resultobj = Py_None;
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj = NULL;
19294 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19295 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19296 PyObject * obj0 = 0 ;
19297 PyObject * obj1 = 0 ;
19298 char *kwnames[] = {
19299 (char *) "self",(char *) "tbar", NULL
19300 };
19301
19302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19304 if (SWIG_arg_fail(1)) SWIG_fail;
19305 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19306 if (SWIG_arg_fail(2)) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 (arg1)->Attach(arg2);
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 Py_INCREF(Py_None); resultobj = Py_None;
19315 return resultobj;
19316 fail:
19317 return NULL;
19318 }
19319
19320
19321 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj = NULL;
19323 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19324 PyObject *result;
19325 PyObject * obj0 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19332 if (SWIG_arg_fail(1)) SWIG_fail;
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 resultobj = result;
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj = NULL;
19349 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19350 PyObject *arg2 = (PyObject *) 0 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj1 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "clientData", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail;
19360 arg2 = obj1;
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
19363 wxToolBarToolBase_SetClientData(arg1,arg2);
19364
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 Py_INCREF(Py_None); resultobj = Py_None;
19369 return resultobj;
19370 fail:
19371 return NULL;
19372 }
19373
19374
19375 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19376 PyObject *obj;
19377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19378 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19379 Py_INCREF(obj);
19380 return Py_BuildValue((char *)"");
19381 }
19382 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj = NULL;
19384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19385 int arg2 ;
19386 wxString *arg3 = 0 ;
19387 wxBitmap *arg4 = 0 ;
19388 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19389 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19390 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19391 wxString const &arg7_defvalue = wxPyEmptyString ;
19392 wxString *arg7 = (wxString *) &arg7_defvalue ;
19393 wxString const &arg8_defvalue = wxPyEmptyString ;
19394 wxString *arg8 = (wxString *) &arg8_defvalue ;
19395 PyObject *arg9 = (PyObject *) NULL ;
19396 wxToolBarToolBase *result;
19397 bool temp3 = false ;
19398 bool temp7 = false ;
19399 bool temp8 = false ;
19400 PyObject * obj0 = 0 ;
19401 PyObject * obj1 = 0 ;
19402 PyObject * obj2 = 0 ;
19403 PyObject * obj3 = 0 ;
19404 PyObject * obj4 = 0 ;
19405 PyObject * obj5 = 0 ;
19406 PyObject * obj6 = 0 ;
19407 PyObject * obj7 = 0 ;
19408 PyObject * obj8 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail;
19416 {
19417 arg2 = static_cast<int >(SWIG_As_int(obj1));
19418 if (SWIG_arg_fail(2)) SWIG_fail;
19419 }
19420 {
19421 arg3 = wxString_in_helper(obj2);
19422 if (arg3 == NULL) SWIG_fail;
19423 temp3 = true;
19424 }
19425 {
19426 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19427 if (SWIG_arg_fail(4)) SWIG_fail;
19428 if (arg4 == NULL) {
19429 SWIG_null_ref("wxBitmap");
19430 }
19431 if (SWIG_arg_fail(4)) SWIG_fail;
19432 }
19433 if (obj4) {
19434 {
19435 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19436 if (SWIG_arg_fail(5)) SWIG_fail;
19437 if (arg5 == NULL) {
19438 SWIG_null_ref("wxBitmap");
19439 }
19440 if (SWIG_arg_fail(5)) SWIG_fail;
19441 }
19442 }
19443 if (obj5) {
19444 {
19445 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
19446 if (SWIG_arg_fail(6)) SWIG_fail;
19447 }
19448 }
19449 if (obj6) {
19450 {
19451 arg7 = wxString_in_helper(obj6);
19452 if (arg7 == NULL) SWIG_fail;
19453 temp7 = true;
19454 }
19455 }
19456 if (obj7) {
19457 {
19458 arg8 = wxString_in_helper(obj7);
19459 if (arg8 == NULL) SWIG_fail;
19460 temp8 = true;
19461 }
19462 }
19463 if (obj8) {
19464 arg9 = obj8;
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 {
19474 resultobj = wxPyMake_wxObject(result, 0);
19475 }
19476 {
19477 if (temp3)
19478 delete arg3;
19479 }
19480 {
19481 if (temp7)
19482 delete arg7;
19483 }
19484 {
19485 if (temp8)
19486 delete arg8;
19487 }
19488 return resultobj;
19489 fail:
19490 {
19491 if (temp3)
19492 delete arg3;
19493 }
19494 {
19495 if (temp7)
19496 delete arg7;
19497 }
19498 {
19499 if (temp8)
19500 delete arg8;
19501 }
19502 return NULL;
19503 }
19504
19505
19506 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19507 PyObject *resultobj = NULL;
19508 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19509 size_t arg2 ;
19510 int arg3 ;
19511 wxString *arg4 = 0 ;
19512 wxBitmap *arg5 = 0 ;
19513 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19514 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19515 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19516 wxString const &arg8_defvalue = wxPyEmptyString ;
19517 wxString *arg8 = (wxString *) &arg8_defvalue ;
19518 wxString const &arg9_defvalue = wxPyEmptyString ;
19519 wxString *arg9 = (wxString *) &arg9_defvalue ;
19520 PyObject *arg10 = (PyObject *) NULL ;
19521 wxToolBarToolBase *result;
19522 bool temp4 = false ;
19523 bool temp8 = false ;
19524 bool temp9 = false ;
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 PyObject * obj2 = 0 ;
19528 PyObject * obj3 = 0 ;
19529 PyObject * obj4 = 0 ;
19530 PyObject * obj5 = 0 ;
19531 PyObject * obj6 = 0 ;
19532 PyObject * obj7 = 0 ;
19533 PyObject * obj8 = 0 ;
19534 PyObject * obj9 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19541 if (SWIG_arg_fail(1)) SWIG_fail;
19542 {
19543 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19544 if (SWIG_arg_fail(2)) SWIG_fail;
19545 }
19546 {
19547 arg3 = static_cast<int >(SWIG_As_int(obj2));
19548 if (SWIG_arg_fail(3)) SWIG_fail;
19549 }
19550 {
19551 arg4 = wxString_in_helper(obj3);
19552 if (arg4 == NULL) SWIG_fail;
19553 temp4 = true;
19554 }
19555 {
19556 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19557 if (SWIG_arg_fail(5)) SWIG_fail;
19558 if (arg5 == NULL) {
19559 SWIG_null_ref("wxBitmap");
19560 }
19561 if (SWIG_arg_fail(5)) SWIG_fail;
19562 }
19563 if (obj5) {
19564 {
19565 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19566 if (SWIG_arg_fail(6)) SWIG_fail;
19567 if (arg6 == NULL) {
19568 SWIG_null_ref("wxBitmap");
19569 }
19570 if (SWIG_arg_fail(6)) SWIG_fail;
19571 }
19572 }
19573 if (obj6) {
19574 {
19575 arg7 = static_cast<wxItemKind >(SWIG_As_int(obj6));
19576 if (SWIG_arg_fail(7)) SWIG_fail;
19577 }
19578 }
19579 if (obj7) {
19580 {
19581 arg8 = wxString_in_helper(obj7);
19582 if (arg8 == NULL) SWIG_fail;
19583 temp8 = true;
19584 }
19585 }
19586 if (obj8) {
19587 {
19588 arg9 = wxString_in_helper(obj8);
19589 if (arg9 == NULL) SWIG_fail;
19590 temp9 = true;
19591 }
19592 }
19593 if (obj9) {
19594 arg10 = obj9;
19595 }
19596 {
19597 PyThreadState* __tstate = wxPyBeginAllowThreads();
19598 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
19599
19600 wxPyEndAllowThreads(__tstate);
19601 if (PyErr_Occurred()) SWIG_fail;
19602 }
19603 {
19604 resultobj = wxPyMake_wxObject(result, 0);
19605 }
19606 {
19607 if (temp4)
19608 delete arg4;
19609 }
19610 {
19611 if (temp8)
19612 delete arg8;
19613 }
19614 {
19615 if (temp9)
19616 delete arg9;
19617 }
19618 return resultobj;
19619 fail:
19620 {
19621 if (temp4)
19622 delete arg4;
19623 }
19624 {
19625 if (temp8)
19626 delete arg8;
19627 }
19628 {
19629 if (temp9)
19630 delete arg9;
19631 }
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj = NULL;
19638 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19639 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19640 wxToolBarToolBase *result;
19641 PyObject * obj0 = 0 ;
19642 PyObject * obj1 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self",(char *) "tool", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail;
19650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19651 if (SWIG_arg_fail(2)) SWIG_fail;
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 {
19660 resultobj = wxPyMake_wxObject(result, 0);
19661 }
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj = NULL;
19670 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19671 size_t arg2 ;
19672 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19673 wxToolBarToolBase *result;
19674 PyObject * obj0 = 0 ;
19675 PyObject * obj1 = 0 ;
19676 PyObject * obj2 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self",(char *) "pos",(char *) "tool", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19683 if (SWIG_arg_fail(1)) SWIG_fail;
19684 {
19685 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19686 if (SWIG_arg_fail(2)) SWIG_fail;
19687 }
19688 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19689 if (SWIG_arg_fail(3)) SWIG_fail;
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 {
19698 resultobj = wxPyMake_wxObject(result, 0);
19699 }
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj = NULL;
19708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19709 wxControl *arg2 = (wxControl *) 0 ;
19710 wxToolBarToolBase *result;
19711 PyObject * obj0 = 0 ;
19712 PyObject * obj1 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self",(char *) "control", NULL
19715 };
19716
19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19719 if (SWIG_arg_fail(1)) SWIG_fail;
19720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19721 if (SWIG_arg_fail(2)) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 {
19730 resultobj = wxPyMake_wxObject(result, 0);
19731 }
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj = NULL;
19740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19741 size_t arg2 ;
19742 wxControl *arg3 = (wxControl *) 0 ;
19743 wxToolBarToolBase *result;
19744 PyObject * obj0 = 0 ;
19745 PyObject * obj1 = 0 ;
19746 PyObject * obj2 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self",(char *) "pos",(char *) "control", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19753 if (SWIG_arg_fail(1)) SWIG_fail;
19754 {
19755 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19756 if (SWIG_arg_fail(2)) SWIG_fail;
19757 }
19758 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19759 if (SWIG_arg_fail(3)) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 {
19768 resultobj = wxPyMake_wxObject(result, 0);
19769 }
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj = NULL;
19778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19779 int arg2 ;
19780 wxControl *result;
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self",(char *) "id", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19789 if (SWIG_arg_fail(1)) SWIG_fail;
19790 {
19791 arg2 = static_cast<int >(SWIG_As_int(obj1));
19792 if (SWIG_arg_fail(2)) SWIG_fail;
19793 }
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 result = (wxControl *)(arg1)->FindControl(arg2);
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 {
19802 resultobj = wxPyMake_wxObject(result, 0);
19803 }
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj = NULL;
19812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19813 wxToolBarToolBase *result;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail;
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 {
19830 resultobj = wxPyMake_wxObject(result, 0);
19831 }
19832 return resultobj;
19833 fail:
19834 return NULL;
19835 }
19836
19837
19838 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj = NULL;
19840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19841 size_t arg2 ;
19842 wxToolBarToolBase *result;
19843 PyObject * obj0 = 0 ;
19844 PyObject * obj1 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self",(char *) "pos", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19851 if (SWIG_arg_fail(1)) SWIG_fail;
19852 {
19853 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19854 if (SWIG_arg_fail(2)) SWIG_fail;
19855 }
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 {
19864 resultobj = wxPyMake_wxObject(result, 0);
19865 }
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj = NULL;
19874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19875 int arg2 ;
19876 wxToolBarToolBase *result;
19877 PyObject * obj0 = 0 ;
19878 PyObject * obj1 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self",(char *) "id", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail;
19886 {
19887 arg2 = static_cast<int >(SWIG_As_int(obj1));
19888 if (SWIG_arg_fail(2)) SWIG_fail;
19889 }
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 {
19898 resultobj = wxPyMake_wxObject(result, 0);
19899 }
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj = NULL;
19908 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19909 size_t arg2 ;
19910 bool result;
19911 PyObject * obj0 = 0 ;
19912 PyObject * obj1 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self",(char *) "pos", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19919 if (SWIG_arg_fail(1)) SWIG_fail;
19920 {
19921 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
19922 if (SWIG_arg_fail(2)) SWIG_fail;
19923 }
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 result = (bool)(arg1)->DeleteToolByPos(arg2);
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 {
19932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19933 }
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj = NULL;
19942 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19943 int arg2 ;
19944 bool result;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self",(char *) "id", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail;
19954 {
19955 arg2 = static_cast<int >(SWIG_As_int(obj1));
19956 if (SWIG_arg_fail(2)) SWIG_fail;
19957 }
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (bool)(arg1)->DeleteTool(arg2);
19961
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 {
19966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19967 }
19968 return resultobj;
19969 fail:
19970 return NULL;
19971 }
19972
19973
19974 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj = NULL;
19976 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19977 PyObject * obj0 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 (arg1)->ClearTools();
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 Py_INCREF(Py_None); resultobj = Py_None;
19993 return resultobj;
19994 fail:
19995 return NULL;
19996 }
19997
19998
19999 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj = NULL;
20001 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20002 bool result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
20009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20010 if (SWIG_arg_fail(1)) SWIG_fail;
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = (bool)(arg1)->Realize();
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 {
20019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20020 }
20021 return resultobj;
20022 fail:
20023 return NULL;
20024 }
20025
20026
20027 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj = NULL;
20029 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20030 int arg2 ;
20031 bool arg3 ;
20032 PyObject * obj0 = 0 ;
20033 PyObject * obj1 = 0 ;
20034 PyObject * obj2 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self",(char *) "id",(char *) "enable", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20041 if (SWIG_arg_fail(1)) SWIG_fail;
20042 {
20043 arg2 = static_cast<int >(SWIG_As_int(obj1));
20044 if (SWIG_arg_fail(2)) SWIG_fail;
20045 }
20046 {
20047 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
20048 if (SWIG_arg_fail(3)) SWIG_fail;
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->EnableTool(arg2,arg3);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 Py_INCREF(Py_None); resultobj = Py_None;
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj = NULL;
20066 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20067 int arg2 ;
20068 bool arg3 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 PyObject * obj2 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "id",(char *) "toggle", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20078 if (SWIG_arg_fail(1)) SWIG_fail;
20079 {
20080 arg2 = static_cast<int >(SWIG_As_int(obj1));
20081 if (SWIG_arg_fail(2)) SWIG_fail;
20082 }
20083 {
20084 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
20085 if (SWIG_arg_fail(3)) SWIG_fail;
20086 }
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 (arg1)->ToggleTool(arg2,arg3);
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 Py_INCREF(Py_None); resultobj = Py_None;
20095 return resultobj;
20096 fail:
20097 return NULL;
20098 }
20099
20100
20101 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj = NULL;
20103 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20104 int arg2 ;
20105 bool arg3 ;
20106 PyObject * obj0 = 0 ;
20107 PyObject * obj1 = 0 ;
20108 PyObject * obj2 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self",(char *) "id",(char *) "toggle", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20115 if (SWIG_arg_fail(1)) SWIG_fail;
20116 {
20117 arg2 = static_cast<int >(SWIG_As_int(obj1));
20118 if (SWIG_arg_fail(2)) SWIG_fail;
20119 }
20120 {
20121 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
20122 if (SWIG_arg_fail(3)) SWIG_fail;
20123 }
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 (arg1)->SetToggle(arg2,arg3);
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 Py_INCREF(Py_None); resultobj = Py_None;
20132 return resultobj;
20133 fail:
20134 return NULL;
20135 }
20136
20137
20138 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20139 PyObject *resultobj = NULL;
20140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20141 int arg2 ;
20142 PyObject *result;
20143 PyObject * obj0 = 0 ;
20144 PyObject * obj1 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self",(char *) "id", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail;
20152 {
20153 arg2 = static_cast<int >(SWIG_As_int(obj1));
20154 if (SWIG_arg_fail(2)) SWIG_fail;
20155 }
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 resultobj = result;
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20171 PyObject *resultobj = NULL;
20172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20173 int arg2 ;
20174 PyObject *arg3 = (PyObject *) 0 ;
20175 PyObject * obj0 = 0 ;
20176 PyObject * obj1 = 0 ;
20177 PyObject * obj2 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "id",(char *) "clientData", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail;
20185 {
20186 arg2 = static_cast<int >(SWIG_As_int(obj1));
20187 if (SWIG_arg_fail(2)) SWIG_fail;
20188 }
20189 arg3 = obj2;
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 Py_INCREF(Py_None); resultobj = Py_None;
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj = NULL;
20206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20207 int arg2 ;
20208 int result;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "id", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail;
20218 {
20219 arg2 = static_cast<int >(SWIG_As_int(obj1));
20220 if (SWIG_arg_fail(2)) SWIG_fail;
20221 }
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 {
20230 resultobj = SWIG_From_int(static_cast<int >(result));
20231 }
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj = NULL;
20240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20241 int arg2 ;
20242 bool result;
20243 PyObject * obj0 = 0 ;
20244 PyObject * obj1 = 0 ;
20245 char *kwnames[] = {
20246 (char *) "self",(char *) "id", NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail;
20252 {
20253 arg2 = static_cast<int >(SWIG_As_int(obj1));
20254 if (SWIG_arg_fail(2)) SWIG_fail;
20255 }
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 result = (bool)(arg1)->GetToolState(arg2);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 {
20264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20265 }
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj = NULL;
20274 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20275 int arg2 ;
20276 bool result;
20277 PyObject * obj0 = 0 ;
20278 PyObject * obj1 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self",(char *) "id", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20285 if (SWIG_arg_fail(1)) SWIG_fail;
20286 {
20287 arg2 = static_cast<int >(SWIG_As_int(obj1));
20288 if (SWIG_arg_fail(2)) SWIG_fail;
20289 }
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (bool)(arg1)->GetToolEnabled(arg2);
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 {
20298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20299 }
20300 return resultobj;
20301 fail:
20302 return NULL;
20303 }
20304
20305
20306 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj = NULL;
20308 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20309 int arg2 ;
20310 wxString *arg3 = 0 ;
20311 bool temp3 = false ;
20312 PyObject * obj0 = 0 ;
20313 PyObject * obj1 = 0 ;
20314 PyObject * obj2 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self",(char *) "id",(char *) "helpString", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20321 if (SWIG_arg_fail(1)) SWIG_fail;
20322 {
20323 arg2 = static_cast<int >(SWIG_As_int(obj1));
20324 if (SWIG_arg_fail(2)) SWIG_fail;
20325 }
20326 {
20327 arg3 = wxString_in_helper(obj2);
20328 if (arg3 == NULL) SWIG_fail;
20329 temp3 = true;
20330 }
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 Py_INCREF(Py_None); resultobj = Py_None;
20339 {
20340 if (temp3)
20341 delete arg3;
20342 }
20343 return resultobj;
20344 fail:
20345 {
20346 if (temp3)
20347 delete arg3;
20348 }
20349 return NULL;
20350 }
20351
20352
20353 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj = NULL;
20355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20356 int arg2 ;
20357 wxString result;
20358 PyObject * obj0 = 0 ;
20359 PyObject * obj1 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self",(char *) "id", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20366 if (SWIG_arg_fail(1)) SWIG_fail;
20367 {
20368 arg2 = static_cast<int >(SWIG_As_int(obj1));
20369 if (SWIG_arg_fail(2)) SWIG_fail;
20370 }
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (arg1)->GetToolShortHelp(arg2);
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 {
20379 #if wxUSE_UNICODE
20380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20381 #else
20382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20383 #endif
20384 }
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20392 PyObject *resultobj = NULL;
20393 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20394 int arg2 ;
20395 wxString *arg3 = 0 ;
20396 bool temp3 = false ;
20397 PyObject * obj0 = 0 ;
20398 PyObject * obj1 = 0 ;
20399 PyObject * obj2 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "id",(char *) "helpString", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail;
20407 {
20408 arg2 = static_cast<int >(SWIG_As_int(obj1));
20409 if (SWIG_arg_fail(2)) SWIG_fail;
20410 }
20411 {
20412 arg3 = wxString_in_helper(obj2);
20413 if (arg3 == NULL) SWIG_fail;
20414 temp3 = true;
20415 }
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 Py_INCREF(Py_None); resultobj = Py_None;
20424 {
20425 if (temp3)
20426 delete arg3;
20427 }
20428 return resultobj;
20429 fail:
20430 {
20431 if (temp3)
20432 delete arg3;
20433 }
20434 return NULL;
20435 }
20436
20437
20438 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20439 PyObject *resultobj = NULL;
20440 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20441 int arg2 ;
20442 wxString result;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445 char *kwnames[] = {
20446 (char *) "self",(char *) "id", NULL
20447 };
20448
20449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20451 if (SWIG_arg_fail(1)) SWIG_fail;
20452 {
20453 arg2 = static_cast<int >(SWIG_As_int(obj1));
20454 if (SWIG_arg_fail(2)) SWIG_fail;
20455 }
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (arg1)->GetToolLongHelp(arg2);
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 #if wxUSE_UNICODE
20465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20466 #else
20467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20468 #endif
20469 }
20470 return resultobj;
20471 fail:
20472 return NULL;
20473 }
20474
20475
20476 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj = NULL;
20478 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20479 int arg2 ;
20480 int arg3 ;
20481 PyObject * obj0 = 0 ;
20482 PyObject * obj1 = 0 ;
20483 PyObject * obj2 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self",(char *) "x",(char *) "y", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail;
20491 {
20492 arg2 = static_cast<int >(SWIG_As_int(obj1));
20493 if (SWIG_arg_fail(2)) SWIG_fail;
20494 }
20495 {
20496 arg3 = static_cast<int >(SWIG_As_int(obj2));
20497 if (SWIG_arg_fail(3)) SWIG_fail;
20498 }
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 (arg1)->SetMargins(arg2,arg3);
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 Py_INCREF(Py_None); resultobj = Py_None;
20507 return resultobj;
20508 fail:
20509 return NULL;
20510 }
20511
20512
20513 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj = NULL;
20515 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20516 wxSize *arg2 = 0 ;
20517 wxSize temp2 ;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self",(char *) "size", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail;
20527 {
20528 arg2 = &temp2;
20529 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20530 }
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->SetMargins((wxSize const &)*arg2);
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj = NULL;
20547 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20548 int arg2 ;
20549 PyObject * obj0 = 0 ;
20550 PyObject * obj1 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self",(char *) "packing", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20557 if (SWIG_arg_fail(1)) SWIG_fail;
20558 {
20559 arg2 = static_cast<int >(SWIG_As_int(obj1));
20560 if (SWIG_arg_fail(2)) SWIG_fail;
20561 }
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->SetToolPacking(arg2);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj = NULL;
20578 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20579 int arg2 ;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self",(char *) "separation", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail;
20589 {
20590 arg2 = static_cast<int >(SWIG_As_int(obj1));
20591 if (SWIG_arg_fail(2)) SWIG_fail;
20592 }
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 (arg1)->SetToolSeparation(arg2);
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 Py_INCREF(Py_None); resultobj = Py_None;
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj = NULL;
20609 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20610 wxSize result;
20611 PyObject * obj0 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail;
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (arg1)->GetToolMargins();
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 {
20627 wxSize * resultptr;
20628 resultptr = new wxSize(static_cast<wxSize & >(result));
20629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20630 }
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj = NULL;
20639 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20640 wxSize result;
20641 PyObject * obj0 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20648 if (SWIG_arg_fail(1)) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (arg1)->GetMargins();
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 {
20657 wxSize * resultptr;
20658 resultptr = new wxSize(static_cast<wxSize & >(result));
20659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20660 }
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj = NULL;
20669 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20670 int result;
20671 PyObject * obj0 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 result = (int)(arg1)->GetToolPacking();
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 {
20687 resultobj = SWIG_From_int(static_cast<int >(result));
20688 }
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20696 PyObject *resultobj = NULL;
20697 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20698 int result;
20699 PyObject * obj0 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail;
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 result = (int)(arg1)->GetToolSeparation();
20710
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 {
20715 resultobj = SWIG_From_int(static_cast<int >(result));
20716 }
20717 return resultobj;
20718 fail:
20719 return NULL;
20720 }
20721
20722
20723 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj = NULL;
20725 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20726 int arg2 ;
20727 PyObject * obj0 = 0 ;
20728 PyObject * obj1 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self",(char *) "nRows", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail;
20736 {
20737 arg2 = static_cast<int >(SWIG_As_int(obj1));
20738 if (SWIG_arg_fail(2)) SWIG_fail;
20739 }
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->SetRows(arg2);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 Py_INCREF(Py_None); resultobj = Py_None;
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj = NULL;
20756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20757 int arg2 ;
20758 int arg3 ;
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 PyObject * obj2 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self",(char *) "rows",(char *) "cols", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20768 if (SWIG_arg_fail(1)) SWIG_fail;
20769 {
20770 arg2 = static_cast<int >(SWIG_As_int(obj1));
20771 if (SWIG_arg_fail(2)) SWIG_fail;
20772 }
20773 {
20774 arg3 = static_cast<int >(SWIG_As_int(obj2));
20775 if (SWIG_arg_fail(3)) SWIG_fail;
20776 }
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 (arg1)->SetMaxRowsCols(arg2,arg3);
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 Py_INCREF(Py_None); resultobj = Py_None;
20785 return resultobj;
20786 fail:
20787 return NULL;
20788 }
20789
20790
20791 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20792 PyObject *resultobj = NULL;
20793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20794 int result;
20795 PyObject * obj0 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "self", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20802 if (SWIG_arg_fail(1)) SWIG_fail;
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (int)(arg1)->GetMaxRows();
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 {
20811 resultobj = SWIG_From_int(static_cast<int >(result));
20812 }
20813 return resultobj;
20814 fail:
20815 return NULL;
20816 }
20817
20818
20819 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20820 PyObject *resultobj = NULL;
20821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20822 int result;
20823 PyObject * obj0 = 0 ;
20824 char *kwnames[] = {
20825 (char *) "self", NULL
20826 };
20827
20828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail;
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 result = (int)(arg1)->GetMaxCols();
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 {
20839 resultobj = SWIG_From_int(static_cast<int >(result));
20840 }
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj = NULL;
20849 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20850 wxSize *arg2 = 0 ;
20851 wxSize temp2 ;
20852 PyObject * obj0 = 0 ;
20853 PyObject * obj1 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self",(char *) "size", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20860 if (SWIG_arg_fail(1)) SWIG_fail;
20861 {
20862 arg2 = &temp2;
20863 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20864 }
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 Py_INCREF(Py_None); resultobj = Py_None;
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj = NULL;
20881 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20882 wxSize result;
20883 PyObject * obj0 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail;
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (arg1)->GetToolBitmapSize();
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 {
20899 wxSize * resultptr;
20900 resultptr = new wxSize(static_cast<wxSize & >(result));
20901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj = NULL;
20911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20912 wxSize result;
20913 PyObject * obj0 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail;
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (arg1)->GetToolSize();
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 {
20929 wxSize * resultptr;
20930 resultptr = new wxSize(static_cast<wxSize & >(result));
20931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20932 }
20933 return resultobj;
20934 fail:
20935 return NULL;
20936 }
20937
20938
20939 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20940 PyObject *resultobj = NULL;
20941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20942 int arg2 ;
20943 int arg3 ;
20944 wxToolBarToolBase *result;
20945 PyObject * obj0 = 0 ;
20946 PyObject * obj1 = 0 ;
20947 PyObject * obj2 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "self",(char *) "x",(char *) "y", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20954 if (SWIG_arg_fail(1)) SWIG_fail;
20955 {
20956 arg2 = static_cast<int >(SWIG_As_int(obj1));
20957 if (SWIG_arg_fail(2)) SWIG_fail;
20958 }
20959 {
20960 arg3 = static_cast<int >(SWIG_As_int(obj2));
20961 if (SWIG_arg_fail(3)) SWIG_fail;
20962 }
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 {
20971 resultobj = wxPyMake_wxObject(result, 0);
20972 }
20973 return resultobj;
20974 fail:
20975 return NULL;
20976 }
20977
20978
20979 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj = NULL;
20981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20982 int arg2 ;
20983 wxToolBarToolBase *result;
20984 PyObject * obj0 = 0 ;
20985 PyObject * obj1 = 0 ;
20986 char *kwnames[] = {
20987 (char *) "self",(char *) "toolid", NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20992 if (SWIG_arg_fail(1)) SWIG_fail;
20993 {
20994 arg2 = static_cast<int >(SWIG_As_int(obj1));
20995 if (SWIG_arg_fail(2)) SWIG_fail;
20996 }
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 {
21005 resultobj = wxPyMake_wxObject(result, 0);
21006 }
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj = NULL;
21015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21016 bool result;
21017 PyObject * obj0 = 0 ;
21018 char *kwnames[] = {
21019 (char *) "self", NULL
21020 };
21021
21022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
21023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail;
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = (bool)(arg1)->IsVertical();
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 {
21033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21034 }
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
21042 PyObject *obj;
21043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21044 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21045 Py_INCREF(obj);
21046 return Py_BuildValue((char *)"");
21047 }
21048 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj = NULL;
21050 wxWindow *arg1 = (wxWindow *) 0 ;
21051 int arg2 = (int) -1 ;
21052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21054 wxSize const &arg4_defvalue = wxDefaultSize ;
21055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21056 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21057 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21058 wxString *arg6 = (wxString *) &arg6_defvalue ;
21059 wxToolBar *result;
21060 wxPoint temp3 ;
21061 wxSize temp4 ;
21062 bool temp6 = false ;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 PyObject * obj2 = 0 ;
21066 PyObject * obj3 = 0 ;
21067 PyObject * obj4 = 0 ;
21068 PyObject * obj5 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail;
21076 if (obj1) {
21077 {
21078 arg2 = static_cast<int >(SWIG_As_int(obj1));
21079 if (SWIG_arg_fail(2)) SWIG_fail;
21080 }
21081 }
21082 if (obj2) {
21083 {
21084 arg3 = &temp3;
21085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21086 }
21087 }
21088 if (obj3) {
21089 {
21090 arg4 = &temp4;
21091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21092 }
21093 }
21094 if (obj4) {
21095 {
21096 arg5 = static_cast<long >(SWIG_As_long(obj4));
21097 if (SWIG_arg_fail(5)) SWIG_fail;
21098 }
21099 }
21100 if (obj5) {
21101 {
21102 arg6 = wxString_in_helper(obj5);
21103 if (arg6 == NULL) SWIG_fail;
21104 temp6 = true;
21105 }
21106 }
21107 {
21108 if (!wxPyCheckForApp()) SWIG_fail;
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21116 {
21117 if (temp6)
21118 delete arg6;
21119 }
21120 return resultobj;
21121 fail:
21122 {
21123 if (temp6)
21124 delete arg6;
21125 }
21126 return NULL;
21127 }
21128
21129
21130 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj = NULL;
21132 wxToolBar *result;
21133 char *kwnames[] = {
21134 NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21138 {
21139 if (!wxPyCheckForApp()) SWIG_fail;
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 result = (wxToolBar *)new wxToolBar();
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21147 return resultobj;
21148 fail:
21149 return NULL;
21150 }
21151
21152
21153 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj = NULL;
21155 wxToolBar *arg1 = (wxToolBar *) 0 ;
21156 wxWindow *arg2 = (wxWindow *) 0 ;
21157 int arg3 = (int) -1 ;
21158 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21159 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21160 wxSize const &arg5_defvalue = wxDefaultSize ;
21161 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21162 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21163 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21164 wxString *arg7 = (wxString *) &arg7_defvalue ;
21165 bool result;
21166 wxPoint temp4 ;
21167 wxSize temp5 ;
21168 bool temp7 = false ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 PyObject * obj2 = 0 ;
21172 PyObject * obj3 = 0 ;
21173 PyObject * obj4 = 0 ;
21174 PyObject * obj5 = 0 ;
21175 PyObject * obj6 = 0 ;
21176 char *kwnames[] = {
21177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail;
21183 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21184 if (SWIG_arg_fail(2)) SWIG_fail;
21185 if (obj2) {
21186 {
21187 arg3 = static_cast<int >(SWIG_As_int(obj2));
21188 if (SWIG_arg_fail(3)) SWIG_fail;
21189 }
21190 }
21191 if (obj3) {
21192 {
21193 arg4 = &temp4;
21194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21195 }
21196 }
21197 if (obj4) {
21198 {
21199 arg5 = &temp5;
21200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21201 }
21202 }
21203 if (obj5) {
21204 {
21205 arg6 = static_cast<long >(SWIG_As_long(obj5));
21206 if (SWIG_arg_fail(6)) SWIG_fail;
21207 }
21208 }
21209 if (obj6) {
21210 {
21211 arg7 = wxString_in_helper(obj6);
21212 if (arg7 == NULL) SWIG_fail;
21213 temp7 = true;
21214 }
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 {
21224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21225 }
21226 {
21227 if (temp7)
21228 delete arg7;
21229 }
21230 return resultobj;
21231 fail:
21232 {
21233 if (temp7)
21234 delete arg7;
21235 }
21236 return NULL;
21237 }
21238
21239
21240 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj = NULL;
21242 wxToolBar *arg1 = (wxToolBar *) 0 ;
21243 int arg2 ;
21244 int arg3 ;
21245 wxToolBarToolBase *result;
21246 PyObject * obj0 = 0 ;
21247 PyObject * obj1 = 0 ;
21248 PyObject * obj2 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "x",(char *) "y", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21255 if (SWIG_arg_fail(1)) SWIG_fail;
21256 {
21257 arg2 = static_cast<int >(SWIG_As_int(obj1));
21258 if (SWIG_arg_fail(2)) SWIG_fail;
21259 }
21260 {
21261 arg3 = static_cast<int >(SWIG_As_int(obj2));
21262 if (SWIG_arg_fail(3)) SWIG_fail;
21263 }
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 {
21272 resultobj = wxPyMake_wxObject(result, 0);
21273 }
21274 return resultobj;
21275 fail:
21276 return NULL;
21277 }
21278
21279
21280 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj = NULL;
21282 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21283 wxVisualAttributes result;
21284 PyObject * obj0 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "variant", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21290 if (obj0) {
21291 {
21292 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
21293 if (SWIG_arg_fail(1)) SWIG_fail;
21294 }
21295 }
21296 {
21297 if (!wxPyCheckForApp()) SWIG_fail;
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = wxToolBar::GetClassDefaultAttributes(arg1);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 {
21305 wxVisualAttributes * resultptr;
21306 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
21307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21316 PyObject *obj;
21317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21318 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21319 Py_INCREF(obj);
21320 return Py_BuildValue((char *)"");
21321 }
21322 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21323 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21324 return 1;
21325 }
21326
21327
21328 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21329 PyObject *pyobj = NULL;
21330
21331 {
21332 #if wxUSE_UNICODE
21333 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21334 #else
21335 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21336 #endif
21337 }
21338 return pyobj;
21339 }
21340
21341
21342 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj = NULL;
21344 wxColour const &arg1_defvalue = wxNullColour ;
21345 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21346 wxColour const &arg2_defvalue = wxNullColour ;
21347 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21348 wxFont const &arg3_defvalue = wxNullFont ;
21349 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21350 wxListItemAttr *result;
21351 wxColour temp1 ;
21352 wxColour temp2 ;
21353 PyObject * obj0 = 0 ;
21354 PyObject * obj1 = 0 ;
21355 PyObject * obj2 = 0 ;
21356 char *kwnames[] = {
21357 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21358 };
21359
21360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21361 if (obj0) {
21362 {
21363 arg1 = &temp1;
21364 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21365 }
21366 }
21367 if (obj1) {
21368 {
21369 arg2 = &temp2;
21370 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21371 }
21372 }
21373 if (obj2) {
21374 {
21375 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21376 if (SWIG_arg_fail(3)) SWIG_fail;
21377 if (arg3 == NULL) {
21378 SWIG_null_ref("wxFont");
21379 }
21380 if (SWIG_arg_fail(3)) SWIG_fail;
21381 }
21382 }
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21391 return resultobj;
21392 fail:
21393 return NULL;
21394 }
21395
21396
21397 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj = NULL;
21399 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21400 wxColour *arg2 = 0 ;
21401 wxColour temp2 ;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "colText", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail;
21411 {
21412 arg2 = &temp2;
21413 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->SetTextColour((wxColour const &)*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj = NULL;
21431 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21432 wxColour *arg2 = 0 ;
21433 wxColour temp2 ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self",(char *) "colBack", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail;
21443 {
21444 arg2 = &temp2;
21445 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21446 }
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21450
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 Py_INCREF(Py_None); resultobj = Py_None;
21455 return resultobj;
21456 fail:
21457 return NULL;
21458 }
21459
21460
21461 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21462 PyObject *resultobj = NULL;
21463 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21464 wxFont *arg2 = 0 ;
21465 PyObject * obj0 = 0 ;
21466 PyObject * obj1 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self",(char *) "font", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail;
21474 {
21475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21476 if (SWIG_arg_fail(2)) SWIG_fail;
21477 if (arg2 == NULL) {
21478 SWIG_null_ref("wxFont");
21479 }
21480 if (SWIG_arg_fail(2)) SWIG_fail;
21481 }
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->SetFont((wxFont const &)*arg2);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj = NULL;
21498 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21499 bool result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (bool)(arg1)->HasTextColour();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 {
21516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21517 }
21518 return resultobj;
21519 fail:
21520 return NULL;
21521 }
21522
21523
21524 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21525 PyObject *resultobj = NULL;
21526 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21527 bool result;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (bool)(arg1)->HasBackgroundColour();
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21545 }
21546 return resultobj;
21547 fail:
21548 return NULL;
21549 }
21550
21551
21552 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21553 PyObject *resultobj = NULL;
21554 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21555 bool result;
21556 PyObject * obj0 = 0 ;
21557 char *kwnames[] = {
21558 (char *) "self", NULL
21559 };
21560
21561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21563 if (SWIG_arg_fail(1)) SWIG_fail;
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (bool)(arg1)->HasFont();
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 {
21572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21573 }
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj = NULL;
21582 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21583 wxColour result;
21584 PyObject * obj0 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self", NULL
21587 };
21588
21589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail;
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 result = (arg1)->GetTextColour();
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 {
21600 wxColour * resultptr;
21601 resultptr = new wxColour(static_cast<wxColour & >(result));
21602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj = NULL;
21612 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21613 wxColour result;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail;
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 result = (arg1)->GetBackgroundColour();
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 {
21630 wxColour * resultptr;
21631 resultptr = new wxColour(static_cast<wxColour & >(result));
21632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21633 }
21634 return resultobj;
21635 fail:
21636 return NULL;
21637 }
21638
21639
21640 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj = NULL;
21642 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21643 wxFont result;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (arg1)->GetFont();
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 {
21660 wxFont * resultptr;
21661 resultptr = new wxFont(static_cast<wxFont & >(result));
21662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21663 }
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj = NULL;
21672 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21673 PyObject * obj0 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 wxListItemAttr_Destroy(arg1);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21696 PyObject *obj;
21697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21698 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21699 Py_INCREF(obj);
21700 return Py_BuildValue((char *)"");
21701 }
21702 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj = NULL;
21704 wxListItem *result;
21705 char *kwnames[] = {
21706 NULL
21707 };
21708
21709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (wxListItem *)new wxListItem();
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 resultobj = wxPyMake_wxObject(result, 1);
21719 }
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj = NULL;
21728 wxListItem *arg1 = (wxListItem *) 0 ;
21729 PyObject * obj0 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self", NULL
21732 };
21733
21734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21736 if (SWIG_arg_fail(1)) SWIG_fail;
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 delete arg1;
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 Py_INCREF(Py_None); resultobj = Py_None;
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj = NULL;
21753 wxListItem *arg1 = (wxListItem *) 0 ;
21754 PyObject * obj0 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail;
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 (arg1)->Clear();
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 Py_INCREF(Py_None); resultobj = Py_None;
21770 return resultobj;
21771 fail:
21772 return NULL;
21773 }
21774
21775
21776 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj = NULL;
21778 wxListItem *arg1 = (wxListItem *) 0 ;
21779 PyObject * obj0 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21786 if (SWIG_arg_fail(1)) SWIG_fail;
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 (arg1)->ClearAttributes();
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 Py_INCREF(Py_None); resultobj = Py_None;
21795 return resultobj;
21796 fail:
21797 return NULL;
21798 }
21799
21800
21801 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21802 PyObject *resultobj = NULL;
21803 wxListItem *arg1 = (wxListItem *) 0 ;
21804 long arg2 ;
21805 PyObject * obj0 = 0 ;
21806 PyObject * obj1 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self",(char *) "mask", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail;
21814 {
21815 arg2 = static_cast<long >(SWIG_As_long(obj1));
21816 if (SWIG_arg_fail(2)) SWIG_fail;
21817 }
21818 {
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
21820 (arg1)->SetMask(arg2);
21821
21822 wxPyEndAllowThreads(__tstate);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 Py_INCREF(Py_None); resultobj = Py_None;
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj = NULL;
21834 wxListItem *arg1 = (wxListItem *) 0 ;
21835 long arg2 ;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self",(char *) "id", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21844 if (SWIG_arg_fail(1)) SWIG_fail;
21845 {
21846 arg2 = static_cast<long >(SWIG_As_long(obj1));
21847 if (SWIG_arg_fail(2)) SWIG_fail;
21848 }
21849 {
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 (arg1)->SetId(arg2);
21852
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 Py_INCREF(Py_None); resultobj = Py_None;
21857 return resultobj;
21858 fail:
21859 return NULL;
21860 }
21861
21862
21863 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj = NULL;
21865 wxListItem *arg1 = (wxListItem *) 0 ;
21866 int arg2 ;
21867 PyObject * obj0 = 0 ;
21868 PyObject * obj1 = 0 ;
21869 char *kwnames[] = {
21870 (char *) "self",(char *) "col", NULL
21871 };
21872
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21875 if (SWIG_arg_fail(1)) SWIG_fail;
21876 {
21877 arg2 = static_cast<int >(SWIG_As_int(obj1));
21878 if (SWIG_arg_fail(2)) SWIG_fail;
21879 }
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 (arg1)->SetColumn(arg2);
21883
21884 wxPyEndAllowThreads(__tstate);
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
21887 Py_INCREF(Py_None); resultobj = Py_None;
21888 return resultobj;
21889 fail:
21890 return NULL;
21891 }
21892
21893
21894 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21895 PyObject *resultobj = NULL;
21896 wxListItem *arg1 = (wxListItem *) 0 ;
21897 long arg2 ;
21898 PyObject * obj0 = 0 ;
21899 PyObject * obj1 = 0 ;
21900 char *kwnames[] = {
21901 (char *) "self",(char *) "state", NULL
21902 };
21903
21904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail;
21907 {
21908 arg2 = static_cast<long >(SWIG_As_long(obj1));
21909 if (SWIG_arg_fail(2)) SWIG_fail;
21910 }
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 (arg1)->SetState(arg2);
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 Py_INCREF(Py_None); resultobj = Py_None;
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj = NULL;
21927 wxListItem *arg1 = (wxListItem *) 0 ;
21928 long arg2 ;
21929 PyObject * obj0 = 0 ;
21930 PyObject * obj1 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self",(char *) "stateMask", NULL
21933 };
21934
21935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail;
21938 {
21939 arg2 = static_cast<long >(SWIG_As_long(obj1));
21940 if (SWIG_arg_fail(2)) SWIG_fail;
21941 }
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 (arg1)->SetStateMask(arg2);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 Py_INCREF(Py_None); resultobj = Py_None;
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj = NULL;
21958 wxListItem *arg1 = (wxListItem *) 0 ;
21959 wxString *arg2 = 0 ;
21960 bool temp2 = false ;
21961 PyObject * obj0 = 0 ;
21962 PyObject * obj1 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "text", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21969 if (SWIG_arg_fail(1)) SWIG_fail;
21970 {
21971 arg2 = wxString_in_helper(obj1);
21972 if (arg2 == NULL) SWIG_fail;
21973 temp2 = true;
21974 }
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 (arg1)->SetText((wxString const &)*arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 Py_INCREF(Py_None); resultobj = Py_None;
21983 {
21984 if (temp2)
21985 delete arg2;
21986 }
21987 return resultobj;
21988 fail:
21989 {
21990 if (temp2)
21991 delete arg2;
21992 }
21993 return NULL;
21994 }
21995
21996
21997 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21998 PyObject *resultobj = NULL;
21999 wxListItem *arg1 = (wxListItem *) 0 ;
22000 int arg2 ;
22001 PyObject * obj0 = 0 ;
22002 PyObject * obj1 = 0 ;
22003 char *kwnames[] = {
22004 (char *) "self",(char *) "image", NULL
22005 };
22006
22007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
22008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22009 if (SWIG_arg_fail(1)) SWIG_fail;
22010 {
22011 arg2 = static_cast<int >(SWIG_As_int(obj1));
22012 if (SWIG_arg_fail(2)) SWIG_fail;
22013 }
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 (arg1)->SetImage(arg2);
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 Py_INCREF(Py_None); resultobj = Py_None;
22022 return resultobj;
22023 fail:
22024 return NULL;
22025 }
22026
22027
22028 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj = NULL;
22030 wxListItem *arg1 = (wxListItem *) 0 ;
22031 long arg2 ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self",(char *) "data", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
22039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail;
22041 {
22042 arg2 = static_cast<long >(SWIG_As_long(obj1));
22043 if (SWIG_arg_fail(2)) SWIG_fail;
22044 }
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 (arg1)->SetData(arg2);
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 Py_INCREF(Py_None); resultobj = Py_None;
22053 return resultobj;
22054 fail:
22055 return NULL;
22056 }
22057
22058
22059 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj = NULL;
22061 wxListItem *arg1 = (wxListItem *) 0 ;
22062 int arg2 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "width", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail;
22072 {
22073 arg2 = static_cast<int >(SWIG_As_int(obj1));
22074 if (SWIG_arg_fail(2)) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 (arg1)->SetWidth(arg2);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 Py_INCREF(Py_None); resultobj = Py_None;
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj = NULL;
22092 wxListItem *arg1 = (wxListItem *) 0 ;
22093 wxListColumnFormat arg2 ;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self",(char *) "align", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail;
22103 {
22104 arg2 = static_cast<wxListColumnFormat >(SWIG_As_int(obj1));
22105 if (SWIG_arg_fail(2)) SWIG_fail;
22106 }
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 (arg1)->SetAlign(arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 Py_INCREF(Py_None); resultobj = Py_None;
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj = NULL;
22123 wxListItem *arg1 = (wxListItem *) 0 ;
22124 wxColour *arg2 = 0 ;
22125 wxColour temp2 ;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "colText", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22134 if (SWIG_arg_fail(1)) SWIG_fail;
22135 {
22136 arg2 = &temp2;
22137 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 (arg1)->SetTextColour((wxColour const &)*arg2);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 Py_INCREF(Py_None); resultobj = Py_None;
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj = NULL;
22155 wxListItem *arg1 = (wxListItem *) 0 ;
22156 wxColour *arg2 = 0 ;
22157 wxColour temp2 ;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "colBack", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail;
22167 {
22168 arg2 = &temp2;
22169 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22170 }
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 Py_INCREF(Py_None); resultobj = Py_None;
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj = NULL;
22187 wxListItem *arg1 = (wxListItem *) 0 ;
22188 wxFont *arg2 = 0 ;
22189 PyObject * obj0 = 0 ;
22190 PyObject * obj1 = 0 ;
22191 char *kwnames[] = {
22192 (char *) "self",(char *) "font", NULL
22193 };
22194
22195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22197 if (SWIG_arg_fail(1)) SWIG_fail;
22198 {
22199 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22200 if (SWIG_arg_fail(2)) SWIG_fail;
22201 if (arg2 == NULL) {
22202 SWIG_null_ref("wxFont");
22203 }
22204 if (SWIG_arg_fail(2)) SWIG_fail;
22205 }
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 (arg1)->SetFont((wxFont const &)*arg2);
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 Py_INCREF(Py_None); resultobj = Py_None;
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj = NULL;
22222 wxListItem *arg1 = (wxListItem *) 0 ;
22223 long result;
22224 PyObject * obj0 = 0 ;
22225 char *kwnames[] = {
22226 (char *) "self", NULL
22227 };
22228
22229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail;
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (long)(arg1)->GetMask();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
22240 resultobj = SWIG_From_long(static_cast<long >(result));
22241 }
22242 return resultobj;
22243 fail:
22244 return NULL;
22245 }
22246
22247
22248 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj = NULL;
22250 wxListItem *arg1 = (wxListItem *) 0 ;
22251 long result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (long)(arg1)->GetId();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 {
22268 resultobj = SWIG_From_long(static_cast<long >(result));
22269 }
22270 return resultobj;
22271 fail:
22272 return NULL;
22273 }
22274
22275
22276 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj = NULL;
22278 wxListItem *arg1 = (wxListItem *) 0 ;
22279 int result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (int)(arg1)->GetColumn();
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 resultobj = SWIG_From_int(static_cast<int >(result));
22297 }
22298 return resultobj;
22299 fail:
22300 return NULL;
22301 }
22302
22303
22304 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22305 PyObject *resultobj = NULL;
22306 wxListItem *arg1 = (wxListItem *) 0 ;
22307 long result;
22308 PyObject * obj0 = 0 ;
22309 char *kwnames[] = {
22310 (char *) "self", NULL
22311 };
22312
22313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail;
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 result = (long)(arg1)->GetState();
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 {
22324 resultobj = SWIG_From_long(static_cast<long >(result));
22325 }
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj = NULL;
22334 wxListItem *arg1 = (wxListItem *) 0 ;
22335 wxString *result;
22336 PyObject * obj0 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "self", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22343 if (SWIG_arg_fail(1)) SWIG_fail;
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 {
22347 wxString const &_result_ref = (arg1)->GetText();
22348 result = (wxString *) &_result_ref;
22349 }
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 {
22355 #if wxUSE_UNICODE
22356 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22357 #else
22358 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22359 #endif
22360 }
22361 return resultobj;
22362 fail:
22363 return NULL;
22364 }
22365
22366
22367 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj = NULL;
22369 wxListItem *arg1 = (wxListItem *) 0 ;
22370 int result;
22371 PyObject * obj0 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail;
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 result = (int)(arg1)->GetImage();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 {
22387 resultobj = SWIG_From_int(static_cast<int >(result));
22388 }
22389 return resultobj;
22390 fail:
22391 return NULL;
22392 }
22393
22394
22395 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22396 PyObject *resultobj = NULL;
22397 wxListItem *arg1 = (wxListItem *) 0 ;
22398 long result;
22399 PyObject * obj0 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "self", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail;
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (long)(arg1)->GetData();
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 {
22415 resultobj = SWIG_From_long(static_cast<long >(result));
22416 }
22417 return resultobj;
22418 fail:
22419 return NULL;
22420 }
22421
22422
22423 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22424 PyObject *resultobj = NULL;
22425 wxListItem *arg1 = (wxListItem *) 0 ;
22426 int result;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 result = (int)(arg1)->GetWidth();
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 {
22443 resultobj = SWIG_From_int(static_cast<int >(result));
22444 }
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj = NULL;
22453 wxListItem *arg1 = (wxListItem *) 0 ;
22454 wxListColumnFormat result;
22455 PyObject * obj0 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail;
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 result = (wxListColumnFormat)(arg1)->GetAlign();
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 resultobj = SWIG_From_int((result));
22471 return resultobj;
22472 fail:
22473 return NULL;
22474 }
22475
22476
22477 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj = NULL;
22479 wxListItem *arg1 = (wxListItem *) 0 ;
22480 wxListItemAttr *result;
22481 PyObject * obj0 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail;
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = (wxListItemAttr *)(arg1)->GetAttributes();
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj = NULL;
22505 wxListItem *arg1 = (wxListItem *) 0 ;
22506 bool result;
22507 PyObject * obj0 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail;
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 result = (bool)(arg1)->HasAttributes();
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 {
22523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22524 }
22525 return resultobj;
22526 fail:
22527 return NULL;
22528 }
22529
22530
22531 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj = NULL;
22533 wxListItem *arg1 = (wxListItem *) 0 ;
22534 wxColour result;
22535 PyObject * obj0 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 result = ((wxListItem const *)arg1)->GetTextColour();
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 {
22551 wxColour * resultptr;
22552 resultptr = new wxColour(static_cast<wxColour & >(result));
22553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22554 }
22555 return resultobj;
22556 fail:
22557 return NULL;
22558 }
22559
22560
22561 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22562 PyObject *resultobj = NULL;
22563 wxListItem *arg1 = (wxListItem *) 0 ;
22564 wxColour result;
22565 PyObject * obj0 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail;
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 {
22581 wxColour * resultptr;
22582 resultptr = new wxColour(static_cast<wxColour & >(result));
22583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22584 }
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj = NULL;
22593 wxListItem *arg1 = (wxListItem *) 0 ;
22594 wxFont result;
22595 PyObject * obj0 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 result = ((wxListItem const *)arg1)->GetFont();
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 {
22611 wxFont * resultptr;
22612 resultptr = new wxFont(static_cast<wxFont & >(result));
22613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj = NULL;
22623 wxListItem *arg1 = (wxListItem *) 0 ;
22624 long arg2 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "m_mask", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail;
22634 {
22635 arg2 = static_cast<long >(SWIG_As_long(obj1));
22636 if (SWIG_arg_fail(2)) SWIG_fail;
22637 }
22638 if (arg1) (arg1)->m_mask = arg2;
22639
22640 Py_INCREF(Py_None); resultobj = Py_None;
22641 return resultobj;
22642 fail:
22643 return NULL;
22644 }
22645
22646
22647 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj = NULL;
22649 wxListItem *arg1 = (wxListItem *) 0 ;
22650 long result;
22651 PyObject * obj0 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self", NULL
22654 };
22655
22656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22658 if (SWIG_arg_fail(1)) SWIG_fail;
22659 result = (long) ((arg1)->m_mask);
22660
22661 {
22662 resultobj = SWIG_From_long(static_cast<long >(result));
22663 }
22664 return resultobj;
22665 fail:
22666 return NULL;
22667 }
22668
22669
22670 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj = NULL;
22672 wxListItem *arg1 = (wxListItem *) 0 ;
22673 long arg2 ;
22674 PyObject * obj0 = 0 ;
22675 PyObject * obj1 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self",(char *) "m_itemId", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22682 if (SWIG_arg_fail(1)) SWIG_fail;
22683 {
22684 arg2 = static_cast<long >(SWIG_As_long(obj1));
22685 if (SWIG_arg_fail(2)) SWIG_fail;
22686 }
22687 if (arg1) (arg1)->m_itemId = arg2;
22688
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693 }
22694
22695
22696 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj = NULL;
22698 wxListItem *arg1 = (wxListItem *) 0 ;
22699 long result;
22700 PyObject * obj0 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail;
22708 result = (long) ((arg1)->m_itemId);
22709
22710 {
22711 resultobj = SWIG_From_long(static_cast<long >(result));
22712 }
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj = NULL;
22721 wxListItem *arg1 = (wxListItem *) 0 ;
22722 int arg2 ;
22723 PyObject * obj0 = 0 ;
22724 PyObject * obj1 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self",(char *) "m_col", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail;
22732 {
22733 arg2 = static_cast<int >(SWIG_As_int(obj1));
22734 if (SWIG_arg_fail(2)) SWIG_fail;
22735 }
22736 if (arg1) (arg1)->m_col = arg2;
22737
22738 Py_INCREF(Py_None); resultobj = Py_None;
22739 return resultobj;
22740 fail:
22741 return NULL;
22742 }
22743
22744
22745 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj = NULL;
22747 wxListItem *arg1 = (wxListItem *) 0 ;
22748 int result;
22749 PyObject * obj0 = 0 ;
22750 char *kwnames[] = {
22751 (char *) "self", NULL
22752 };
22753
22754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail;
22757 result = (int) ((arg1)->m_col);
22758
22759 {
22760 resultobj = SWIG_From_int(static_cast<int >(result));
22761 }
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj = NULL;
22770 wxListItem *arg1 = (wxListItem *) 0 ;
22771 long arg2 ;
22772 PyObject * obj0 = 0 ;
22773 PyObject * obj1 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self",(char *) "m_state", NULL
22776 };
22777
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail;
22781 {
22782 arg2 = static_cast<long >(SWIG_As_long(obj1));
22783 if (SWIG_arg_fail(2)) SWIG_fail;
22784 }
22785 if (arg1) (arg1)->m_state = arg2;
22786
22787 Py_INCREF(Py_None); resultobj = Py_None;
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj = NULL;
22796 wxListItem *arg1 = (wxListItem *) 0 ;
22797 long result;
22798 PyObject * obj0 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "self", NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail;
22806 result = (long) ((arg1)->m_state);
22807
22808 {
22809 resultobj = SWIG_From_long(static_cast<long >(result));
22810 }
22811 return resultobj;
22812 fail:
22813 return NULL;
22814 }
22815
22816
22817 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj = NULL;
22819 wxListItem *arg1 = (wxListItem *) 0 ;
22820 long arg2 ;
22821 PyObject * obj0 = 0 ;
22822 PyObject * obj1 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "self",(char *) "m_stateMask", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail;
22830 {
22831 arg2 = static_cast<long >(SWIG_As_long(obj1));
22832 if (SWIG_arg_fail(2)) SWIG_fail;
22833 }
22834 if (arg1) (arg1)->m_stateMask = arg2;
22835
22836 Py_INCREF(Py_None); resultobj = Py_None;
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj = NULL;
22845 wxListItem *arg1 = (wxListItem *) 0 ;
22846 long result;
22847 PyObject * obj0 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "self", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail;
22855 result = (long) ((arg1)->m_stateMask);
22856
22857 {
22858 resultobj = SWIG_From_long(static_cast<long >(result));
22859 }
22860 return resultobj;
22861 fail:
22862 return NULL;
22863 }
22864
22865
22866 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj = NULL;
22868 wxListItem *arg1 = (wxListItem *) 0 ;
22869 wxString *arg2 = (wxString *) 0 ;
22870 bool temp2 = false ;
22871 PyObject * obj0 = 0 ;
22872 PyObject * obj1 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self",(char *) "m_text", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail;
22880 {
22881 arg2 = wxString_in_helper(obj1);
22882 if (arg2 == NULL) SWIG_fail;
22883 temp2 = true;
22884 }
22885 if (arg1) (arg1)->m_text = *arg2;
22886
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 {
22889 if (temp2)
22890 delete arg2;
22891 }
22892 return resultobj;
22893 fail:
22894 {
22895 if (temp2)
22896 delete arg2;
22897 }
22898 return NULL;
22899 }
22900
22901
22902 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj = NULL;
22904 wxListItem *arg1 = (wxListItem *) 0 ;
22905 wxString *result;
22906 PyObject * obj0 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22913 if (SWIG_arg_fail(1)) SWIG_fail;
22914 result = (wxString *)& ((arg1)->m_text);
22915
22916 {
22917 #if wxUSE_UNICODE
22918 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22919 #else
22920 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22921 #endif
22922 }
22923 return resultobj;
22924 fail:
22925 return NULL;
22926 }
22927
22928
22929 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22930 PyObject *resultobj = NULL;
22931 wxListItem *arg1 = (wxListItem *) 0 ;
22932 int arg2 ;
22933 PyObject * obj0 = 0 ;
22934 PyObject * obj1 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self",(char *) "m_image", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail;
22942 {
22943 arg2 = static_cast<int >(SWIG_As_int(obj1));
22944 if (SWIG_arg_fail(2)) SWIG_fail;
22945 }
22946 if (arg1) (arg1)->m_image = arg2;
22947
22948 Py_INCREF(Py_None); resultobj = Py_None;
22949 return resultobj;
22950 fail:
22951 return NULL;
22952 }
22953
22954
22955 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22956 PyObject *resultobj = NULL;
22957 wxListItem *arg1 = (wxListItem *) 0 ;
22958 int result;
22959 PyObject * obj0 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22966 if (SWIG_arg_fail(1)) SWIG_fail;
22967 result = (int) ((arg1)->m_image);
22968
22969 {
22970 resultobj = SWIG_From_int(static_cast<int >(result));
22971 }
22972 return resultobj;
22973 fail:
22974 return NULL;
22975 }
22976
22977
22978 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj = NULL;
22980 wxListItem *arg1 = (wxListItem *) 0 ;
22981 long arg2 ;
22982 PyObject * obj0 = 0 ;
22983 PyObject * obj1 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self",(char *) "m_data", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail;
22991 {
22992 arg2 = static_cast<long >(SWIG_As_long(obj1));
22993 if (SWIG_arg_fail(2)) SWIG_fail;
22994 }
22995 if (arg1) (arg1)->m_data = arg2;
22996
22997 Py_INCREF(Py_None); resultobj = Py_None;
22998 return resultobj;
22999 fail:
23000 return NULL;
23001 }
23002
23003
23004 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj = NULL;
23006 wxListItem *arg1 = (wxListItem *) 0 ;
23007 long result;
23008 PyObject * obj0 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "self", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
23014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail;
23016 result = (long) ((arg1)->m_data);
23017
23018 {
23019 resultobj = SWIG_From_long(static_cast<long >(result));
23020 }
23021 return resultobj;
23022 fail:
23023 return NULL;
23024 }
23025
23026
23027 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj = NULL;
23029 wxListItem *arg1 = (wxListItem *) 0 ;
23030 int arg2 ;
23031 PyObject * obj0 = 0 ;
23032 PyObject * obj1 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self",(char *) "m_format", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
23040 {
23041 arg2 = static_cast<int >(SWIG_As_int(obj1));
23042 if (SWIG_arg_fail(2)) SWIG_fail;
23043 }
23044 if (arg1) (arg1)->m_format = arg2;
23045
23046 Py_INCREF(Py_None); resultobj = Py_None;
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj = NULL;
23055 wxListItem *arg1 = (wxListItem *) 0 ;
23056 int result;
23057 PyObject * obj0 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
23063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail;
23065 result = (int) ((arg1)->m_format);
23066
23067 {
23068 resultobj = SWIG_From_int(static_cast<int >(result));
23069 }
23070 return resultobj;
23071 fail:
23072 return NULL;
23073 }
23074
23075
23076 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj = NULL;
23078 wxListItem *arg1 = (wxListItem *) 0 ;
23079 int arg2 ;
23080 PyObject * obj0 = 0 ;
23081 PyObject * obj1 = 0 ;
23082 char *kwnames[] = {
23083 (char *) "self",(char *) "m_width", NULL
23084 };
23085
23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23088 if (SWIG_arg_fail(1)) SWIG_fail;
23089 {
23090 arg2 = static_cast<int >(SWIG_As_int(obj1));
23091 if (SWIG_arg_fail(2)) SWIG_fail;
23092 }
23093 if (arg1) (arg1)->m_width = arg2;
23094
23095 Py_INCREF(Py_None); resultobj = Py_None;
23096 return resultobj;
23097 fail:
23098 return NULL;
23099 }
23100
23101
23102 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj = NULL;
23104 wxListItem *arg1 = (wxListItem *) 0 ;
23105 int result;
23106 PyObject * obj0 = 0 ;
23107 char *kwnames[] = {
23108 (char *) "self", NULL
23109 };
23110
23111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23113 if (SWIG_arg_fail(1)) SWIG_fail;
23114 result = (int) ((arg1)->m_width);
23115
23116 {
23117 resultobj = SWIG_From_int(static_cast<int >(result));
23118 }
23119 return resultobj;
23120 fail:
23121 return NULL;
23122 }
23123
23124
23125 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23126 PyObject *obj;
23127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23128 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23129 Py_INCREF(obj);
23130 return Py_BuildValue((char *)"");
23131 }
23132 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj = NULL;
23134 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23135 int arg2 = (int) 0 ;
23136 wxListEvent *result;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "commandType",(char *) "id", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23144 if (obj0) {
23145 {
23146 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
23147 if (SWIG_arg_fail(1)) SWIG_fail;
23148 }
23149 }
23150 if (obj1) {
23151 {
23152 arg2 = static_cast<int >(SWIG_As_int(obj1));
23153 if (SWIG_arg_fail(2)) SWIG_fail;
23154 }
23155 }
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23164 return resultobj;
23165 fail:
23166 return NULL;
23167 }
23168
23169
23170 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23171 PyObject *resultobj = NULL;
23172 wxListEvent *arg1 = (wxListEvent *) 0 ;
23173 int arg2 ;
23174 PyObject * obj0 = 0 ;
23175 PyObject * obj1 = 0 ;
23176 char *kwnames[] = {
23177 (char *) "self",(char *) "m_code", NULL
23178 };
23179
23180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail;
23183 {
23184 arg2 = static_cast<int >(SWIG_As_int(obj1));
23185 if (SWIG_arg_fail(2)) SWIG_fail;
23186 }
23187 if (arg1) (arg1)->m_code = arg2;
23188
23189 Py_INCREF(Py_None); resultobj = Py_None;
23190 return resultobj;
23191 fail:
23192 return NULL;
23193 }
23194
23195
23196 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj = NULL;
23198 wxListEvent *arg1 = (wxListEvent *) 0 ;
23199 int result;
23200 PyObject * obj0 = 0 ;
23201 char *kwnames[] = {
23202 (char *) "self", NULL
23203 };
23204
23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23207 if (SWIG_arg_fail(1)) SWIG_fail;
23208 result = (int) ((arg1)->m_code);
23209
23210 {
23211 resultobj = SWIG_From_int(static_cast<int >(result));
23212 }
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj = NULL;
23221 wxListEvent *arg1 = (wxListEvent *) 0 ;
23222 long arg2 ;
23223 PyObject * obj0 = 0 ;
23224 PyObject * obj1 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self",(char *) "m_oldItemIndex", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail;
23232 {
23233 arg2 = static_cast<long >(SWIG_As_long(obj1));
23234 if (SWIG_arg_fail(2)) SWIG_fail;
23235 }
23236 if (arg1) (arg1)->m_oldItemIndex = arg2;
23237
23238 Py_INCREF(Py_None); resultobj = Py_None;
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23246 PyObject *resultobj = NULL;
23247 wxListEvent *arg1 = (wxListEvent *) 0 ;
23248 long result;
23249 PyObject * obj0 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23256 if (SWIG_arg_fail(1)) SWIG_fail;
23257 result = (long) ((arg1)->m_oldItemIndex);
23258
23259 {
23260 resultobj = SWIG_From_long(static_cast<long >(result));
23261 }
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj = NULL;
23270 wxListEvent *arg1 = (wxListEvent *) 0 ;
23271 long arg2 ;
23272 PyObject * obj0 = 0 ;
23273 PyObject * obj1 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self",(char *) "m_itemIndex", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail;
23281 {
23282 arg2 = static_cast<long >(SWIG_As_long(obj1));
23283 if (SWIG_arg_fail(2)) SWIG_fail;
23284 }
23285 if (arg1) (arg1)->m_itemIndex = arg2;
23286
23287 Py_INCREF(Py_None); resultobj = Py_None;
23288 return resultobj;
23289 fail:
23290 return NULL;
23291 }
23292
23293
23294 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23295 PyObject *resultobj = NULL;
23296 wxListEvent *arg1 = (wxListEvent *) 0 ;
23297 long result;
23298 PyObject * obj0 = 0 ;
23299 char *kwnames[] = {
23300 (char *) "self", NULL
23301 };
23302
23303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23305 if (SWIG_arg_fail(1)) SWIG_fail;
23306 result = (long) ((arg1)->m_itemIndex);
23307
23308 {
23309 resultobj = SWIG_From_long(static_cast<long >(result));
23310 }
23311 return resultobj;
23312 fail:
23313 return NULL;
23314 }
23315
23316
23317 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj = NULL;
23319 wxListEvent *arg1 = (wxListEvent *) 0 ;
23320 int arg2 ;
23321 PyObject * obj0 = 0 ;
23322 PyObject * obj1 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "m_col", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail;
23330 {
23331 arg2 = static_cast<int >(SWIG_As_int(obj1));
23332 if (SWIG_arg_fail(2)) SWIG_fail;
23333 }
23334 if (arg1) (arg1)->m_col = arg2;
23335
23336 Py_INCREF(Py_None); resultobj = Py_None;
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj = NULL;
23345 wxListEvent *arg1 = (wxListEvent *) 0 ;
23346 int result;
23347 PyObject * obj0 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "self", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail;
23355 result = (int) ((arg1)->m_col);
23356
23357 {
23358 resultobj = SWIG_From_int(static_cast<int >(result));
23359 }
23360 return resultobj;
23361 fail:
23362 return NULL;
23363 }
23364
23365
23366 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23367 PyObject *resultobj = NULL;
23368 wxListEvent *arg1 = (wxListEvent *) 0 ;
23369 wxPoint *arg2 = (wxPoint *) 0 ;
23370 PyObject * obj0 = 0 ;
23371 PyObject * obj1 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self",(char *) "m_pointDrag", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail;
23379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23380 if (SWIG_arg_fail(2)) SWIG_fail;
23381 if (arg1) (arg1)->m_pointDrag = *arg2;
23382
23383 Py_INCREF(Py_None); resultobj = Py_None;
23384 return resultobj;
23385 fail:
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj = NULL;
23392 wxListEvent *arg1 = (wxListEvent *) 0 ;
23393 wxPoint *result;
23394 PyObject * obj0 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23401 if (SWIG_arg_fail(1)) SWIG_fail;
23402 result = (wxPoint *)& ((arg1)->m_pointDrag);
23403
23404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23412 PyObject *resultobj = NULL;
23413 wxListEvent *arg1 = (wxListEvent *) 0 ;
23414 wxListItem *result;
23415 PyObject * obj0 = 0 ;
23416 char *kwnames[] = {
23417 (char *) "self", NULL
23418 };
23419
23420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail;
23423 result = (wxListItem *)& ((arg1)->m_item);
23424
23425 {
23426 resultobj = wxPyMake_wxObject(result, 0);
23427 }
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj = NULL;
23436 wxListEvent *arg1 = (wxListEvent *) 0 ;
23437 int result;
23438 PyObject * obj0 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23445 if (SWIG_arg_fail(1)) SWIG_fail;
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 result = (int)(arg1)->GetKeyCode();
23449
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 {
23454 resultobj = SWIG_From_int(static_cast<int >(result));
23455 }
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj = NULL;
23464 wxListEvent *arg1 = (wxListEvent *) 0 ;
23465 long result;
23466 PyObject * obj0 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail;
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 result = (long)(arg1)->GetIndex();
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 {
23482 resultobj = SWIG_From_long(static_cast<long >(result));
23483 }
23484 return resultobj;
23485 fail:
23486 return NULL;
23487 }
23488
23489
23490 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23491 PyObject *resultobj = NULL;
23492 wxListEvent *arg1 = (wxListEvent *) 0 ;
23493 int result;
23494 PyObject * obj0 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail;
23502 {
23503 PyThreadState* __tstate = wxPyBeginAllowThreads();
23504 result = (int)(arg1)->GetColumn();
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 {
23510 resultobj = SWIG_From_int(static_cast<int >(result));
23511 }
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj = NULL;
23520 wxListEvent *arg1 = (wxListEvent *) 0 ;
23521 wxPoint result;
23522 PyObject * obj0 = 0 ;
23523 char *kwnames[] = {
23524 (char *) "self", NULL
23525 };
23526
23527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23529 if (SWIG_arg_fail(1)) SWIG_fail;
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 result = (arg1)->GetPoint();
23533
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 {
23538 wxPoint * resultptr;
23539 resultptr = new wxPoint(static_cast<wxPoint & >(result));
23540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23541 }
23542 return resultobj;
23543 fail:
23544 return NULL;
23545 }
23546
23547
23548 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23549 PyObject *resultobj = NULL;
23550 wxListEvent *arg1 = (wxListEvent *) 0 ;
23551 wxString *result;
23552 PyObject * obj0 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23559 if (SWIG_arg_fail(1)) SWIG_fail;
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 {
23563 wxString const &_result_ref = (arg1)->GetLabel();
23564 result = (wxString *) &_result_ref;
23565 }
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 {
23571 #if wxUSE_UNICODE
23572 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23573 #else
23574 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23575 #endif
23576 }
23577 return resultobj;
23578 fail:
23579 return NULL;
23580 }
23581
23582
23583 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23584 PyObject *resultobj = NULL;
23585 wxListEvent *arg1 = (wxListEvent *) 0 ;
23586 wxString *result;
23587 PyObject * obj0 = 0 ;
23588 char *kwnames[] = {
23589 (char *) "self", NULL
23590 };
23591
23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail;
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 {
23598 wxString const &_result_ref = (arg1)->GetText();
23599 result = (wxString *) &_result_ref;
23600 }
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 {
23606 #if wxUSE_UNICODE
23607 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23608 #else
23609 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23610 #endif
23611 }
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj = NULL;
23620 wxListEvent *arg1 = (wxListEvent *) 0 ;
23621 int result;
23622 PyObject * obj0 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (int)(arg1)->GetImage();
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 {
23638 resultobj = SWIG_From_int(static_cast<int >(result));
23639 }
23640 return resultobj;
23641 fail:
23642 return NULL;
23643 }
23644
23645
23646 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23647 PyObject *resultobj = NULL;
23648 wxListEvent *arg1 = (wxListEvent *) 0 ;
23649 long result;
23650 PyObject * obj0 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 result = (long)(arg1)->GetData();
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 {
23666 resultobj = SWIG_From_long(static_cast<long >(result));
23667 }
23668 return resultobj;
23669 fail:
23670 return NULL;
23671 }
23672
23673
23674 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23675 PyObject *resultobj = NULL;
23676 wxListEvent *arg1 = (wxListEvent *) 0 ;
23677 long result;
23678 PyObject * obj0 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23685 if (SWIG_arg_fail(1)) SWIG_fail;
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 result = (long)(arg1)->GetMask();
23689
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 {
23694 resultobj = SWIG_From_long(static_cast<long >(result));
23695 }
23696 return resultobj;
23697 fail:
23698 return NULL;
23699 }
23700
23701
23702 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23703 PyObject *resultobj = NULL;
23704 wxListEvent *arg1 = (wxListEvent *) 0 ;
23705 wxListItem *result;
23706 PyObject * obj0 = 0 ;
23707 char *kwnames[] = {
23708 (char *) "self", NULL
23709 };
23710
23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23713 if (SWIG_arg_fail(1)) SWIG_fail;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 {
23717 wxListItem const &_result_ref = (arg1)->GetItem();
23718 result = (wxListItem *) &_result_ref;
23719 }
23720
23721 wxPyEndAllowThreads(__tstate);
23722 if (PyErr_Occurred()) SWIG_fail;
23723 }
23724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23725 return resultobj;
23726 fail:
23727 return NULL;
23728 }
23729
23730
23731 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23732 PyObject *resultobj = NULL;
23733 wxListEvent *arg1 = (wxListEvent *) 0 ;
23734 long result;
23735 PyObject * obj0 = 0 ;
23736 char *kwnames[] = {
23737 (char *) "self", NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23742 if (SWIG_arg_fail(1)) SWIG_fail;
23743 {
23744 PyThreadState* __tstate = wxPyBeginAllowThreads();
23745 result = (long)(arg1)->GetCacheFrom();
23746
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 {
23751 resultobj = SWIG_From_long(static_cast<long >(result));
23752 }
23753 return resultobj;
23754 fail:
23755 return NULL;
23756 }
23757
23758
23759 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj = NULL;
23761 wxListEvent *arg1 = (wxListEvent *) 0 ;
23762 long result;
23763 PyObject * obj0 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail;
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 result = (long)(arg1)->GetCacheTo();
23774
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 {
23779 resultobj = SWIG_From_long(static_cast<long >(result));
23780 }
23781 return resultobj;
23782 fail:
23783 return NULL;
23784 }
23785
23786
23787 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj = NULL;
23789 wxListEvent *arg1 = (wxListEvent *) 0 ;
23790 bool result;
23791 PyObject * obj0 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail;
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 {
23807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23808 }
23809 return resultobj;
23810 fail:
23811 return NULL;
23812 }
23813
23814
23815 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23816 PyObject *resultobj = NULL;
23817 wxListEvent *arg1 = (wxListEvent *) 0 ;
23818 bool arg2 ;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "self",(char *) "editCancelled", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23827 if (SWIG_arg_fail(1)) SWIG_fail;
23828 {
23829 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23830 if (SWIG_arg_fail(2)) SWIG_fail;
23831 }
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 (arg1)->SetEditCanceled(arg2);
23835
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 Py_INCREF(Py_None); resultobj = Py_None;
23840 return resultobj;
23841 fail:
23842 return NULL;
23843 }
23844
23845
23846 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23847 PyObject *obj;
23848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23849 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23850 Py_INCREF(obj);
23851 return Py_BuildValue((char *)"");
23852 }
23853 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj = NULL;
23855 wxWindow *arg1 = (wxWindow *) 0 ;
23856 int arg2 = (int) -1 ;
23857 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23858 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23859 wxSize const &arg4_defvalue = wxDefaultSize ;
23860 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23861 long arg5 = (long) wxLC_ICON ;
23862 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23863 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23864 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23865 wxString *arg7 = (wxString *) &arg7_defvalue ;
23866 wxPyListCtrl *result;
23867 wxPoint temp3 ;
23868 wxSize temp4 ;
23869 bool temp7 = false ;
23870 PyObject * obj0 = 0 ;
23871 PyObject * obj1 = 0 ;
23872 PyObject * obj2 = 0 ;
23873 PyObject * obj3 = 0 ;
23874 PyObject * obj4 = 0 ;
23875 PyObject * obj5 = 0 ;
23876 PyObject * obj6 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23879 };
23880
23881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail;
23884 if (obj1) {
23885 {
23886 arg2 = static_cast<int >(SWIG_As_int(obj1));
23887 if (SWIG_arg_fail(2)) SWIG_fail;
23888 }
23889 }
23890 if (obj2) {
23891 {
23892 arg3 = &temp3;
23893 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23894 }
23895 }
23896 if (obj3) {
23897 {
23898 arg4 = &temp4;
23899 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23900 }
23901 }
23902 if (obj4) {
23903 {
23904 arg5 = static_cast<long >(SWIG_As_long(obj4));
23905 if (SWIG_arg_fail(5)) SWIG_fail;
23906 }
23907 }
23908 if (obj5) {
23909 {
23910 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23911 if (SWIG_arg_fail(6)) SWIG_fail;
23912 if (arg6 == NULL) {
23913 SWIG_null_ref("wxValidator");
23914 }
23915 if (SWIG_arg_fail(6)) SWIG_fail;
23916 }
23917 }
23918 if (obj6) {
23919 {
23920 arg7 = wxString_in_helper(obj6);
23921 if (arg7 == NULL) SWIG_fail;
23922 temp7 = true;
23923 }
23924 }
23925 {
23926 if (!wxPyCheckForApp()) SWIG_fail;
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23934 {
23935 if (temp7)
23936 delete arg7;
23937 }
23938 return resultobj;
23939 fail:
23940 {
23941 if (temp7)
23942 delete arg7;
23943 }
23944 return NULL;
23945 }
23946
23947
23948 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj = NULL;
23950 wxPyListCtrl *result;
23951 char *kwnames[] = {
23952 NULL
23953 };
23954
23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23956 {
23957 if (!wxPyCheckForApp()) SWIG_fail;
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 result = (wxPyListCtrl *)new wxPyListCtrl();
23960
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj = NULL;
23973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23974 wxWindow *arg2 = (wxWindow *) 0 ;
23975 int arg3 = (int) -1 ;
23976 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23977 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23978 wxSize const &arg5_defvalue = wxDefaultSize ;
23979 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23980 long arg6 = (long) wxLC_ICON ;
23981 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23982 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23983 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23984 wxString *arg8 = (wxString *) &arg8_defvalue ;
23985 bool result;
23986 wxPoint temp4 ;
23987 wxSize temp5 ;
23988 bool temp8 = false ;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 PyObject * obj2 = 0 ;
23992 PyObject * obj3 = 0 ;
23993 PyObject * obj4 = 0 ;
23994 PyObject * obj5 = 0 ;
23995 PyObject * obj6 = 0 ;
23996 PyObject * obj7 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail;
24004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24005 if (SWIG_arg_fail(2)) SWIG_fail;
24006 if (obj2) {
24007 {
24008 arg3 = static_cast<int >(SWIG_As_int(obj2));
24009 if (SWIG_arg_fail(3)) SWIG_fail;
24010 }
24011 }
24012 if (obj3) {
24013 {
24014 arg4 = &temp4;
24015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24016 }
24017 }
24018 if (obj4) {
24019 {
24020 arg5 = &temp5;
24021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24022 }
24023 }
24024 if (obj5) {
24025 {
24026 arg6 = static_cast<long >(SWIG_As_long(obj5));
24027 if (SWIG_arg_fail(6)) SWIG_fail;
24028 }
24029 }
24030 if (obj6) {
24031 {
24032 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24033 if (SWIG_arg_fail(7)) SWIG_fail;
24034 if (arg7 == NULL) {
24035 SWIG_null_ref("wxValidator");
24036 }
24037 if (SWIG_arg_fail(7)) SWIG_fail;
24038 }
24039 }
24040 if (obj7) {
24041 {
24042 arg8 = wxString_in_helper(obj7);
24043 if (arg8 == NULL) SWIG_fail;
24044 temp8 = true;
24045 }
24046 }
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 {
24055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24056 }
24057 {
24058 if (temp8)
24059 delete arg8;
24060 }
24061 return resultobj;
24062 fail:
24063 {
24064 if (temp8)
24065 delete arg8;
24066 }
24067 return NULL;
24068 }
24069
24070
24071 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24072 PyObject *resultobj = NULL;
24073 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24074 PyObject *arg2 = (PyObject *) 0 ;
24075 PyObject *arg3 = (PyObject *) 0 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 PyObject * obj2 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self",(char *) "self",(char *) "_class", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24085 if (SWIG_arg_fail(1)) SWIG_fail;
24086 arg2 = obj1;
24087 arg3 = obj2;
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 (arg1)->_setCallbackInfo(arg2,arg3);
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 Py_INCREF(Py_None); resultobj = Py_None;
24096 return resultobj;
24097 fail:
24098 return NULL;
24099 }
24100
24101
24102 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj = NULL;
24104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24105 wxColour *arg2 = 0 ;
24106 bool result;
24107 wxColour temp2 ;
24108 PyObject * obj0 = 0 ;
24109 PyObject * obj1 = 0 ;
24110 char *kwnames[] = {
24111 (char *) "self",(char *) "col", NULL
24112 };
24113
24114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24116 if (SWIG_arg_fail(1)) SWIG_fail;
24117 {
24118 arg2 = &temp2;
24119 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24120 }
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24124
24125 wxPyEndAllowThreads(__tstate);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 }
24128 {
24129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24130 }
24131 return resultobj;
24132 fail:
24133 return NULL;
24134 }
24135
24136
24137 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24138 PyObject *resultobj = NULL;
24139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24140 wxColour *arg2 = 0 ;
24141 bool result;
24142 wxColour temp2 ;
24143 PyObject * obj0 = 0 ;
24144 PyObject * obj1 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "self",(char *) "col", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail;
24152 {
24153 arg2 = &temp2;
24154 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24155 }
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24159
24160 wxPyEndAllowThreads(__tstate);
24161 if (PyErr_Occurred()) SWIG_fail;
24162 }
24163 {
24164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24165 }
24166 return resultobj;
24167 fail:
24168 return NULL;
24169 }
24170
24171
24172 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24173 PyObject *resultobj = NULL;
24174 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24175 int arg2 ;
24176 wxListItem *result;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self",(char *) "col", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail;
24186 {
24187 arg2 = static_cast<int >(SWIG_As_int(obj1));
24188 if (SWIG_arg_fail(2)) SWIG_fail;
24189 }
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 resultobj = wxPyMake_wxObject(result, 0);
24199 }
24200 return resultobj;
24201 fail:
24202 return NULL;
24203 }
24204
24205
24206 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj = NULL;
24208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24209 int arg2 ;
24210 wxListItem *arg3 = 0 ;
24211 bool result;
24212 PyObject * obj0 = 0 ;
24213 PyObject * obj1 = 0 ;
24214 PyObject * obj2 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self",(char *) "col",(char *) "item", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail;
24222 {
24223 arg2 = static_cast<int >(SWIG_As_int(obj1));
24224 if (SWIG_arg_fail(2)) SWIG_fail;
24225 }
24226 {
24227 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24228 if (SWIG_arg_fail(3)) SWIG_fail;
24229 if (arg3 == NULL) {
24230 SWIG_null_ref("wxListItem");
24231 }
24232 if (SWIG_arg_fail(3)) SWIG_fail;
24233 }
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 {
24242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24243 }
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj = NULL;
24252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24253 int arg2 ;
24254 int result;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 char *kwnames[] = {
24258 (char *) "self",(char *) "col", NULL
24259 };
24260
24261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24263 if (SWIG_arg_fail(1)) SWIG_fail;
24264 {
24265 arg2 = static_cast<int >(SWIG_As_int(obj1));
24266 if (SWIG_arg_fail(2)) SWIG_fail;
24267 }
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24271
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 {
24276 resultobj = SWIG_From_int(static_cast<int >(result));
24277 }
24278 return resultobj;
24279 fail:
24280 return NULL;
24281 }
24282
24283
24284 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj = NULL;
24286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24287 int arg2 ;
24288 int arg3 ;
24289 bool result;
24290 PyObject * obj0 = 0 ;
24291 PyObject * obj1 = 0 ;
24292 PyObject * obj2 = 0 ;
24293 char *kwnames[] = {
24294 (char *) "self",(char *) "col",(char *) "width", NULL
24295 };
24296
24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24299 if (SWIG_arg_fail(1)) SWIG_fail;
24300 {
24301 arg2 = static_cast<int >(SWIG_As_int(obj1));
24302 if (SWIG_arg_fail(2)) SWIG_fail;
24303 }
24304 {
24305 arg3 = static_cast<int >(SWIG_As_int(obj2));
24306 if (SWIG_arg_fail(3)) SWIG_fail;
24307 }
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 {
24316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24317 }
24318 return resultobj;
24319 fail:
24320 return NULL;
24321 }
24322
24323
24324 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj = NULL;
24326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24327 int result;
24328 PyObject * obj0 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24335 if (SWIG_arg_fail(1)) SWIG_fail;
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24339
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 {
24344 resultobj = SWIG_From_int(static_cast<int >(result));
24345 }
24346 return resultobj;
24347 fail:
24348 return NULL;
24349 }
24350
24351
24352 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj = NULL;
24354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24355 wxRect result;
24356 PyObject * obj0 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24363 if (SWIG_arg_fail(1)) SWIG_fail;
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 {
24372 wxRect * resultptr;
24373 resultptr = new wxRect(static_cast<wxRect & >(result));
24374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24375 }
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj = NULL;
24384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24385 wxTextCtrl *result;
24386 PyObject * obj0 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
24392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail;
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24397
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 {
24402 resultobj = wxPyMake_wxObject(result, 0);
24403 }
24404 return resultobj;
24405 fail:
24406 return NULL;
24407 }
24408
24409
24410 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24411 PyObject *resultobj = NULL;
24412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24413 long arg2 ;
24414 int arg3 = (int) 0 ;
24415 wxListItem *result;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 PyObject * obj2 = 0 ;
24419 char *kwnames[] = {
24420 (char *) "self",(char *) "itemId",(char *) "col", NULL
24421 };
24422
24423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24425 if (SWIG_arg_fail(1)) SWIG_fail;
24426 {
24427 arg2 = static_cast<long >(SWIG_As_long(obj1));
24428 if (SWIG_arg_fail(2)) SWIG_fail;
24429 }
24430 if (obj2) {
24431 {
24432 arg3 = static_cast<int >(SWIG_As_int(obj2));
24433 if (SWIG_arg_fail(3)) SWIG_fail;
24434 }
24435 }
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24439
24440 wxPyEndAllowThreads(__tstate);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 {
24444 resultobj = wxPyMake_wxObject(result, 0);
24445 }
24446 return resultobj;
24447 fail:
24448 return NULL;
24449 }
24450
24451
24452 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24453 PyObject *resultobj = NULL;
24454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24455 wxListItem *arg2 = 0 ;
24456 bool result;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self",(char *) "info", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24465 if (SWIG_arg_fail(1)) SWIG_fail;
24466 {
24467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24468 if (SWIG_arg_fail(2)) SWIG_fail;
24469 if (arg2 == NULL) {
24470 SWIG_null_ref("wxListItem");
24471 }
24472 if (SWIG_arg_fail(2)) SWIG_fail;
24473 }
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 result = (bool)(arg1)->SetItem(*arg2);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 {
24482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24483 }
24484 return resultobj;
24485 fail:
24486 return NULL;
24487 }
24488
24489
24490 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24491 PyObject *resultobj = NULL;
24492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24493 long arg2 ;
24494 int arg3 ;
24495 wxString *arg4 = 0 ;
24496 int arg5 = (int) -1 ;
24497 long result;
24498 bool temp4 = false ;
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 PyObject * obj2 = 0 ;
24502 PyObject * obj3 = 0 ;
24503 PyObject * obj4 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24510 if (SWIG_arg_fail(1)) SWIG_fail;
24511 {
24512 arg2 = static_cast<long >(SWIG_As_long(obj1));
24513 if (SWIG_arg_fail(2)) SWIG_fail;
24514 }
24515 {
24516 arg3 = static_cast<int >(SWIG_As_int(obj2));
24517 if (SWIG_arg_fail(3)) SWIG_fail;
24518 }
24519 {
24520 arg4 = wxString_in_helper(obj3);
24521 if (arg4 == NULL) SWIG_fail;
24522 temp4 = true;
24523 }
24524 if (obj4) {
24525 {
24526 arg5 = static_cast<int >(SWIG_As_int(obj4));
24527 if (SWIG_arg_fail(5)) SWIG_fail;
24528 }
24529 }
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24533
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 {
24538 resultobj = SWIG_From_long(static_cast<long >(result));
24539 }
24540 {
24541 if (temp4)
24542 delete arg4;
24543 }
24544 return resultobj;
24545 fail:
24546 {
24547 if (temp4)
24548 delete arg4;
24549 }
24550 return NULL;
24551 }
24552
24553
24554 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24555 PyObject *resultobj = NULL;
24556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24557 long arg2 ;
24558 long arg3 ;
24559 int result;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 PyObject * obj2 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail;
24570 {
24571 arg2 = static_cast<long >(SWIG_As_long(obj1));
24572 if (SWIG_arg_fail(2)) SWIG_fail;
24573 }
24574 {
24575 arg3 = static_cast<long >(SWIG_As_long(obj2));
24576 if (SWIG_arg_fail(3)) SWIG_fail;
24577 }
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
24585 {
24586 resultobj = SWIG_From_int(static_cast<int >(result));
24587 }
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj = NULL;
24596 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24597 long arg2 ;
24598 long arg3 ;
24599 long arg4 ;
24600 bool result;
24601 PyObject * obj0 = 0 ;
24602 PyObject * obj1 = 0 ;
24603 PyObject * obj2 = 0 ;
24604 PyObject * obj3 = 0 ;
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24607 };
24608
24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail;
24612 {
24613 arg2 = static_cast<long >(SWIG_As_long(obj1));
24614 if (SWIG_arg_fail(2)) SWIG_fail;
24615 }
24616 {
24617 arg3 = static_cast<long >(SWIG_As_long(obj2));
24618 if (SWIG_arg_fail(3)) SWIG_fail;
24619 }
24620 {
24621 arg4 = static_cast<long >(SWIG_As_long(obj3));
24622 if (SWIG_arg_fail(4)) SWIG_fail;
24623 }
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24627
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 {
24632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24633 }
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24641 PyObject *resultobj = NULL;
24642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24643 long arg2 ;
24644 int arg3 ;
24645 int arg4 = (int) -1 ;
24646 bool result;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 PyObject * obj2 = 0 ;
24650 PyObject * obj3 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail;
24658 {
24659 arg2 = static_cast<long >(SWIG_As_long(obj1));
24660 if (SWIG_arg_fail(2)) SWIG_fail;
24661 }
24662 {
24663 arg3 = static_cast<int >(SWIG_As_int(obj2));
24664 if (SWIG_arg_fail(3)) SWIG_fail;
24665 }
24666 if (obj3) {
24667 {
24668 arg4 = static_cast<int >(SWIG_As_int(obj3));
24669 if (SWIG_arg_fail(4)) SWIG_fail;
24670 }
24671 }
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 {
24680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24681 }
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj = NULL;
24690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24691 long arg2 ;
24692 wxString result;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
24695 char *kwnames[] = {
24696 (char *) "self",(char *) "item", NULL
24697 };
24698
24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail;
24702 {
24703 arg2 = static_cast<long >(SWIG_As_long(obj1));
24704 if (SWIG_arg_fail(2)) SWIG_fail;
24705 }
24706 {
24707 PyThreadState* __tstate = wxPyBeginAllowThreads();
24708 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24709
24710 wxPyEndAllowThreads(__tstate);
24711 if (PyErr_Occurred()) SWIG_fail;
24712 }
24713 {
24714 #if wxUSE_UNICODE
24715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24716 #else
24717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24718 #endif
24719 }
24720 return resultobj;
24721 fail:
24722 return NULL;
24723 }
24724
24725
24726 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj = NULL;
24728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24729 long arg2 ;
24730 wxString *arg3 = 0 ;
24731 bool temp3 = false ;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 PyObject * obj2 = 0 ;
24735 char *kwnames[] = {
24736 (char *) "self",(char *) "item",(char *) "str", NULL
24737 };
24738
24739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24741 if (SWIG_arg_fail(1)) SWIG_fail;
24742 {
24743 arg2 = static_cast<long >(SWIG_As_long(obj1));
24744 if (SWIG_arg_fail(2)) SWIG_fail;
24745 }
24746 {
24747 arg3 = wxString_in_helper(obj2);
24748 if (arg3 == NULL) SWIG_fail;
24749 temp3 = true;
24750 }
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 Py_INCREF(Py_None); resultobj = Py_None;
24759 {
24760 if (temp3)
24761 delete arg3;
24762 }
24763 return resultobj;
24764 fail:
24765 {
24766 if (temp3)
24767 delete arg3;
24768 }
24769 return NULL;
24770 }
24771
24772
24773 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj = NULL;
24775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24776 long arg2 ;
24777 long result;
24778 PyObject * obj0 = 0 ;
24779 PyObject * obj1 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self",(char *) "item", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail;
24787 {
24788 arg2 = static_cast<long >(SWIG_As_long(obj1));
24789 if (SWIG_arg_fail(2)) SWIG_fail;
24790 }
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 {
24799 resultobj = SWIG_From_long(static_cast<long >(result));
24800 }
24801 return resultobj;
24802 fail:
24803 return NULL;
24804 }
24805
24806
24807 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj = NULL;
24809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24810 long arg2 ;
24811 long arg3 ;
24812 bool result;
24813 PyObject * obj0 = 0 ;
24814 PyObject * obj1 = 0 ;
24815 PyObject * obj2 = 0 ;
24816 char *kwnames[] = {
24817 (char *) "self",(char *) "item",(char *) "data", NULL
24818 };
24819
24820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail;
24823 {
24824 arg2 = static_cast<long >(SWIG_As_long(obj1));
24825 if (SWIG_arg_fail(2)) SWIG_fail;
24826 }
24827 {
24828 arg3 = static_cast<long >(SWIG_As_long(obj2));
24829 if (SWIG_arg_fail(3)) SWIG_fail;
24830 }
24831 {
24832 PyThreadState* __tstate = wxPyBeginAllowThreads();
24833 result = (bool)(arg1)->SetItemData(arg2,arg3);
24834
24835 wxPyEndAllowThreads(__tstate);
24836 if (PyErr_Occurred()) SWIG_fail;
24837 }
24838 {
24839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24840 }
24841 return resultobj;
24842 fail:
24843 return NULL;
24844 }
24845
24846
24847 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24848 PyObject *resultobj = NULL;
24849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24850 long arg2 ;
24851 wxPoint result;
24852 PyObject * obj0 = 0 ;
24853 PyObject * obj1 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self",(char *) "item", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24860 if (SWIG_arg_fail(1)) SWIG_fail;
24861 {
24862 arg2 = static_cast<long >(SWIG_As_long(obj1));
24863 if (SWIG_arg_fail(2)) SWIG_fail;
24864 }
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24868
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 {
24873 wxPoint * resultptr;
24874 resultptr = new wxPoint(static_cast<wxPoint & >(result));
24875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24876 }
24877 return resultobj;
24878 fail:
24879 return NULL;
24880 }
24881
24882
24883 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24884 PyObject *resultobj = NULL;
24885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24886 long arg2 ;
24887 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24888 wxRect result;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 PyObject * obj2 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "self",(char *) "item",(char *) "code", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24898 if (SWIG_arg_fail(1)) SWIG_fail;
24899 {
24900 arg2 = static_cast<long >(SWIG_As_long(obj1));
24901 if (SWIG_arg_fail(2)) SWIG_fail;
24902 }
24903 if (obj2) {
24904 {
24905 arg3 = static_cast<int >(SWIG_As_int(obj2));
24906 if (SWIG_arg_fail(3)) SWIG_fail;
24907 }
24908 }
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 {
24917 wxRect * resultptr;
24918 resultptr = new wxRect(static_cast<wxRect & >(result));
24919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24920 }
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj = NULL;
24929 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24930 long arg2 ;
24931 wxPoint *arg3 = 0 ;
24932 bool result;
24933 wxPoint temp3 ;
24934 PyObject * obj0 = 0 ;
24935 PyObject * obj1 = 0 ;
24936 PyObject * obj2 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "self",(char *) "item",(char *) "pos", NULL
24939 };
24940
24941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24943 if (SWIG_arg_fail(1)) SWIG_fail;
24944 {
24945 arg2 = static_cast<long >(SWIG_As_long(obj1));
24946 if (SWIG_arg_fail(2)) SWIG_fail;
24947 }
24948 {
24949 arg3 = &temp3;
24950 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24951 }
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 {
24960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24961 }
24962 return resultobj;
24963 fail:
24964 return NULL;
24965 }
24966
24967
24968 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24969 PyObject *resultobj = NULL;
24970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24971 int result;
24972 PyObject * obj0 = 0 ;
24973 char *kwnames[] = {
24974 (char *) "self", NULL
24975 };
24976
24977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail;
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 {
24988 resultobj = SWIG_From_int(static_cast<int >(result));
24989 }
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj = NULL;
24998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24999 int result;
25000 PyObject * obj0 = 0 ;
25001 char *kwnames[] = {
25002 (char *) "self", NULL
25003 };
25004
25005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
25006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25007 if (SWIG_arg_fail(1)) SWIG_fail;
25008 {
25009 PyThreadState* __tstate = wxPyBeginAllowThreads();
25010 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
25011
25012 wxPyEndAllowThreads(__tstate);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 {
25016 resultobj = SWIG_From_int(static_cast<int >(result));
25017 }
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj = NULL;
25026 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25027 wxSize result;
25028 PyObject * obj0 = 0 ;
25029 char *kwnames[] = {
25030 (char *) "self", NULL
25031 };
25032
25033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
25034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25035 if (SWIG_arg_fail(1)) SWIG_fail;
25036 {
25037 PyThreadState* __tstate = wxPyBeginAllowThreads();
25038 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25039
25040 wxPyEndAllowThreads(__tstate);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 }
25043 {
25044 wxSize * resultptr;
25045 resultptr = new wxSize(static_cast<wxSize & >(result));
25046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25047 }
25048 return resultobj;
25049 fail:
25050 return NULL;
25051 }
25052
25053
25054 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
25055 PyObject *resultobj = NULL;
25056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25057 int result;
25058 PyObject * obj0 = 0 ;
25059 char *kwnames[] = {
25060 (char *) "self", NULL
25061 };
25062
25063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25065 if (SWIG_arg_fail(1)) SWIG_fail;
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25069
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 {
25074 resultobj = SWIG_From_int(static_cast<int >(result));
25075 }
25076 return resultobj;
25077 fail:
25078 return NULL;
25079 }
25080
25081
25082 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25083 PyObject *resultobj = NULL;
25084 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25085 wxColour result;
25086 PyObject * obj0 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self", NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail;
25094 {
25095 PyThreadState* __tstate = wxPyBeginAllowThreads();
25096 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25097
25098 wxPyEndAllowThreads(__tstate);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
25101 {
25102 wxColour * resultptr;
25103 resultptr = new wxColour(static_cast<wxColour & >(result));
25104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25105 }
25106 return resultobj;
25107 fail:
25108 return NULL;
25109 }
25110
25111
25112 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25113 PyObject *resultobj = NULL;
25114 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25115 wxColour *arg2 = 0 ;
25116 wxColour temp2 ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self",(char *) "col", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail;
25126 {
25127 arg2 = &temp2;
25128 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25129 }
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 (arg1)->SetTextColour((wxColour const &)*arg2);
25133
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 Py_INCREF(Py_None); resultobj = Py_None;
25138 return resultobj;
25139 fail:
25140 return NULL;
25141 }
25142
25143
25144 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25145 PyObject *resultobj = NULL;
25146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25147 long result;
25148 PyObject * obj0 = 0 ;
25149 char *kwnames[] = {
25150 (char *) "self", NULL
25151 };
25152
25153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25155 if (SWIG_arg_fail(1)) SWIG_fail;
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25159
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 {
25164 resultobj = SWIG_From_long(static_cast<long >(result));
25165 }
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj = NULL;
25174 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25175 long arg2 ;
25176 bool arg3 = (bool) true ;
25177 PyObject * obj0 = 0 ;
25178 PyObject * obj1 = 0 ;
25179 PyObject * obj2 = 0 ;
25180 char *kwnames[] = {
25181 (char *) "self",(char *) "style",(char *) "add", NULL
25182 };
25183
25184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25186 if (SWIG_arg_fail(1)) SWIG_fail;
25187 {
25188 arg2 = static_cast<long >(SWIG_As_long(obj1));
25189 if (SWIG_arg_fail(2)) SWIG_fail;
25190 }
25191 if (obj2) {
25192 {
25193 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
25194 if (SWIG_arg_fail(3)) SWIG_fail;
25195 }
25196 }
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 (arg1)->SetSingleStyle(arg2,arg3);
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 Py_INCREF(Py_None); resultobj = Py_None;
25205 return resultobj;
25206 fail:
25207 return NULL;
25208 }
25209
25210
25211 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj = NULL;
25213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25214 long arg2 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self",(char *) "style", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail;
25224 {
25225 arg2 = static_cast<long >(SWIG_As_long(obj1));
25226 if (SWIG_arg_fail(2)) SWIG_fail;
25227 }
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 (arg1)->SetWindowStyleFlag(arg2);
25231
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 Py_INCREF(Py_None); resultobj = Py_None;
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj = NULL;
25244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25245 long arg2 ;
25246 int arg3 = (int) wxLIST_NEXT_ALL ;
25247 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25248 long result;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 PyObject * obj2 = 0 ;
25252 PyObject * obj3 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail;
25260 {
25261 arg2 = static_cast<long >(SWIG_As_long(obj1));
25262 if (SWIG_arg_fail(2)) SWIG_fail;
25263 }
25264 if (obj2) {
25265 {
25266 arg3 = static_cast<int >(SWIG_As_int(obj2));
25267 if (SWIG_arg_fail(3)) SWIG_fail;
25268 }
25269 }
25270 if (obj3) {
25271 {
25272 arg4 = static_cast<int >(SWIG_As_int(obj3));
25273 if (SWIG_arg_fail(4)) SWIG_fail;
25274 }
25275 }
25276 {
25277 PyThreadState* __tstate = wxPyBeginAllowThreads();
25278 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25279
25280 wxPyEndAllowThreads(__tstate);
25281 if (PyErr_Occurred()) SWIG_fail;
25282 }
25283 {
25284 resultobj = SWIG_From_long(static_cast<long >(result));
25285 }
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj = NULL;
25294 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25295 int arg2 ;
25296 wxImageList *result;
25297 PyObject * obj0 = 0 ;
25298 PyObject * obj1 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "self",(char *) "which", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25305 if (SWIG_arg_fail(1)) SWIG_fail;
25306 {
25307 arg2 = static_cast<int >(SWIG_As_int(obj1));
25308 if (SWIG_arg_fail(2)) SWIG_fail;
25309 }
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 {
25318 resultobj = wxPyMake_wxObject(result, 0);
25319 }
25320 return resultobj;
25321 fail:
25322 return NULL;
25323 }
25324
25325
25326 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25327 PyObject *resultobj = NULL;
25328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25329 wxImageList *arg2 = (wxImageList *) 0 ;
25330 int arg3 ;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 PyObject * obj2 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self",(char *) "imageList",(char *) "which", NULL
25336 };
25337
25338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail;
25341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25342 if (SWIG_arg_fail(2)) SWIG_fail;
25343 {
25344 arg3 = static_cast<int >(SWIG_As_int(obj2));
25345 if (SWIG_arg_fail(3)) SWIG_fail;
25346 }
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->SetImageList(arg2,arg3);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 Py_INCREF(Py_None); resultobj = Py_None;
25355 return resultobj;
25356 fail:
25357 return NULL;
25358 }
25359
25360
25361 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25362 PyObject *resultobj = NULL;
25363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25364 wxImageList *arg2 = (wxImageList *) 0 ;
25365 int arg3 ;
25366 PyObject * obj0 = 0 ;
25367 PyObject * obj1 = 0 ;
25368 PyObject * obj2 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self",(char *) "imageList",(char *) "which", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail;
25376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25377 if (SWIG_arg_fail(2)) SWIG_fail;
25378 {
25379 arg3 = static_cast<int >(SWIG_As_int(obj2));
25380 if (SWIG_arg_fail(3)) SWIG_fail;
25381 }
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 (arg1)->AssignImageList(arg2,arg3);
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 Py_INCREF(Py_None); resultobj = Py_None;
25390 return resultobj;
25391 fail:
25392 return NULL;
25393 }
25394
25395
25396 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25397 PyObject *resultobj = NULL;
25398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25399 bool result;
25400 PyObject * obj0 = 0 ;
25401 char *kwnames[] = {
25402 (char *) "self", NULL
25403 };
25404
25405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25407 if (SWIG_arg_fail(1)) SWIG_fail;
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
25410 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 {
25416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25417 }
25418 return resultobj;
25419 fail:
25420 return NULL;
25421 }
25422
25423
25424 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25425 PyObject *resultobj = NULL;
25426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25427 bool result;
25428 PyObject * obj0 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail;
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 {
25444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25445 }
25446 return resultobj;
25447 fail:
25448 return NULL;
25449 }
25450
25451
25452 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj = NULL;
25454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25455 long arg2 ;
25456 PyObject * obj0 = 0 ;
25457 PyObject * obj1 = 0 ;
25458 char *kwnames[] = {
25459 (char *) "self",(char *) "item", NULL
25460 };
25461
25462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25464 if (SWIG_arg_fail(1)) SWIG_fail;
25465 {
25466 arg2 = static_cast<long >(SWIG_As_long(obj1));
25467 if (SWIG_arg_fail(2)) SWIG_fail;
25468 }
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 (arg1)->RefreshItem(arg2);
25472
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 Py_INCREF(Py_None); resultobj = Py_None;
25477 return resultobj;
25478 fail:
25479 return NULL;
25480 }
25481
25482
25483 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj = NULL;
25485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25486 long arg2 ;
25487 long arg3 ;
25488 PyObject * obj0 = 0 ;
25489 PyObject * obj1 = 0 ;
25490 PyObject * obj2 = 0 ;
25491 char *kwnames[] = {
25492 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25493 };
25494
25495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25497 if (SWIG_arg_fail(1)) SWIG_fail;
25498 {
25499 arg2 = static_cast<long >(SWIG_As_long(obj1));
25500 if (SWIG_arg_fail(2)) SWIG_fail;
25501 }
25502 {
25503 arg3 = static_cast<long >(SWIG_As_long(obj2));
25504 if (SWIG_arg_fail(3)) SWIG_fail;
25505 }
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 (arg1)->RefreshItems(arg2,arg3);
25509
25510 wxPyEndAllowThreads(__tstate);
25511 if (PyErr_Occurred()) SWIG_fail;
25512 }
25513 Py_INCREF(Py_None); resultobj = Py_None;
25514 return resultobj;
25515 fail:
25516 return NULL;
25517 }
25518
25519
25520 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25521 PyObject *resultobj = NULL;
25522 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25523 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25524 bool result;
25525 PyObject * obj0 = 0 ;
25526 PyObject * obj1 = 0 ;
25527 char *kwnames[] = {
25528 (char *) "self",(char *) "flag", NULL
25529 };
25530
25531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail;
25534 if (obj1) {
25535 {
25536 arg2 = static_cast<int >(SWIG_As_int(obj1));
25537 if (SWIG_arg_fail(2)) SWIG_fail;
25538 }
25539 }
25540 {
25541 PyThreadState* __tstate = wxPyBeginAllowThreads();
25542 result = (bool)(arg1)->Arrange(arg2);
25543
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 {
25548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25549 }
25550 return resultobj;
25551 fail:
25552 return NULL;
25553 }
25554
25555
25556 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25557 PyObject *resultobj = NULL;
25558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25559 long arg2 ;
25560 bool result;
25561 PyObject * obj0 = 0 ;
25562 PyObject * obj1 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self",(char *) "item", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail;
25570 {
25571 arg2 = static_cast<long >(SWIG_As_long(obj1));
25572 if (SWIG_arg_fail(2)) SWIG_fail;
25573 }
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (bool)(arg1)->DeleteItem(arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 {
25582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25583 }
25584 return resultobj;
25585 fail:
25586 return NULL;
25587 }
25588
25589
25590 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25591 PyObject *resultobj = NULL;
25592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25593 bool result;
25594 PyObject * obj0 = 0 ;
25595 char *kwnames[] = {
25596 (char *) "self", NULL
25597 };
25598
25599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25601 if (SWIG_arg_fail(1)) SWIG_fail;
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 result = (bool)(arg1)->DeleteAllItems();
25605
25606 wxPyEndAllowThreads(__tstate);
25607 if (PyErr_Occurred()) SWIG_fail;
25608 }
25609 {
25610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25611 }
25612 return resultobj;
25613 fail:
25614 return NULL;
25615 }
25616
25617
25618 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25619 PyObject *resultobj = NULL;
25620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25621 int arg2 ;
25622 bool result;
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj1 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self",(char *) "col", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail;
25632 {
25633 arg2 = static_cast<int >(SWIG_As_int(obj1));
25634 if (SWIG_arg_fail(2)) SWIG_fail;
25635 }
25636 {
25637 PyThreadState* __tstate = wxPyBeginAllowThreads();
25638 result = (bool)(arg1)->DeleteColumn(arg2);
25639
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 {
25644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25645 }
25646 return resultobj;
25647 fail:
25648 return NULL;
25649 }
25650
25651
25652 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25653 PyObject *resultobj = NULL;
25654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25655 bool result;
25656 PyObject * obj0 = 0 ;
25657 char *kwnames[] = {
25658 (char *) "self", NULL
25659 };
25660
25661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25663 if (SWIG_arg_fail(1)) SWIG_fail;
25664 {
25665 PyThreadState* __tstate = wxPyBeginAllowThreads();
25666 result = (bool)(arg1)->DeleteAllColumns();
25667
25668 wxPyEndAllowThreads(__tstate);
25669 if (PyErr_Occurred()) SWIG_fail;
25670 }
25671 {
25672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25673 }
25674 return resultobj;
25675 fail:
25676 return NULL;
25677 }
25678
25679
25680 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25681 PyObject *resultobj = NULL;
25682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25683 PyObject * obj0 = 0 ;
25684 char *kwnames[] = {
25685 (char *) "self", NULL
25686 };
25687
25688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25690 if (SWIG_arg_fail(1)) SWIG_fail;
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 (arg1)->ClearAll();
25694
25695 wxPyEndAllowThreads(__tstate);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 Py_INCREF(Py_None); resultobj = Py_None;
25699 return resultobj;
25700 fail:
25701 return NULL;
25702 }
25703
25704
25705 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj = NULL;
25707 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25708 long arg2 ;
25709 wxTextCtrl *result;
25710 PyObject * obj0 = 0 ;
25711 PyObject * obj1 = 0 ;
25712 char *kwnames[] = {
25713 (char *) "self",(char *) "item", NULL
25714 };
25715
25716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25718 if (SWIG_arg_fail(1)) SWIG_fail;
25719 {
25720 arg2 = static_cast<long >(SWIG_As_long(obj1));
25721 if (SWIG_arg_fail(2)) SWIG_fail;
25722 }
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25726
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 {
25731 resultobj = wxPyMake_wxObject(result, 0);
25732 }
25733 return resultobj;
25734 fail:
25735 return NULL;
25736 }
25737
25738
25739 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25740 PyObject *resultobj = NULL;
25741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25742 bool arg2 ;
25743 bool result;
25744 PyObject * obj0 = 0 ;
25745 PyObject * obj1 = 0 ;
25746 char *kwnames[] = {
25747 (char *) "self",(char *) "cancel", NULL
25748 };
25749
25750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
25751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail;
25753 {
25754 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
25755 if (SWIG_arg_fail(2)) SWIG_fail;
25756 }
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 result = (bool)(arg1)->EndEditLabel(arg2);
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 {
25765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25766 }
25767 return resultobj;
25768 fail:
25769 return NULL;
25770 }
25771
25772
25773 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj = NULL;
25775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25776 long arg2 ;
25777 bool result;
25778 PyObject * obj0 = 0 ;
25779 PyObject * obj1 = 0 ;
25780 char *kwnames[] = {
25781 (char *) "self",(char *) "item", NULL
25782 };
25783
25784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25786 if (SWIG_arg_fail(1)) SWIG_fail;
25787 {
25788 arg2 = static_cast<long >(SWIG_As_long(obj1));
25789 if (SWIG_arg_fail(2)) SWIG_fail;
25790 }
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (bool)(arg1)->EnsureVisible(arg2);
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 {
25799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25800 }
25801 return resultobj;
25802 fail:
25803 return NULL;
25804 }
25805
25806
25807 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25808 PyObject *resultobj = NULL;
25809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25810 long arg2 ;
25811 wxString *arg3 = 0 ;
25812 bool arg4 = (bool) false ;
25813 long result;
25814 bool temp3 = false ;
25815 PyObject * obj0 = 0 ;
25816 PyObject * obj1 = 0 ;
25817 PyObject * obj2 = 0 ;
25818 PyObject * obj3 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail;
25826 {
25827 arg2 = static_cast<long >(SWIG_As_long(obj1));
25828 if (SWIG_arg_fail(2)) SWIG_fail;
25829 }
25830 {
25831 arg3 = wxString_in_helper(obj2);
25832 if (arg3 == NULL) SWIG_fail;
25833 temp3 = true;
25834 }
25835 if (obj3) {
25836 {
25837 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
25838 if (SWIG_arg_fail(4)) SWIG_fail;
25839 }
25840 }
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 {
25849 resultobj = SWIG_From_long(static_cast<long >(result));
25850 }
25851 {
25852 if (temp3)
25853 delete arg3;
25854 }
25855 return resultobj;
25856 fail:
25857 {
25858 if (temp3)
25859 delete arg3;
25860 }
25861 return NULL;
25862 }
25863
25864
25865 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj = NULL;
25867 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25868 long arg2 ;
25869 long arg3 ;
25870 long result;
25871 PyObject * obj0 = 0 ;
25872 PyObject * obj1 = 0 ;
25873 PyObject * obj2 = 0 ;
25874 char *kwnames[] = {
25875 (char *) "self",(char *) "start",(char *) "data", NULL
25876 };
25877
25878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25880 if (SWIG_arg_fail(1)) SWIG_fail;
25881 {
25882 arg2 = static_cast<long >(SWIG_As_long(obj1));
25883 if (SWIG_arg_fail(2)) SWIG_fail;
25884 }
25885 {
25886 arg3 = static_cast<long >(SWIG_As_long(obj2));
25887 if (SWIG_arg_fail(3)) SWIG_fail;
25888 }
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = (long)(arg1)->FindItem(arg2,arg3);
25892
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 {
25897 resultobj = SWIG_From_long(static_cast<long >(result));
25898 }
25899 return resultobj;
25900 fail:
25901 return NULL;
25902 }
25903
25904
25905 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25906 PyObject *resultobj = NULL;
25907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25908 long arg2 ;
25909 wxPoint *arg3 = 0 ;
25910 int arg4 ;
25911 long result;
25912 wxPoint temp3 ;
25913 PyObject * obj0 = 0 ;
25914 PyObject * obj1 = 0 ;
25915 PyObject * obj2 = 0 ;
25916 PyObject * obj3 = 0 ;
25917 char *kwnames[] = {
25918 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25919 };
25920
25921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25923 if (SWIG_arg_fail(1)) SWIG_fail;
25924 {
25925 arg2 = static_cast<long >(SWIG_As_long(obj1));
25926 if (SWIG_arg_fail(2)) SWIG_fail;
25927 }
25928 {
25929 arg3 = &temp3;
25930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25931 }
25932 {
25933 arg4 = static_cast<int >(SWIG_As_int(obj3));
25934 if (SWIG_arg_fail(4)) SWIG_fail;
25935 }
25936 {
25937 PyThreadState* __tstate = wxPyBeginAllowThreads();
25938 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25939
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 {
25944 resultobj = SWIG_From_long(static_cast<long >(result));
25945 }
25946 return resultobj;
25947 fail:
25948 return NULL;
25949 }
25950
25951
25952 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25953 PyObject *resultobj = NULL;
25954 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25955 wxPoint *arg2 = 0 ;
25956 int *arg3 = 0 ;
25957 long result;
25958 wxPoint temp2 ;
25959 int temp3 ;
25960 int res3 = 0 ;
25961 PyObject * obj0 = 0 ;
25962 PyObject * obj1 = 0 ;
25963 char *kwnames[] = {
25964 (char *) "self",(char *) "point", NULL
25965 };
25966
25967 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25970 if (SWIG_arg_fail(1)) SWIG_fail;
25971 {
25972 arg2 = &temp2;
25973 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 {
25983 resultobj = SWIG_From_long(static_cast<long >(result));
25984 }
25985 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25986 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25994 PyObject *resultobj = NULL;
25995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25996 wxListItem *arg2 = 0 ;
25997 long result;
25998 PyObject * obj0 = 0 ;
25999 PyObject * obj1 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "self",(char *) "info", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
26005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26006 if (SWIG_arg_fail(1)) SWIG_fail;
26007 {
26008 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26009 if (SWIG_arg_fail(2)) SWIG_fail;
26010 if (arg2 == NULL) {
26011 SWIG_null_ref("wxListItem");
26012 }
26013 if (SWIG_arg_fail(2)) SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 result = (long)(arg1)->InsertItem(*arg2);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 {
26023 resultobj = SWIG_From_long(static_cast<long >(result));
26024 }
26025 return resultobj;
26026 fail:
26027 return NULL;
26028 }
26029
26030
26031 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26032 PyObject *resultobj = NULL;
26033 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26034 long arg2 ;
26035 wxString *arg3 = 0 ;
26036 int arg4 = (int) -1 ;
26037 long result;
26038 bool temp3 = false ;
26039 PyObject * obj0 = 0 ;
26040 PyObject * obj1 = 0 ;
26041 PyObject * obj2 = 0 ;
26042 PyObject * obj3 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail;
26050 {
26051 arg2 = static_cast<long >(SWIG_As_long(obj1));
26052 if (SWIG_arg_fail(2)) SWIG_fail;
26053 }
26054 {
26055 arg3 = wxString_in_helper(obj2);
26056 if (arg3 == NULL) SWIG_fail;
26057 temp3 = true;
26058 }
26059 if (obj3) {
26060 {
26061 arg4 = static_cast<int >(SWIG_As_int(obj3));
26062 if (SWIG_arg_fail(4)) SWIG_fail;
26063 }
26064 }
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 {
26073 resultobj = SWIG_From_long(static_cast<long >(result));
26074 }
26075 {
26076 if (temp3)
26077 delete arg3;
26078 }
26079 return resultobj;
26080 fail:
26081 {
26082 if (temp3)
26083 delete arg3;
26084 }
26085 return NULL;
26086 }
26087
26088
26089 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
26090 PyObject *resultobj = NULL;
26091 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26092 long arg2 ;
26093 int arg3 ;
26094 long result;
26095 PyObject * obj0 = 0 ;
26096 PyObject * obj1 = 0 ;
26097 PyObject * obj2 = 0 ;
26098 char *kwnames[] = {
26099 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26100 };
26101
26102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail;
26105 {
26106 arg2 = static_cast<long >(SWIG_As_long(obj1));
26107 if (SWIG_arg_fail(2)) SWIG_fail;
26108 }
26109 {
26110 arg3 = static_cast<int >(SWIG_As_int(obj2));
26111 if (SWIG_arg_fail(3)) SWIG_fail;
26112 }
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 result = (long)(arg1)->InsertItem(arg2,arg3);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 {
26121 resultobj = SWIG_From_long(static_cast<long >(result));
26122 }
26123 return resultobj;
26124 fail:
26125 return NULL;
26126 }
26127
26128
26129 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26130 PyObject *resultobj = NULL;
26131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26132 long arg2 ;
26133 wxString *arg3 = 0 ;
26134 int arg4 ;
26135 long result;
26136 bool temp3 = false ;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 PyObject * obj2 = 0 ;
26140 PyObject * obj3 = 0 ;
26141 char *kwnames[] = {
26142 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26143 };
26144
26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail;
26148 {
26149 arg2 = static_cast<long >(SWIG_As_long(obj1));
26150 if (SWIG_arg_fail(2)) SWIG_fail;
26151 }
26152 {
26153 arg3 = wxString_in_helper(obj2);
26154 if (arg3 == NULL) SWIG_fail;
26155 temp3 = true;
26156 }
26157 {
26158 arg4 = static_cast<int >(SWIG_As_int(obj3));
26159 if (SWIG_arg_fail(4)) SWIG_fail;
26160 }
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26164
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 {
26169 resultobj = SWIG_From_long(static_cast<long >(result));
26170 }
26171 {
26172 if (temp3)
26173 delete arg3;
26174 }
26175 return resultobj;
26176 fail:
26177 {
26178 if (temp3)
26179 delete arg3;
26180 }
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj = NULL;
26187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26188 long arg2 ;
26189 wxListItem *arg3 = 0 ;
26190 long result;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 PyObject * obj2 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "col",(char *) "info", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail;
26201 {
26202 arg2 = static_cast<long >(SWIG_As_long(obj1));
26203 if (SWIG_arg_fail(2)) SWIG_fail;
26204 }
26205 {
26206 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26207 if (SWIG_arg_fail(3)) SWIG_fail;
26208 if (arg3 == NULL) {
26209 SWIG_null_ref("wxListItem");
26210 }
26211 if (SWIG_arg_fail(3)) SWIG_fail;
26212 }
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 {
26221 resultobj = SWIG_From_long(static_cast<long >(result));
26222 }
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj = NULL;
26231 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26232 long arg2 ;
26233 wxString *arg3 = 0 ;
26234 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26235 int arg5 = (int) -1 ;
26236 long result;
26237 bool temp3 = false ;
26238 PyObject * obj0 = 0 ;
26239 PyObject * obj1 = 0 ;
26240 PyObject * obj2 = 0 ;
26241 PyObject * obj3 = 0 ;
26242 PyObject * obj4 = 0 ;
26243 char *kwnames[] = {
26244 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26245 };
26246
26247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26249 if (SWIG_arg_fail(1)) SWIG_fail;
26250 {
26251 arg2 = static_cast<long >(SWIG_As_long(obj1));
26252 if (SWIG_arg_fail(2)) SWIG_fail;
26253 }
26254 {
26255 arg3 = wxString_in_helper(obj2);
26256 if (arg3 == NULL) SWIG_fail;
26257 temp3 = true;
26258 }
26259 if (obj3) {
26260 {
26261 arg4 = static_cast<int >(SWIG_As_int(obj3));
26262 if (SWIG_arg_fail(4)) SWIG_fail;
26263 }
26264 }
26265 if (obj4) {
26266 {
26267 arg5 = static_cast<int >(SWIG_As_int(obj4));
26268 if (SWIG_arg_fail(5)) SWIG_fail;
26269 }
26270 }
26271 {
26272 PyThreadState* __tstate = wxPyBeginAllowThreads();
26273 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26274
26275 wxPyEndAllowThreads(__tstate);
26276 if (PyErr_Occurred()) SWIG_fail;
26277 }
26278 {
26279 resultobj = SWIG_From_long(static_cast<long >(result));
26280 }
26281 {
26282 if (temp3)
26283 delete arg3;
26284 }
26285 return resultobj;
26286 fail:
26287 {
26288 if (temp3)
26289 delete arg3;
26290 }
26291 return NULL;
26292 }
26293
26294
26295 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj = NULL;
26297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26298 long arg2 ;
26299 PyObject * obj0 = 0 ;
26300 PyObject * obj1 = 0 ;
26301 char *kwnames[] = {
26302 (char *) "self",(char *) "count", NULL
26303 };
26304
26305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26307 if (SWIG_arg_fail(1)) SWIG_fail;
26308 {
26309 arg2 = static_cast<long >(SWIG_As_long(obj1));
26310 if (SWIG_arg_fail(2)) SWIG_fail;
26311 }
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 (arg1)->SetItemCount(arg2);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 Py_INCREF(Py_None); resultobj = Py_None;
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26327 PyObject *resultobj = NULL;
26328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26329 int arg2 ;
26330 int arg3 ;
26331 bool result;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 PyObject * obj2 = 0 ;
26335 char *kwnames[] = {
26336 (char *) "self",(char *) "dx",(char *) "dy", NULL
26337 };
26338
26339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail;
26342 {
26343 arg2 = static_cast<int >(SWIG_As_int(obj1));
26344 if (SWIG_arg_fail(2)) SWIG_fail;
26345 }
26346 {
26347 arg3 = static_cast<int >(SWIG_As_int(obj2));
26348 if (SWIG_arg_fail(3)) SWIG_fail;
26349 }
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (bool)(arg1)->ScrollList(arg2,arg3);
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 {
26358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26359 }
26360 return resultobj;
26361 fail:
26362 return NULL;
26363 }
26364
26365
26366 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj = NULL;
26368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26369 long arg2 ;
26370 wxColour *arg3 = 0 ;
26371 wxColour temp3 ;
26372 PyObject * obj0 = 0 ;
26373 PyObject * obj1 = 0 ;
26374 PyObject * obj2 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "item",(char *) "col", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail;
26382 {
26383 arg2 = static_cast<long >(SWIG_As_long(obj1));
26384 if (SWIG_arg_fail(2)) SWIG_fail;
26385 }
26386 {
26387 arg3 = &temp3;
26388 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26389 }
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26393
26394 wxPyEndAllowThreads(__tstate);
26395 if (PyErr_Occurred()) SWIG_fail;
26396 }
26397 Py_INCREF(Py_None); resultobj = Py_None;
26398 return resultobj;
26399 fail:
26400 return NULL;
26401 }
26402
26403
26404 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26405 PyObject *resultobj = NULL;
26406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26407 long arg2 ;
26408 wxColour result;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 char *kwnames[] = {
26412 (char *) "self",(char *) "item", NULL
26413 };
26414
26415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26417 if (SWIG_arg_fail(1)) SWIG_fail;
26418 {
26419 arg2 = static_cast<long >(SWIG_As_long(obj1));
26420 if (SWIG_arg_fail(2)) SWIG_fail;
26421 }
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26425
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 wxColour * resultptr;
26431 resultptr = new wxColour(static_cast<wxColour & >(result));
26432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26433 }
26434 return resultobj;
26435 fail:
26436 return NULL;
26437 }
26438
26439
26440 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26441 PyObject *resultobj = NULL;
26442 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26443 long arg2 ;
26444 wxColour *arg3 = 0 ;
26445 wxColour temp3 ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 PyObject * obj2 = 0 ;
26449 char *kwnames[] = {
26450 (char *) "self",(char *) "item",(char *) "col", NULL
26451 };
26452
26453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail;
26456 {
26457 arg2 = static_cast<long >(SWIG_As_long(obj1));
26458 if (SWIG_arg_fail(2)) SWIG_fail;
26459 }
26460 {
26461 arg3 = &temp3;
26462 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26463 }
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26467
26468 wxPyEndAllowThreads(__tstate);
26469 if (PyErr_Occurred()) SWIG_fail;
26470 }
26471 Py_INCREF(Py_None); resultobj = Py_None;
26472 return resultobj;
26473 fail:
26474 return NULL;
26475 }
26476
26477
26478 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26479 PyObject *resultobj = NULL;
26480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26481 long arg2 ;
26482 wxColour result;
26483 PyObject * obj0 = 0 ;
26484 PyObject * obj1 = 0 ;
26485 char *kwnames[] = {
26486 (char *) "self",(char *) "item", NULL
26487 };
26488
26489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26491 if (SWIG_arg_fail(1)) SWIG_fail;
26492 {
26493 arg2 = static_cast<long >(SWIG_As_long(obj1));
26494 if (SWIG_arg_fail(2)) SWIG_fail;
26495 }
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26499
26500 wxPyEndAllowThreads(__tstate);
26501 if (PyErr_Occurred()) SWIG_fail;
26502 }
26503 {
26504 wxColour * resultptr;
26505 resultptr = new wxColour(static_cast<wxColour & >(result));
26506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26507 }
26508 return resultobj;
26509 fail:
26510 return NULL;
26511 }
26512
26513
26514 static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj = NULL;
26516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26517 long arg2 ;
26518 wxFont *arg3 = 0 ;
26519 PyObject * obj0 = 0 ;
26520 PyObject * obj1 = 0 ;
26521 PyObject * obj2 = 0 ;
26522 char *kwnames[] = {
26523 (char *) "self",(char *) "item",(char *) "f", NULL
26524 };
26525
26526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail;
26529 {
26530 arg2 = static_cast<long >(SWIG_As_long(obj1));
26531 if (SWIG_arg_fail(2)) SWIG_fail;
26532 }
26533 {
26534 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
26535 if (SWIG_arg_fail(3)) SWIG_fail;
26536 if (arg3 == NULL) {
26537 SWIG_null_ref("wxFont");
26538 }
26539 if (SWIG_arg_fail(3)) SWIG_fail;
26540 }
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
26544
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 Py_INCREF(Py_None); resultobj = Py_None;
26549 return resultobj;
26550 fail:
26551 return NULL;
26552 }
26553
26554
26555 static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
26556 PyObject *resultobj = NULL;
26557 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26558 long arg2 ;
26559 wxFont result;
26560 PyObject * obj0 = 0 ;
26561 PyObject * obj1 = 0 ;
26562 char *kwnames[] = {
26563 (char *) "self",(char *) "item", NULL
26564 };
26565
26566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
26567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail;
26569 {
26570 arg2 = static_cast<long >(SWIG_As_long(obj1));
26571 if (SWIG_arg_fail(2)) SWIG_fail;
26572 }
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 {
26581 wxFont * resultptr;
26582 resultptr = new wxFont(static_cast<wxFont & >(result));
26583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
26584 }
26585 return resultobj;
26586 fail:
26587 return NULL;
26588 }
26589
26590
26591 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26592 PyObject *resultobj = NULL;
26593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26594 PyObject *arg2 = (PyObject *) 0 ;
26595 bool result;
26596 PyObject * obj0 = 0 ;
26597 PyObject * obj1 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self",(char *) "func", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail;
26605 arg2 = obj1;
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26609
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 {
26614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26615 }
26616 return resultobj;
26617 fail:
26618 return NULL;
26619 }
26620
26621
26622 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26623 PyObject *resultobj = NULL;
26624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26625 wxWindow *result;
26626 PyObject * obj0 = 0 ;
26627 char *kwnames[] = {
26628 (char *) "self", NULL
26629 };
26630
26631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26633 if (SWIG_arg_fail(1)) SWIG_fail;
26634 {
26635 PyThreadState* __tstate = wxPyBeginAllowThreads();
26636 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26637
26638 wxPyEndAllowThreads(__tstate);
26639 if (PyErr_Occurred()) SWIG_fail;
26640 }
26641 {
26642 resultobj = wxPyMake_wxObject(result, 0);
26643 }
26644 return resultobj;
26645 fail:
26646 return NULL;
26647 }
26648
26649
26650 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26651 PyObject *resultobj = NULL;
26652 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26653 wxVisualAttributes result;
26654 PyObject * obj0 = 0 ;
26655 char *kwnames[] = {
26656 (char *) "variant", NULL
26657 };
26658
26659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26660 if (obj0) {
26661 {
26662 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
26663 if (SWIG_arg_fail(1)) SWIG_fail;
26664 }
26665 }
26666 {
26667 if (!wxPyCheckForApp()) SWIG_fail;
26668 PyThreadState* __tstate = wxPyBeginAllowThreads();
26669 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
26670
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 {
26675 wxVisualAttributes * resultptr;
26676 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
26677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26678 }
26679 return resultobj;
26680 fail:
26681 return NULL;
26682 }
26683
26684
26685 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26686 PyObject *obj;
26687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26688 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26689 Py_INCREF(obj);
26690 return Py_BuildValue((char *)"");
26691 }
26692 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26693 PyObject *resultobj = NULL;
26694 wxWindow *arg1 = (wxWindow *) 0 ;
26695 int arg2 = (int) -1 ;
26696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26698 wxSize const &arg4_defvalue = wxDefaultSize ;
26699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26700 long arg5 = (long) wxLC_REPORT ;
26701 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26702 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26703 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26704 wxString *arg7 = (wxString *) &arg7_defvalue ;
26705 wxListView *result;
26706 wxPoint temp3 ;
26707 wxSize temp4 ;
26708 bool temp7 = false ;
26709 PyObject * obj0 = 0 ;
26710 PyObject * obj1 = 0 ;
26711 PyObject * obj2 = 0 ;
26712 PyObject * obj3 = 0 ;
26713 PyObject * obj4 = 0 ;
26714 PyObject * obj5 = 0 ;
26715 PyObject * obj6 = 0 ;
26716 char *kwnames[] = {
26717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26718 };
26719
26720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail;
26723 if (obj1) {
26724 {
26725 arg2 = static_cast<int >(SWIG_As_int(obj1));
26726 if (SWIG_arg_fail(2)) SWIG_fail;
26727 }
26728 }
26729 if (obj2) {
26730 {
26731 arg3 = &temp3;
26732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26733 }
26734 }
26735 if (obj3) {
26736 {
26737 arg4 = &temp4;
26738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26739 }
26740 }
26741 if (obj4) {
26742 {
26743 arg5 = static_cast<long >(SWIG_As_long(obj4));
26744 if (SWIG_arg_fail(5)) SWIG_fail;
26745 }
26746 }
26747 if (obj5) {
26748 {
26749 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26750 if (SWIG_arg_fail(6)) SWIG_fail;
26751 if (arg6 == NULL) {
26752 SWIG_null_ref("wxValidator");
26753 }
26754 if (SWIG_arg_fail(6)) SWIG_fail;
26755 }
26756 }
26757 if (obj6) {
26758 {
26759 arg7 = wxString_in_helper(obj6);
26760 if (arg7 == NULL) SWIG_fail;
26761 temp7 = true;
26762 }
26763 }
26764 {
26765 if (!wxPyCheckForApp()) SWIG_fail;
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26773 {
26774 if (temp7)
26775 delete arg7;
26776 }
26777 return resultobj;
26778 fail:
26779 {
26780 if (temp7)
26781 delete arg7;
26782 }
26783 return NULL;
26784 }
26785
26786
26787 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26788 PyObject *resultobj = NULL;
26789 wxListView *result;
26790 char *kwnames[] = {
26791 NULL
26792 };
26793
26794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26795 {
26796 if (!wxPyCheckForApp()) SWIG_fail;
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = (wxListView *)new wxListView();
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj = NULL;
26812 wxListView *arg1 = (wxListView *) 0 ;
26813 wxWindow *arg2 = (wxWindow *) 0 ;
26814 int arg3 = (int) -1 ;
26815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26817 wxSize const &arg5_defvalue = wxDefaultSize ;
26818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26819 long arg6 = (long) wxLC_REPORT ;
26820 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26821 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26822 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26823 wxString *arg8 = (wxString *) &arg8_defvalue ;
26824 bool result;
26825 wxPoint temp4 ;
26826 wxSize temp5 ;
26827 bool temp8 = false ;
26828 PyObject * obj0 = 0 ;
26829 PyObject * obj1 = 0 ;
26830 PyObject * obj2 = 0 ;
26831 PyObject * obj3 = 0 ;
26832 PyObject * obj4 = 0 ;
26833 PyObject * obj5 = 0 ;
26834 PyObject * obj6 = 0 ;
26835 PyObject * obj7 = 0 ;
26836 char *kwnames[] = {
26837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26838 };
26839
26840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26842 if (SWIG_arg_fail(1)) SWIG_fail;
26843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26844 if (SWIG_arg_fail(2)) SWIG_fail;
26845 if (obj2) {
26846 {
26847 arg3 = static_cast<int >(SWIG_As_int(obj2));
26848 if (SWIG_arg_fail(3)) SWIG_fail;
26849 }
26850 }
26851 if (obj3) {
26852 {
26853 arg4 = &temp4;
26854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26855 }
26856 }
26857 if (obj4) {
26858 {
26859 arg5 = &temp5;
26860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26861 }
26862 }
26863 if (obj5) {
26864 {
26865 arg6 = static_cast<long >(SWIG_As_long(obj5));
26866 if (SWIG_arg_fail(6)) SWIG_fail;
26867 }
26868 }
26869 if (obj6) {
26870 {
26871 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26872 if (SWIG_arg_fail(7)) SWIG_fail;
26873 if (arg7 == NULL) {
26874 SWIG_null_ref("wxValidator");
26875 }
26876 if (SWIG_arg_fail(7)) SWIG_fail;
26877 }
26878 }
26879 if (obj7) {
26880 {
26881 arg8 = wxString_in_helper(obj7);
26882 if (arg8 == NULL) SWIG_fail;
26883 temp8 = true;
26884 }
26885 }
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 {
26894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26895 }
26896 {
26897 if (temp8)
26898 delete arg8;
26899 }
26900 return resultobj;
26901 fail:
26902 {
26903 if (temp8)
26904 delete arg8;
26905 }
26906 return NULL;
26907 }
26908
26909
26910 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26911 PyObject *resultobj = NULL;
26912 wxListView *arg1 = (wxListView *) 0 ;
26913 long arg2 ;
26914 bool arg3 = (bool) true ;
26915 PyObject * obj0 = 0 ;
26916 PyObject * obj1 = 0 ;
26917 PyObject * obj2 = 0 ;
26918 char *kwnames[] = {
26919 (char *) "self",(char *) "n",(char *) "on", NULL
26920 };
26921
26922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26924 if (SWIG_arg_fail(1)) SWIG_fail;
26925 {
26926 arg2 = static_cast<long >(SWIG_As_long(obj1));
26927 if (SWIG_arg_fail(2)) SWIG_fail;
26928 }
26929 if (obj2) {
26930 {
26931 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
26932 if (SWIG_arg_fail(3)) SWIG_fail;
26933 }
26934 }
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 (arg1)->Select(arg2,arg3);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 Py_INCREF(Py_None); resultobj = Py_None;
26943 return resultobj;
26944 fail:
26945 return NULL;
26946 }
26947
26948
26949 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26950 PyObject *resultobj = NULL;
26951 wxListView *arg1 = (wxListView *) 0 ;
26952 long arg2 ;
26953 PyObject * obj0 = 0 ;
26954 PyObject * obj1 = 0 ;
26955 char *kwnames[] = {
26956 (char *) "self",(char *) "index", NULL
26957 };
26958
26959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26961 if (SWIG_arg_fail(1)) SWIG_fail;
26962 {
26963 arg2 = static_cast<long >(SWIG_As_long(obj1));
26964 if (SWIG_arg_fail(2)) SWIG_fail;
26965 }
26966 {
26967 PyThreadState* __tstate = wxPyBeginAllowThreads();
26968 (arg1)->Focus(arg2);
26969
26970 wxPyEndAllowThreads(__tstate);
26971 if (PyErr_Occurred()) SWIG_fail;
26972 }
26973 Py_INCREF(Py_None); resultobj = Py_None;
26974 return resultobj;
26975 fail:
26976 return NULL;
26977 }
26978
26979
26980 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26981 PyObject *resultobj = NULL;
26982 wxListView *arg1 = (wxListView *) 0 ;
26983 long result;
26984 PyObject * obj0 = 0 ;
26985 char *kwnames[] = {
26986 (char *) "self", NULL
26987 };
26988
26989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail;
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26995
26996 wxPyEndAllowThreads(__tstate);
26997 if (PyErr_Occurred()) SWIG_fail;
26998 }
26999 {
27000 resultobj = SWIG_From_long(static_cast<long >(result));
27001 }
27002 return resultobj;
27003 fail:
27004 return NULL;
27005 }
27006
27007
27008 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj = NULL;
27010 wxListView *arg1 = (wxListView *) 0 ;
27011 long arg2 ;
27012 long result;
27013 PyObject * obj0 = 0 ;
27014 PyObject * obj1 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self",(char *) "item", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
27020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27021 if (SWIG_arg_fail(1)) SWIG_fail;
27022 {
27023 arg2 = static_cast<long >(SWIG_As_long(obj1));
27024 if (SWIG_arg_fail(2)) SWIG_fail;
27025 }
27026 {
27027 PyThreadState* __tstate = wxPyBeginAllowThreads();
27028 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
27029
27030 wxPyEndAllowThreads(__tstate);
27031 if (PyErr_Occurred()) SWIG_fail;
27032 }
27033 {
27034 resultobj = SWIG_From_long(static_cast<long >(result));
27035 }
27036 return resultobj;
27037 fail:
27038 return NULL;
27039 }
27040
27041
27042 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
27043 PyObject *resultobj = NULL;
27044 wxListView *arg1 = (wxListView *) 0 ;
27045 long result;
27046 PyObject * obj0 = 0 ;
27047 char *kwnames[] = {
27048 (char *) "self", NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
27052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail;
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 result = (long)((wxListView const *)arg1)->GetFirstSelected();
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
27061 {
27062 resultobj = SWIG_From_long(static_cast<long >(result));
27063 }
27064 return resultobj;
27065 fail:
27066 return NULL;
27067 }
27068
27069
27070 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
27071 PyObject *resultobj = NULL;
27072 wxListView *arg1 = (wxListView *) 0 ;
27073 long arg2 ;
27074 bool result;
27075 PyObject * obj0 = 0 ;
27076 PyObject * obj1 = 0 ;
27077 char *kwnames[] = {
27078 (char *) "self",(char *) "index", NULL
27079 };
27080
27081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
27082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27083 if (SWIG_arg_fail(1)) SWIG_fail;
27084 {
27085 arg2 = static_cast<long >(SWIG_As_long(obj1));
27086 if (SWIG_arg_fail(2)) SWIG_fail;
27087 }
27088 {
27089 PyThreadState* __tstate = wxPyBeginAllowThreads();
27090 result = (bool)(arg1)->IsSelected(arg2);
27091
27092 wxPyEndAllowThreads(__tstate);
27093 if (PyErr_Occurred()) SWIG_fail;
27094 }
27095 {
27096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27097 }
27098 return resultobj;
27099 fail:
27100 return NULL;
27101 }
27102
27103
27104 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27105 PyObject *resultobj = NULL;
27106 wxListView *arg1 = (wxListView *) 0 ;
27107 int arg2 ;
27108 int arg3 ;
27109 PyObject * obj0 = 0 ;
27110 PyObject * obj1 = 0 ;
27111 PyObject * obj2 = 0 ;
27112 char *kwnames[] = {
27113 (char *) "self",(char *) "col",(char *) "image", NULL
27114 };
27115
27116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail;
27119 {
27120 arg2 = static_cast<int >(SWIG_As_int(obj1));
27121 if (SWIG_arg_fail(2)) SWIG_fail;
27122 }
27123 {
27124 arg3 = static_cast<int >(SWIG_As_int(obj2));
27125 if (SWIG_arg_fail(3)) SWIG_fail;
27126 }
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 (arg1)->SetColumnImage(arg2,arg3);
27130
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
27134 Py_INCREF(Py_None); resultobj = Py_None;
27135 return resultobj;
27136 fail:
27137 return NULL;
27138 }
27139
27140
27141 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27142 PyObject *resultobj = NULL;
27143 wxListView *arg1 = (wxListView *) 0 ;
27144 int arg2 ;
27145 PyObject * obj0 = 0 ;
27146 PyObject * obj1 = 0 ;
27147 char *kwnames[] = {
27148 (char *) "self",(char *) "col", NULL
27149 };
27150
27151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
27152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail;
27154 {
27155 arg2 = static_cast<int >(SWIG_As_int(obj1));
27156 if (SWIG_arg_fail(2)) SWIG_fail;
27157 }
27158 {
27159 PyThreadState* __tstate = wxPyBeginAllowThreads();
27160 (arg1)->ClearColumnImage(arg2);
27161
27162 wxPyEndAllowThreads(__tstate);
27163 if (PyErr_Occurred()) SWIG_fail;
27164 }
27165 Py_INCREF(Py_None); resultobj = Py_None;
27166 return resultobj;
27167 fail:
27168 return NULL;
27169 }
27170
27171
27172 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27173 PyObject *obj;
27174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27175 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27176 Py_INCREF(obj);
27177 return Py_BuildValue((char *)"");
27178 }
27179 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27180 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27181 return 1;
27182 }
27183
27184
27185 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27186 PyObject *pyobj = NULL;
27187
27188 {
27189 #if wxUSE_UNICODE
27190 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27191 #else
27192 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27193 #endif
27194 }
27195 return pyobj;
27196 }
27197
27198
27199 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27200 PyObject *resultobj = NULL;
27201 wxTreeItemId *result;
27202 char *kwnames[] = {
27203 NULL
27204 };
27205
27206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27207 {
27208 PyThreadState* __tstate = wxPyBeginAllowThreads();
27209 result = (wxTreeItemId *)new wxTreeItemId();
27210
27211 wxPyEndAllowThreads(__tstate);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 }
27214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27215 return resultobj;
27216 fail:
27217 return NULL;
27218 }
27219
27220
27221 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27222 PyObject *resultobj = NULL;
27223 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27224 PyObject * obj0 = 0 ;
27225 char *kwnames[] = {
27226 (char *) "self", NULL
27227 };
27228
27229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27231 if (SWIG_arg_fail(1)) SWIG_fail;
27232 {
27233 PyThreadState* __tstate = wxPyBeginAllowThreads();
27234 delete arg1;
27235
27236 wxPyEndAllowThreads(__tstate);
27237 if (PyErr_Occurred()) SWIG_fail;
27238 }
27239 Py_INCREF(Py_None); resultobj = Py_None;
27240 return resultobj;
27241 fail:
27242 return NULL;
27243 }
27244
27245
27246 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27247 PyObject *resultobj = NULL;
27248 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27249 bool result;
27250 PyObject * obj0 = 0 ;
27251 char *kwnames[] = {
27252 (char *) "self", NULL
27253 };
27254
27255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27257 if (SWIG_arg_fail(1)) SWIG_fail;
27258 {
27259 PyThreadState* __tstate = wxPyBeginAllowThreads();
27260 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27261
27262 wxPyEndAllowThreads(__tstate);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 {
27266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27267 }
27268 return resultobj;
27269 fail:
27270 return NULL;
27271 }
27272
27273
27274 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27275 PyObject *resultobj = NULL;
27276 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27277 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27278 bool result;
27279 PyObject * obj0 = 0 ;
27280 PyObject * obj1 = 0 ;
27281 char *kwnames[] = {
27282 (char *) "self",(char *) "other", NULL
27283 };
27284
27285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27287 if (SWIG_arg_fail(1)) SWIG_fail;
27288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27289 if (SWIG_arg_fail(2)) SWIG_fail;
27290 {
27291 PyThreadState* __tstate = wxPyBeginAllowThreads();
27292 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27293
27294 wxPyEndAllowThreads(__tstate);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 {
27298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27299 }
27300 return resultobj;
27301 fail:
27302 return NULL;
27303 }
27304
27305
27306 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27307 PyObject *resultobj = NULL;
27308 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27309 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27310 bool result;
27311 PyObject * obj0 = 0 ;
27312 PyObject * obj1 = 0 ;
27313 char *kwnames[] = {
27314 (char *) "self",(char *) "other", NULL
27315 };
27316
27317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27319 if (SWIG_arg_fail(1)) SWIG_fail;
27320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27321 if (SWIG_arg_fail(2)) SWIG_fail;
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 {
27330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27331 }
27332 return resultobj;
27333 fail:
27334 return NULL;
27335 }
27336
27337
27338 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27339 PyObject *resultobj = NULL;
27340 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27341 void *arg2 = (void *) 0 ;
27342 PyObject * obj0 = 0 ;
27343 PyObject * obj1 = 0 ;
27344 char *kwnames[] = {
27345 (char *) "self",(char *) "m_pItem", NULL
27346 };
27347
27348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27350 if (SWIG_arg_fail(1)) SWIG_fail;
27351 {
27352 if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27353 SWIG_arg_fail(2);SWIG_fail;
27354 }
27355 }
27356 if (arg1) (arg1)->m_pItem = arg2;
27357
27358 Py_INCREF(Py_None); resultobj = Py_None;
27359 return resultobj;
27360 fail:
27361 return NULL;
27362 }
27363
27364
27365 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27366 PyObject *resultobj = NULL;
27367 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27368 void *result;
27369 PyObject * obj0 = 0 ;
27370 char *kwnames[] = {
27371 (char *) "self", NULL
27372 };
27373
27374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27376 if (SWIG_arg_fail(1)) SWIG_fail;
27377 result = (void *) ((arg1)->m_pItem);
27378
27379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27380 return resultobj;
27381 fail:
27382 return NULL;
27383 }
27384
27385
27386 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27387 PyObject *obj;
27388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27389 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27390 Py_INCREF(obj);
27391 return Py_BuildValue((char *)"");
27392 }
27393 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj = NULL;
27395 PyObject *arg1 = (PyObject *) NULL ;
27396 wxPyTreeItemData *result;
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "obj", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27403 if (obj0) {
27404 arg1 = obj0;
27405 }
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27409
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
27413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27414 return resultobj;
27415 fail:
27416 return NULL;
27417 }
27418
27419
27420 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27421 PyObject *resultobj = NULL;
27422 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27423 PyObject *result;
27424 PyObject * obj0 = 0 ;
27425 char *kwnames[] = {
27426 (char *) "self", NULL
27427 };
27428
27429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail;
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 result = (PyObject *)(arg1)->GetData();
27435
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 resultobj = result;
27440 return resultobj;
27441 fail:
27442 return NULL;
27443 }
27444
27445
27446 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27447 PyObject *resultobj = NULL;
27448 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27449 PyObject *arg2 = (PyObject *) 0 ;
27450 PyObject * obj0 = 0 ;
27451 PyObject * obj1 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "obj", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27458 if (SWIG_arg_fail(1)) SWIG_fail;
27459 arg2 = obj1;
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 (arg1)->SetData(arg2);
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 Py_INCREF(Py_None); resultobj = Py_None;
27468 return resultobj;
27469 fail:
27470 return NULL;
27471 }
27472
27473
27474 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj = NULL;
27476 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27477 wxTreeItemId *result;
27478 PyObject * obj0 = 0 ;
27479 char *kwnames[] = {
27480 (char *) "self", NULL
27481 };
27482
27483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27485 if (SWIG_arg_fail(1)) SWIG_fail;
27486 {
27487 PyThreadState* __tstate = wxPyBeginAllowThreads();
27488 {
27489 wxTreeItemId const &_result_ref = (arg1)->GetId();
27490 result = (wxTreeItemId *) &_result_ref;
27491 }
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27497 return resultobj;
27498 fail:
27499 return NULL;
27500 }
27501
27502
27503 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj = NULL;
27505 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27506 wxTreeItemId *arg2 = 0 ;
27507 PyObject * obj0 = 0 ;
27508 PyObject * obj1 = 0 ;
27509 char *kwnames[] = {
27510 (char *) "self",(char *) "id", NULL
27511 };
27512
27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail;
27516 {
27517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27518 if (SWIG_arg_fail(2)) SWIG_fail;
27519 if (arg2 == NULL) {
27520 SWIG_null_ref("wxTreeItemId");
27521 }
27522 if (SWIG_arg_fail(2)) SWIG_fail;
27523 }
27524 {
27525 PyThreadState* __tstate = wxPyBeginAllowThreads();
27526 (arg1)->SetId((wxTreeItemId const &)*arg2);
27527
27528 wxPyEndAllowThreads(__tstate);
27529 if (PyErr_Occurred()) SWIG_fail;
27530 }
27531 Py_INCREF(Py_None); resultobj = Py_None;
27532 return resultobj;
27533 fail:
27534 return NULL;
27535 }
27536
27537
27538 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27539 PyObject *resultobj = NULL;
27540 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27541 PyObject * obj0 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail;
27549 {
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 wxPyTreeItemData_Destroy(arg1);
27552
27553 wxPyEndAllowThreads(__tstate);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 Py_INCREF(Py_None); resultobj = Py_None;
27557 return resultobj;
27558 fail:
27559 return NULL;
27560 }
27561
27562
27563 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27564 PyObject *obj;
27565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27566 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27567 Py_INCREF(obj);
27568 return Py_BuildValue((char *)"");
27569 }
27570 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27571 PyObject *resultobj = NULL;
27572 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27573 int arg2 = (int) 0 ;
27574 wxTreeEvent *result;
27575 PyObject * obj0 = 0 ;
27576 PyObject * obj1 = 0 ;
27577 char *kwnames[] = {
27578 (char *) "commandType",(char *) "id", NULL
27579 };
27580
27581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27582 if (obj0) {
27583 {
27584 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
27585 if (SWIG_arg_fail(1)) SWIG_fail;
27586 }
27587 }
27588 if (obj1) {
27589 {
27590 arg2 = static_cast<int >(SWIG_As_int(obj1));
27591 if (SWIG_arg_fail(2)) SWIG_fail;
27592 }
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27602 return resultobj;
27603 fail:
27604 return NULL;
27605 }
27606
27607
27608 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj = NULL;
27610 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27611 wxTreeItemId result;
27612 PyObject * obj0 = 0 ;
27613 char *kwnames[] = {
27614 (char *) "self", NULL
27615 };
27616
27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27619 if (SWIG_arg_fail(1)) SWIG_fail;
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 result = ((wxTreeEvent const *)arg1)->GetItem();
27623
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
27627 {
27628 wxTreeItemId * resultptr;
27629 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
27630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27631 }
27632 return resultobj;
27633 fail:
27634 return NULL;
27635 }
27636
27637
27638 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27639 PyObject *resultobj = NULL;
27640 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27641 wxTreeItemId *arg2 = 0 ;
27642 PyObject * obj0 = 0 ;
27643 PyObject * obj1 = 0 ;
27644 char *kwnames[] = {
27645 (char *) "self",(char *) "item", NULL
27646 };
27647
27648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27650 if (SWIG_arg_fail(1)) SWIG_fail;
27651 {
27652 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27653 if (SWIG_arg_fail(2)) SWIG_fail;
27654 if (arg2 == NULL) {
27655 SWIG_null_ref("wxTreeItemId");
27656 }
27657 if (SWIG_arg_fail(2)) SWIG_fail;
27658 }
27659 {
27660 PyThreadState* __tstate = wxPyBeginAllowThreads();
27661 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27662
27663 wxPyEndAllowThreads(__tstate);
27664 if (PyErr_Occurred()) SWIG_fail;
27665 }
27666 Py_INCREF(Py_None); resultobj = Py_None;
27667 return resultobj;
27668 fail:
27669 return NULL;
27670 }
27671
27672
27673 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27674 PyObject *resultobj = NULL;
27675 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27676 wxTreeItemId result;
27677 PyObject * obj0 = 0 ;
27678 char *kwnames[] = {
27679 (char *) "self", NULL
27680 };
27681
27682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27684 if (SWIG_arg_fail(1)) SWIG_fail;
27685 {
27686 PyThreadState* __tstate = wxPyBeginAllowThreads();
27687 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27688
27689 wxPyEndAllowThreads(__tstate);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 {
27693 wxTreeItemId * resultptr;
27694 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
27695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27696 }
27697 return resultobj;
27698 fail:
27699 return NULL;
27700 }
27701
27702
27703 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27704 PyObject *resultobj = NULL;
27705 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27706 wxTreeItemId *arg2 = 0 ;
27707 PyObject * obj0 = 0 ;
27708 PyObject * obj1 = 0 ;
27709 char *kwnames[] = {
27710 (char *) "self",(char *) "item", NULL
27711 };
27712
27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27715 if (SWIG_arg_fail(1)) SWIG_fail;
27716 {
27717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27718 if (SWIG_arg_fail(2)) SWIG_fail;
27719 if (arg2 == NULL) {
27720 SWIG_null_ref("wxTreeItemId");
27721 }
27722 if (SWIG_arg_fail(2)) SWIG_fail;
27723 }
27724 {
27725 PyThreadState* __tstate = wxPyBeginAllowThreads();
27726 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27727
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 Py_INCREF(Py_None); resultobj = Py_None;
27732 return resultobj;
27733 fail:
27734 return NULL;
27735 }
27736
27737
27738 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27739 PyObject *resultobj = NULL;
27740 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27741 wxPoint result;
27742 PyObject * obj0 = 0 ;
27743 char *kwnames[] = {
27744 (char *) "self", NULL
27745 };
27746
27747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail;
27750 {
27751 PyThreadState* __tstate = wxPyBeginAllowThreads();
27752 result = ((wxTreeEvent const *)arg1)->GetPoint();
27753
27754 wxPyEndAllowThreads(__tstate);
27755 if (PyErr_Occurred()) SWIG_fail;
27756 }
27757 {
27758 wxPoint * resultptr;
27759 resultptr = new wxPoint(static_cast<wxPoint & >(result));
27760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27761 }
27762 return resultobj;
27763 fail:
27764 return NULL;
27765 }
27766
27767
27768 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27769 PyObject *resultobj = NULL;
27770 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27771 wxPoint *arg2 = 0 ;
27772 wxPoint temp2 ;
27773 PyObject * obj0 = 0 ;
27774 PyObject * obj1 = 0 ;
27775 char *kwnames[] = {
27776 (char *) "self",(char *) "pt", NULL
27777 };
27778
27779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27781 if (SWIG_arg_fail(1)) SWIG_fail;
27782 {
27783 arg2 = &temp2;
27784 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27785 }
27786 {
27787 PyThreadState* __tstate = wxPyBeginAllowThreads();
27788 (arg1)->SetPoint((wxPoint const &)*arg2);
27789
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 Py_INCREF(Py_None); resultobj = Py_None;
27794 return resultobj;
27795 fail:
27796 return NULL;
27797 }
27798
27799
27800 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27801 PyObject *resultobj = NULL;
27802 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27803 wxKeyEvent *result;
27804 PyObject * obj0 = 0 ;
27805 char *kwnames[] = {
27806 (char *) "self", NULL
27807 };
27808
27809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27811 if (SWIG_arg_fail(1)) SWIG_fail;
27812 {
27813 PyThreadState* __tstate = wxPyBeginAllowThreads();
27814 {
27815 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27816 result = (wxKeyEvent *) &_result_ref;
27817 }
27818
27819 wxPyEndAllowThreads(__tstate);
27820 if (PyErr_Occurred()) SWIG_fail;
27821 }
27822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27823 return resultobj;
27824 fail:
27825 return NULL;
27826 }
27827
27828
27829 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27830 PyObject *resultobj = NULL;
27831 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27832 int result;
27833 PyObject * obj0 = 0 ;
27834 char *kwnames[] = {
27835 (char *) "self", NULL
27836 };
27837
27838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27840 if (SWIG_arg_fail(1)) SWIG_fail;
27841 {
27842 PyThreadState* __tstate = wxPyBeginAllowThreads();
27843 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27844
27845 wxPyEndAllowThreads(__tstate);
27846 if (PyErr_Occurred()) SWIG_fail;
27847 }
27848 {
27849 resultobj = SWIG_From_int(static_cast<int >(result));
27850 }
27851 return resultobj;
27852 fail:
27853 return NULL;
27854 }
27855
27856
27857 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27858 PyObject *resultobj = NULL;
27859 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27860 wxKeyEvent *arg2 = 0 ;
27861 PyObject * obj0 = 0 ;
27862 PyObject * obj1 = 0 ;
27863 char *kwnames[] = {
27864 (char *) "self",(char *) "evt", NULL
27865 };
27866
27867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail;
27870 {
27871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27872 if (SWIG_arg_fail(2)) SWIG_fail;
27873 if (arg2 == NULL) {
27874 SWIG_null_ref("wxKeyEvent");
27875 }
27876 if (SWIG_arg_fail(2)) SWIG_fail;
27877 }
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27881
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 Py_INCREF(Py_None); resultobj = Py_None;
27886 return resultobj;
27887 fail:
27888 return NULL;
27889 }
27890
27891
27892 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj = NULL;
27894 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27895 wxString *result;
27896 PyObject * obj0 = 0 ;
27897 char *kwnames[] = {
27898 (char *) "self", NULL
27899 };
27900
27901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27903 if (SWIG_arg_fail(1)) SWIG_fail;
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 {
27907 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27908 result = (wxString *) &_result_ref;
27909 }
27910
27911 wxPyEndAllowThreads(__tstate);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 }
27914 {
27915 #if wxUSE_UNICODE
27916 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27917 #else
27918 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27919 #endif
27920 }
27921 return resultobj;
27922 fail:
27923 return NULL;
27924 }
27925
27926
27927 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27928 PyObject *resultobj = NULL;
27929 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27930 wxString *arg2 = 0 ;
27931 bool temp2 = false ;
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 char *kwnames[] = {
27935 (char *) "self",(char *) "label", NULL
27936 };
27937
27938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail;
27941 {
27942 arg2 = wxString_in_helper(obj1);
27943 if (arg2 == NULL) SWIG_fail;
27944 temp2 = true;
27945 }
27946 {
27947 PyThreadState* __tstate = wxPyBeginAllowThreads();
27948 (arg1)->SetLabel((wxString const &)*arg2);
27949
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 Py_INCREF(Py_None); resultobj = Py_None;
27954 {
27955 if (temp2)
27956 delete arg2;
27957 }
27958 return resultobj;
27959 fail:
27960 {
27961 if (temp2)
27962 delete arg2;
27963 }
27964 return NULL;
27965 }
27966
27967
27968 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27969 PyObject *resultobj = NULL;
27970 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27971 bool result;
27972 PyObject * obj0 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "self", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail;
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
27982 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27983
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 {
27988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27989 }
27990 return resultobj;
27991 fail:
27992 return NULL;
27993 }
27994
27995
27996 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27997 PyObject *resultobj = NULL;
27998 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27999 bool arg2 ;
28000 PyObject * obj0 = 0 ;
28001 PyObject * obj1 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self",(char *) "editCancelled", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
28007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28008 if (SWIG_arg_fail(1)) SWIG_fail;
28009 {
28010 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
28011 if (SWIG_arg_fail(2)) SWIG_fail;
28012 }
28013 {
28014 PyThreadState* __tstate = wxPyBeginAllowThreads();
28015 (arg1)->SetEditCanceled(arg2);
28016
28017 wxPyEndAllowThreads(__tstate);
28018 if (PyErr_Occurred()) SWIG_fail;
28019 }
28020 Py_INCREF(Py_None); resultobj = Py_None;
28021 return resultobj;
28022 fail:
28023 return NULL;
28024 }
28025
28026
28027 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
28028 PyObject *resultobj = NULL;
28029 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28030 wxString *arg2 = 0 ;
28031 bool temp2 = false ;
28032 PyObject * obj0 = 0 ;
28033 PyObject * obj1 = 0 ;
28034 char *kwnames[] = {
28035 (char *) "self",(char *) "toolTip", NULL
28036 };
28037
28038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
28039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28040 if (SWIG_arg_fail(1)) SWIG_fail;
28041 {
28042 arg2 = wxString_in_helper(obj1);
28043 if (arg2 == NULL) SWIG_fail;
28044 temp2 = true;
28045 }
28046 {
28047 PyThreadState* __tstate = wxPyBeginAllowThreads();
28048 (arg1)->SetToolTip((wxString const &)*arg2);
28049
28050 wxPyEndAllowThreads(__tstate);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 Py_INCREF(Py_None); resultobj = Py_None;
28054 {
28055 if (temp2)
28056 delete arg2;
28057 }
28058 return resultobj;
28059 fail:
28060 {
28061 if (temp2)
28062 delete arg2;
28063 }
28064 return NULL;
28065 }
28066
28067
28068 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
28069 PyObject *resultobj = NULL;
28070 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28071 wxString result;
28072 PyObject * obj0 = 0 ;
28073 char *kwnames[] = {
28074 (char *) "self", NULL
28075 };
28076
28077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
28078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail;
28080 {
28081 PyThreadState* __tstate = wxPyBeginAllowThreads();
28082 result = (arg1)->GetToolTip();
28083
28084 wxPyEndAllowThreads(__tstate);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 }
28087 {
28088 #if wxUSE_UNICODE
28089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28090 #else
28091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28092 #endif
28093 }
28094 return resultobj;
28095 fail:
28096 return NULL;
28097 }
28098
28099
28100 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
28101 PyObject *obj;
28102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28103 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
28104 Py_INCREF(obj);
28105 return Py_BuildValue((char *)"");
28106 }
28107 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28108 PyObject *resultobj = NULL;
28109 wxWindow *arg1 = (wxWindow *) 0 ;
28110 int arg2 = (int) -1 ;
28111 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28112 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28113 wxSize const &arg4_defvalue = wxDefaultSize ;
28114 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28115 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28116 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28117 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28118 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28119 wxString *arg7 = (wxString *) &arg7_defvalue ;
28120 wxPyTreeCtrl *result;
28121 wxPoint temp3 ;
28122 wxSize temp4 ;
28123 bool temp7 = false ;
28124 PyObject * obj0 = 0 ;
28125 PyObject * obj1 = 0 ;
28126 PyObject * obj2 = 0 ;
28127 PyObject * obj3 = 0 ;
28128 PyObject * obj4 = 0 ;
28129 PyObject * obj5 = 0 ;
28130 PyObject * obj6 = 0 ;
28131 char *kwnames[] = {
28132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28133 };
28134
28135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28137 if (SWIG_arg_fail(1)) SWIG_fail;
28138 if (obj1) {
28139 {
28140 arg2 = static_cast<int >(SWIG_As_int(obj1));
28141 if (SWIG_arg_fail(2)) SWIG_fail;
28142 }
28143 }
28144 if (obj2) {
28145 {
28146 arg3 = &temp3;
28147 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28148 }
28149 }
28150 if (obj3) {
28151 {
28152 arg4 = &temp4;
28153 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28154 }
28155 }
28156 if (obj4) {
28157 {
28158 arg5 = static_cast<long >(SWIG_As_long(obj4));
28159 if (SWIG_arg_fail(5)) SWIG_fail;
28160 }
28161 }
28162 if (obj5) {
28163 {
28164 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28165 if (SWIG_arg_fail(6)) SWIG_fail;
28166 if (arg6 == NULL) {
28167 SWIG_null_ref("wxValidator");
28168 }
28169 if (SWIG_arg_fail(6)) SWIG_fail;
28170 }
28171 }
28172 if (obj6) {
28173 {
28174 arg7 = wxString_in_helper(obj6);
28175 if (arg7 == NULL) SWIG_fail;
28176 temp7 = true;
28177 }
28178 }
28179 {
28180 if (!wxPyCheckForApp()) SWIG_fail;
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28183
28184 wxPyEndAllowThreads(__tstate);
28185 if (PyErr_Occurred()) SWIG_fail;
28186 }
28187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28188 {
28189 if (temp7)
28190 delete arg7;
28191 }
28192 return resultobj;
28193 fail:
28194 {
28195 if (temp7)
28196 delete arg7;
28197 }
28198 return NULL;
28199 }
28200
28201
28202 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28203 PyObject *resultobj = NULL;
28204 wxPyTreeCtrl *result;
28205 char *kwnames[] = {
28206 NULL
28207 };
28208
28209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28210 {
28211 if (!wxPyCheckForApp()) SWIG_fail;
28212 PyThreadState* __tstate = wxPyBeginAllowThreads();
28213 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28214
28215 wxPyEndAllowThreads(__tstate);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj = NULL;
28227 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28228 wxWindow *arg2 = (wxWindow *) 0 ;
28229 int arg3 = (int) -1 ;
28230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28232 wxSize const &arg5_defvalue = wxDefaultSize ;
28233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28234 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28235 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28236 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28237 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28238 wxString *arg8 = (wxString *) &arg8_defvalue ;
28239 bool result;
28240 wxPoint temp4 ;
28241 wxSize temp5 ;
28242 bool temp8 = false ;
28243 PyObject * obj0 = 0 ;
28244 PyObject * obj1 = 0 ;
28245 PyObject * obj2 = 0 ;
28246 PyObject * obj3 = 0 ;
28247 PyObject * obj4 = 0 ;
28248 PyObject * obj5 = 0 ;
28249 PyObject * obj6 = 0 ;
28250 PyObject * obj7 = 0 ;
28251 char *kwnames[] = {
28252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28253 };
28254
28255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28257 if (SWIG_arg_fail(1)) SWIG_fail;
28258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28259 if (SWIG_arg_fail(2)) SWIG_fail;
28260 if (obj2) {
28261 {
28262 arg3 = static_cast<int >(SWIG_As_int(obj2));
28263 if (SWIG_arg_fail(3)) SWIG_fail;
28264 }
28265 }
28266 if (obj3) {
28267 {
28268 arg4 = &temp4;
28269 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28270 }
28271 }
28272 if (obj4) {
28273 {
28274 arg5 = &temp5;
28275 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28276 }
28277 }
28278 if (obj5) {
28279 {
28280 arg6 = static_cast<long >(SWIG_As_long(obj5));
28281 if (SWIG_arg_fail(6)) SWIG_fail;
28282 }
28283 }
28284 if (obj6) {
28285 {
28286 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28287 if (SWIG_arg_fail(7)) SWIG_fail;
28288 if (arg7 == NULL) {
28289 SWIG_null_ref("wxValidator");
28290 }
28291 if (SWIG_arg_fail(7)) SWIG_fail;
28292 }
28293 }
28294 if (obj7) {
28295 {
28296 arg8 = wxString_in_helper(obj7);
28297 if (arg8 == NULL) SWIG_fail;
28298 temp8 = true;
28299 }
28300 }
28301 {
28302 PyThreadState* __tstate = wxPyBeginAllowThreads();
28303 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28304
28305 wxPyEndAllowThreads(__tstate);
28306 if (PyErr_Occurred()) SWIG_fail;
28307 }
28308 {
28309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28310 }
28311 {
28312 if (temp8)
28313 delete arg8;
28314 }
28315 return resultobj;
28316 fail:
28317 {
28318 if (temp8)
28319 delete arg8;
28320 }
28321 return NULL;
28322 }
28323
28324
28325 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28326 PyObject *resultobj = NULL;
28327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28328 PyObject *arg2 = (PyObject *) 0 ;
28329 PyObject *arg3 = (PyObject *) 0 ;
28330 PyObject * obj0 = 0 ;
28331 PyObject * obj1 = 0 ;
28332 PyObject * obj2 = 0 ;
28333 char *kwnames[] = {
28334 (char *) "self",(char *) "self",(char *) "_class", NULL
28335 };
28336
28337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28339 if (SWIG_arg_fail(1)) SWIG_fail;
28340 arg2 = obj1;
28341 arg3 = obj2;
28342 {
28343 PyThreadState* __tstate = wxPyBeginAllowThreads();
28344 (arg1)->_setCallbackInfo(arg2,arg3);
28345
28346 wxPyEndAllowThreads(__tstate);
28347 if (PyErr_Occurred()) SWIG_fail;
28348 }
28349 Py_INCREF(Py_None); resultobj = Py_None;
28350 return resultobj;
28351 fail:
28352 return NULL;
28353 }
28354
28355
28356 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28357 PyObject *resultobj = NULL;
28358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28359 size_t result;
28360 PyObject * obj0 = 0 ;
28361 char *kwnames[] = {
28362 (char *) "self", NULL
28363 };
28364
28365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28367 if (SWIG_arg_fail(1)) SWIG_fail;
28368 {
28369 PyThreadState* __tstate = wxPyBeginAllowThreads();
28370 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28371
28372 wxPyEndAllowThreads(__tstate);
28373 if (PyErr_Occurred()) SWIG_fail;
28374 }
28375 {
28376 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
28377 }
28378 return resultobj;
28379 fail:
28380 return NULL;
28381 }
28382
28383
28384 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28385 PyObject *resultobj = NULL;
28386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28387 unsigned int result;
28388 PyObject * obj0 = 0 ;
28389 char *kwnames[] = {
28390 (char *) "self", NULL
28391 };
28392
28393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28395 if (SWIG_arg_fail(1)) SWIG_fail;
28396 {
28397 PyThreadState* __tstate = wxPyBeginAllowThreads();
28398 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28399
28400 wxPyEndAllowThreads(__tstate);
28401 if (PyErr_Occurred()) SWIG_fail;
28402 }
28403 {
28404 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
28405 }
28406 return resultobj;
28407 fail:
28408 return NULL;
28409 }
28410
28411
28412 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28413 PyObject *resultobj = NULL;
28414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28415 unsigned int arg2 ;
28416 PyObject * obj0 = 0 ;
28417 PyObject * obj1 = 0 ;
28418 char *kwnames[] = {
28419 (char *) "self",(char *) "indent", NULL
28420 };
28421
28422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28424 if (SWIG_arg_fail(1)) SWIG_fail;
28425 {
28426 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
28427 if (SWIG_arg_fail(2)) SWIG_fail;
28428 }
28429 {
28430 PyThreadState* __tstate = wxPyBeginAllowThreads();
28431 (arg1)->SetIndent(arg2);
28432
28433 wxPyEndAllowThreads(__tstate);
28434 if (PyErr_Occurred()) SWIG_fail;
28435 }
28436 Py_INCREF(Py_None); resultobj = Py_None;
28437 return resultobj;
28438 fail:
28439 return NULL;
28440 }
28441
28442
28443 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28444 PyObject *resultobj = NULL;
28445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28446 unsigned int result;
28447 PyObject * obj0 = 0 ;
28448 char *kwnames[] = {
28449 (char *) "self", NULL
28450 };
28451
28452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28454 if (SWIG_arg_fail(1)) SWIG_fail;
28455 {
28456 PyThreadState* __tstate = wxPyBeginAllowThreads();
28457 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28458
28459 wxPyEndAllowThreads(__tstate);
28460 if (PyErr_Occurred()) SWIG_fail;
28461 }
28462 {
28463 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
28464 }
28465 return resultobj;
28466 fail:
28467 return NULL;
28468 }
28469
28470
28471 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28472 PyObject *resultobj = NULL;
28473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28474 unsigned int arg2 ;
28475 PyObject * obj0 = 0 ;
28476 PyObject * obj1 = 0 ;
28477 char *kwnames[] = {
28478 (char *) "self",(char *) "spacing", NULL
28479 };
28480
28481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28483 if (SWIG_arg_fail(1)) SWIG_fail;
28484 {
28485 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
28486 if (SWIG_arg_fail(2)) SWIG_fail;
28487 }
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 (arg1)->SetSpacing(arg2);
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 Py_INCREF(Py_None); resultobj = Py_None;
28496 return resultobj;
28497 fail:
28498 return NULL;
28499 }
28500
28501
28502 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28503 PyObject *resultobj = NULL;
28504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28505 wxImageList *result;
28506 PyObject * obj0 = 0 ;
28507 char *kwnames[] = {
28508 (char *) "self", NULL
28509 };
28510
28511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28513 if (SWIG_arg_fail(1)) SWIG_fail;
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 {
28522 resultobj = wxPyMake_wxObject(result, 0);
28523 }
28524 return resultobj;
28525 fail:
28526 return NULL;
28527 }
28528
28529
28530 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28531 PyObject *resultobj = NULL;
28532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28533 wxImageList *result;
28534 PyObject * obj0 = 0 ;
28535 char *kwnames[] = {
28536 (char *) "self", NULL
28537 };
28538
28539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28541 if (SWIG_arg_fail(1)) SWIG_fail;
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 {
28550 resultobj = wxPyMake_wxObject(result, 0);
28551 }
28552 return resultobj;
28553 fail:
28554 return NULL;
28555 }
28556
28557
28558 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28559 PyObject *resultobj = NULL;
28560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28561 wxImageList *arg2 = (wxImageList *) 0 ;
28562 PyObject * obj0 = 0 ;
28563 PyObject * obj1 = 0 ;
28564 char *kwnames[] = {
28565 (char *) "self",(char *) "imageList", NULL
28566 };
28567
28568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28570 if (SWIG_arg_fail(1)) SWIG_fail;
28571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28572 if (SWIG_arg_fail(2)) SWIG_fail;
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 (arg1)->SetImageList(arg2);
28576
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 Py_INCREF(Py_None); resultobj = Py_None;
28581 return resultobj;
28582 fail:
28583 return NULL;
28584 }
28585
28586
28587 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28588 PyObject *resultobj = NULL;
28589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28590 wxImageList *arg2 = (wxImageList *) 0 ;
28591 PyObject * obj0 = 0 ;
28592 PyObject * obj1 = 0 ;
28593 char *kwnames[] = {
28594 (char *) "self",(char *) "imageList", NULL
28595 };
28596
28597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail;
28600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28601 if (SWIG_arg_fail(2)) SWIG_fail;
28602 {
28603 PyThreadState* __tstate = wxPyBeginAllowThreads();
28604 (arg1)->SetStateImageList(arg2);
28605
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
28609 Py_INCREF(Py_None); resultobj = Py_None;
28610 return resultobj;
28611 fail:
28612 return NULL;
28613 }
28614
28615
28616 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28617 PyObject *resultobj = NULL;
28618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28619 wxImageList *arg2 = (wxImageList *) 0 ;
28620 PyObject * obj0 = 0 ;
28621 PyObject * obj1 = 0 ;
28622 char *kwnames[] = {
28623 (char *) "self",(char *) "imageList", NULL
28624 };
28625
28626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28628 if (SWIG_arg_fail(1)) SWIG_fail;
28629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28630 if (SWIG_arg_fail(2)) SWIG_fail;
28631 {
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 (arg1)->AssignImageList(arg2);
28634
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 Py_INCREF(Py_None); resultobj = Py_None;
28639 return resultobj;
28640 fail:
28641 return NULL;
28642 }
28643
28644
28645 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28646 PyObject *resultobj = NULL;
28647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28648 wxImageList *arg2 = (wxImageList *) 0 ;
28649 PyObject * obj0 = 0 ;
28650 PyObject * obj1 = 0 ;
28651 char *kwnames[] = {
28652 (char *) "self",(char *) "imageList", NULL
28653 };
28654
28655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28657 if (SWIG_arg_fail(1)) SWIG_fail;
28658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28659 if (SWIG_arg_fail(2)) SWIG_fail;
28660 {
28661 PyThreadState* __tstate = wxPyBeginAllowThreads();
28662 (arg1)->AssignStateImageList(arg2);
28663
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 Py_INCREF(Py_None); resultobj = Py_None;
28668 return resultobj;
28669 fail:
28670 return NULL;
28671 }
28672
28673
28674 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28675 PyObject *resultobj = NULL;
28676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28677 wxTreeItemId *arg2 = 0 ;
28678 wxString result;
28679 PyObject * obj0 = 0 ;
28680 PyObject * obj1 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "self",(char *) "item", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28687 if (SWIG_arg_fail(1)) SWIG_fail;
28688 {
28689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28690 if (SWIG_arg_fail(2)) SWIG_fail;
28691 if (arg2 == NULL) {
28692 SWIG_null_ref("wxTreeItemId");
28693 }
28694 if (SWIG_arg_fail(2)) SWIG_fail;
28695 }
28696 {
28697 PyThreadState* __tstate = wxPyBeginAllowThreads();
28698 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28699
28700 wxPyEndAllowThreads(__tstate);
28701 if (PyErr_Occurred()) SWIG_fail;
28702 }
28703 {
28704 #if wxUSE_UNICODE
28705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28706 #else
28707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28708 #endif
28709 }
28710 return resultobj;
28711 fail:
28712 return NULL;
28713 }
28714
28715
28716 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28717 PyObject *resultobj = NULL;
28718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28719 wxTreeItemId *arg2 = 0 ;
28720 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28721 int result;
28722 PyObject * obj0 = 0 ;
28723 PyObject * obj1 = 0 ;
28724 PyObject * obj2 = 0 ;
28725 char *kwnames[] = {
28726 (char *) "self",(char *) "item",(char *) "which", NULL
28727 };
28728
28729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail;
28732 {
28733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28734 if (SWIG_arg_fail(2)) SWIG_fail;
28735 if (arg2 == NULL) {
28736 SWIG_null_ref("wxTreeItemId");
28737 }
28738 if (SWIG_arg_fail(2)) SWIG_fail;
28739 }
28740 if (obj2) {
28741 {
28742 arg3 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj2));
28743 if (SWIG_arg_fail(3)) SWIG_fail;
28744 }
28745 }
28746 {
28747 PyThreadState* __tstate = wxPyBeginAllowThreads();
28748 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
28749
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 {
28754 resultobj = SWIG_From_int(static_cast<int >(result));
28755 }
28756 return resultobj;
28757 fail:
28758 return NULL;
28759 }
28760
28761
28762 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28763 PyObject *resultobj = NULL;
28764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28765 wxTreeItemId *arg2 = 0 ;
28766 wxPyTreeItemData *result;
28767 PyObject * obj0 = 0 ;
28768 PyObject * obj1 = 0 ;
28769 char *kwnames[] = {
28770 (char *) "self",(char *) "item", NULL
28771 };
28772
28773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28775 if (SWIG_arg_fail(1)) SWIG_fail;
28776 {
28777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28778 if (SWIG_arg_fail(2)) SWIG_fail;
28779 if (arg2 == NULL) {
28780 SWIG_null_ref("wxTreeItemId");
28781 }
28782 if (SWIG_arg_fail(2)) SWIG_fail;
28783 }
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28787
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28792 return resultobj;
28793 fail:
28794 return NULL;
28795 }
28796
28797
28798 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28799 PyObject *resultobj = NULL;
28800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28801 wxTreeItemId *arg2 = 0 ;
28802 PyObject *result;
28803 PyObject * obj0 = 0 ;
28804 PyObject * obj1 = 0 ;
28805 char *kwnames[] = {
28806 (char *) "self",(char *) "item", NULL
28807 };
28808
28809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail;
28812 {
28813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28814 if (SWIG_arg_fail(2)) SWIG_fail;
28815 if (arg2 == NULL) {
28816 SWIG_null_ref("wxTreeItemId");
28817 }
28818 if (SWIG_arg_fail(2)) SWIG_fail;
28819 }
28820 {
28821 PyThreadState* __tstate = wxPyBeginAllowThreads();
28822 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28823
28824 wxPyEndAllowThreads(__tstate);
28825 if (PyErr_Occurred()) SWIG_fail;
28826 }
28827 resultobj = result;
28828 return resultobj;
28829 fail:
28830 return NULL;
28831 }
28832
28833
28834 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28835 PyObject *resultobj = NULL;
28836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28837 wxTreeItemId *arg2 = 0 ;
28838 wxColour result;
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "item", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28847 if (SWIG_arg_fail(1)) SWIG_fail;
28848 {
28849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28850 if (SWIG_arg_fail(2)) SWIG_fail;
28851 if (arg2 == NULL) {
28852 SWIG_null_ref("wxTreeItemId");
28853 }
28854 if (SWIG_arg_fail(2)) SWIG_fail;
28855 }
28856 {
28857 PyThreadState* __tstate = wxPyBeginAllowThreads();
28858 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28859
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 {
28864 wxColour * resultptr;
28865 resultptr = new wxColour(static_cast<wxColour & >(result));
28866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28867 }
28868 return resultobj;
28869 fail:
28870 return NULL;
28871 }
28872
28873
28874 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28875 PyObject *resultobj = NULL;
28876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28877 wxTreeItemId *arg2 = 0 ;
28878 wxColour result;
28879 PyObject * obj0 = 0 ;
28880 PyObject * obj1 = 0 ;
28881 char *kwnames[] = {
28882 (char *) "self",(char *) "item", NULL
28883 };
28884
28885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28887 if (SWIG_arg_fail(1)) SWIG_fail;
28888 {
28889 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28890 if (SWIG_arg_fail(2)) SWIG_fail;
28891 if (arg2 == NULL) {
28892 SWIG_null_ref("wxTreeItemId");
28893 }
28894 if (SWIG_arg_fail(2)) SWIG_fail;
28895 }
28896 {
28897 PyThreadState* __tstate = wxPyBeginAllowThreads();
28898 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28899
28900 wxPyEndAllowThreads(__tstate);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 {
28904 wxColour * resultptr;
28905 resultptr = new wxColour(static_cast<wxColour & >(result));
28906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28907 }
28908 return resultobj;
28909 fail:
28910 return NULL;
28911 }
28912
28913
28914 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28915 PyObject *resultobj = NULL;
28916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28917 wxTreeItemId *arg2 = 0 ;
28918 wxFont result;
28919 PyObject * obj0 = 0 ;
28920 PyObject * obj1 = 0 ;
28921 char *kwnames[] = {
28922 (char *) "self",(char *) "item", NULL
28923 };
28924
28925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28927 if (SWIG_arg_fail(1)) SWIG_fail;
28928 {
28929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28930 if (SWIG_arg_fail(2)) SWIG_fail;
28931 if (arg2 == NULL) {
28932 SWIG_null_ref("wxTreeItemId");
28933 }
28934 if (SWIG_arg_fail(2)) SWIG_fail;
28935 }
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28939
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 {
28944 wxFont * resultptr;
28945 resultptr = new wxFont(static_cast<wxFont & >(result));
28946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28947 }
28948 return resultobj;
28949 fail:
28950 return NULL;
28951 }
28952
28953
28954 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28955 PyObject *resultobj = NULL;
28956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28957 wxTreeItemId *arg2 = 0 ;
28958 wxString *arg3 = 0 ;
28959 bool temp3 = false ;
28960 PyObject * obj0 = 0 ;
28961 PyObject * obj1 = 0 ;
28962 PyObject * obj2 = 0 ;
28963 char *kwnames[] = {
28964 (char *) "self",(char *) "item",(char *) "text", NULL
28965 };
28966
28967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail;
28970 {
28971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28972 if (SWIG_arg_fail(2)) SWIG_fail;
28973 if (arg2 == NULL) {
28974 SWIG_null_ref("wxTreeItemId");
28975 }
28976 if (SWIG_arg_fail(2)) SWIG_fail;
28977 }
28978 {
28979 arg3 = wxString_in_helper(obj2);
28980 if (arg3 == NULL) SWIG_fail;
28981 temp3 = true;
28982 }
28983 {
28984 PyThreadState* __tstate = wxPyBeginAllowThreads();
28985 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28986
28987 wxPyEndAllowThreads(__tstate);
28988 if (PyErr_Occurred()) SWIG_fail;
28989 }
28990 Py_INCREF(Py_None); resultobj = Py_None;
28991 {
28992 if (temp3)
28993 delete arg3;
28994 }
28995 return resultobj;
28996 fail:
28997 {
28998 if (temp3)
28999 delete arg3;
29000 }
29001 return NULL;
29002 }
29003
29004
29005 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
29006 PyObject *resultobj = NULL;
29007 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29008 wxTreeItemId *arg2 = 0 ;
29009 int arg3 ;
29010 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
29011 PyObject * obj0 = 0 ;
29012 PyObject * obj1 = 0 ;
29013 PyObject * obj2 = 0 ;
29014 PyObject * obj3 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29021 if (SWIG_arg_fail(1)) SWIG_fail;
29022 {
29023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29024 if (SWIG_arg_fail(2)) SWIG_fail;
29025 if (arg2 == NULL) {
29026 SWIG_null_ref("wxTreeItemId");
29027 }
29028 if (SWIG_arg_fail(2)) SWIG_fail;
29029 }
29030 {
29031 arg3 = static_cast<int >(SWIG_As_int(obj2));
29032 if (SWIG_arg_fail(3)) SWIG_fail;
29033 }
29034 if (obj3) {
29035 {
29036 arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3));
29037 if (SWIG_arg_fail(4)) SWIG_fail;
29038 }
29039 }
29040 {
29041 PyThreadState* __tstate = wxPyBeginAllowThreads();
29042 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
29043
29044 wxPyEndAllowThreads(__tstate);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 }
29047 Py_INCREF(Py_None); resultobj = Py_None;
29048 return resultobj;
29049 fail:
29050 return NULL;
29051 }
29052
29053
29054 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
29055 PyObject *resultobj = NULL;
29056 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29057 wxTreeItemId *arg2 = 0 ;
29058 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
29059 PyObject * obj0 = 0 ;
29060 PyObject * obj1 = 0 ;
29061 PyObject * obj2 = 0 ;
29062 char *kwnames[] = {
29063 (char *) "self",(char *) "item",(char *) "data", NULL
29064 };
29065
29066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
29067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail;
29069 {
29070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29071 if (SWIG_arg_fail(2)) SWIG_fail;
29072 if (arg2 == NULL) {
29073 SWIG_null_ref("wxTreeItemId");
29074 }
29075 if (SWIG_arg_fail(2)) SWIG_fail;
29076 }
29077 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29078 if (SWIG_arg_fail(3)) SWIG_fail;
29079 {
29080 PyThreadState* __tstate = wxPyBeginAllowThreads();
29081 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
29082
29083 wxPyEndAllowThreads(__tstate);
29084 if (PyErr_Occurred()) SWIG_fail;
29085 }
29086 Py_INCREF(Py_None); resultobj = Py_None;
29087 return resultobj;
29088 fail:
29089 return NULL;
29090 }
29091
29092
29093 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
29094 PyObject *resultobj = NULL;
29095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29096 wxTreeItemId *arg2 = 0 ;
29097 PyObject *arg3 = (PyObject *) 0 ;
29098 PyObject * obj0 = 0 ;
29099 PyObject * obj1 = 0 ;
29100 PyObject * obj2 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self",(char *) "item",(char *) "obj", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
29106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail;
29108 {
29109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29110 if (SWIG_arg_fail(2)) SWIG_fail;
29111 if (arg2 == NULL) {
29112 SWIG_null_ref("wxTreeItemId");
29113 }
29114 if (SWIG_arg_fail(2)) SWIG_fail;
29115 }
29116 arg3 = obj2;
29117 {
29118 PyThreadState* __tstate = wxPyBeginAllowThreads();
29119 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29120
29121 wxPyEndAllowThreads(__tstate);
29122 if (PyErr_Occurred()) SWIG_fail;
29123 }
29124 Py_INCREF(Py_None); resultobj = Py_None;
29125 return resultobj;
29126 fail:
29127 return NULL;
29128 }
29129
29130
29131 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29132 PyObject *resultobj = NULL;
29133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29134 wxTreeItemId *arg2 = 0 ;
29135 bool arg3 = (bool) true ;
29136 PyObject * obj0 = 0 ;
29137 PyObject * obj1 = 0 ;
29138 PyObject * obj2 = 0 ;
29139 char *kwnames[] = {
29140 (char *) "self",(char *) "item",(char *) "has", NULL
29141 };
29142
29143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
29144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29145 if (SWIG_arg_fail(1)) SWIG_fail;
29146 {
29147 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29148 if (SWIG_arg_fail(2)) SWIG_fail;
29149 if (arg2 == NULL) {
29150 SWIG_null_ref("wxTreeItemId");
29151 }
29152 if (SWIG_arg_fail(2)) SWIG_fail;
29153 }
29154 if (obj2) {
29155 {
29156 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29157 if (SWIG_arg_fail(3)) SWIG_fail;
29158 }
29159 }
29160 {
29161 PyThreadState* __tstate = wxPyBeginAllowThreads();
29162 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29163
29164 wxPyEndAllowThreads(__tstate);
29165 if (PyErr_Occurred()) SWIG_fail;
29166 }
29167 Py_INCREF(Py_None); resultobj = Py_None;
29168 return resultobj;
29169 fail:
29170 return NULL;
29171 }
29172
29173
29174 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
29175 PyObject *resultobj = NULL;
29176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29177 wxTreeItemId *arg2 = 0 ;
29178 bool arg3 = (bool) true ;
29179 PyObject * obj0 = 0 ;
29180 PyObject * obj1 = 0 ;
29181 PyObject * obj2 = 0 ;
29182 char *kwnames[] = {
29183 (char *) "self",(char *) "item",(char *) "bold", NULL
29184 };
29185
29186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29188 if (SWIG_arg_fail(1)) SWIG_fail;
29189 {
29190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29191 if (SWIG_arg_fail(2)) SWIG_fail;
29192 if (arg2 == NULL) {
29193 SWIG_null_ref("wxTreeItemId");
29194 }
29195 if (SWIG_arg_fail(2)) SWIG_fail;
29196 }
29197 if (obj2) {
29198 {
29199 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29200 if (SWIG_arg_fail(3)) SWIG_fail;
29201 }
29202 }
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29206
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 Py_INCREF(Py_None); resultobj = Py_None;
29211 return resultobj;
29212 fail:
29213 return NULL;
29214 }
29215
29216
29217 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29218 PyObject *resultobj = NULL;
29219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29220 wxTreeItemId *arg2 = 0 ;
29221 bool arg3 = (bool) true ;
29222 PyObject * obj0 = 0 ;
29223 PyObject * obj1 = 0 ;
29224 PyObject * obj2 = 0 ;
29225 char *kwnames[] = {
29226 (char *) "self",(char *) "item",(char *) "highlight", NULL
29227 };
29228
29229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail;
29232 {
29233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29234 if (SWIG_arg_fail(2)) SWIG_fail;
29235 if (arg2 == NULL) {
29236 SWIG_null_ref("wxTreeItemId");
29237 }
29238 if (SWIG_arg_fail(2)) SWIG_fail;
29239 }
29240 if (obj2) {
29241 {
29242 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29243 if (SWIG_arg_fail(3)) SWIG_fail;
29244 }
29245 }
29246 {
29247 PyThreadState* __tstate = wxPyBeginAllowThreads();
29248 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29249
29250 wxPyEndAllowThreads(__tstate);
29251 if (PyErr_Occurred()) SWIG_fail;
29252 }
29253 Py_INCREF(Py_None); resultobj = Py_None;
29254 return resultobj;
29255 fail:
29256 return NULL;
29257 }
29258
29259
29260 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29261 PyObject *resultobj = NULL;
29262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29263 wxTreeItemId *arg2 = 0 ;
29264 wxColour *arg3 = 0 ;
29265 wxColour temp3 ;
29266 PyObject * obj0 = 0 ;
29267 PyObject * obj1 = 0 ;
29268 PyObject * obj2 = 0 ;
29269 char *kwnames[] = {
29270 (char *) "self",(char *) "item",(char *) "col", NULL
29271 };
29272
29273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29275 if (SWIG_arg_fail(1)) SWIG_fail;
29276 {
29277 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29278 if (SWIG_arg_fail(2)) SWIG_fail;
29279 if (arg2 == NULL) {
29280 SWIG_null_ref("wxTreeItemId");
29281 }
29282 if (SWIG_arg_fail(2)) SWIG_fail;
29283 }
29284 {
29285 arg3 = &temp3;
29286 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29287 }
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
29290 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29291
29292 wxPyEndAllowThreads(__tstate);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 Py_INCREF(Py_None); resultobj = Py_None;
29296 return resultobj;
29297 fail:
29298 return NULL;
29299 }
29300
29301
29302 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29303 PyObject *resultobj = NULL;
29304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29305 wxTreeItemId *arg2 = 0 ;
29306 wxColour *arg3 = 0 ;
29307 wxColour temp3 ;
29308 PyObject * obj0 = 0 ;
29309 PyObject * obj1 = 0 ;
29310 PyObject * obj2 = 0 ;
29311 char *kwnames[] = {
29312 (char *) "self",(char *) "item",(char *) "col", NULL
29313 };
29314
29315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29317 if (SWIG_arg_fail(1)) SWIG_fail;
29318 {
29319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29320 if (SWIG_arg_fail(2)) SWIG_fail;
29321 if (arg2 == NULL) {
29322 SWIG_null_ref("wxTreeItemId");
29323 }
29324 if (SWIG_arg_fail(2)) SWIG_fail;
29325 }
29326 {
29327 arg3 = &temp3;
29328 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29329 }
29330 {
29331 PyThreadState* __tstate = wxPyBeginAllowThreads();
29332 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29333
29334 wxPyEndAllowThreads(__tstate);
29335 if (PyErr_Occurred()) SWIG_fail;
29336 }
29337 Py_INCREF(Py_None); resultobj = Py_None;
29338 return resultobj;
29339 fail:
29340 return NULL;
29341 }
29342
29343
29344 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29345 PyObject *resultobj = NULL;
29346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29347 wxTreeItemId *arg2 = 0 ;
29348 wxFont *arg3 = 0 ;
29349 PyObject * obj0 = 0 ;
29350 PyObject * obj1 = 0 ;
29351 PyObject * obj2 = 0 ;
29352 char *kwnames[] = {
29353 (char *) "self",(char *) "item",(char *) "font", NULL
29354 };
29355
29356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29358 if (SWIG_arg_fail(1)) SWIG_fail;
29359 {
29360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29361 if (SWIG_arg_fail(2)) SWIG_fail;
29362 if (arg2 == NULL) {
29363 SWIG_null_ref("wxTreeItemId");
29364 }
29365 if (SWIG_arg_fail(2)) SWIG_fail;
29366 }
29367 {
29368 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29369 if (SWIG_arg_fail(3)) SWIG_fail;
29370 if (arg3 == NULL) {
29371 SWIG_null_ref("wxFont");
29372 }
29373 if (SWIG_arg_fail(3)) SWIG_fail;
29374 }
29375 {
29376 PyThreadState* __tstate = wxPyBeginAllowThreads();
29377 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29378
29379 wxPyEndAllowThreads(__tstate);
29380 if (PyErr_Occurred()) SWIG_fail;
29381 }
29382 Py_INCREF(Py_None); resultobj = Py_None;
29383 return resultobj;
29384 fail:
29385 return NULL;
29386 }
29387
29388
29389 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29390 PyObject *resultobj = NULL;
29391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29392 wxTreeItemId *arg2 = 0 ;
29393 bool result;
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 char *kwnames[] = {
29397 (char *) "self",(char *) "item", NULL
29398 };
29399
29400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail;
29403 {
29404 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29405 if (SWIG_arg_fail(2)) SWIG_fail;
29406 if (arg2 == NULL) {
29407 SWIG_null_ref("wxTreeItemId");
29408 }
29409 if (SWIG_arg_fail(2)) SWIG_fail;
29410 }
29411 {
29412 PyThreadState* __tstate = wxPyBeginAllowThreads();
29413 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29414
29415 wxPyEndAllowThreads(__tstate);
29416 if (PyErr_Occurred()) SWIG_fail;
29417 }
29418 {
29419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29420 }
29421 return resultobj;
29422 fail:
29423 return NULL;
29424 }
29425
29426
29427 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29428 PyObject *resultobj = NULL;
29429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29430 wxTreeItemId *arg2 = 0 ;
29431 bool result;
29432 PyObject * obj0 = 0 ;
29433 PyObject * obj1 = 0 ;
29434 char *kwnames[] = {
29435 (char *) "self",(char *) "item", NULL
29436 };
29437
29438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail;
29441 {
29442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29443 if (SWIG_arg_fail(2)) SWIG_fail;
29444 if (arg2 == NULL) {
29445 SWIG_null_ref("wxTreeItemId");
29446 }
29447 if (SWIG_arg_fail(2)) SWIG_fail;
29448 }
29449 {
29450 PyThreadState* __tstate = wxPyBeginAllowThreads();
29451 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29452
29453 wxPyEndAllowThreads(__tstate);
29454 if (PyErr_Occurred()) SWIG_fail;
29455 }
29456 {
29457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29458 }
29459 return resultobj;
29460 fail:
29461 return NULL;
29462 }
29463
29464
29465 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj = NULL;
29467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29468 wxTreeItemId *arg2 = 0 ;
29469 bool result;
29470 PyObject * obj0 = 0 ;
29471 PyObject * obj1 = 0 ;
29472 char *kwnames[] = {
29473 (char *) "self",(char *) "item", NULL
29474 };
29475
29476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29478 if (SWIG_arg_fail(1)) SWIG_fail;
29479 {
29480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29481 if (SWIG_arg_fail(2)) SWIG_fail;
29482 if (arg2 == NULL) {
29483 SWIG_null_ref("wxTreeItemId");
29484 }
29485 if (SWIG_arg_fail(2)) SWIG_fail;
29486 }
29487 {
29488 PyThreadState* __tstate = wxPyBeginAllowThreads();
29489 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29490
29491 wxPyEndAllowThreads(__tstate);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 {
29495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29496 }
29497 return resultobj;
29498 fail:
29499 return NULL;
29500 }
29501
29502
29503 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29504 PyObject *resultobj = NULL;
29505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29506 wxTreeItemId *arg2 = 0 ;
29507 bool result;
29508 PyObject * obj0 = 0 ;
29509 PyObject * obj1 = 0 ;
29510 char *kwnames[] = {
29511 (char *) "self",(char *) "item", NULL
29512 };
29513
29514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29516 if (SWIG_arg_fail(1)) SWIG_fail;
29517 {
29518 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29519 if (SWIG_arg_fail(2)) SWIG_fail;
29520 if (arg2 == NULL) {
29521 SWIG_null_ref("wxTreeItemId");
29522 }
29523 if (SWIG_arg_fail(2)) SWIG_fail;
29524 }
29525 {
29526 PyThreadState* __tstate = wxPyBeginAllowThreads();
29527 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29528
29529 wxPyEndAllowThreads(__tstate);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 }
29532 {
29533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj = NULL;
29543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29544 wxTreeItemId *arg2 = 0 ;
29545 bool result;
29546 PyObject * obj0 = 0 ;
29547 PyObject * obj1 = 0 ;
29548 char *kwnames[] = {
29549 (char *) "self",(char *) "item", NULL
29550 };
29551
29552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29554 if (SWIG_arg_fail(1)) SWIG_fail;
29555 {
29556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29557 if (SWIG_arg_fail(2)) SWIG_fail;
29558 if (arg2 == NULL) {
29559 SWIG_null_ref("wxTreeItemId");
29560 }
29561 if (SWIG_arg_fail(2)) SWIG_fail;
29562 }
29563 {
29564 PyThreadState* __tstate = wxPyBeginAllowThreads();
29565 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29566
29567 wxPyEndAllowThreads(__tstate);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 {
29571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29572 }
29573 return resultobj;
29574 fail:
29575 return NULL;
29576 }
29577
29578
29579 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29580 PyObject *resultobj = NULL;
29581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29582 wxTreeItemId *arg2 = 0 ;
29583 bool arg3 = (bool) true ;
29584 size_t result;
29585 PyObject * obj0 = 0 ;
29586 PyObject * obj1 = 0 ;
29587 PyObject * obj2 = 0 ;
29588 char *kwnames[] = {
29589 (char *) "self",(char *) "item",(char *) "recursively", NULL
29590 };
29591
29592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29594 if (SWIG_arg_fail(1)) SWIG_fail;
29595 {
29596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29597 if (SWIG_arg_fail(2)) SWIG_fail;
29598 if (arg2 == NULL) {
29599 SWIG_null_ref("wxTreeItemId");
29600 }
29601 if (SWIG_arg_fail(2)) SWIG_fail;
29602 }
29603 if (obj2) {
29604 {
29605 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
29606 if (SWIG_arg_fail(3)) SWIG_fail;
29607 }
29608 }
29609 {
29610 PyThreadState* __tstate = wxPyBeginAllowThreads();
29611 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29612
29613 wxPyEndAllowThreads(__tstate);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 }
29616 {
29617 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
29618 }
29619 return resultobj;
29620 fail:
29621 return NULL;
29622 }
29623
29624
29625 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29626 PyObject *resultobj = NULL;
29627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29628 wxTreeItemId result;
29629 PyObject * obj0 = 0 ;
29630 char *kwnames[] = {
29631 (char *) "self", NULL
29632 };
29633
29634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29636 if (SWIG_arg_fail(1)) SWIG_fail;
29637 {
29638 PyThreadState* __tstate = wxPyBeginAllowThreads();
29639 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29640
29641 wxPyEndAllowThreads(__tstate);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 {
29645 wxTreeItemId * resultptr;
29646 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29648 }
29649 return resultobj;
29650 fail:
29651 return NULL;
29652 }
29653
29654
29655 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29656 PyObject *resultobj = NULL;
29657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29658 wxTreeItemId result;
29659 PyObject * obj0 = 0 ;
29660 char *kwnames[] = {
29661 (char *) "self", NULL
29662 };
29663
29664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29666 if (SWIG_arg_fail(1)) SWIG_fail;
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29670
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 {
29675 wxTreeItemId * resultptr;
29676 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29678 }
29679 return resultobj;
29680 fail:
29681 return NULL;
29682 }
29683
29684
29685 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj = NULL;
29687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29688 PyObject *result;
29689 PyObject * obj0 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail;
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29700
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 resultobj = result;
29705 return resultobj;
29706 fail:
29707 return NULL;
29708 }
29709
29710
29711 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29712 PyObject *resultobj = NULL;
29713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29714 wxTreeItemId *arg2 = 0 ;
29715 wxTreeItemId result;
29716 PyObject * obj0 = 0 ;
29717 PyObject * obj1 = 0 ;
29718 char *kwnames[] = {
29719 (char *) "self",(char *) "item", NULL
29720 };
29721
29722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail;
29725 {
29726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29727 if (SWIG_arg_fail(2)) SWIG_fail;
29728 if (arg2 == NULL) {
29729 SWIG_null_ref("wxTreeItemId");
29730 }
29731 if (SWIG_arg_fail(2)) SWIG_fail;
29732 }
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
29735 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29736
29737 wxPyEndAllowThreads(__tstate);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
29740 {
29741 wxTreeItemId * resultptr;
29742 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29744 }
29745 return resultobj;
29746 fail:
29747 return NULL;
29748 }
29749
29750
29751 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29752 PyObject *resultobj = NULL;
29753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29754 wxTreeItemId *arg2 = 0 ;
29755 PyObject *result;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 char *kwnames[] = {
29759 (char *) "self",(char *) "item", NULL
29760 };
29761
29762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail;
29765 {
29766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29767 if (SWIG_arg_fail(2)) SWIG_fail;
29768 if (arg2 == NULL) {
29769 SWIG_null_ref("wxTreeItemId");
29770 }
29771 if (SWIG_arg_fail(2)) SWIG_fail;
29772 }
29773 {
29774 PyThreadState* __tstate = wxPyBeginAllowThreads();
29775 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29776
29777 wxPyEndAllowThreads(__tstate);
29778 if (PyErr_Occurred()) SWIG_fail;
29779 }
29780 resultobj = result;
29781 return resultobj;
29782 fail:
29783 return NULL;
29784 }
29785
29786
29787 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29788 PyObject *resultobj = NULL;
29789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29790 wxTreeItemId *arg2 = 0 ;
29791 void *arg3 = (void *) 0 ;
29792 PyObject *result;
29793 PyObject * obj0 = 0 ;
29794 PyObject * obj1 = 0 ;
29795 PyObject * obj2 = 0 ;
29796 char *kwnames[] = {
29797 (char *) "self",(char *) "item",(char *) "cookie", NULL
29798 };
29799
29800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29802 if (SWIG_arg_fail(1)) SWIG_fail;
29803 {
29804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29805 if (SWIG_arg_fail(2)) SWIG_fail;
29806 if (arg2 == NULL) {
29807 SWIG_null_ref("wxTreeItemId");
29808 }
29809 if (SWIG_arg_fail(2)) SWIG_fail;
29810 }
29811 {
29812 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29813 SWIG_arg_fail(3);SWIG_fail;
29814 }
29815 }
29816 {
29817 PyThreadState* __tstate = wxPyBeginAllowThreads();
29818 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29819
29820 wxPyEndAllowThreads(__tstate);
29821 if (PyErr_Occurred()) SWIG_fail;
29822 }
29823 resultobj = result;
29824 return resultobj;
29825 fail:
29826 return NULL;
29827 }
29828
29829
29830 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29831 PyObject *resultobj = NULL;
29832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29833 wxTreeItemId *arg2 = 0 ;
29834 wxTreeItemId result;
29835 PyObject * obj0 = 0 ;
29836 PyObject * obj1 = 0 ;
29837 char *kwnames[] = {
29838 (char *) "self",(char *) "item", NULL
29839 };
29840
29841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail;
29844 {
29845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29846 if (SWIG_arg_fail(2)) SWIG_fail;
29847 if (arg2 == NULL) {
29848 SWIG_null_ref("wxTreeItemId");
29849 }
29850 if (SWIG_arg_fail(2)) SWIG_fail;
29851 }
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 {
29860 wxTreeItemId * resultptr;
29861 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29863 }
29864 return resultobj;
29865 fail:
29866 return NULL;
29867 }
29868
29869
29870 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29871 PyObject *resultobj = NULL;
29872 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29873 wxTreeItemId *arg2 = 0 ;
29874 wxTreeItemId result;
29875 PyObject * obj0 = 0 ;
29876 PyObject * obj1 = 0 ;
29877 char *kwnames[] = {
29878 (char *) "self",(char *) "item", NULL
29879 };
29880
29881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29883 if (SWIG_arg_fail(1)) SWIG_fail;
29884 {
29885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29886 if (SWIG_arg_fail(2)) SWIG_fail;
29887 if (arg2 == NULL) {
29888 SWIG_null_ref("wxTreeItemId");
29889 }
29890 if (SWIG_arg_fail(2)) SWIG_fail;
29891 }
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
29899 {
29900 wxTreeItemId * resultptr;
29901 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29903 }
29904 return resultobj;
29905 fail:
29906 return NULL;
29907 }
29908
29909
29910 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29911 PyObject *resultobj = NULL;
29912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29913 wxTreeItemId *arg2 = 0 ;
29914 wxTreeItemId result;
29915 PyObject * obj0 = 0 ;
29916 PyObject * obj1 = 0 ;
29917 char *kwnames[] = {
29918 (char *) "self",(char *) "item", NULL
29919 };
29920
29921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29923 if (SWIG_arg_fail(1)) SWIG_fail;
29924 {
29925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29926 if (SWIG_arg_fail(2)) SWIG_fail;
29927 if (arg2 == NULL) {
29928 SWIG_null_ref("wxTreeItemId");
29929 }
29930 if (SWIG_arg_fail(2)) SWIG_fail;
29931 }
29932 {
29933 PyThreadState* __tstate = wxPyBeginAllowThreads();
29934 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29935
29936 wxPyEndAllowThreads(__tstate);
29937 if (PyErr_Occurred()) SWIG_fail;
29938 }
29939 {
29940 wxTreeItemId * resultptr;
29941 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29943 }
29944 return resultobj;
29945 fail:
29946 return NULL;
29947 }
29948
29949
29950 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29951 PyObject *resultobj = NULL;
29952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29953 wxTreeItemId result;
29954 PyObject * obj0 = 0 ;
29955 char *kwnames[] = {
29956 (char *) "self", NULL
29957 };
29958
29959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29961 if (SWIG_arg_fail(1)) SWIG_fail;
29962 {
29963 PyThreadState* __tstate = wxPyBeginAllowThreads();
29964 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29965
29966 wxPyEndAllowThreads(__tstate);
29967 if (PyErr_Occurred()) SWIG_fail;
29968 }
29969 {
29970 wxTreeItemId * resultptr;
29971 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
29972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29973 }
29974 return resultobj;
29975 fail:
29976 return NULL;
29977 }
29978
29979
29980 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29981 PyObject *resultobj = NULL;
29982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29983 wxTreeItemId *arg2 = 0 ;
29984 wxTreeItemId result;
29985 PyObject * obj0 = 0 ;
29986 PyObject * obj1 = 0 ;
29987 char *kwnames[] = {
29988 (char *) "self",(char *) "item", NULL
29989 };
29990
29991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29993 if (SWIG_arg_fail(1)) SWIG_fail;
29994 {
29995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29996 if (SWIG_arg_fail(2)) SWIG_fail;
29997 if (arg2 == NULL) {
29998 SWIG_null_ref("wxTreeItemId");
29999 }
30000 if (SWIG_arg_fail(2)) SWIG_fail;
30001 }
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
30005
30006 wxPyEndAllowThreads(__tstate);
30007 if (PyErr_Occurred()) SWIG_fail;
30008 }
30009 {
30010 wxTreeItemId * resultptr;
30011 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30013 }
30014 return resultobj;
30015 fail:
30016 return NULL;
30017 }
30018
30019
30020 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30021 PyObject *resultobj = NULL;
30022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30023 wxTreeItemId *arg2 = 0 ;
30024 wxTreeItemId result;
30025 PyObject * obj0 = 0 ;
30026 PyObject * obj1 = 0 ;
30027 char *kwnames[] = {
30028 (char *) "self",(char *) "item", NULL
30029 };
30030
30031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
30032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30033 if (SWIG_arg_fail(1)) SWIG_fail;
30034 {
30035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30036 if (SWIG_arg_fail(2)) SWIG_fail;
30037 if (arg2 == NULL) {
30038 SWIG_null_ref("wxTreeItemId");
30039 }
30040 if (SWIG_arg_fail(2)) SWIG_fail;
30041 }
30042 {
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
30045
30046 wxPyEndAllowThreads(__tstate);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
30049 {
30050 wxTreeItemId * resultptr;
30051 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30053 }
30054 return resultobj;
30055 fail:
30056 return NULL;
30057 }
30058
30059
30060 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
30061 PyObject *resultobj = NULL;
30062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30063 wxString *arg2 = 0 ;
30064 int arg3 = (int) -1 ;
30065 int arg4 = (int) -1 ;
30066 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
30067 wxTreeItemId result;
30068 bool temp2 = false ;
30069 PyObject * obj0 = 0 ;
30070 PyObject * obj1 = 0 ;
30071 PyObject * obj2 = 0 ;
30072 PyObject * obj3 = 0 ;
30073 PyObject * obj4 = 0 ;
30074 char *kwnames[] = {
30075 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30076 };
30077
30078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30080 if (SWIG_arg_fail(1)) SWIG_fail;
30081 {
30082 arg2 = wxString_in_helper(obj1);
30083 if (arg2 == NULL) SWIG_fail;
30084 temp2 = true;
30085 }
30086 if (obj2) {
30087 {
30088 arg3 = static_cast<int >(SWIG_As_int(obj2));
30089 if (SWIG_arg_fail(3)) SWIG_fail;
30090 }
30091 }
30092 if (obj3) {
30093 {
30094 arg4 = static_cast<int >(SWIG_As_int(obj3));
30095 if (SWIG_arg_fail(4)) SWIG_fail;
30096 }
30097 }
30098 if (obj4) {
30099 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30100 if (SWIG_arg_fail(5)) SWIG_fail;
30101 }
30102 {
30103 PyThreadState* __tstate = wxPyBeginAllowThreads();
30104 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
30105
30106 wxPyEndAllowThreads(__tstate);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 }
30109 {
30110 wxTreeItemId * resultptr;
30111 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30113 }
30114 {
30115 if (temp2)
30116 delete arg2;
30117 }
30118 return resultobj;
30119 fail:
30120 {
30121 if (temp2)
30122 delete arg2;
30123 }
30124 return NULL;
30125 }
30126
30127
30128 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
30129 PyObject *resultobj = NULL;
30130 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30131 wxTreeItemId *arg2 = 0 ;
30132 wxString *arg3 = 0 ;
30133 int arg4 = (int) -1 ;
30134 int arg5 = (int) -1 ;
30135 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30136 wxTreeItemId result;
30137 bool temp3 = false ;
30138 PyObject * obj0 = 0 ;
30139 PyObject * obj1 = 0 ;
30140 PyObject * obj2 = 0 ;
30141 PyObject * obj3 = 0 ;
30142 PyObject * obj4 = 0 ;
30143 PyObject * obj5 = 0 ;
30144 char *kwnames[] = {
30145 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30146 };
30147
30148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail;
30151 {
30152 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30153 if (SWIG_arg_fail(2)) SWIG_fail;
30154 if (arg2 == NULL) {
30155 SWIG_null_ref("wxTreeItemId");
30156 }
30157 if (SWIG_arg_fail(2)) SWIG_fail;
30158 }
30159 {
30160 arg3 = wxString_in_helper(obj2);
30161 if (arg3 == NULL) SWIG_fail;
30162 temp3 = true;
30163 }
30164 if (obj3) {
30165 {
30166 arg4 = static_cast<int >(SWIG_As_int(obj3));
30167 if (SWIG_arg_fail(4)) SWIG_fail;
30168 }
30169 }
30170 if (obj4) {
30171 {
30172 arg5 = static_cast<int >(SWIG_As_int(obj4));
30173 if (SWIG_arg_fail(5)) SWIG_fail;
30174 }
30175 }
30176 if (obj5) {
30177 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30178 if (SWIG_arg_fail(6)) SWIG_fail;
30179 }
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30183
30184 wxPyEndAllowThreads(__tstate);
30185 if (PyErr_Occurred()) SWIG_fail;
30186 }
30187 {
30188 wxTreeItemId * resultptr;
30189 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30191 }
30192 {
30193 if (temp3)
30194 delete arg3;
30195 }
30196 return resultobj;
30197 fail:
30198 {
30199 if (temp3)
30200 delete arg3;
30201 }
30202 return NULL;
30203 }
30204
30205
30206 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30207 PyObject *resultobj = NULL;
30208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30209 wxTreeItemId *arg2 = 0 ;
30210 wxTreeItemId *arg3 = 0 ;
30211 wxString *arg4 = 0 ;
30212 int arg5 = (int) -1 ;
30213 int arg6 = (int) -1 ;
30214 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30215 wxTreeItemId result;
30216 bool temp4 = false ;
30217 PyObject * obj0 = 0 ;
30218 PyObject * obj1 = 0 ;
30219 PyObject * obj2 = 0 ;
30220 PyObject * obj3 = 0 ;
30221 PyObject * obj4 = 0 ;
30222 PyObject * obj5 = 0 ;
30223 PyObject * obj6 = 0 ;
30224 char *kwnames[] = {
30225 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30226 };
30227
30228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30230 if (SWIG_arg_fail(1)) SWIG_fail;
30231 {
30232 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30233 if (SWIG_arg_fail(2)) SWIG_fail;
30234 if (arg2 == NULL) {
30235 SWIG_null_ref("wxTreeItemId");
30236 }
30237 if (SWIG_arg_fail(2)) SWIG_fail;
30238 }
30239 {
30240 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30241 if (SWIG_arg_fail(3)) SWIG_fail;
30242 if (arg3 == NULL) {
30243 SWIG_null_ref("wxTreeItemId");
30244 }
30245 if (SWIG_arg_fail(3)) SWIG_fail;
30246 }
30247 {
30248 arg4 = wxString_in_helper(obj3);
30249 if (arg4 == NULL) SWIG_fail;
30250 temp4 = true;
30251 }
30252 if (obj4) {
30253 {
30254 arg5 = static_cast<int >(SWIG_As_int(obj4));
30255 if (SWIG_arg_fail(5)) SWIG_fail;
30256 }
30257 }
30258 if (obj5) {
30259 {
30260 arg6 = static_cast<int >(SWIG_As_int(obj5));
30261 if (SWIG_arg_fail(6)) SWIG_fail;
30262 }
30263 }
30264 if (obj6) {
30265 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30266 if (SWIG_arg_fail(7)) SWIG_fail;
30267 }
30268 {
30269 PyThreadState* __tstate = wxPyBeginAllowThreads();
30270 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30271
30272 wxPyEndAllowThreads(__tstate);
30273 if (PyErr_Occurred()) SWIG_fail;
30274 }
30275 {
30276 wxTreeItemId * resultptr;
30277 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30279 }
30280 {
30281 if (temp4)
30282 delete arg4;
30283 }
30284 return resultobj;
30285 fail:
30286 {
30287 if (temp4)
30288 delete arg4;
30289 }
30290 return NULL;
30291 }
30292
30293
30294 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30295 PyObject *resultobj = NULL;
30296 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30297 wxTreeItemId *arg2 = 0 ;
30298 size_t arg3 ;
30299 wxString *arg4 = 0 ;
30300 int arg5 = (int) -1 ;
30301 int arg6 = (int) -1 ;
30302 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30303 wxTreeItemId result;
30304 bool temp4 = false ;
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 PyObject * obj2 = 0 ;
30308 PyObject * obj3 = 0 ;
30309 PyObject * obj4 = 0 ;
30310 PyObject * obj5 = 0 ;
30311 PyObject * obj6 = 0 ;
30312 char *kwnames[] = {
30313 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30314 };
30315
30316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30318 if (SWIG_arg_fail(1)) SWIG_fail;
30319 {
30320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30321 if (SWIG_arg_fail(2)) SWIG_fail;
30322 if (arg2 == NULL) {
30323 SWIG_null_ref("wxTreeItemId");
30324 }
30325 if (SWIG_arg_fail(2)) SWIG_fail;
30326 }
30327 {
30328 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
30329 if (SWIG_arg_fail(3)) SWIG_fail;
30330 }
30331 {
30332 arg4 = wxString_in_helper(obj3);
30333 if (arg4 == NULL) SWIG_fail;
30334 temp4 = true;
30335 }
30336 if (obj4) {
30337 {
30338 arg5 = static_cast<int >(SWIG_As_int(obj4));
30339 if (SWIG_arg_fail(5)) SWIG_fail;
30340 }
30341 }
30342 if (obj5) {
30343 {
30344 arg6 = static_cast<int >(SWIG_As_int(obj5));
30345 if (SWIG_arg_fail(6)) SWIG_fail;
30346 }
30347 }
30348 if (obj6) {
30349 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30350 if (SWIG_arg_fail(7)) SWIG_fail;
30351 }
30352 {
30353 PyThreadState* __tstate = wxPyBeginAllowThreads();
30354 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30355
30356 wxPyEndAllowThreads(__tstate);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 }
30359 {
30360 wxTreeItemId * resultptr;
30361 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30363 }
30364 {
30365 if (temp4)
30366 delete arg4;
30367 }
30368 return resultobj;
30369 fail:
30370 {
30371 if (temp4)
30372 delete arg4;
30373 }
30374 return NULL;
30375 }
30376
30377
30378 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30379 PyObject *resultobj = NULL;
30380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30381 wxTreeItemId *arg2 = 0 ;
30382 wxString *arg3 = 0 ;
30383 int arg4 = (int) -1 ;
30384 int arg5 = (int) -1 ;
30385 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30386 wxTreeItemId result;
30387 bool temp3 = false ;
30388 PyObject * obj0 = 0 ;
30389 PyObject * obj1 = 0 ;
30390 PyObject * obj2 = 0 ;
30391 PyObject * obj3 = 0 ;
30392 PyObject * obj4 = 0 ;
30393 PyObject * obj5 = 0 ;
30394 char *kwnames[] = {
30395 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30396 };
30397
30398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30400 if (SWIG_arg_fail(1)) SWIG_fail;
30401 {
30402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30403 if (SWIG_arg_fail(2)) SWIG_fail;
30404 if (arg2 == NULL) {
30405 SWIG_null_ref("wxTreeItemId");
30406 }
30407 if (SWIG_arg_fail(2)) SWIG_fail;
30408 }
30409 {
30410 arg3 = wxString_in_helper(obj2);
30411 if (arg3 == NULL) SWIG_fail;
30412 temp3 = true;
30413 }
30414 if (obj3) {
30415 {
30416 arg4 = static_cast<int >(SWIG_As_int(obj3));
30417 if (SWIG_arg_fail(4)) SWIG_fail;
30418 }
30419 }
30420 if (obj4) {
30421 {
30422 arg5 = static_cast<int >(SWIG_As_int(obj4));
30423 if (SWIG_arg_fail(5)) SWIG_fail;
30424 }
30425 }
30426 if (obj5) {
30427 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30428 if (SWIG_arg_fail(6)) SWIG_fail;
30429 }
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30433
30434 wxPyEndAllowThreads(__tstate);
30435 if (PyErr_Occurred()) SWIG_fail;
30436 }
30437 {
30438 wxTreeItemId * resultptr;
30439 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
30440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30441 }
30442 {
30443 if (temp3)
30444 delete arg3;
30445 }
30446 return resultobj;
30447 fail:
30448 {
30449 if (temp3)
30450 delete arg3;
30451 }
30452 return NULL;
30453 }
30454
30455
30456 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30457 PyObject *resultobj = NULL;
30458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30459 wxTreeItemId *arg2 = 0 ;
30460 PyObject * obj0 = 0 ;
30461 PyObject * obj1 = 0 ;
30462 char *kwnames[] = {
30463 (char *) "self",(char *) "item", NULL
30464 };
30465
30466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30468 if (SWIG_arg_fail(1)) SWIG_fail;
30469 {
30470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30471 if (SWIG_arg_fail(2)) SWIG_fail;
30472 if (arg2 == NULL) {
30473 SWIG_null_ref("wxTreeItemId");
30474 }
30475 if (SWIG_arg_fail(2)) SWIG_fail;
30476 }
30477 {
30478 PyThreadState* __tstate = wxPyBeginAllowThreads();
30479 (arg1)->Delete((wxTreeItemId const &)*arg2);
30480
30481 wxPyEndAllowThreads(__tstate);
30482 if (PyErr_Occurred()) SWIG_fail;
30483 }
30484 Py_INCREF(Py_None); resultobj = Py_None;
30485 return resultobj;
30486 fail:
30487 return NULL;
30488 }
30489
30490
30491 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30492 PyObject *resultobj = NULL;
30493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30494 wxTreeItemId *arg2 = 0 ;
30495 PyObject * obj0 = 0 ;
30496 PyObject * obj1 = 0 ;
30497 char *kwnames[] = {
30498 (char *) "self",(char *) "item", NULL
30499 };
30500
30501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30503 if (SWIG_arg_fail(1)) SWIG_fail;
30504 {
30505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30506 if (SWIG_arg_fail(2)) SWIG_fail;
30507 if (arg2 == NULL) {
30508 SWIG_null_ref("wxTreeItemId");
30509 }
30510 if (SWIG_arg_fail(2)) SWIG_fail;
30511 }
30512 {
30513 PyThreadState* __tstate = wxPyBeginAllowThreads();
30514 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30515
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 Py_INCREF(Py_None); resultobj = Py_None;
30520 return resultobj;
30521 fail:
30522 return NULL;
30523 }
30524
30525
30526 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30527 PyObject *resultobj = NULL;
30528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30529 PyObject * obj0 = 0 ;
30530 char *kwnames[] = {
30531 (char *) "self", NULL
30532 };
30533
30534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30536 if (SWIG_arg_fail(1)) SWIG_fail;
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 (arg1)->DeleteAllItems();
30540
30541 wxPyEndAllowThreads(__tstate);
30542 if (PyErr_Occurred()) SWIG_fail;
30543 }
30544 Py_INCREF(Py_None); resultobj = Py_None;
30545 return resultobj;
30546 fail:
30547 return NULL;
30548 }
30549
30550
30551 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30552 PyObject *resultobj = NULL;
30553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30554 wxTreeItemId *arg2 = 0 ;
30555 PyObject * obj0 = 0 ;
30556 PyObject * obj1 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self",(char *) "item", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail;
30564 {
30565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30566 if (SWIG_arg_fail(2)) SWIG_fail;
30567 if (arg2 == NULL) {
30568 SWIG_null_ref("wxTreeItemId");
30569 }
30570 if (SWIG_arg_fail(2)) SWIG_fail;
30571 }
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 (arg1)->Expand((wxTreeItemId const &)*arg2);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 Py_INCREF(Py_None); resultobj = Py_None;
30580 return resultobj;
30581 fail:
30582 return NULL;
30583 }
30584
30585
30586 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj = NULL;
30588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30589 wxTreeItemId *arg2 = 0 ;
30590 PyObject * obj0 = 0 ;
30591 PyObject * obj1 = 0 ;
30592 char *kwnames[] = {
30593 (char *) "self",(char *) "item", NULL
30594 };
30595
30596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30598 if (SWIG_arg_fail(1)) SWIG_fail;
30599 {
30600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30601 if (SWIG_arg_fail(2)) SWIG_fail;
30602 if (arg2 == NULL) {
30603 SWIG_null_ref("wxTreeItemId");
30604 }
30605 if (SWIG_arg_fail(2)) SWIG_fail;
30606 }
30607 {
30608 PyThreadState* __tstate = wxPyBeginAllowThreads();
30609 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30610
30611 wxPyEndAllowThreads(__tstate);
30612 if (PyErr_Occurred()) SWIG_fail;
30613 }
30614 Py_INCREF(Py_None); resultobj = Py_None;
30615 return resultobj;
30616 fail:
30617 return NULL;
30618 }
30619
30620
30621 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30622 PyObject *resultobj = NULL;
30623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30624 wxTreeItemId *arg2 = 0 ;
30625 PyObject * obj0 = 0 ;
30626 PyObject * obj1 = 0 ;
30627 char *kwnames[] = {
30628 (char *) "self",(char *) "item", NULL
30629 };
30630
30631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30633 if (SWIG_arg_fail(1)) SWIG_fail;
30634 {
30635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30636 if (SWIG_arg_fail(2)) SWIG_fail;
30637 if (arg2 == NULL) {
30638 SWIG_null_ref("wxTreeItemId");
30639 }
30640 if (SWIG_arg_fail(2)) SWIG_fail;
30641 }
30642 {
30643 PyThreadState* __tstate = wxPyBeginAllowThreads();
30644 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30645
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 Py_INCREF(Py_None); resultobj = Py_None;
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj = NULL;
30658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30659 wxTreeItemId *arg2 = 0 ;
30660 PyObject * obj0 = 0 ;
30661 PyObject * obj1 = 0 ;
30662 char *kwnames[] = {
30663 (char *) "self",(char *) "item", NULL
30664 };
30665
30666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30668 if (SWIG_arg_fail(1)) SWIG_fail;
30669 {
30670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30671 if (SWIG_arg_fail(2)) SWIG_fail;
30672 if (arg2 == NULL) {
30673 SWIG_null_ref("wxTreeItemId");
30674 }
30675 if (SWIG_arg_fail(2)) SWIG_fail;
30676 }
30677 {
30678 PyThreadState* __tstate = wxPyBeginAllowThreads();
30679 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30680
30681 wxPyEndAllowThreads(__tstate);
30682 if (PyErr_Occurred()) SWIG_fail;
30683 }
30684 Py_INCREF(Py_None); resultobj = Py_None;
30685 return resultobj;
30686 fail:
30687 return NULL;
30688 }
30689
30690
30691 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30692 PyObject *resultobj = NULL;
30693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30694 PyObject * obj0 = 0 ;
30695 char *kwnames[] = {
30696 (char *) "self", NULL
30697 };
30698
30699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30701 if (SWIG_arg_fail(1)) SWIG_fail;
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 (arg1)->Unselect();
30705
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
30709 Py_INCREF(Py_None); resultobj = Py_None;
30710 return resultobj;
30711 fail:
30712 return NULL;
30713 }
30714
30715
30716 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30717 PyObject *resultobj = NULL;
30718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30719 wxTreeItemId *arg2 = 0 ;
30720 PyObject * obj0 = 0 ;
30721 PyObject * obj1 = 0 ;
30722 char *kwnames[] = {
30723 (char *) "self",(char *) "item", NULL
30724 };
30725
30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail;
30729 {
30730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30731 if (SWIG_arg_fail(2)) SWIG_fail;
30732 if (arg2 == NULL) {
30733 SWIG_null_ref("wxTreeItemId");
30734 }
30735 if (SWIG_arg_fail(2)) SWIG_fail;
30736 }
30737 {
30738 PyThreadState* __tstate = wxPyBeginAllowThreads();
30739 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30740
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 Py_INCREF(Py_None); resultobj = Py_None;
30745 return resultobj;
30746 fail:
30747 return NULL;
30748 }
30749
30750
30751 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30752 PyObject *resultobj = NULL;
30753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30754 PyObject * obj0 = 0 ;
30755 char *kwnames[] = {
30756 (char *) "self", NULL
30757 };
30758
30759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30761 if (SWIG_arg_fail(1)) SWIG_fail;
30762 {
30763 PyThreadState* __tstate = wxPyBeginAllowThreads();
30764 (arg1)->UnselectAll();
30765
30766 wxPyEndAllowThreads(__tstate);
30767 if (PyErr_Occurred()) SWIG_fail;
30768 }
30769 Py_INCREF(Py_None); resultobj = Py_None;
30770 return resultobj;
30771 fail:
30772 return NULL;
30773 }
30774
30775
30776 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30777 PyObject *resultobj = NULL;
30778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30779 wxTreeItemId *arg2 = 0 ;
30780 bool arg3 = (bool) true ;
30781 PyObject * obj0 = 0 ;
30782 PyObject * obj1 = 0 ;
30783 PyObject * obj2 = 0 ;
30784 char *kwnames[] = {
30785 (char *) "self",(char *) "item",(char *) "select", NULL
30786 };
30787
30788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30790 if (SWIG_arg_fail(1)) SWIG_fail;
30791 {
30792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30793 if (SWIG_arg_fail(2)) SWIG_fail;
30794 if (arg2 == NULL) {
30795 SWIG_null_ref("wxTreeItemId");
30796 }
30797 if (SWIG_arg_fail(2)) SWIG_fail;
30798 }
30799 if (obj2) {
30800 {
30801 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
30802 if (SWIG_arg_fail(3)) SWIG_fail;
30803 }
30804 }
30805 {
30806 PyThreadState* __tstate = wxPyBeginAllowThreads();
30807 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30808
30809 wxPyEndAllowThreads(__tstate);
30810 if (PyErr_Occurred()) SWIG_fail;
30811 }
30812 Py_INCREF(Py_None); resultobj = Py_None;
30813 return resultobj;
30814 fail:
30815 return NULL;
30816 }
30817
30818
30819 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30820 PyObject *resultobj = NULL;
30821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30822 wxTreeItemId *arg2 = 0 ;
30823 PyObject * obj0 = 0 ;
30824 PyObject * obj1 = 0 ;
30825 char *kwnames[] = {
30826 (char *) "self",(char *) "item", NULL
30827 };
30828
30829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30831 if (SWIG_arg_fail(1)) SWIG_fail;
30832 {
30833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30834 if (SWIG_arg_fail(2)) SWIG_fail;
30835 if (arg2 == NULL) {
30836 SWIG_null_ref("wxTreeItemId");
30837 }
30838 if (SWIG_arg_fail(2)) SWIG_fail;
30839 }
30840 {
30841 PyThreadState* __tstate = wxPyBeginAllowThreads();
30842 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30843
30844 wxPyEndAllowThreads(__tstate);
30845 if (PyErr_Occurred()) SWIG_fail;
30846 }
30847 Py_INCREF(Py_None); resultobj = Py_None;
30848 return resultobj;
30849 fail:
30850 return NULL;
30851 }
30852
30853
30854 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30855 PyObject *resultobj = NULL;
30856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30857 wxTreeItemId *arg2 = 0 ;
30858 PyObject * obj0 = 0 ;
30859 PyObject * obj1 = 0 ;
30860 char *kwnames[] = {
30861 (char *) "self",(char *) "item", NULL
30862 };
30863
30864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30866 if (SWIG_arg_fail(1)) SWIG_fail;
30867 {
30868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30869 if (SWIG_arg_fail(2)) SWIG_fail;
30870 if (arg2 == NULL) {
30871 SWIG_null_ref("wxTreeItemId");
30872 }
30873 if (SWIG_arg_fail(2)) SWIG_fail;
30874 }
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30878
30879 wxPyEndAllowThreads(__tstate);
30880 if (PyErr_Occurred()) SWIG_fail;
30881 }
30882 Py_INCREF(Py_None); resultobj = Py_None;
30883 return resultobj;
30884 fail:
30885 return NULL;
30886 }
30887
30888
30889 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30890 PyObject *resultobj = NULL;
30891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30892 wxTreeItemId *arg2 = 0 ;
30893 PyObject * obj0 = 0 ;
30894 PyObject * obj1 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self",(char *) "item", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail;
30902 {
30903 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30904 if (SWIG_arg_fail(2)) SWIG_fail;
30905 if (arg2 == NULL) {
30906 SWIG_null_ref("wxTreeItemId");
30907 }
30908 if (SWIG_arg_fail(2)) SWIG_fail;
30909 }
30910 {
30911 PyThreadState* __tstate = wxPyBeginAllowThreads();
30912 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30913
30914 wxPyEndAllowThreads(__tstate);
30915 if (PyErr_Occurred()) SWIG_fail;
30916 }
30917 Py_INCREF(Py_None); resultobj = Py_None;
30918 return resultobj;
30919 fail:
30920 return NULL;
30921 }
30922
30923
30924 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30925 PyObject *resultobj = NULL;
30926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30927 wxTreeItemId *arg2 = 0 ;
30928 PyObject * obj0 = 0 ;
30929 PyObject * obj1 = 0 ;
30930 char *kwnames[] = {
30931 (char *) "self",(char *) "item", NULL
30932 };
30933
30934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30936 if (SWIG_arg_fail(1)) SWIG_fail;
30937 {
30938 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30939 if (SWIG_arg_fail(2)) SWIG_fail;
30940 if (arg2 == NULL) {
30941 SWIG_null_ref("wxTreeItemId");
30942 }
30943 if (SWIG_arg_fail(2)) SWIG_fail;
30944 }
30945 {
30946 PyThreadState* __tstate = wxPyBeginAllowThreads();
30947 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30948
30949 wxPyEndAllowThreads(__tstate);
30950 if (PyErr_Occurred()) SWIG_fail;
30951 }
30952 Py_INCREF(Py_None); resultobj = Py_None;
30953 return resultobj;
30954 fail:
30955 return NULL;
30956 }
30957
30958
30959 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30960 PyObject *resultobj = NULL;
30961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30962 wxTextCtrl *result;
30963 PyObject * obj0 = 0 ;
30964 char *kwnames[] = {
30965 (char *) "self", NULL
30966 };
30967
30968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30970 if (SWIG_arg_fail(1)) SWIG_fail;
30971 {
30972 PyThreadState* __tstate = wxPyBeginAllowThreads();
30973 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30974
30975 wxPyEndAllowThreads(__tstate);
30976 if (PyErr_Occurred()) SWIG_fail;
30977 }
30978 {
30979 resultobj = wxPyMake_wxObject(result, 0);
30980 }
30981 return resultobj;
30982 fail:
30983 return NULL;
30984 }
30985
30986
30987 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30988 PyObject *resultobj = NULL;
30989 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30990 wxTreeItemId *arg2 = 0 ;
30991 bool arg3 = (bool) false ;
30992 PyObject * obj0 = 0 ;
30993 PyObject * obj1 = 0 ;
30994 PyObject * obj2 = 0 ;
30995 char *kwnames[] = {
30996 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30997 };
30998
30999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
31000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail;
31002 {
31003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31004 if (SWIG_arg_fail(2)) SWIG_fail;
31005 if (arg2 == NULL) {
31006 SWIG_null_ref("wxTreeItemId");
31007 }
31008 if (SWIG_arg_fail(2)) SWIG_fail;
31009 }
31010 if (obj2) {
31011 {
31012 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
31013 if (SWIG_arg_fail(3)) SWIG_fail;
31014 }
31015 }
31016 {
31017 PyThreadState* __tstate = wxPyBeginAllowThreads();
31018 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
31019
31020 wxPyEndAllowThreads(__tstate);
31021 if (PyErr_Occurred()) SWIG_fail;
31022 }
31023 Py_INCREF(Py_None); resultobj = Py_None;
31024 return resultobj;
31025 fail:
31026 return NULL;
31027 }
31028
31029
31030 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
31031 PyObject *resultobj = NULL;
31032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31033 wxTreeItemId *arg2 = 0 ;
31034 PyObject * obj0 = 0 ;
31035 PyObject * obj1 = 0 ;
31036 char *kwnames[] = {
31037 (char *) "self",(char *) "item", NULL
31038 };
31039
31040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
31041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31042 if (SWIG_arg_fail(1)) SWIG_fail;
31043 {
31044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31045 if (SWIG_arg_fail(2)) SWIG_fail;
31046 if (arg2 == NULL) {
31047 SWIG_null_ref("wxTreeItemId");
31048 }
31049 if (SWIG_arg_fail(2)) SWIG_fail;
31050 }
31051 {
31052 PyThreadState* __tstate = wxPyBeginAllowThreads();
31053 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
31054
31055 wxPyEndAllowThreads(__tstate);
31056 if (PyErr_Occurred()) SWIG_fail;
31057 }
31058 Py_INCREF(Py_None); resultobj = Py_None;
31059 return resultobj;
31060 fail:
31061 return NULL;
31062 }
31063
31064
31065 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
31066 PyObject *resultobj = NULL;
31067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31068 wxPoint *arg2 = 0 ;
31069 int *arg3 = 0 ;
31070 wxTreeItemId result;
31071 wxPoint temp2 ;
31072 int temp3 ;
31073 int res3 = 0 ;
31074 PyObject * obj0 = 0 ;
31075 PyObject * obj1 = 0 ;
31076 char *kwnames[] = {
31077 (char *) "self",(char *) "point", NULL
31078 };
31079
31080 arg3 = &temp3; res3 = SWIG_NEWOBJ;
31081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
31082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail;
31084 {
31085 arg2 = &temp2;
31086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31087 }
31088 {
31089 PyThreadState* __tstate = wxPyBeginAllowThreads();
31090 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31091
31092 wxPyEndAllowThreads(__tstate);
31093 if (PyErr_Occurred()) SWIG_fail;
31094 }
31095 {
31096 wxTreeItemId * resultptr;
31097 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
31098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31099 }
31100 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31101 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
31102 return resultobj;
31103 fail:
31104 return NULL;
31105 }
31106
31107
31108 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj = NULL;
31110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31111 wxTreeItemId *arg2 = 0 ;
31112 bool arg3 = (bool) false ;
31113 PyObject *result;
31114 PyObject * obj0 = 0 ;
31115 PyObject * obj1 = 0 ;
31116 PyObject * obj2 = 0 ;
31117 char *kwnames[] = {
31118 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31119 };
31120
31121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
31122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31123 if (SWIG_arg_fail(1)) SWIG_fail;
31124 {
31125 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31126 if (SWIG_arg_fail(2)) SWIG_fail;
31127 if (arg2 == NULL) {
31128 SWIG_null_ref("wxTreeItemId");
31129 }
31130 if (SWIG_arg_fail(2)) SWIG_fail;
31131 }
31132 if (obj2) {
31133 {
31134 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
31135 if (SWIG_arg_fail(3)) SWIG_fail;
31136 }
31137 }
31138 {
31139 PyThreadState* __tstate = wxPyBeginAllowThreads();
31140 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31141
31142 wxPyEndAllowThreads(__tstate);
31143 if (PyErr_Occurred()) SWIG_fail;
31144 }
31145 resultobj = result;
31146 return resultobj;
31147 fail:
31148 return NULL;
31149 }
31150
31151
31152 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
31153 PyObject *resultobj = NULL;
31154 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31155 wxTreeItemId *arg2 = 0 ;
31156 int arg3 ;
31157 PyObject * obj0 = 0 ;
31158 PyObject * obj1 = 0 ;
31159 PyObject * obj2 = 0 ;
31160 char *kwnames[] = {
31161 (char *) "self",(char *) "node",(char *) "state", NULL
31162 };
31163
31164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
31165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail;
31167 {
31168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31169 if (SWIG_arg_fail(2)) SWIG_fail;
31170 if (arg2 == NULL) {
31171 SWIG_null_ref("wxTreeItemId");
31172 }
31173 if (SWIG_arg_fail(2)) SWIG_fail;
31174 }
31175 {
31176 arg3 = static_cast<int >(SWIG_As_int(obj2));
31177 if (SWIG_arg_fail(3)) SWIG_fail;
31178 }
31179 {
31180 PyThreadState* __tstate = wxPyBeginAllowThreads();
31181 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31182
31183 wxPyEndAllowThreads(__tstate);
31184 if (PyErr_Occurred()) SWIG_fail;
31185 }
31186 Py_INCREF(Py_None); resultobj = Py_None;
31187 return resultobj;
31188 fail:
31189 return NULL;
31190 }
31191
31192
31193 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
31194 PyObject *resultobj = NULL;
31195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31196 wxTreeItemId *arg2 = 0 ;
31197 int result;
31198 PyObject * obj0 = 0 ;
31199 PyObject * obj1 = 0 ;
31200 char *kwnames[] = {
31201 (char *) "self",(char *) "node", NULL
31202 };
31203
31204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
31205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail;
31207 {
31208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31209 if (SWIG_arg_fail(2)) SWIG_fail;
31210 if (arg2 == NULL) {
31211 SWIG_null_ref("wxTreeItemId");
31212 }
31213 if (SWIG_arg_fail(2)) SWIG_fail;
31214 }
31215 {
31216 PyThreadState* __tstate = wxPyBeginAllowThreads();
31217 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31218
31219 wxPyEndAllowThreads(__tstate);
31220 if (PyErr_Occurred()) SWIG_fail;
31221 }
31222 {
31223 resultobj = SWIG_From_int(static_cast<int >(result));
31224 }
31225 return resultobj;
31226 fail:
31227 return NULL;
31228 }
31229
31230
31231 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
31232 PyObject *resultobj = NULL;
31233 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31234 wxVisualAttributes result;
31235 PyObject * obj0 = 0 ;
31236 char *kwnames[] = {
31237 (char *) "variant", NULL
31238 };
31239
31240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31241 if (obj0) {
31242 {
31243 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
31244 if (SWIG_arg_fail(1)) SWIG_fail;
31245 }
31246 }
31247 {
31248 if (!wxPyCheckForApp()) SWIG_fail;
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 {
31256 wxVisualAttributes * resultptr;
31257 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
31258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31259 }
31260 return resultobj;
31261 fail:
31262 return NULL;
31263 }
31264
31265
31266 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
31267 PyObject *obj;
31268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31269 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31270 Py_INCREF(obj);
31271 return Py_BuildValue((char *)"");
31272 }
31273 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
31274 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31275 return 1;
31276 }
31277
31278
31279 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
31280 PyObject *pyobj = NULL;
31281
31282 {
31283 #if wxUSE_UNICODE
31284 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31285 #else
31286 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31287 #endif
31288 }
31289 return pyobj;
31290 }
31291
31292
31293 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31294 PyObject *resultobj = NULL;
31295 wxWindow *arg1 = (wxWindow *) 0 ;
31296 int arg2 = (int) (int)-1 ;
31297 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31298 wxString *arg3 = (wxString *) &arg3_defvalue ;
31299 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31300 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31301 wxSize const &arg5_defvalue = wxDefaultSize ;
31302 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31303 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31304 wxString const &arg7_defvalue = wxPyEmptyString ;
31305 wxString *arg7 = (wxString *) &arg7_defvalue ;
31306 int arg8 = (int) 0 ;
31307 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31308 wxString *arg9 = (wxString *) &arg9_defvalue ;
31309 wxGenericDirCtrl *result;
31310 bool temp3 = false ;
31311 wxPoint temp4 ;
31312 wxSize temp5 ;
31313 bool temp7 = false ;
31314 bool temp9 = false ;
31315 PyObject * obj0 = 0 ;
31316 PyObject * obj1 = 0 ;
31317 PyObject * obj2 = 0 ;
31318 PyObject * obj3 = 0 ;
31319 PyObject * obj4 = 0 ;
31320 PyObject * obj5 = 0 ;
31321 PyObject * obj6 = 0 ;
31322 PyObject * obj7 = 0 ;
31323 PyObject * obj8 = 0 ;
31324 char *kwnames[] = {
31325 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31326 };
31327
31328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31330 if (SWIG_arg_fail(1)) SWIG_fail;
31331 if (obj1) {
31332 {
31333 arg2 = static_cast<int const >(SWIG_As_int(obj1));
31334 if (SWIG_arg_fail(2)) SWIG_fail;
31335 }
31336 }
31337 if (obj2) {
31338 {
31339 arg3 = wxString_in_helper(obj2);
31340 if (arg3 == NULL) SWIG_fail;
31341 temp3 = true;
31342 }
31343 }
31344 if (obj3) {
31345 {
31346 arg4 = &temp4;
31347 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31348 }
31349 }
31350 if (obj4) {
31351 {
31352 arg5 = &temp5;
31353 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31354 }
31355 }
31356 if (obj5) {
31357 {
31358 arg6 = static_cast<long >(SWIG_As_long(obj5));
31359 if (SWIG_arg_fail(6)) SWIG_fail;
31360 }
31361 }
31362 if (obj6) {
31363 {
31364 arg7 = wxString_in_helper(obj6);
31365 if (arg7 == NULL) SWIG_fail;
31366 temp7 = true;
31367 }
31368 }
31369 if (obj7) {
31370 {
31371 arg8 = static_cast<int >(SWIG_As_int(obj7));
31372 if (SWIG_arg_fail(8)) SWIG_fail;
31373 }
31374 }
31375 if (obj8) {
31376 {
31377 arg9 = wxString_in_helper(obj8);
31378 if (arg9 == NULL) SWIG_fail;
31379 temp9 = true;
31380 }
31381 }
31382 {
31383 if (!wxPyCheckForApp()) SWIG_fail;
31384 PyThreadState* __tstate = wxPyBeginAllowThreads();
31385 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31386
31387 wxPyEndAllowThreads(__tstate);
31388 if (PyErr_Occurred()) SWIG_fail;
31389 }
31390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31391 {
31392 if (temp3)
31393 delete arg3;
31394 }
31395 {
31396 if (temp7)
31397 delete arg7;
31398 }
31399 {
31400 if (temp9)
31401 delete arg9;
31402 }
31403 return resultobj;
31404 fail:
31405 {
31406 if (temp3)
31407 delete arg3;
31408 }
31409 {
31410 if (temp7)
31411 delete arg7;
31412 }
31413 {
31414 if (temp9)
31415 delete arg9;
31416 }
31417 return NULL;
31418 }
31419
31420
31421 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31422 PyObject *resultobj = NULL;
31423 wxGenericDirCtrl *result;
31424 char *kwnames[] = {
31425 NULL
31426 };
31427
31428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31429 {
31430 if (!wxPyCheckForApp()) SWIG_fail;
31431 PyThreadState* __tstate = wxPyBeginAllowThreads();
31432 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31433
31434 wxPyEndAllowThreads(__tstate);
31435 if (PyErr_Occurred()) SWIG_fail;
31436 }
31437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31438 return resultobj;
31439 fail:
31440 return NULL;
31441 }
31442
31443
31444 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31445 PyObject *resultobj = NULL;
31446 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31447 wxWindow *arg2 = (wxWindow *) 0 ;
31448 int arg3 = (int) (int)-1 ;
31449 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31450 wxString *arg4 = (wxString *) &arg4_defvalue ;
31451 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31452 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31453 wxSize const &arg6_defvalue = wxDefaultSize ;
31454 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31455 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31456 wxString const &arg8_defvalue = wxPyEmptyString ;
31457 wxString *arg8 = (wxString *) &arg8_defvalue ;
31458 int arg9 = (int) 0 ;
31459 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31460 wxString *arg10 = (wxString *) &arg10_defvalue ;
31461 bool result;
31462 bool temp4 = false ;
31463 wxPoint temp5 ;
31464 wxSize temp6 ;
31465 bool temp8 = false ;
31466 bool temp10 = false ;
31467 PyObject * obj0 = 0 ;
31468 PyObject * obj1 = 0 ;
31469 PyObject * obj2 = 0 ;
31470 PyObject * obj3 = 0 ;
31471 PyObject * obj4 = 0 ;
31472 PyObject * obj5 = 0 ;
31473 PyObject * obj6 = 0 ;
31474 PyObject * obj7 = 0 ;
31475 PyObject * obj8 = 0 ;
31476 PyObject * obj9 = 0 ;
31477 char *kwnames[] = {
31478 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31479 };
31480
31481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31483 if (SWIG_arg_fail(1)) SWIG_fail;
31484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31485 if (SWIG_arg_fail(2)) SWIG_fail;
31486 if (obj2) {
31487 {
31488 arg3 = static_cast<int const >(SWIG_As_int(obj2));
31489 if (SWIG_arg_fail(3)) SWIG_fail;
31490 }
31491 }
31492 if (obj3) {
31493 {
31494 arg4 = wxString_in_helper(obj3);
31495 if (arg4 == NULL) SWIG_fail;
31496 temp4 = true;
31497 }
31498 }
31499 if (obj4) {
31500 {
31501 arg5 = &temp5;
31502 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31503 }
31504 }
31505 if (obj5) {
31506 {
31507 arg6 = &temp6;
31508 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31509 }
31510 }
31511 if (obj6) {
31512 {
31513 arg7 = static_cast<long >(SWIG_As_long(obj6));
31514 if (SWIG_arg_fail(7)) SWIG_fail;
31515 }
31516 }
31517 if (obj7) {
31518 {
31519 arg8 = wxString_in_helper(obj7);
31520 if (arg8 == NULL) SWIG_fail;
31521 temp8 = true;
31522 }
31523 }
31524 if (obj8) {
31525 {
31526 arg9 = static_cast<int >(SWIG_As_int(obj8));
31527 if (SWIG_arg_fail(9)) SWIG_fail;
31528 }
31529 }
31530 if (obj9) {
31531 {
31532 arg10 = wxString_in_helper(obj9);
31533 if (arg10 == NULL) SWIG_fail;
31534 temp10 = true;
31535 }
31536 }
31537 {
31538 PyThreadState* __tstate = wxPyBeginAllowThreads();
31539 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31540
31541 wxPyEndAllowThreads(__tstate);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 }
31544 {
31545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31546 }
31547 {
31548 if (temp4)
31549 delete arg4;
31550 }
31551 {
31552 if (temp8)
31553 delete arg8;
31554 }
31555 {
31556 if (temp10)
31557 delete arg10;
31558 }
31559 return resultobj;
31560 fail:
31561 {
31562 if (temp4)
31563 delete arg4;
31564 }
31565 {
31566 if (temp8)
31567 delete arg8;
31568 }
31569 {
31570 if (temp10)
31571 delete arg10;
31572 }
31573 return NULL;
31574 }
31575
31576
31577 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31578 PyObject *resultobj = NULL;
31579 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31580 wxString *arg2 = 0 ;
31581 bool result;
31582 bool temp2 = false ;
31583 PyObject * obj0 = 0 ;
31584 PyObject * obj1 = 0 ;
31585 char *kwnames[] = {
31586 (char *) "self",(char *) "path", NULL
31587 };
31588
31589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31591 if (SWIG_arg_fail(1)) SWIG_fail;
31592 {
31593 arg2 = wxString_in_helper(obj1);
31594 if (arg2 == NULL) SWIG_fail;
31595 temp2 = true;
31596 }
31597 {
31598 PyThreadState* __tstate = wxPyBeginAllowThreads();
31599 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31600
31601 wxPyEndAllowThreads(__tstate);
31602 if (PyErr_Occurred()) SWIG_fail;
31603 }
31604 {
31605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31606 }
31607 {
31608 if (temp2)
31609 delete arg2;
31610 }
31611 return resultobj;
31612 fail:
31613 {
31614 if (temp2)
31615 delete arg2;
31616 }
31617 return NULL;
31618 }
31619
31620
31621 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31622 PyObject *resultobj = NULL;
31623 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31624 wxString result;
31625 PyObject * obj0 = 0 ;
31626 char *kwnames[] = {
31627 (char *) "self", NULL
31628 };
31629
31630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31632 if (SWIG_arg_fail(1)) SWIG_fail;
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 {
31641 #if wxUSE_UNICODE
31642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31643 #else
31644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31645 #endif
31646 }
31647 return resultobj;
31648 fail:
31649 return NULL;
31650 }
31651
31652
31653 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31654 PyObject *resultobj = NULL;
31655 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31656 wxString *arg2 = 0 ;
31657 bool temp2 = false ;
31658 PyObject * obj0 = 0 ;
31659 PyObject * obj1 = 0 ;
31660 char *kwnames[] = {
31661 (char *) "self",(char *) "path", NULL
31662 };
31663
31664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31666 if (SWIG_arg_fail(1)) SWIG_fail;
31667 {
31668 arg2 = wxString_in_helper(obj1);
31669 if (arg2 == NULL) SWIG_fail;
31670 temp2 = true;
31671 }
31672 {
31673 PyThreadState* __tstate = wxPyBeginAllowThreads();
31674 (arg1)->SetDefaultPath((wxString const &)*arg2);
31675
31676 wxPyEndAllowThreads(__tstate);
31677 if (PyErr_Occurred()) SWIG_fail;
31678 }
31679 Py_INCREF(Py_None); resultobj = Py_None;
31680 {
31681 if (temp2)
31682 delete arg2;
31683 }
31684 return resultobj;
31685 fail:
31686 {
31687 if (temp2)
31688 delete arg2;
31689 }
31690 return NULL;
31691 }
31692
31693
31694 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31695 PyObject *resultobj = NULL;
31696 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31697 wxString result;
31698 PyObject * obj0 = 0 ;
31699 char *kwnames[] = {
31700 (char *) "self", NULL
31701 };
31702
31703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail;
31706 {
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31709
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 {
31714 #if wxUSE_UNICODE
31715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31716 #else
31717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31718 #endif
31719 }
31720 return resultobj;
31721 fail:
31722 return NULL;
31723 }
31724
31725
31726 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31727 PyObject *resultobj = NULL;
31728 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31729 wxString result;
31730 PyObject * obj0 = 0 ;
31731 char *kwnames[] = {
31732 (char *) "self", NULL
31733 };
31734
31735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail;
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31741
31742 wxPyEndAllowThreads(__tstate);
31743 if (PyErr_Occurred()) SWIG_fail;
31744 }
31745 {
31746 #if wxUSE_UNICODE
31747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31748 #else
31749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31750 #endif
31751 }
31752 return resultobj;
31753 fail:
31754 return NULL;
31755 }
31756
31757
31758 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31759 PyObject *resultobj = NULL;
31760 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31761 wxString *arg2 = 0 ;
31762 bool temp2 = false ;
31763 PyObject * obj0 = 0 ;
31764 PyObject * obj1 = 0 ;
31765 char *kwnames[] = {
31766 (char *) "self",(char *) "path", NULL
31767 };
31768
31769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail;
31772 {
31773 arg2 = wxString_in_helper(obj1);
31774 if (arg2 == NULL) SWIG_fail;
31775 temp2 = true;
31776 }
31777 {
31778 PyThreadState* __tstate = wxPyBeginAllowThreads();
31779 (arg1)->SetPath((wxString const &)*arg2);
31780
31781 wxPyEndAllowThreads(__tstate);
31782 if (PyErr_Occurred()) SWIG_fail;
31783 }
31784 Py_INCREF(Py_None); resultobj = Py_None;
31785 {
31786 if (temp2)
31787 delete arg2;
31788 }
31789 return resultobj;
31790 fail:
31791 {
31792 if (temp2)
31793 delete arg2;
31794 }
31795 return NULL;
31796 }
31797
31798
31799 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31800 PyObject *resultobj = NULL;
31801 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31802 bool arg2 ;
31803 PyObject * obj0 = 0 ;
31804 PyObject * obj1 = 0 ;
31805 char *kwnames[] = {
31806 (char *) "self",(char *) "show", NULL
31807 };
31808
31809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31811 if (SWIG_arg_fail(1)) SWIG_fail;
31812 {
31813 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
31814 if (SWIG_arg_fail(2)) SWIG_fail;
31815 }
31816 {
31817 PyThreadState* __tstate = wxPyBeginAllowThreads();
31818 (arg1)->ShowHidden(arg2);
31819
31820 wxPyEndAllowThreads(__tstate);
31821 if (PyErr_Occurred()) SWIG_fail;
31822 }
31823 Py_INCREF(Py_None); resultobj = Py_None;
31824 return resultobj;
31825 fail:
31826 return NULL;
31827 }
31828
31829
31830 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31831 PyObject *resultobj = NULL;
31832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31833 bool result;
31834 PyObject * obj0 = 0 ;
31835 char *kwnames[] = {
31836 (char *) "self", NULL
31837 };
31838
31839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31841 if (SWIG_arg_fail(1)) SWIG_fail;
31842 {
31843 PyThreadState* __tstate = wxPyBeginAllowThreads();
31844 result = (bool)(arg1)->GetShowHidden();
31845
31846 wxPyEndAllowThreads(__tstate);
31847 if (PyErr_Occurred()) SWIG_fail;
31848 }
31849 {
31850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31851 }
31852 return resultobj;
31853 fail:
31854 return NULL;
31855 }
31856
31857
31858 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31859 PyObject *resultobj = NULL;
31860 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31861 wxString result;
31862 PyObject * obj0 = 0 ;
31863 char *kwnames[] = {
31864 (char *) "self", NULL
31865 };
31866
31867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31869 if (SWIG_arg_fail(1)) SWIG_fail;
31870 {
31871 PyThreadState* __tstate = wxPyBeginAllowThreads();
31872 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31873
31874 wxPyEndAllowThreads(__tstate);
31875 if (PyErr_Occurred()) SWIG_fail;
31876 }
31877 {
31878 #if wxUSE_UNICODE
31879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31880 #else
31881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31882 #endif
31883 }
31884 return resultobj;
31885 fail:
31886 return NULL;
31887 }
31888
31889
31890 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31891 PyObject *resultobj = NULL;
31892 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31893 wxString *arg2 = 0 ;
31894 bool temp2 = false ;
31895 PyObject * obj0 = 0 ;
31896 PyObject * obj1 = 0 ;
31897 char *kwnames[] = {
31898 (char *) "self",(char *) "filter", NULL
31899 };
31900
31901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31903 if (SWIG_arg_fail(1)) SWIG_fail;
31904 {
31905 arg2 = wxString_in_helper(obj1);
31906 if (arg2 == NULL) SWIG_fail;
31907 temp2 = true;
31908 }
31909 {
31910 PyThreadState* __tstate = wxPyBeginAllowThreads();
31911 (arg1)->SetFilter((wxString const &)*arg2);
31912
31913 wxPyEndAllowThreads(__tstate);
31914 if (PyErr_Occurred()) SWIG_fail;
31915 }
31916 Py_INCREF(Py_None); resultobj = Py_None;
31917 {
31918 if (temp2)
31919 delete arg2;
31920 }
31921 return resultobj;
31922 fail:
31923 {
31924 if (temp2)
31925 delete arg2;
31926 }
31927 return NULL;
31928 }
31929
31930
31931 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31932 PyObject *resultobj = NULL;
31933 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31934 int result;
31935 PyObject * obj0 = 0 ;
31936 char *kwnames[] = {
31937 (char *) "self", NULL
31938 };
31939
31940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31942 if (SWIG_arg_fail(1)) SWIG_fail;
31943 {
31944 PyThreadState* __tstate = wxPyBeginAllowThreads();
31945 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31946
31947 wxPyEndAllowThreads(__tstate);
31948 if (PyErr_Occurred()) SWIG_fail;
31949 }
31950 {
31951 resultobj = SWIG_From_int(static_cast<int >(result));
31952 }
31953 return resultobj;
31954 fail:
31955 return NULL;
31956 }
31957
31958
31959 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31960 PyObject *resultobj = NULL;
31961 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31962 int arg2 ;
31963 PyObject * obj0 = 0 ;
31964 PyObject * obj1 = 0 ;
31965 char *kwnames[] = {
31966 (char *) "self",(char *) "n", NULL
31967 };
31968
31969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31971 if (SWIG_arg_fail(1)) SWIG_fail;
31972 {
31973 arg2 = static_cast<int >(SWIG_As_int(obj1));
31974 if (SWIG_arg_fail(2)) SWIG_fail;
31975 }
31976 {
31977 PyThreadState* __tstate = wxPyBeginAllowThreads();
31978 (arg1)->SetFilterIndex(arg2);
31979
31980 wxPyEndAllowThreads(__tstate);
31981 if (PyErr_Occurred()) SWIG_fail;
31982 }
31983 Py_INCREF(Py_None); resultobj = Py_None;
31984 return resultobj;
31985 fail:
31986 return NULL;
31987 }
31988
31989
31990 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31991 PyObject *resultobj = NULL;
31992 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31993 wxTreeItemId result;
31994 PyObject * obj0 = 0 ;
31995 char *kwnames[] = {
31996 (char *) "self", NULL
31997 };
31998
31999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
32000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32001 if (SWIG_arg_fail(1)) SWIG_fail;
32002 {
32003 PyThreadState* __tstate = wxPyBeginAllowThreads();
32004 result = (arg1)->GetRootId();
32005
32006 wxPyEndAllowThreads(__tstate);
32007 if (PyErr_Occurred()) SWIG_fail;
32008 }
32009 {
32010 wxTreeItemId * resultptr;
32011 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
32012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32013 }
32014 return resultobj;
32015 fail:
32016 return NULL;
32017 }
32018
32019
32020 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32021 PyObject *resultobj = NULL;
32022 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32023 wxPyTreeCtrl *result;
32024 PyObject * obj0 = 0 ;
32025 char *kwnames[] = {
32026 (char *) "self", NULL
32027 };
32028
32029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
32030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32031 if (SWIG_arg_fail(1)) SWIG_fail;
32032 {
32033 PyThreadState* __tstate = wxPyBeginAllowThreads();
32034 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
32035
32036 wxPyEndAllowThreads(__tstate);
32037 if (PyErr_Occurred()) SWIG_fail;
32038 }
32039 {
32040 resultobj = wxPyMake_wxObject(result, 0);
32041 }
32042 return resultobj;
32043 fail:
32044 return NULL;
32045 }
32046
32047
32048 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32049 PyObject *resultobj = NULL;
32050 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32051 wxDirFilterListCtrl *result;
32052 PyObject * obj0 = 0 ;
32053 char *kwnames[] = {
32054 (char *) "self", NULL
32055 };
32056
32057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
32058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32059 if (SWIG_arg_fail(1)) SWIG_fail;
32060 {
32061 PyThreadState* __tstate = wxPyBeginAllowThreads();
32062 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
32063
32064 wxPyEndAllowThreads(__tstate);
32065 if (PyErr_Occurred()) SWIG_fail;
32066 }
32067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
32068 return resultobj;
32069 fail:
32070 return NULL;
32071 }
32072
32073
32074 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
32075 PyObject *resultobj = NULL;
32076 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32077 wxTreeItemId arg2 ;
32078 wxString *arg3 = 0 ;
32079 bool *arg4 = 0 ;
32080 wxTreeItemId result;
32081 bool temp3 = false ;
32082 bool temp4 ;
32083 int res4 = 0 ;
32084 PyObject * obj0 = 0 ;
32085 PyObject * obj1 = 0 ;
32086 PyObject * obj2 = 0 ;
32087 char *kwnames[] = {
32088 (char *) "self",(char *) "parentId",(char *) "path", NULL
32089 };
32090
32091 arg4 = &temp4; res4 = SWIG_NEWOBJ;
32092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
32093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32094 if (SWIG_arg_fail(1)) SWIG_fail;
32095 {
32096 wxTreeItemId * argp;
32097 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
32098 if (SWIG_arg_fail(2)) SWIG_fail;
32099 if (argp == NULL) {
32100 SWIG_null_ref("wxTreeItemId");
32101 }
32102 if (SWIG_arg_fail(2)) SWIG_fail;
32103 arg2 = *argp;
32104 }
32105 {
32106 arg3 = wxString_in_helper(obj2);
32107 if (arg3 == NULL) SWIG_fail;
32108 temp3 = true;
32109 }
32110 {
32111 PyThreadState* __tstate = wxPyBeginAllowThreads();
32112 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
32113
32114 wxPyEndAllowThreads(__tstate);
32115 if (PyErr_Occurred()) SWIG_fail;
32116 }
32117 {
32118 wxTreeItemId * resultptr;
32119 resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result));
32120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32121 }
32122 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32123 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
32124 {
32125 if (temp3)
32126 delete arg3;
32127 }
32128 return resultobj;
32129 fail:
32130 {
32131 if (temp3)
32132 delete arg3;
32133 }
32134 return NULL;
32135 }
32136
32137
32138 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
32139 PyObject *resultobj = NULL;
32140 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32141 PyObject * obj0 = 0 ;
32142 char *kwnames[] = {
32143 (char *) "self", NULL
32144 };
32145
32146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
32147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32148 if (SWIG_arg_fail(1)) SWIG_fail;
32149 {
32150 PyThreadState* __tstate = wxPyBeginAllowThreads();
32151 (arg1)->DoResize();
32152
32153 wxPyEndAllowThreads(__tstate);
32154 if (PyErr_Occurred()) SWIG_fail;
32155 }
32156 Py_INCREF(Py_None); resultobj = Py_None;
32157 return resultobj;
32158 fail:
32159 return NULL;
32160 }
32161
32162
32163 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
32164 PyObject *resultobj = NULL;
32165 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32166 PyObject * obj0 = 0 ;
32167 char *kwnames[] = {
32168 (char *) "self", NULL
32169 };
32170
32171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
32172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32173 if (SWIG_arg_fail(1)) SWIG_fail;
32174 {
32175 PyThreadState* __tstate = wxPyBeginAllowThreads();
32176 (arg1)->ReCreateTree();
32177
32178 wxPyEndAllowThreads(__tstate);
32179 if (PyErr_Occurred()) SWIG_fail;
32180 }
32181 Py_INCREF(Py_None); resultobj = Py_None;
32182 return resultobj;
32183 fail:
32184 return NULL;
32185 }
32186
32187
32188 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
32189 PyObject *obj;
32190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32191 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32192 Py_INCREF(obj);
32193 return Py_BuildValue((char *)"");
32194 }
32195 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32196 PyObject *resultobj = NULL;
32197 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32198 int arg2 = (int) (int)-1 ;
32199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32201 wxSize const &arg4_defvalue = wxDefaultSize ;
32202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32203 long arg5 = (long) 0 ;
32204 wxDirFilterListCtrl *result;
32205 wxPoint temp3 ;
32206 wxSize temp4 ;
32207 PyObject * obj0 = 0 ;
32208 PyObject * obj1 = 0 ;
32209 PyObject * obj2 = 0 ;
32210 PyObject * obj3 = 0 ;
32211 PyObject * obj4 = 0 ;
32212 char *kwnames[] = {
32213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32214 };
32215
32216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32218 if (SWIG_arg_fail(1)) SWIG_fail;
32219 if (obj1) {
32220 {
32221 arg2 = static_cast<int const >(SWIG_As_int(obj1));
32222 if (SWIG_arg_fail(2)) SWIG_fail;
32223 }
32224 }
32225 if (obj2) {
32226 {
32227 arg3 = &temp3;
32228 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32229 }
32230 }
32231 if (obj3) {
32232 {
32233 arg4 = &temp4;
32234 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32235 }
32236 }
32237 if (obj4) {
32238 {
32239 arg5 = static_cast<long >(SWIG_As_long(obj4));
32240 if (SWIG_arg_fail(5)) SWIG_fail;
32241 }
32242 }
32243 {
32244 if (!wxPyCheckForApp()) SWIG_fail;
32245 PyThreadState* __tstate = wxPyBeginAllowThreads();
32246 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32247
32248 wxPyEndAllowThreads(__tstate);
32249 if (PyErr_Occurred()) SWIG_fail;
32250 }
32251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32252 return resultobj;
32253 fail:
32254 return NULL;
32255 }
32256
32257
32258 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32259 PyObject *resultobj = NULL;
32260 wxDirFilterListCtrl *result;
32261 char *kwnames[] = {
32262 NULL
32263 };
32264
32265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32266 {
32267 if (!wxPyCheckForApp()) SWIG_fail;
32268 PyThreadState* __tstate = wxPyBeginAllowThreads();
32269 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32270
32271 wxPyEndAllowThreads(__tstate);
32272 if (PyErr_Occurred()) SWIG_fail;
32273 }
32274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32275 return resultobj;
32276 fail:
32277 return NULL;
32278 }
32279
32280
32281 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32282 PyObject *resultobj = NULL;
32283 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32284 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32285 int arg3 = (int) (int)-1 ;
32286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32288 wxSize const &arg5_defvalue = wxDefaultSize ;
32289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32290 long arg6 = (long) 0 ;
32291 bool result;
32292 wxPoint temp4 ;
32293 wxSize temp5 ;
32294 PyObject * obj0 = 0 ;
32295 PyObject * obj1 = 0 ;
32296 PyObject * obj2 = 0 ;
32297 PyObject * obj3 = 0 ;
32298 PyObject * obj4 = 0 ;
32299 PyObject * obj5 = 0 ;
32300 char *kwnames[] = {
32301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32302 };
32303
32304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32306 if (SWIG_arg_fail(1)) SWIG_fail;
32307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32308 if (SWIG_arg_fail(2)) SWIG_fail;
32309 if (obj2) {
32310 {
32311 arg3 = static_cast<int const >(SWIG_As_int(obj2));
32312 if (SWIG_arg_fail(3)) SWIG_fail;
32313 }
32314 }
32315 if (obj3) {
32316 {
32317 arg4 = &temp4;
32318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32319 }
32320 }
32321 if (obj4) {
32322 {
32323 arg5 = &temp5;
32324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32325 }
32326 }
32327 if (obj5) {
32328 {
32329 arg6 = static_cast<long >(SWIG_As_long(obj5));
32330 if (SWIG_arg_fail(6)) SWIG_fail;
32331 }
32332 }
32333 {
32334 PyThreadState* __tstate = wxPyBeginAllowThreads();
32335 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32336
32337 wxPyEndAllowThreads(__tstate);
32338 if (PyErr_Occurred()) SWIG_fail;
32339 }
32340 {
32341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32342 }
32343 return resultobj;
32344 fail:
32345 return NULL;
32346 }
32347
32348
32349 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32350 PyObject *resultobj = NULL;
32351 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32352 wxString *arg2 = 0 ;
32353 int arg3 ;
32354 bool temp2 = false ;
32355 PyObject * obj0 = 0 ;
32356 PyObject * obj1 = 0 ;
32357 PyObject * obj2 = 0 ;
32358 char *kwnames[] = {
32359 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32360 };
32361
32362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32364 if (SWIG_arg_fail(1)) SWIG_fail;
32365 {
32366 arg2 = wxString_in_helper(obj1);
32367 if (arg2 == NULL) SWIG_fail;
32368 temp2 = true;
32369 }
32370 {
32371 arg3 = static_cast<int >(SWIG_As_int(obj2));
32372 if (SWIG_arg_fail(3)) SWIG_fail;
32373 }
32374 {
32375 PyThreadState* __tstate = wxPyBeginAllowThreads();
32376 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32377
32378 wxPyEndAllowThreads(__tstate);
32379 if (PyErr_Occurred()) SWIG_fail;
32380 }
32381 Py_INCREF(Py_None); resultobj = Py_None;
32382 {
32383 if (temp2)
32384 delete arg2;
32385 }
32386 return resultobj;
32387 fail:
32388 {
32389 if (temp2)
32390 delete arg2;
32391 }
32392 return NULL;
32393 }
32394
32395
32396 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32397 PyObject *obj;
32398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32399 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32400 Py_INCREF(obj);
32401 return Py_BuildValue((char *)"");
32402 }
32403 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32404 PyObject *resultobj = NULL;
32405 wxWindow *arg1 = (wxWindow *) 0 ;
32406 int arg2 = (int) (int)-1 ;
32407 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32408 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32409 wxSize const &arg4_defvalue = wxDefaultSize ;
32410 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32411 long arg5 = (long) 0 ;
32412 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32413 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32414 wxString const &arg7_defvalue = wxPyControlNameStr ;
32415 wxString *arg7 = (wxString *) &arg7_defvalue ;
32416 wxPyControl *result;
32417 wxPoint temp3 ;
32418 wxSize temp4 ;
32419 bool temp7 = false ;
32420 PyObject * obj0 = 0 ;
32421 PyObject * obj1 = 0 ;
32422 PyObject * obj2 = 0 ;
32423 PyObject * obj3 = 0 ;
32424 PyObject * obj4 = 0 ;
32425 PyObject * obj5 = 0 ;
32426 PyObject * obj6 = 0 ;
32427 char *kwnames[] = {
32428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32429 };
32430
32431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32433 if (SWIG_arg_fail(1)) SWIG_fail;
32434 if (obj1) {
32435 {
32436 arg2 = static_cast<int const >(SWIG_As_int(obj1));
32437 if (SWIG_arg_fail(2)) SWIG_fail;
32438 }
32439 }
32440 if (obj2) {
32441 {
32442 arg3 = &temp3;
32443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32444 }
32445 }
32446 if (obj3) {
32447 {
32448 arg4 = &temp4;
32449 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32450 }
32451 }
32452 if (obj4) {
32453 {
32454 arg5 = static_cast<long >(SWIG_As_long(obj4));
32455 if (SWIG_arg_fail(5)) SWIG_fail;
32456 }
32457 }
32458 if (obj5) {
32459 {
32460 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32461 if (SWIG_arg_fail(6)) SWIG_fail;
32462 if (arg6 == NULL) {
32463 SWIG_null_ref("wxValidator");
32464 }
32465 if (SWIG_arg_fail(6)) SWIG_fail;
32466 }
32467 }
32468 if (obj6) {
32469 {
32470 arg7 = wxString_in_helper(obj6);
32471 if (arg7 == NULL) SWIG_fail;
32472 temp7 = true;
32473 }
32474 }
32475 {
32476 if (!wxPyCheckForApp()) SWIG_fail;
32477 PyThreadState* __tstate = wxPyBeginAllowThreads();
32478 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32479
32480 wxPyEndAllowThreads(__tstate);
32481 if (PyErr_Occurred()) SWIG_fail;
32482 }
32483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32484 {
32485 if (temp7)
32486 delete arg7;
32487 }
32488 return resultobj;
32489 fail:
32490 {
32491 if (temp7)
32492 delete arg7;
32493 }
32494 return NULL;
32495 }
32496
32497
32498 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32499 PyObject *resultobj = NULL;
32500 wxPyControl *result;
32501 char *kwnames[] = {
32502 NULL
32503 };
32504
32505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32506 {
32507 if (!wxPyCheckForApp()) SWIG_fail;
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 result = (wxPyControl *)new wxPyControl();
32510
32511 wxPyEndAllowThreads(__tstate);
32512 if (PyErr_Occurred()) SWIG_fail;
32513 }
32514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32515 return resultobj;
32516 fail:
32517 return NULL;
32518 }
32519
32520
32521 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32522 PyObject *resultobj = NULL;
32523 wxPyControl *arg1 = (wxPyControl *) 0 ;
32524 PyObject *arg2 = (PyObject *) 0 ;
32525 PyObject *arg3 = (PyObject *) 0 ;
32526 PyObject * obj0 = 0 ;
32527 PyObject * obj1 = 0 ;
32528 PyObject * obj2 = 0 ;
32529 char *kwnames[] = {
32530 (char *) "self",(char *) "self",(char *) "_class", NULL
32531 };
32532
32533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32535 if (SWIG_arg_fail(1)) SWIG_fail;
32536 arg2 = obj1;
32537 arg3 = obj2;
32538 {
32539 PyThreadState* __tstate = wxPyBeginAllowThreads();
32540 (arg1)->_setCallbackInfo(arg2,arg3);
32541
32542 wxPyEndAllowThreads(__tstate);
32543 if (PyErr_Occurred()) SWIG_fail;
32544 }
32545 Py_INCREF(Py_None); resultobj = Py_None;
32546 return resultobj;
32547 fail:
32548 return NULL;
32549 }
32550
32551
32552 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32553 PyObject *resultobj = NULL;
32554 wxPyControl *arg1 = (wxPyControl *) 0 ;
32555 wxSize *arg2 = 0 ;
32556 wxSize temp2 ;
32557 PyObject * obj0 = 0 ;
32558 PyObject * obj1 = 0 ;
32559 char *kwnames[] = {
32560 (char *) "self",(char *) "size", NULL
32561 };
32562
32563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32565 if (SWIG_arg_fail(1)) SWIG_fail;
32566 {
32567 arg2 = &temp2;
32568 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32569 }
32570 {
32571 PyThreadState* __tstate = wxPyBeginAllowThreads();
32572 (arg1)->SetBestSize((wxSize const &)*arg2);
32573
32574 wxPyEndAllowThreads(__tstate);
32575 if (PyErr_Occurred()) SWIG_fail;
32576 }
32577 Py_INCREF(Py_None); resultobj = Py_None;
32578 return resultobj;
32579 fail:
32580 return NULL;
32581 }
32582
32583
32584 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32585 PyObject *resultobj = NULL;
32586 wxPyControl *arg1 = (wxPyControl *) 0 ;
32587 wxDC *arg2 = (wxDC *) 0 ;
32588 bool result;
32589 PyObject * obj0 = 0 ;
32590 PyObject * obj1 = 0 ;
32591 char *kwnames[] = {
32592 (char *) "self",(char *) "dc", NULL
32593 };
32594
32595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32597 if (SWIG_arg_fail(1)) SWIG_fail;
32598 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32599 if (SWIG_arg_fail(2)) SWIG_fail;
32600 {
32601 PyThreadState* __tstate = wxPyBeginAllowThreads();
32602 result = (bool)(arg1)->DoEraseBackground(arg2);
32603
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 {
32608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32609 }
32610 return resultobj;
32611 fail:
32612 return NULL;
32613 }
32614
32615
32616 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32617 PyObject *resultobj = NULL;
32618 wxPyControl *arg1 = (wxPyControl *) 0 ;
32619 int arg2 ;
32620 int arg3 ;
32621 int arg4 ;
32622 int arg5 ;
32623 PyObject * obj0 = 0 ;
32624 PyObject * obj1 = 0 ;
32625 PyObject * obj2 = 0 ;
32626 PyObject * obj3 = 0 ;
32627 PyObject * obj4 = 0 ;
32628 char *kwnames[] = {
32629 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32630 };
32631
32632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32634 if (SWIG_arg_fail(1)) SWIG_fail;
32635 {
32636 arg2 = static_cast<int >(SWIG_As_int(obj1));
32637 if (SWIG_arg_fail(2)) SWIG_fail;
32638 }
32639 {
32640 arg3 = static_cast<int >(SWIG_As_int(obj2));
32641 if (SWIG_arg_fail(3)) SWIG_fail;
32642 }
32643 {
32644 arg4 = static_cast<int >(SWIG_As_int(obj3));
32645 if (SWIG_arg_fail(4)) SWIG_fail;
32646 }
32647 {
32648 arg5 = static_cast<int >(SWIG_As_int(obj4));
32649 if (SWIG_arg_fail(5)) SWIG_fail;
32650 }
32651 {
32652 PyThreadState* __tstate = wxPyBeginAllowThreads();
32653 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32654
32655 wxPyEndAllowThreads(__tstate);
32656 if (PyErr_Occurred()) SWIG_fail;
32657 }
32658 Py_INCREF(Py_None); resultobj = Py_None;
32659 return resultobj;
32660 fail:
32661 return NULL;
32662 }
32663
32664
32665 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32666 PyObject *resultobj = NULL;
32667 wxPyControl *arg1 = (wxPyControl *) 0 ;
32668 int arg2 ;
32669 int arg3 ;
32670 int arg4 ;
32671 int arg5 ;
32672 int arg6 = (int) wxSIZE_AUTO ;
32673 PyObject * obj0 = 0 ;
32674 PyObject * obj1 = 0 ;
32675 PyObject * obj2 = 0 ;
32676 PyObject * obj3 = 0 ;
32677 PyObject * obj4 = 0 ;
32678 PyObject * obj5 = 0 ;
32679 char *kwnames[] = {
32680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32681 };
32682
32683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32685 if (SWIG_arg_fail(1)) SWIG_fail;
32686 {
32687 arg2 = static_cast<int >(SWIG_As_int(obj1));
32688 if (SWIG_arg_fail(2)) SWIG_fail;
32689 }
32690 {
32691 arg3 = static_cast<int >(SWIG_As_int(obj2));
32692 if (SWIG_arg_fail(3)) SWIG_fail;
32693 }
32694 {
32695 arg4 = static_cast<int >(SWIG_As_int(obj3));
32696 if (SWIG_arg_fail(4)) SWIG_fail;
32697 }
32698 {
32699 arg5 = static_cast<int >(SWIG_As_int(obj4));
32700 if (SWIG_arg_fail(5)) SWIG_fail;
32701 }
32702 if (obj5) {
32703 {
32704 arg6 = static_cast<int >(SWIG_As_int(obj5));
32705 if (SWIG_arg_fail(6)) SWIG_fail;
32706 }
32707 }
32708 {
32709 PyThreadState* __tstate = wxPyBeginAllowThreads();
32710 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32711
32712 wxPyEndAllowThreads(__tstate);
32713 if (PyErr_Occurred()) SWIG_fail;
32714 }
32715 Py_INCREF(Py_None); resultobj = Py_None;
32716 return resultobj;
32717 fail:
32718 return NULL;
32719 }
32720
32721
32722 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32723 PyObject *resultobj = NULL;
32724 wxPyControl *arg1 = (wxPyControl *) 0 ;
32725 int arg2 ;
32726 int arg3 ;
32727 PyObject * obj0 = 0 ;
32728 PyObject * obj1 = 0 ;
32729 PyObject * obj2 = 0 ;
32730 char *kwnames[] = {
32731 (char *) "self",(char *) "width",(char *) "height", NULL
32732 };
32733
32734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32736 if (SWIG_arg_fail(1)) SWIG_fail;
32737 {
32738 arg2 = static_cast<int >(SWIG_As_int(obj1));
32739 if (SWIG_arg_fail(2)) SWIG_fail;
32740 }
32741 {
32742 arg3 = static_cast<int >(SWIG_As_int(obj2));
32743 if (SWIG_arg_fail(3)) SWIG_fail;
32744 }
32745 {
32746 PyThreadState* __tstate = wxPyBeginAllowThreads();
32747 (arg1)->base_DoSetClientSize(arg2,arg3);
32748
32749 wxPyEndAllowThreads(__tstate);
32750 if (PyErr_Occurred()) SWIG_fail;
32751 }
32752 Py_INCREF(Py_None); resultobj = Py_None;
32753 return resultobj;
32754 fail:
32755 return NULL;
32756 }
32757
32758
32759 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32760 PyObject *resultobj = NULL;
32761 wxPyControl *arg1 = (wxPyControl *) 0 ;
32762 int arg2 ;
32763 int arg3 ;
32764 PyObject * obj0 = 0 ;
32765 PyObject * obj1 = 0 ;
32766 PyObject * obj2 = 0 ;
32767 char *kwnames[] = {
32768 (char *) "self",(char *) "x",(char *) "y", NULL
32769 };
32770
32771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32773 if (SWIG_arg_fail(1)) SWIG_fail;
32774 {
32775 arg2 = static_cast<int >(SWIG_As_int(obj1));
32776 if (SWIG_arg_fail(2)) SWIG_fail;
32777 }
32778 {
32779 arg3 = static_cast<int >(SWIG_As_int(obj2));
32780 if (SWIG_arg_fail(3)) SWIG_fail;
32781 }
32782 {
32783 PyThreadState* __tstate = wxPyBeginAllowThreads();
32784 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32785
32786 wxPyEndAllowThreads(__tstate);
32787 if (PyErr_Occurred()) SWIG_fail;
32788 }
32789 Py_INCREF(Py_None); resultobj = Py_None;
32790 return resultobj;
32791 fail:
32792 return NULL;
32793 }
32794
32795
32796 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32797 PyObject *resultobj = NULL;
32798 wxPyControl *arg1 = (wxPyControl *) 0 ;
32799 int *arg2 = (int *) 0 ;
32800 int *arg3 = (int *) 0 ;
32801 int temp2 ;
32802 int res2 = 0 ;
32803 int temp3 ;
32804 int res3 = 0 ;
32805 PyObject * obj0 = 0 ;
32806 char *kwnames[] = {
32807 (char *) "self", NULL
32808 };
32809
32810 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32811 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32814 if (SWIG_arg_fail(1)) SWIG_fail;
32815 {
32816 PyThreadState* __tstate = wxPyBeginAllowThreads();
32817 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32818
32819 wxPyEndAllowThreads(__tstate);
32820 if (PyErr_Occurred()) SWIG_fail;
32821 }
32822 Py_INCREF(Py_None); resultobj = Py_None;
32823 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32824 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32825 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32826 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32827 return resultobj;
32828 fail:
32829 return NULL;
32830 }
32831
32832
32833 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32834 PyObject *resultobj = NULL;
32835 wxPyControl *arg1 = (wxPyControl *) 0 ;
32836 int *arg2 = (int *) 0 ;
32837 int *arg3 = (int *) 0 ;
32838 int temp2 ;
32839 int res2 = 0 ;
32840 int temp3 ;
32841 int res3 = 0 ;
32842 PyObject * obj0 = 0 ;
32843 char *kwnames[] = {
32844 (char *) "self", NULL
32845 };
32846
32847 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32848 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail;
32852 {
32853 PyThreadState* __tstate = wxPyBeginAllowThreads();
32854 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32855
32856 wxPyEndAllowThreads(__tstate);
32857 if (PyErr_Occurred()) SWIG_fail;
32858 }
32859 Py_INCREF(Py_None); resultobj = Py_None;
32860 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32861 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32862 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32863 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32864 return resultobj;
32865 fail:
32866 return NULL;
32867 }
32868
32869
32870 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32871 PyObject *resultobj = NULL;
32872 wxPyControl *arg1 = (wxPyControl *) 0 ;
32873 int *arg2 = (int *) 0 ;
32874 int *arg3 = (int *) 0 ;
32875 int temp2 ;
32876 int res2 = 0 ;
32877 int temp3 ;
32878 int res3 = 0 ;
32879 PyObject * obj0 = 0 ;
32880 char *kwnames[] = {
32881 (char *) "self", NULL
32882 };
32883
32884 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32885 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32888 if (SWIG_arg_fail(1)) SWIG_fail;
32889 {
32890 PyThreadState* __tstate = wxPyBeginAllowThreads();
32891 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32892
32893 wxPyEndAllowThreads(__tstate);
32894 if (PyErr_Occurred()) SWIG_fail;
32895 }
32896 Py_INCREF(Py_None); resultobj = Py_None;
32897 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32898 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32899 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32900 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32901 return resultobj;
32902 fail:
32903 return NULL;
32904 }
32905
32906
32907 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32908 PyObject *resultobj = NULL;
32909 wxPyControl *arg1 = (wxPyControl *) 0 ;
32910 wxSize result;
32911 PyObject * obj0 = 0 ;
32912 char *kwnames[] = {
32913 (char *) "self", NULL
32914 };
32915
32916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32918 if (SWIG_arg_fail(1)) SWIG_fail;
32919 {
32920 PyThreadState* __tstate = wxPyBeginAllowThreads();
32921 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32922
32923 wxPyEndAllowThreads(__tstate);
32924 if (PyErr_Occurred()) SWIG_fail;
32925 }
32926 {
32927 wxSize * resultptr;
32928 resultptr = new wxSize(static_cast<wxSize & >(result));
32929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32930 }
32931 return resultobj;
32932 fail:
32933 return NULL;
32934 }
32935
32936
32937 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32938 PyObject *resultobj = NULL;
32939 wxPyControl *arg1 = (wxPyControl *) 0 ;
32940 wxSize result;
32941 PyObject * obj0 = 0 ;
32942 char *kwnames[] = {
32943 (char *) "self", NULL
32944 };
32945
32946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32948 if (SWIG_arg_fail(1)) SWIG_fail;
32949 {
32950 PyThreadState* __tstate = wxPyBeginAllowThreads();
32951 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32952
32953 wxPyEndAllowThreads(__tstate);
32954 if (PyErr_Occurred()) SWIG_fail;
32955 }
32956 {
32957 wxSize * resultptr;
32958 resultptr = new wxSize(static_cast<wxSize & >(result));
32959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32960 }
32961 return resultobj;
32962 fail:
32963 return NULL;
32964 }
32965
32966
32967 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32968 PyObject *resultobj = NULL;
32969 wxPyControl *arg1 = (wxPyControl *) 0 ;
32970 PyObject * obj0 = 0 ;
32971 char *kwnames[] = {
32972 (char *) "self", NULL
32973 };
32974
32975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32977 if (SWIG_arg_fail(1)) SWIG_fail;
32978 {
32979 PyThreadState* __tstate = wxPyBeginAllowThreads();
32980 (arg1)->base_InitDialog();
32981
32982 wxPyEndAllowThreads(__tstate);
32983 if (PyErr_Occurred()) SWIG_fail;
32984 }
32985 Py_INCREF(Py_None); resultobj = Py_None;
32986 return resultobj;
32987 fail:
32988 return NULL;
32989 }
32990
32991
32992 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32993 PyObject *resultobj = NULL;
32994 wxPyControl *arg1 = (wxPyControl *) 0 ;
32995 bool result;
32996 PyObject * obj0 = 0 ;
32997 char *kwnames[] = {
32998 (char *) "self", NULL
32999 };
33000
33001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
33002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33003 if (SWIG_arg_fail(1)) SWIG_fail;
33004 {
33005 PyThreadState* __tstate = wxPyBeginAllowThreads();
33006 result = (bool)(arg1)->base_TransferDataToWindow();
33007
33008 wxPyEndAllowThreads(__tstate);
33009 if (PyErr_Occurred()) SWIG_fail;
33010 }
33011 {
33012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33013 }
33014 return resultobj;
33015 fail:
33016 return NULL;
33017 }
33018
33019
33020 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33021 PyObject *resultobj = NULL;
33022 wxPyControl *arg1 = (wxPyControl *) 0 ;
33023 bool result;
33024 PyObject * obj0 = 0 ;
33025 char *kwnames[] = {
33026 (char *) "self", NULL
33027 };
33028
33029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
33030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33031 if (SWIG_arg_fail(1)) SWIG_fail;
33032 {
33033 PyThreadState* __tstate = wxPyBeginAllowThreads();
33034 result = (bool)(arg1)->base_TransferDataFromWindow();
33035
33036 wxPyEndAllowThreads(__tstate);
33037 if (PyErr_Occurred()) SWIG_fail;
33038 }
33039 {
33040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33041 }
33042 return resultobj;
33043 fail:
33044 return NULL;
33045 }
33046
33047
33048 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
33049 PyObject *resultobj = NULL;
33050 wxPyControl *arg1 = (wxPyControl *) 0 ;
33051 bool result;
33052 PyObject * obj0 = 0 ;
33053 char *kwnames[] = {
33054 (char *) "self", NULL
33055 };
33056
33057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
33058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33059 if (SWIG_arg_fail(1)) SWIG_fail;
33060 {
33061 PyThreadState* __tstate = wxPyBeginAllowThreads();
33062 result = (bool)(arg1)->base_Validate();
33063
33064 wxPyEndAllowThreads(__tstate);
33065 if (PyErr_Occurred()) SWIG_fail;
33066 }
33067 {
33068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33069 }
33070 return resultobj;
33071 fail:
33072 return NULL;
33073 }
33074
33075
33076 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
33077 PyObject *resultobj = NULL;
33078 wxPyControl *arg1 = (wxPyControl *) 0 ;
33079 bool result;
33080 PyObject * obj0 = 0 ;
33081 char *kwnames[] = {
33082 (char *) "self", NULL
33083 };
33084
33085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
33086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33087 if (SWIG_arg_fail(1)) SWIG_fail;
33088 {
33089 PyThreadState* __tstate = wxPyBeginAllowThreads();
33090 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
33091
33092 wxPyEndAllowThreads(__tstate);
33093 if (PyErr_Occurred()) SWIG_fail;
33094 }
33095 {
33096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33097 }
33098 return resultobj;
33099 fail:
33100 return NULL;
33101 }
33102
33103
33104 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
33105 PyObject *resultobj = NULL;
33106 wxPyControl *arg1 = (wxPyControl *) 0 ;
33107 bool result;
33108 PyObject * obj0 = 0 ;
33109 char *kwnames[] = {
33110 (char *) "self", NULL
33111 };
33112
33113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
33114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33115 if (SWIG_arg_fail(1)) SWIG_fail;
33116 {
33117 PyThreadState* __tstate = wxPyBeginAllowThreads();
33118 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
33119
33120 wxPyEndAllowThreads(__tstate);
33121 if (PyErr_Occurred()) SWIG_fail;
33122 }
33123 {
33124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33125 }
33126 return resultobj;
33127 fail:
33128 return NULL;
33129 }
33130
33131
33132 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
33133 PyObject *resultobj = NULL;
33134 wxPyControl *arg1 = (wxPyControl *) 0 ;
33135 wxSize result;
33136 PyObject * obj0 = 0 ;
33137 char *kwnames[] = {
33138 (char *) "self", NULL
33139 };
33140
33141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
33142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33143 if (SWIG_arg_fail(1)) SWIG_fail;
33144 {
33145 PyThreadState* __tstate = wxPyBeginAllowThreads();
33146 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33147
33148 wxPyEndAllowThreads(__tstate);
33149 if (PyErr_Occurred()) SWIG_fail;
33150 }
33151 {
33152 wxSize * resultptr;
33153 resultptr = new wxSize(static_cast<wxSize & >(result));
33154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33155 }
33156 return resultobj;
33157 fail:
33158 return NULL;
33159 }
33160
33161
33162 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
33163 PyObject *resultobj = NULL;
33164 wxPyControl *arg1 = (wxPyControl *) 0 ;
33165 wxWindow *arg2 = (wxWindow *) 0 ;
33166 PyObject * obj0 = 0 ;
33167 PyObject * obj1 = 0 ;
33168 char *kwnames[] = {
33169 (char *) "self",(char *) "child", NULL
33170 };
33171
33172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
33173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33174 if (SWIG_arg_fail(1)) SWIG_fail;
33175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33176 if (SWIG_arg_fail(2)) SWIG_fail;
33177 {
33178 PyThreadState* __tstate = wxPyBeginAllowThreads();
33179 (arg1)->base_AddChild(arg2);
33180
33181 wxPyEndAllowThreads(__tstate);
33182 if (PyErr_Occurred()) SWIG_fail;
33183 }
33184 Py_INCREF(Py_None); resultobj = Py_None;
33185 return resultobj;
33186 fail:
33187 return NULL;
33188 }
33189
33190
33191 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
33192 PyObject *resultobj = NULL;
33193 wxPyControl *arg1 = (wxPyControl *) 0 ;
33194 wxWindow *arg2 = (wxWindow *) 0 ;
33195 PyObject * obj0 = 0 ;
33196 PyObject * obj1 = 0 ;
33197 char *kwnames[] = {
33198 (char *) "self",(char *) "child", NULL
33199 };
33200
33201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
33202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33203 if (SWIG_arg_fail(1)) SWIG_fail;
33204 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33205 if (SWIG_arg_fail(2)) SWIG_fail;
33206 {
33207 PyThreadState* __tstate = wxPyBeginAllowThreads();
33208 (arg1)->base_RemoveChild(arg2);
33209
33210 wxPyEndAllowThreads(__tstate);
33211 if (PyErr_Occurred()) SWIG_fail;
33212 }
33213 Py_INCREF(Py_None); resultobj = Py_None;
33214 return resultobj;
33215 fail:
33216 return NULL;
33217 }
33218
33219
33220 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
33221 PyObject *resultobj = NULL;
33222 wxPyControl *arg1 = (wxPyControl *) 0 ;
33223 bool result;
33224 PyObject * obj0 = 0 ;
33225 char *kwnames[] = {
33226 (char *) "self", NULL
33227 };
33228
33229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
33230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33231 if (SWIG_arg_fail(1)) SWIG_fail;
33232 {
33233 PyThreadState* __tstate = wxPyBeginAllowThreads();
33234 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
33235
33236 wxPyEndAllowThreads(__tstate);
33237 if (PyErr_Occurred()) SWIG_fail;
33238 }
33239 {
33240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33241 }
33242 return resultobj;
33243 fail:
33244 return NULL;
33245 }
33246
33247
33248 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
33249 PyObject *resultobj = NULL;
33250 wxPyControl *arg1 = (wxPyControl *) 0 ;
33251 wxVisualAttributes result;
33252 PyObject * obj0 = 0 ;
33253 char *kwnames[] = {
33254 (char *) "self", NULL
33255 };
33256
33257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
33258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33259 if (SWIG_arg_fail(1)) SWIG_fail;
33260 {
33261 PyThreadState* __tstate = wxPyBeginAllowThreads();
33262 result = (arg1)->base_GetDefaultAttributes();
33263
33264 wxPyEndAllowThreads(__tstate);
33265 if (PyErr_Occurred()) SWIG_fail;
33266 }
33267 {
33268 wxVisualAttributes * resultptr;
33269 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
33270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33271 }
33272 return resultobj;
33273 fail:
33274 return NULL;
33275 }
33276
33277
33278 static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
33279 PyObject *resultobj = NULL;
33280 wxPyControl *arg1 = (wxPyControl *) 0 ;
33281 PyObject * obj0 = 0 ;
33282 char *kwnames[] = {
33283 (char *) "self", NULL
33284 };
33285
33286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
33287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33288 if (SWIG_arg_fail(1)) SWIG_fail;
33289 {
33290 PyThreadState* __tstate = wxPyBeginAllowThreads();
33291 (arg1)->base_OnInternalIdle();
33292
33293 wxPyEndAllowThreads(__tstate);
33294 if (PyErr_Occurred()) SWIG_fail;
33295 }
33296 Py_INCREF(Py_None); resultobj = Py_None;
33297 return resultobj;
33298 fail:
33299 return NULL;
33300 }
33301
33302
33303 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
33304 PyObject *obj;
33305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33306 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33307 Py_INCREF(obj);
33308 return Py_BuildValue((char *)"");
33309 }
33310 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
33311 PyObject *resultobj = NULL;
33312 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33313 int arg2 = (int) 0 ;
33314 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33315 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33316 wxHelpEvent *result;
33317 wxPoint temp3 ;
33318 PyObject * obj0 = 0 ;
33319 PyObject * obj1 = 0 ;
33320 PyObject * obj2 = 0 ;
33321 char *kwnames[] = {
33322 (char *) "type",(char *) "winid",(char *) "pt", NULL
33323 };
33324
33325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33326 if (obj0) {
33327 {
33328 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
33329 if (SWIG_arg_fail(1)) SWIG_fail;
33330 }
33331 }
33332 if (obj1) {
33333 {
33334 arg2 = static_cast<int >(SWIG_As_int(obj1));
33335 if (SWIG_arg_fail(2)) SWIG_fail;
33336 }
33337 }
33338 if (obj2) {
33339 {
33340 arg3 = &temp3;
33341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33342 }
33343 }
33344 {
33345 PyThreadState* __tstate = wxPyBeginAllowThreads();
33346 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33347
33348 wxPyEndAllowThreads(__tstate);
33349 if (PyErr_Occurred()) SWIG_fail;
33350 }
33351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33352 return resultobj;
33353 fail:
33354 return NULL;
33355 }
33356
33357
33358 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33359 PyObject *resultobj = NULL;
33360 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33361 wxPoint result;
33362 PyObject * obj0 = 0 ;
33363 char *kwnames[] = {
33364 (char *) "self", NULL
33365 };
33366
33367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33369 if (SWIG_arg_fail(1)) SWIG_fail;
33370 {
33371 PyThreadState* __tstate = wxPyBeginAllowThreads();
33372 result = ((wxHelpEvent const *)arg1)->GetPosition();
33373
33374 wxPyEndAllowThreads(__tstate);
33375 if (PyErr_Occurred()) SWIG_fail;
33376 }
33377 {
33378 wxPoint * resultptr;
33379 resultptr = new wxPoint(static_cast<wxPoint const & >(result));
33380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33381 }
33382 return resultobj;
33383 fail:
33384 return NULL;
33385 }
33386
33387
33388 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33389 PyObject *resultobj = NULL;
33390 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33391 wxPoint *arg2 = 0 ;
33392 wxPoint temp2 ;
33393 PyObject * obj0 = 0 ;
33394 PyObject * obj1 = 0 ;
33395 char *kwnames[] = {
33396 (char *) "self",(char *) "pos", NULL
33397 };
33398
33399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail;
33402 {
33403 arg2 = &temp2;
33404 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33405 }
33406 {
33407 PyThreadState* __tstate = wxPyBeginAllowThreads();
33408 (arg1)->SetPosition((wxPoint const &)*arg2);
33409
33410 wxPyEndAllowThreads(__tstate);
33411 if (PyErr_Occurred()) SWIG_fail;
33412 }
33413 Py_INCREF(Py_None); resultobj = Py_None;
33414 return resultobj;
33415 fail:
33416 return NULL;
33417 }
33418
33419
33420 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33421 PyObject *resultobj = NULL;
33422 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33423 wxString *result;
33424 PyObject * obj0 = 0 ;
33425 char *kwnames[] = {
33426 (char *) "self", NULL
33427 };
33428
33429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33431 if (SWIG_arg_fail(1)) SWIG_fail;
33432 {
33433 PyThreadState* __tstate = wxPyBeginAllowThreads();
33434 {
33435 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33436 result = (wxString *) &_result_ref;
33437 }
33438
33439 wxPyEndAllowThreads(__tstate);
33440 if (PyErr_Occurred()) SWIG_fail;
33441 }
33442 {
33443 #if wxUSE_UNICODE
33444 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33445 #else
33446 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33447 #endif
33448 }
33449 return resultobj;
33450 fail:
33451 return NULL;
33452 }
33453
33454
33455 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33456 PyObject *resultobj = NULL;
33457 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33458 wxString *arg2 = 0 ;
33459 bool temp2 = false ;
33460 PyObject * obj0 = 0 ;
33461 PyObject * obj1 = 0 ;
33462 char *kwnames[] = {
33463 (char *) "self",(char *) "link", NULL
33464 };
33465
33466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33468 if (SWIG_arg_fail(1)) SWIG_fail;
33469 {
33470 arg2 = wxString_in_helper(obj1);
33471 if (arg2 == NULL) SWIG_fail;
33472 temp2 = true;
33473 }
33474 {
33475 PyThreadState* __tstate = wxPyBeginAllowThreads();
33476 (arg1)->SetLink((wxString const &)*arg2);
33477
33478 wxPyEndAllowThreads(__tstate);
33479 if (PyErr_Occurred()) SWIG_fail;
33480 }
33481 Py_INCREF(Py_None); resultobj = Py_None;
33482 {
33483 if (temp2)
33484 delete arg2;
33485 }
33486 return resultobj;
33487 fail:
33488 {
33489 if (temp2)
33490 delete arg2;
33491 }
33492 return NULL;
33493 }
33494
33495
33496 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33497 PyObject *resultobj = NULL;
33498 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33499 wxString *result;
33500 PyObject * obj0 = 0 ;
33501 char *kwnames[] = {
33502 (char *) "self", NULL
33503 };
33504
33505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33507 if (SWIG_arg_fail(1)) SWIG_fail;
33508 {
33509 PyThreadState* __tstate = wxPyBeginAllowThreads();
33510 {
33511 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33512 result = (wxString *) &_result_ref;
33513 }
33514
33515 wxPyEndAllowThreads(__tstate);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 }
33518 {
33519 #if wxUSE_UNICODE
33520 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33521 #else
33522 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33523 #endif
33524 }
33525 return resultobj;
33526 fail:
33527 return NULL;
33528 }
33529
33530
33531 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33532 PyObject *resultobj = NULL;
33533 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33534 wxString *arg2 = 0 ;
33535 bool temp2 = false ;
33536 PyObject * obj0 = 0 ;
33537 PyObject * obj1 = 0 ;
33538 char *kwnames[] = {
33539 (char *) "self",(char *) "target", NULL
33540 };
33541
33542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33544 if (SWIG_arg_fail(1)) SWIG_fail;
33545 {
33546 arg2 = wxString_in_helper(obj1);
33547 if (arg2 == NULL) SWIG_fail;
33548 temp2 = true;
33549 }
33550 {
33551 PyThreadState* __tstate = wxPyBeginAllowThreads();
33552 (arg1)->SetTarget((wxString const &)*arg2);
33553
33554 wxPyEndAllowThreads(__tstate);
33555 if (PyErr_Occurred()) SWIG_fail;
33556 }
33557 Py_INCREF(Py_None); resultobj = Py_None;
33558 {
33559 if (temp2)
33560 delete arg2;
33561 }
33562 return resultobj;
33563 fail:
33564 {
33565 if (temp2)
33566 delete arg2;
33567 }
33568 return NULL;
33569 }
33570
33571
33572 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33573 PyObject *obj;
33574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33575 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33576 Py_INCREF(obj);
33577 return Py_BuildValue((char *)"");
33578 }
33579 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33580 PyObject *resultobj = NULL;
33581 wxWindow *arg1 = (wxWindow *) NULL ;
33582 bool arg2 = (bool) true ;
33583 wxContextHelp *result;
33584 PyObject * obj0 = 0 ;
33585 PyObject * obj1 = 0 ;
33586 char *kwnames[] = {
33587 (char *) "window",(char *) "doNow", NULL
33588 };
33589
33590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33591 if (obj0) {
33592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33593 if (SWIG_arg_fail(1)) SWIG_fail;
33594 }
33595 if (obj1) {
33596 {
33597 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
33598 if (SWIG_arg_fail(2)) SWIG_fail;
33599 }
33600 }
33601 {
33602 if (!wxPyCheckForApp()) SWIG_fail;
33603 PyThreadState* __tstate = wxPyBeginAllowThreads();
33604 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33605
33606 wxPyEndAllowThreads(__tstate);
33607 if (PyErr_Occurred()) SWIG_fail;
33608 }
33609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33610 return resultobj;
33611 fail:
33612 return NULL;
33613 }
33614
33615
33616 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33617 PyObject *resultobj = NULL;
33618 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33619 PyObject * obj0 = 0 ;
33620 char *kwnames[] = {
33621 (char *) "self", NULL
33622 };
33623
33624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33626 if (SWIG_arg_fail(1)) SWIG_fail;
33627 {
33628 PyThreadState* __tstate = wxPyBeginAllowThreads();
33629 delete arg1;
33630
33631 wxPyEndAllowThreads(__tstate);
33632 if (PyErr_Occurred()) SWIG_fail;
33633 }
33634 Py_INCREF(Py_None); resultobj = Py_None;
33635 return resultobj;
33636 fail:
33637 return NULL;
33638 }
33639
33640
33641 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33642 PyObject *resultobj = NULL;
33643 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33644 wxWindow *arg2 = (wxWindow *) NULL ;
33645 bool result;
33646 PyObject * obj0 = 0 ;
33647 PyObject * obj1 = 0 ;
33648 char *kwnames[] = {
33649 (char *) "self",(char *) "window", NULL
33650 };
33651
33652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33654 if (SWIG_arg_fail(1)) SWIG_fail;
33655 if (obj1) {
33656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33657 if (SWIG_arg_fail(2)) SWIG_fail;
33658 }
33659 {
33660 PyThreadState* __tstate = wxPyBeginAllowThreads();
33661 result = (bool)(arg1)->BeginContextHelp(arg2);
33662
33663 wxPyEndAllowThreads(__tstate);
33664 if (PyErr_Occurred()) SWIG_fail;
33665 }
33666 {
33667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33668 }
33669 return resultobj;
33670 fail:
33671 return NULL;
33672 }
33673
33674
33675 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33676 PyObject *resultobj = NULL;
33677 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33678 bool result;
33679 PyObject * obj0 = 0 ;
33680 char *kwnames[] = {
33681 (char *) "self", NULL
33682 };
33683
33684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33686 if (SWIG_arg_fail(1)) SWIG_fail;
33687 {
33688 PyThreadState* __tstate = wxPyBeginAllowThreads();
33689 result = (bool)(arg1)->EndContextHelp();
33690
33691 wxPyEndAllowThreads(__tstate);
33692 if (PyErr_Occurred()) SWIG_fail;
33693 }
33694 {
33695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33696 }
33697 return resultobj;
33698 fail:
33699 return NULL;
33700 }
33701
33702
33703 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33704 PyObject *obj;
33705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33706 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33707 Py_INCREF(obj);
33708 return Py_BuildValue((char *)"");
33709 }
33710 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33711 PyObject *resultobj = NULL;
33712 wxWindow *arg1 = (wxWindow *) 0 ;
33713 int arg2 = (int) wxID_CONTEXT_HELP ;
33714 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33715 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33716 wxSize const &arg4_defvalue = wxDefaultSize ;
33717 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33718 long arg5 = (long) wxBU_AUTODRAW ;
33719 wxContextHelpButton *result;
33720 wxPoint temp3 ;
33721 wxSize temp4 ;
33722 PyObject * obj0 = 0 ;
33723 PyObject * obj1 = 0 ;
33724 PyObject * obj2 = 0 ;
33725 PyObject * obj3 = 0 ;
33726 PyObject * obj4 = 0 ;
33727 char *kwnames[] = {
33728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33729 };
33730
33731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33733 if (SWIG_arg_fail(1)) SWIG_fail;
33734 if (obj1) {
33735 {
33736 arg2 = static_cast<int >(SWIG_As_int(obj1));
33737 if (SWIG_arg_fail(2)) SWIG_fail;
33738 }
33739 }
33740 if (obj2) {
33741 {
33742 arg3 = &temp3;
33743 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33744 }
33745 }
33746 if (obj3) {
33747 {
33748 arg4 = &temp4;
33749 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33750 }
33751 }
33752 if (obj4) {
33753 {
33754 arg5 = static_cast<long >(SWIG_As_long(obj4));
33755 if (SWIG_arg_fail(5)) SWIG_fail;
33756 }
33757 }
33758 {
33759 if (!wxPyCheckForApp()) SWIG_fail;
33760 PyThreadState* __tstate = wxPyBeginAllowThreads();
33761 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33762
33763 wxPyEndAllowThreads(__tstate);
33764 if (PyErr_Occurred()) SWIG_fail;
33765 }
33766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33767 return resultobj;
33768 fail:
33769 return NULL;
33770 }
33771
33772
33773 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33774 PyObject *obj;
33775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33776 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33777 Py_INCREF(obj);
33778 return Py_BuildValue((char *)"");
33779 }
33780 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33781 PyObject *resultobj = NULL;
33782 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33783 wxHelpProvider *result;
33784 PyObject * obj0 = 0 ;
33785 char *kwnames[] = {
33786 (char *) "helpProvider", NULL
33787 };
33788
33789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33791 if (SWIG_arg_fail(1)) SWIG_fail;
33792 {
33793 PyThreadState* __tstate = wxPyBeginAllowThreads();
33794 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33795
33796 wxPyEndAllowThreads(__tstate);
33797 if (PyErr_Occurred()) SWIG_fail;
33798 }
33799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33800 return resultobj;
33801 fail:
33802 return NULL;
33803 }
33804
33805
33806 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33807 PyObject *resultobj = NULL;
33808 wxHelpProvider *result;
33809 char *kwnames[] = {
33810 NULL
33811 };
33812
33813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33814 {
33815 PyThreadState* __tstate = wxPyBeginAllowThreads();
33816 result = (wxHelpProvider *)wxHelpProvider::Get();
33817
33818 wxPyEndAllowThreads(__tstate);
33819 if (PyErr_Occurred()) SWIG_fail;
33820 }
33821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33822 return resultobj;
33823 fail:
33824 return NULL;
33825 }
33826
33827
33828 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33829 PyObject *resultobj = NULL;
33830 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33831 wxWindow *arg2 = (wxWindow *) 0 ;
33832 wxString result;
33833 PyObject * obj0 = 0 ;
33834 PyObject * obj1 = 0 ;
33835 char *kwnames[] = {
33836 (char *) "self",(char *) "window", NULL
33837 };
33838
33839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33841 if (SWIG_arg_fail(1)) SWIG_fail;
33842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33843 if (SWIG_arg_fail(2)) SWIG_fail;
33844 {
33845 PyThreadState* __tstate = wxPyBeginAllowThreads();
33846 result = (arg1)->GetHelp((wxWindow const *)arg2);
33847
33848 wxPyEndAllowThreads(__tstate);
33849 if (PyErr_Occurred()) SWIG_fail;
33850 }
33851 {
33852 #if wxUSE_UNICODE
33853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33854 #else
33855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33856 #endif
33857 }
33858 return resultobj;
33859 fail:
33860 return NULL;
33861 }
33862
33863
33864 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33865 PyObject *resultobj = NULL;
33866 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33867 wxWindow *arg2 = (wxWindow *) 0 ;
33868 bool result;
33869 PyObject * obj0 = 0 ;
33870 PyObject * obj1 = 0 ;
33871 char *kwnames[] = {
33872 (char *) "self",(char *) "window", NULL
33873 };
33874
33875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail;
33878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33879 if (SWIG_arg_fail(2)) SWIG_fail;
33880 {
33881 PyThreadState* __tstate = wxPyBeginAllowThreads();
33882 result = (bool)(arg1)->ShowHelp(arg2);
33883
33884 wxPyEndAllowThreads(__tstate);
33885 if (PyErr_Occurred()) SWIG_fail;
33886 }
33887 {
33888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33889 }
33890 return resultobj;
33891 fail:
33892 return NULL;
33893 }
33894
33895
33896 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33897 PyObject *resultobj = NULL;
33898 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33899 wxWindow *arg2 = (wxWindow *) 0 ;
33900 wxString *arg3 = 0 ;
33901 bool temp3 = false ;
33902 PyObject * obj0 = 0 ;
33903 PyObject * obj1 = 0 ;
33904 PyObject * obj2 = 0 ;
33905 char *kwnames[] = {
33906 (char *) "self",(char *) "window",(char *) "text", NULL
33907 };
33908
33909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail;
33912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33913 if (SWIG_arg_fail(2)) SWIG_fail;
33914 {
33915 arg3 = wxString_in_helper(obj2);
33916 if (arg3 == NULL) SWIG_fail;
33917 temp3 = true;
33918 }
33919 {
33920 PyThreadState* __tstate = wxPyBeginAllowThreads();
33921 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33922
33923 wxPyEndAllowThreads(__tstate);
33924 if (PyErr_Occurred()) SWIG_fail;
33925 }
33926 Py_INCREF(Py_None); resultobj = Py_None;
33927 {
33928 if (temp3)
33929 delete arg3;
33930 }
33931 return resultobj;
33932 fail:
33933 {
33934 if (temp3)
33935 delete arg3;
33936 }
33937 return NULL;
33938 }
33939
33940
33941 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33942 PyObject *resultobj = NULL;
33943 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33944 int arg2 ;
33945 wxString *arg3 = 0 ;
33946 bool temp3 = false ;
33947 PyObject * obj0 = 0 ;
33948 PyObject * obj1 = 0 ;
33949 PyObject * obj2 = 0 ;
33950 char *kwnames[] = {
33951 (char *) "self",(char *) "id",(char *) "text", NULL
33952 };
33953
33954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33956 if (SWIG_arg_fail(1)) SWIG_fail;
33957 {
33958 arg2 = static_cast<int >(SWIG_As_int(obj1));
33959 if (SWIG_arg_fail(2)) SWIG_fail;
33960 }
33961 {
33962 arg3 = wxString_in_helper(obj2);
33963 if (arg3 == NULL) SWIG_fail;
33964 temp3 = true;
33965 }
33966 {
33967 PyThreadState* __tstate = wxPyBeginAllowThreads();
33968 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33969
33970 wxPyEndAllowThreads(__tstate);
33971 if (PyErr_Occurred()) SWIG_fail;
33972 }
33973 Py_INCREF(Py_None); resultobj = Py_None;
33974 {
33975 if (temp3)
33976 delete arg3;
33977 }
33978 return resultobj;
33979 fail:
33980 {
33981 if (temp3)
33982 delete arg3;
33983 }
33984 return NULL;
33985 }
33986
33987
33988 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33989 PyObject *resultobj = NULL;
33990 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33991 wxWindow *arg2 = (wxWindow *) 0 ;
33992 PyObject * obj0 = 0 ;
33993 PyObject * obj1 = 0 ;
33994 char *kwnames[] = {
33995 (char *) "self",(char *) "window", NULL
33996 };
33997
33998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34000 if (SWIG_arg_fail(1)) SWIG_fail;
34001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34002 if (SWIG_arg_fail(2)) SWIG_fail;
34003 {
34004 PyThreadState* __tstate = wxPyBeginAllowThreads();
34005 (arg1)->RemoveHelp(arg2);
34006
34007 wxPyEndAllowThreads(__tstate);
34008 if (PyErr_Occurred()) SWIG_fail;
34009 }
34010 Py_INCREF(Py_None); resultobj = Py_None;
34011 return resultobj;
34012 fail:
34013 return NULL;
34014 }
34015
34016
34017 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
34018 PyObject *resultobj = NULL;
34019 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
34020 PyObject * obj0 = 0 ;
34021 char *kwnames[] = {
34022 (char *) "self", NULL
34023 };
34024
34025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
34026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
34027 if (SWIG_arg_fail(1)) SWIG_fail;
34028 {
34029 PyThreadState* __tstate = wxPyBeginAllowThreads();
34030 wxHelpProvider_Destroy(arg1);
34031
34032 wxPyEndAllowThreads(__tstate);
34033 if (PyErr_Occurred()) SWIG_fail;
34034 }
34035 Py_INCREF(Py_None); resultobj = Py_None;
34036 return resultobj;
34037 fail:
34038 return NULL;
34039 }
34040
34041
34042 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
34043 PyObject *obj;
34044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34045 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
34046 Py_INCREF(obj);
34047 return Py_BuildValue((char *)"");
34048 }
34049 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
34050 PyObject *resultobj = NULL;
34051 wxSimpleHelpProvider *result;
34052 char *kwnames[] = {
34053 NULL
34054 };
34055
34056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
34057 {
34058 PyThreadState* __tstate = wxPyBeginAllowThreads();
34059 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
34060
34061 wxPyEndAllowThreads(__tstate);
34062 if (PyErr_Occurred()) SWIG_fail;
34063 }
34064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
34065 return resultobj;
34066 fail:
34067 return NULL;
34068 }
34069
34070
34071 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
34072 PyObject *obj;
34073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34074 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
34075 Py_INCREF(obj);
34076 return Py_BuildValue((char *)"");
34077 }
34078 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
34079 PyObject *resultobj = NULL;
34080 wxBitmap *arg1 = 0 ;
34081 wxCursor const &arg2_defvalue = wxNullCursor ;
34082 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34083 wxGenericDragImage *result;
34084 PyObject * obj0 = 0 ;
34085 PyObject * obj1 = 0 ;
34086 char *kwnames[] = {
34087 (char *) "image",(char *) "cursor", NULL
34088 };
34089
34090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
34091 {
34092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34093 if (SWIG_arg_fail(1)) SWIG_fail;
34094 if (arg1 == NULL) {
34095 SWIG_null_ref("wxBitmap");
34096 }
34097 if (SWIG_arg_fail(1)) SWIG_fail;
34098 }
34099 if (obj1) {
34100 {
34101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34102 if (SWIG_arg_fail(2)) SWIG_fail;
34103 if (arg2 == NULL) {
34104 SWIG_null_ref("wxCursor");
34105 }
34106 if (SWIG_arg_fail(2)) SWIG_fail;
34107 }
34108 }
34109 {
34110 if (!wxPyCheckForApp()) SWIG_fail;
34111 PyThreadState* __tstate = wxPyBeginAllowThreads();
34112 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
34113
34114 wxPyEndAllowThreads(__tstate);
34115 if (PyErr_Occurred()) SWIG_fail;
34116 }
34117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34118 return resultobj;
34119 fail:
34120 return NULL;
34121 }
34122
34123
34124 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
34125 PyObject *resultobj = NULL;
34126 wxIcon *arg1 = 0 ;
34127 wxCursor const &arg2_defvalue = wxNullCursor ;
34128 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34129 wxGenericDragImage *result;
34130 PyObject * obj0 = 0 ;
34131 PyObject * obj1 = 0 ;
34132 char *kwnames[] = {
34133 (char *) "image",(char *) "cursor", NULL
34134 };
34135
34136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
34137 {
34138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail;
34140 if (arg1 == NULL) {
34141 SWIG_null_ref("wxIcon");
34142 }
34143 if (SWIG_arg_fail(1)) SWIG_fail;
34144 }
34145 if (obj1) {
34146 {
34147 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34148 if (SWIG_arg_fail(2)) SWIG_fail;
34149 if (arg2 == NULL) {
34150 SWIG_null_ref("wxCursor");
34151 }
34152 if (SWIG_arg_fail(2)) SWIG_fail;
34153 }
34154 }
34155 {
34156 if (!wxPyCheckForApp()) SWIG_fail;
34157 PyThreadState* __tstate = wxPyBeginAllowThreads();
34158 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
34159
34160 wxPyEndAllowThreads(__tstate);
34161 if (PyErr_Occurred()) SWIG_fail;
34162 }
34163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34164 return resultobj;
34165 fail:
34166 return NULL;
34167 }
34168
34169
34170 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
34171 PyObject *resultobj = NULL;
34172 wxString *arg1 = 0 ;
34173 wxCursor const &arg2_defvalue = wxNullCursor ;
34174 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34175 wxGenericDragImage *result;
34176 bool temp1 = false ;
34177 PyObject * obj0 = 0 ;
34178 PyObject * obj1 = 0 ;
34179 char *kwnames[] = {
34180 (char *) "str",(char *) "cursor", NULL
34181 };
34182
34183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34184 {
34185 arg1 = wxString_in_helper(obj0);
34186 if (arg1 == NULL) SWIG_fail;
34187 temp1 = true;
34188 }
34189 if (obj1) {
34190 {
34191 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34192 if (SWIG_arg_fail(2)) SWIG_fail;
34193 if (arg2 == NULL) {
34194 SWIG_null_ref("wxCursor");
34195 }
34196 if (SWIG_arg_fail(2)) SWIG_fail;
34197 }
34198 }
34199 {
34200 if (!wxPyCheckForApp()) SWIG_fail;
34201 PyThreadState* __tstate = wxPyBeginAllowThreads();
34202 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34203
34204 wxPyEndAllowThreads(__tstate);
34205 if (PyErr_Occurred()) SWIG_fail;
34206 }
34207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34208 {
34209 if (temp1)
34210 delete arg1;
34211 }
34212 return resultobj;
34213 fail:
34214 {
34215 if (temp1)
34216 delete arg1;
34217 }
34218 return NULL;
34219 }
34220
34221
34222 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
34223 PyObject *resultobj = NULL;
34224 wxPyTreeCtrl *arg1 = 0 ;
34225 wxTreeItemId *arg2 = 0 ;
34226 wxGenericDragImage *result;
34227 PyObject * obj0 = 0 ;
34228 PyObject * obj1 = 0 ;
34229 char *kwnames[] = {
34230 (char *) "treeCtrl",(char *) "id", NULL
34231 };
34232
34233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
34234 {
34235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34236 if (SWIG_arg_fail(1)) SWIG_fail;
34237 if (arg1 == NULL) {
34238 SWIG_null_ref("wxPyTreeCtrl");
34239 }
34240 if (SWIG_arg_fail(1)) SWIG_fail;
34241 }
34242 {
34243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34244 if (SWIG_arg_fail(2)) SWIG_fail;
34245 if (arg2 == NULL) {
34246 SWIG_null_ref("wxTreeItemId");
34247 }
34248 if (SWIG_arg_fail(2)) SWIG_fail;
34249 }
34250 {
34251 if (!wxPyCheckForApp()) SWIG_fail;
34252 PyThreadState* __tstate = wxPyBeginAllowThreads();
34253 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34254
34255 wxPyEndAllowThreads(__tstate);
34256 if (PyErr_Occurred()) SWIG_fail;
34257 }
34258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34259 return resultobj;
34260 fail:
34261 return NULL;
34262 }
34263
34264
34265 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
34266 PyObject *resultobj = NULL;
34267 wxPyListCtrl *arg1 = 0 ;
34268 long arg2 ;
34269 wxGenericDragImage *result;
34270 PyObject * obj0 = 0 ;
34271 PyObject * obj1 = 0 ;
34272 char *kwnames[] = {
34273 (char *) "listCtrl",(char *) "id", NULL
34274 };
34275
34276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
34277 {
34278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34279 if (SWIG_arg_fail(1)) SWIG_fail;
34280 if (arg1 == NULL) {
34281 SWIG_null_ref("wxPyListCtrl");
34282 }
34283 if (SWIG_arg_fail(1)) SWIG_fail;
34284 }
34285 {
34286 arg2 = static_cast<long >(SWIG_As_long(obj1));
34287 if (SWIG_arg_fail(2)) SWIG_fail;
34288 }
34289 {
34290 if (!wxPyCheckForApp()) SWIG_fail;
34291 PyThreadState* __tstate = wxPyBeginAllowThreads();
34292 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34293
34294 wxPyEndAllowThreads(__tstate);
34295 if (PyErr_Occurred()) SWIG_fail;
34296 }
34297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34298 return resultobj;
34299 fail:
34300 return NULL;
34301 }
34302
34303
34304 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
34305 PyObject *resultobj = NULL;
34306 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34307 PyObject * obj0 = 0 ;
34308 char *kwnames[] = {
34309 (char *) "self", NULL
34310 };
34311
34312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
34313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34314 if (SWIG_arg_fail(1)) SWIG_fail;
34315 {
34316 PyThreadState* __tstate = wxPyBeginAllowThreads();
34317 delete arg1;
34318
34319 wxPyEndAllowThreads(__tstate);
34320 if (PyErr_Occurred()) SWIG_fail;
34321 }
34322 Py_INCREF(Py_None); resultobj = Py_None;
34323 return resultobj;
34324 fail:
34325 return NULL;
34326 }
34327
34328
34329 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34330 PyObject *resultobj = NULL;
34331 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34332 wxBitmap *arg2 = (wxBitmap *) 0 ;
34333 PyObject * obj0 = 0 ;
34334 PyObject * obj1 = 0 ;
34335 char *kwnames[] = {
34336 (char *) "self",(char *) "bitmap", NULL
34337 };
34338
34339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail;
34342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34343 if (SWIG_arg_fail(2)) SWIG_fail;
34344 {
34345 PyThreadState* __tstate = wxPyBeginAllowThreads();
34346 (arg1)->SetBackingBitmap(arg2);
34347
34348 wxPyEndAllowThreads(__tstate);
34349 if (PyErr_Occurred()) SWIG_fail;
34350 }
34351 Py_INCREF(Py_None); resultobj = Py_None;
34352 return resultobj;
34353 fail:
34354 return NULL;
34355 }
34356
34357
34358 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34359 PyObject *resultobj = NULL;
34360 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34361 wxPoint *arg2 = 0 ;
34362 wxWindow *arg3 = (wxWindow *) 0 ;
34363 bool arg4 = (bool) false ;
34364 wxRect *arg5 = (wxRect *) NULL ;
34365 bool result;
34366 wxPoint temp2 ;
34367 PyObject * obj0 = 0 ;
34368 PyObject * obj1 = 0 ;
34369 PyObject * obj2 = 0 ;
34370 PyObject * obj3 = 0 ;
34371 PyObject * obj4 = 0 ;
34372 char *kwnames[] = {
34373 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34374 };
34375
34376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34378 if (SWIG_arg_fail(1)) SWIG_fail;
34379 {
34380 arg2 = &temp2;
34381 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34382 }
34383 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34384 if (SWIG_arg_fail(3)) SWIG_fail;
34385 if (obj3) {
34386 {
34387 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
34388 if (SWIG_arg_fail(4)) SWIG_fail;
34389 }
34390 }
34391 if (obj4) {
34392 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34393 if (SWIG_arg_fail(5)) SWIG_fail;
34394 }
34395 {
34396 PyThreadState* __tstate = wxPyBeginAllowThreads();
34397 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34398
34399 wxPyEndAllowThreads(__tstate);
34400 if (PyErr_Occurred()) SWIG_fail;
34401 }
34402 {
34403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34404 }
34405 return resultobj;
34406 fail:
34407 return NULL;
34408 }
34409
34410
34411 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34412 PyObject *resultobj = NULL;
34413 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34414 wxPoint *arg2 = 0 ;
34415 wxWindow *arg3 = (wxWindow *) 0 ;
34416 wxWindow *arg4 = (wxWindow *) 0 ;
34417 bool result;
34418 wxPoint temp2 ;
34419 PyObject * obj0 = 0 ;
34420 PyObject * obj1 = 0 ;
34421 PyObject * obj2 = 0 ;
34422 PyObject * obj3 = 0 ;
34423 char *kwnames[] = {
34424 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34425 };
34426
34427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34429 if (SWIG_arg_fail(1)) SWIG_fail;
34430 {
34431 arg2 = &temp2;
34432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34433 }
34434 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34435 if (SWIG_arg_fail(3)) SWIG_fail;
34436 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34437 if (SWIG_arg_fail(4)) SWIG_fail;
34438 {
34439 PyThreadState* __tstate = wxPyBeginAllowThreads();
34440 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34441
34442 wxPyEndAllowThreads(__tstate);
34443 if (PyErr_Occurred()) SWIG_fail;
34444 }
34445 {
34446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34447 }
34448 return resultobj;
34449 fail:
34450 return NULL;
34451 }
34452
34453
34454 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34455 PyObject *resultobj = NULL;
34456 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34457 bool result;
34458 PyObject * obj0 = 0 ;
34459 char *kwnames[] = {
34460 (char *) "self", NULL
34461 };
34462
34463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34465 if (SWIG_arg_fail(1)) SWIG_fail;
34466 {
34467 PyThreadState* __tstate = wxPyBeginAllowThreads();
34468 result = (bool)(arg1)->EndDrag();
34469
34470 wxPyEndAllowThreads(__tstate);
34471 if (PyErr_Occurred()) SWIG_fail;
34472 }
34473 {
34474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34475 }
34476 return resultobj;
34477 fail:
34478 return NULL;
34479 }
34480
34481
34482 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34483 PyObject *resultobj = NULL;
34484 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34485 wxPoint *arg2 = 0 ;
34486 bool result;
34487 wxPoint temp2 ;
34488 PyObject * obj0 = 0 ;
34489 PyObject * obj1 = 0 ;
34490 char *kwnames[] = {
34491 (char *) "self",(char *) "pt", NULL
34492 };
34493
34494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34496 if (SWIG_arg_fail(1)) SWIG_fail;
34497 {
34498 arg2 = &temp2;
34499 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34500 }
34501 {
34502 PyThreadState* __tstate = wxPyBeginAllowThreads();
34503 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34504
34505 wxPyEndAllowThreads(__tstate);
34506 if (PyErr_Occurred()) SWIG_fail;
34507 }
34508 {
34509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34510 }
34511 return resultobj;
34512 fail:
34513 return NULL;
34514 }
34515
34516
34517 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34518 PyObject *resultobj = NULL;
34519 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34520 bool result;
34521 PyObject * obj0 = 0 ;
34522 char *kwnames[] = {
34523 (char *) "self", NULL
34524 };
34525
34526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34528 if (SWIG_arg_fail(1)) SWIG_fail;
34529 {
34530 PyThreadState* __tstate = wxPyBeginAllowThreads();
34531 result = (bool)(arg1)->Show();
34532
34533 wxPyEndAllowThreads(__tstate);
34534 if (PyErr_Occurred()) SWIG_fail;
34535 }
34536 {
34537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34538 }
34539 return resultobj;
34540 fail:
34541 return NULL;
34542 }
34543
34544
34545 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34546 PyObject *resultobj = NULL;
34547 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34548 bool result;
34549 PyObject * obj0 = 0 ;
34550 char *kwnames[] = {
34551 (char *) "self", NULL
34552 };
34553
34554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34556 if (SWIG_arg_fail(1)) SWIG_fail;
34557 {
34558 PyThreadState* __tstate = wxPyBeginAllowThreads();
34559 result = (bool)(arg1)->Hide();
34560
34561 wxPyEndAllowThreads(__tstate);
34562 if (PyErr_Occurred()) SWIG_fail;
34563 }
34564 {
34565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34566 }
34567 return resultobj;
34568 fail:
34569 return NULL;
34570 }
34571
34572
34573 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34574 PyObject *resultobj = NULL;
34575 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34576 wxPoint *arg2 = 0 ;
34577 wxRect result;
34578 wxPoint temp2 ;
34579 PyObject * obj0 = 0 ;
34580 PyObject * obj1 = 0 ;
34581 char *kwnames[] = {
34582 (char *) "self",(char *) "pos", NULL
34583 };
34584
34585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail;
34588 {
34589 arg2 = &temp2;
34590 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34591 }
34592 {
34593 PyThreadState* __tstate = wxPyBeginAllowThreads();
34594 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34595
34596 wxPyEndAllowThreads(__tstate);
34597 if (PyErr_Occurred()) SWIG_fail;
34598 }
34599 {
34600 wxRect * resultptr;
34601 resultptr = new wxRect(static_cast<wxRect & >(result));
34602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34603 }
34604 return resultobj;
34605 fail:
34606 return NULL;
34607 }
34608
34609
34610 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34611 PyObject *resultobj = NULL;
34612 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34613 wxDC *arg2 = 0 ;
34614 wxPoint *arg3 = 0 ;
34615 bool result;
34616 wxPoint temp3 ;
34617 PyObject * obj0 = 0 ;
34618 PyObject * obj1 = 0 ;
34619 PyObject * obj2 = 0 ;
34620 char *kwnames[] = {
34621 (char *) "self",(char *) "dc",(char *) "pos", NULL
34622 };
34623
34624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail;
34627 {
34628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34629 if (SWIG_arg_fail(2)) SWIG_fail;
34630 if (arg2 == NULL) {
34631 SWIG_null_ref("wxDC");
34632 }
34633 if (SWIG_arg_fail(2)) SWIG_fail;
34634 }
34635 {
34636 arg3 = &temp3;
34637 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34638 }
34639 {
34640 PyThreadState* __tstate = wxPyBeginAllowThreads();
34641 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34642
34643 wxPyEndAllowThreads(__tstate);
34644 if (PyErr_Occurred()) SWIG_fail;
34645 }
34646 {
34647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34648 }
34649 return resultobj;
34650 fail:
34651 return NULL;
34652 }
34653
34654
34655 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34656 PyObject *resultobj = NULL;
34657 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34658 wxDC *arg2 = 0 ;
34659 wxMemoryDC *arg3 = 0 ;
34660 wxRect *arg4 = 0 ;
34661 wxRect *arg5 = 0 ;
34662 bool result;
34663 wxRect temp4 ;
34664 wxRect temp5 ;
34665 PyObject * obj0 = 0 ;
34666 PyObject * obj1 = 0 ;
34667 PyObject * obj2 = 0 ;
34668 PyObject * obj3 = 0 ;
34669 PyObject * obj4 = 0 ;
34670 char *kwnames[] = {
34671 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34672 };
34673
34674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34676 if (SWIG_arg_fail(1)) SWIG_fail;
34677 {
34678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34679 if (SWIG_arg_fail(2)) SWIG_fail;
34680 if (arg2 == NULL) {
34681 SWIG_null_ref("wxDC");
34682 }
34683 if (SWIG_arg_fail(2)) SWIG_fail;
34684 }
34685 {
34686 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34687 if (SWIG_arg_fail(3)) SWIG_fail;
34688 if (arg3 == NULL) {
34689 SWIG_null_ref("wxMemoryDC");
34690 }
34691 if (SWIG_arg_fail(3)) SWIG_fail;
34692 }
34693 {
34694 arg4 = &temp4;
34695 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34696 }
34697 {
34698 arg5 = &temp5;
34699 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34700 }
34701 {
34702 PyThreadState* __tstate = wxPyBeginAllowThreads();
34703 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34704
34705 wxPyEndAllowThreads(__tstate);
34706 if (PyErr_Occurred()) SWIG_fail;
34707 }
34708 {
34709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34710 }
34711 return resultobj;
34712 fail:
34713 return NULL;
34714 }
34715
34716
34717 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34718 PyObject *resultobj = NULL;
34719 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34720 wxPoint *arg2 = 0 ;
34721 wxPoint *arg3 = 0 ;
34722 bool arg4 ;
34723 bool arg5 ;
34724 bool result;
34725 wxPoint temp2 ;
34726 wxPoint temp3 ;
34727 PyObject * obj0 = 0 ;
34728 PyObject * obj1 = 0 ;
34729 PyObject * obj2 = 0 ;
34730 PyObject * obj3 = 0 ;
34731 PyObject * obj4 = 0 ;
34732 char *kwnames[] = {
34733 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34734 };
34735
34736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34738 if (SWIG_arg_fail(1)) SWIG_fail;
34739 {
34740 arg2 = &temp2;
34741 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34742 }
34743 {
34744 arg3 = &temp3;
34745 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34746 }
34747 {
34748 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
34749 if (SWIG_arg_fail(4)) SWIG_fail;
34750 }
34751 {
34752 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
34753 if (SWIG_arg_fail(5)) SWIG_fail;
34754 }
34755 {
34756 PyThreadState* __tstate = wxPyBeginAllowThreads();
34757 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34758
34759 wxPyEndAllowThreads(__tstate);
34760 if (PyErr_Occurred()) SWIG_fail;
34761 }
34762 {
34763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34764 }
34765 return resultobj;
34766 fail:
34767 return NULL;
34768 }
34769
34770
34771 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34772 PyObject *obj;
34773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34774 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34775 Py_INCREF(obj);
34776 return Py_BuildValue((char *)"");
34777 }
34778 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34779 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34780 return 1;
34781 }
34782
34783
34784 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34785 PyObject *pyobj = NULL;
34786
34787 {
34788 #if wxUSE_UNICODE
34789 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34790 #else
34791 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34792 #endif
34793 }
34794 return pyobj;
34795 }
34796
34797
34798 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34799 PyObject *resultobj = NULL;
34800 wxWindow *arg1 = (wxWindow *) 0 ;
34801 int arg2 = (int) -1 ;
34802 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34803 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34806 wxSize const &arg5_defvalue = wxDefaultSize ;
34807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34808 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34811 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34812 wxString *arg8 = (wxString *) &arg8_defvalue ;
34813 wxDatePickerCtrl *result;
34814 wxPoint temp4 ;
34815 wxSize temp5 ;
34816 bool temp8 = false ;
34817 PyObject * obj0 = 0 ;
34818 PyObject * obj1 = 0 ;
34819 PyObject * obj2 = 0 ;
34820 PyObject * obj3 = 0 ;
34821 PyObject * obj4 = 0 ;
34822 PyObject * obj5 = 0 ;
34823 PyObject * obj6 = 0 ;
34824 PyObject * obj7 = 0 ;
34825 char *kwnames[] = {
34826 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34827 };
34828
34829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34831 if (SWIG_arg_fail(1)) SWIG_fail;
34832 if (obj1) {
34833 {
34834 arg2 = static_cast<int >(SWIG_As_int(obj1));
34835 if (SWIG_arg_fail(2)) SWIG_fail;
34836 }
34837 }
34838 if (obj2) {
34839 {
34840 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34841 if (SWIG_arg_fail(3)) SWIG_fail;
34842 if (arg3 == NULL) {
34843 SWIG_null_ref("wxDateTime");
34844 }
34845 if (SWIG_arg_fail(3)) SWIG_fail;
34846 }
34847 }
34848 if (obj3) {
34849 {
34850 arg4 = &temp4;
34851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34852 }
34853 }
34854 if (obj4) {
34855 {
34856 arg5 = &temp5;
34857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34858 }
34859 }
34860 if (obj5) {
34861 {
34862 arg6 = static_cast<long >(SWIG_As_long(obj5));
34863 if (SWIG_arg_fail(6)) SWIG_fail;
34864 }
34865 }
34866 if (obj6) {
34867 {
34868 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34869 if (SWIG_arg_fail(7)) SWIG_fail;
34870 if (arg7 == NULL) {
34871 SWIG_null_ref("wxValidator");
34872 }
34873 if (SWIG_arg_fail(7)) SWIG_fail;
34874 }
34875 }
34876 if (obj7) {
34877 {
34878 arg8 = wxString_in_helper(obj7);
34879 if (arg8 == NULL) SWIG_fail;
34880 temp8 = true;
34881 }
34882 }
34883 {
34884 if (!wxPyCheckForApp()) SWIG_fail;
34885 PyThreadState* __tstate = wxPyBeginAllowThreads();
34886 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34887
34888 wxPyEndAllowThreads(__tstate);
34889 if (PyErr_Occurred()) SWIG_fail;
34890 }
34891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34892 {
34893 if (temp8)
34894 delete arg8;
34895 }
34896 return resultobj;
34897 fail:
34898 {
34899 if (temp8)
34900 delete arg8;
34901 }
34902 return NULL;
34903 }
34904
34905
34906 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34907 PyObject *resultobj = NULL;
34908 wxDatePickerCtrl *result;
34909 char *kwnames[] = {
34910 NULL
34911 };
34912
34913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34914 {
34915 if (!wxPyCheckForApp()) SWIG_fail;
34916 PyThreadState* __tstate = wxPyBeginAllowThreads();
34917 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34918
34919 wxPyEndAllowThreads(__tstate);
34920 if (PyErr_Occurred()) SWIG_fail;
34921 }
34922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34923 return resultobj;
34924 fail:
34925 return NULL;
34926 }
34927
34928
34929 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34930 PyObject *resultobj = NULL;
34931 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34932 wxWindow *arg2 = (wxWindow *) 0 ;
34933 int arg3 = (int) -1 ;
34934 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34935 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34938 wxSize const &arg6_defvalue = wxDefaultSize ;
34939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34940 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34941 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34942 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34943 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34944 wxString *arg9 = (wxString *) &arg9_defvalue ;
34945 bool result;
34946 wxPoint temp5 ;
34947 wxSize temp6 ;
34948 bool temp9 = false ;
34949 PyObject * obj0 = 0 ;
34950 PyObject * obj1 = 0 ;
34951 PyObject * obj2 = 0 ;
34952 PyObject * obj3 = 0 ;
34953 PyObject * obj4 = 0 ;
34954 PyObject * obj5 = 0 ;
34955 PyObject * obj6 = 0 ;
34956 PyObject * obj7 = 0 ;
34957 PyObject * obj8 = 0 ;
34958 char *kwnames[] = {
34959 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34960 };
34961
34962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34964 if (SWIG_arg_fail(1)) SWIG_fail;
34965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34966 if (SWIG_arg_fail(2)) SWIG_fail;
34967 if (obj2) {
34968 {
34969 arg3 = static_cast<int >(SWIG_As_int(obj2));
34970 if (SWIG_arg_fail(3)) SWIG_fail;
34971 }
34972 }
34973 if (obj3) {
34974 {
34975 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34976 if (SWIG_arg_fail(4)) SWIG_fail;
34977 if (arg4 == NULL) {
34978 SWIG_null_ref("wxDateTime");
34979 }
34980 if (SWIG_arg_fail(4)) SWIG_fail;
34981 }
34982 }
34983 if (obj4) {
34984 {
34985 arg5 = &temp5;
34986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34987 }
34988 }
34989 if (obj5) {
34990 {
34991 arg6 = &temp6;
34992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34993 }
34994 }
34995 if (obj6) {
34996 {
34997 arg7 = static_cast<long >(SWIG_As_long(obj6));
34998 if (SWIG_arg_fail(7)) SWIG_fail;
34999 }
35000 }
35001 if (obj7) {
35002 {
35003 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
35004 if (SWIG_arg_fail(8)) SWIG_fail;
35005 if (arg8 == NULL) {
35006 SWIG_null_ref("wxValidator");
35007 }
35008 if (SWIG_arg_fail(8)) SWIG_fail;
35009 }
35010 }
35011 if (obj8) {
35012 {
35013 arg9 = wxString_in_helper(obj8);
35014 if (arg9 == NULL) SWIG_fail;
35015 temp9 = true;
35016 }
35017 }
35018 {
35019 PyThreadState* __tstate = wxPyBeginAllowThreads();
35020 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
35021
35022 wxPyEndAllowThreads(__tstate);
35023 if (PyErr_Occurred()) SWIG_fail;
35024 }
35025 {
35026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35027 }
35028 {
35029 if (temp9)
35030 delete arg9;
35031 }
35032 return resultobj;
35033 fail:
35034 {
35035 if (temp9)
35036 delete arg9;
35037 }
35038 return NULL;
35039 }
35040
35041
35042 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
35043 PyObject *resultobj = NULL;
35044 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35045 wxDateTime *arg2 = 0 ;
35046 PyObject * obj0 = 0 ;
35047 PyObject * obj1 = 0 ;
35048 char *kwnames[] = {
35049 (char *) "self",(char *) "dt", NULL
35050 };
35051
35052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
35053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35054 if (SWIG_arg_fail(1)) SWIG_fail;
35055 {
35056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35057 if (SWIG_arg_fail(2)) SWIG_fail;
35058 if (arg2 == NULL) {
35059 SWIG_null_ref("wxDateTime");
35060 }
35061 if (SWIG_arg_fail(2)) SWIG_fail;
35062 }
35063 {
35064 PyThreadState* __tstate = wxPyBeginAllowThreads();
35065 (arg1)->SetValue((wxDateTime const &)*arg2);
35066
35067 wxPyEndAllowThreads(__tstate);
35068 if (PyErr_Occurred()) SWIG_fail;
35069 }
35070 Py_INCREF(Py_None); resultobj = Py_None;
35071 return resultobj;
35072 fail:
35073 return NULL;
35074 }
35075
35076
35077 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
35078 PyObject *resultobj = NULL;
35079 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35080 wxDateTime result;
35081 PyObject * obj0 = 0 ;
35082 char *kwnames[] = {
35083 (char *) "self", NULL
35084 };
35085
35086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
35087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35088 if (SWIG_arg_fail(1)) SWIG_fail;
35089 {
35090 PyThreadState* __tstate = wxPyBeginAllowThreads();
35091 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
35092
35093 wxPyEndAllowThreads(__tstate);
35094 if (PyErr_Occurred()) SWIG_fail;
35095 }
35096 {
35097 wxDateTime * resultptr;
35098 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
35099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35100 }
35101 return resultobj;
35102 fail:
35103 return NULL;
35104 }
35105
35106
35107 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
35108 PyObject *resultobj = NULL;
35109 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35110 wxDateTime *arg2 = 0 ;
35111 wxDateTime *arg3 = 0 ;
35112 PyObject * obj0 = 0 ;
35113 PyObject * obj1 = 0 ;
35114 PyObject * obj2 = 0 ;
35115 char *kwnames[] = {
35116 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
35117 };
35118
35119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
35120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35121 if (SWIG_arg_fail(1)) SWIG_fail;
35122 {
35123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35124 if (SWIG_arg_fail(2)) SWIG_fail;
35125 if (arg2 == NULL) {
35126 SWIG_null_ref("wxDateTime");
35127 }
35128 if (SWIG_arg_fail(2)) SWIG_fail;
35129 }
35130 {
35131 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35132 if (SWIG_arg_fail(3)) SWIG_fail;
35133 if (arg3 == NULL) {
35134 SWIG_null_ref("wxDateTime");
35135 }
35136 if (SWIG_arg_fail(3)) SWIG_fail;
35137 }
35138 {
35139 PyThreadState* __tstate = wxPyBeginAllowThreads();
35140 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
35141
35142 wxPyEndAllowThreads(__tstate);
35143 if (PyErr_Occurred()) SWIG_fail;
35144 }
35145 Py_INCREF(Py_None); resultobj = Py_None;
35146 return resultobj;
35147 fail:
35148 return NULL;
35149 }
35150
35151
35152 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35153 PyObject *resultobj = NULL;
35154 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35155 wxDateTime result;
35156 PyObject * obj0 = 0 ;
35157 char *kwnames[] = {
35158 (char *) "self", NULL
35159 };
35160
35161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
35162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35163 if (SWIG_arg_fail(1)) SWIG_fail;
35164 {
35165 PyThreadState* __tstate = wxPyBeginAllowThreads();
35166 result = wxDatePickerCtrl_GetLowerLimit(arg1);
35167
35168 wxPyEndAllowThreads(__tstate);
35169 if (PyErr_Occurred()) SWIG_fail;
35170 }
35171 {
35172 wxDateTime * resultptr;
35173 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
35174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35175 }
35176 return resultobj;
35177 fail:
35178 return NULL;
35179 }
35180
35181
35182 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35183 PyObject *resultobj = NULL;
35184 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35185 wxDateTime result;
35186 PyObject * obj0 = 0 ;
35187 char *kwnames[] = {
35188 (char *) "self", NULL
35189 };
35190
35191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
35192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35193 if (SWIG_arg_fail(1)) SWIG_fail;
35194 {
35195 PyThreadState* __tstate = wxPyBeginAllowThreads();
35196 result = wxDatePickerCtrl_GetUpperLimit(arg1);
35197
35198 wxPyEndAllowThreads(__tstate);
35199 if (PyErr_Occurred()) SWIG_fail;
35200 }
35201 {
35202 wxDateTime * resultptr;
35203 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
35204 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35205 }
35206 return resultobj;
35207 fail:
35208 return NULL;
35209 }
35210
35211
35212 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
35213 PyObject *obj;
35214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35215 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
35216 Py_INCREF(obj);
35217 return Py_BuildValue((char *)"");
35218 }
35219 static PyMethodDef SwigMethods[] = {
35220 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
35227 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
35242 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
35254 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"Choice_GetCurrentSelection", (PyCFunction) _wrap_Choice_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
35260 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction) _wrap_ComboBox_GetCurrentSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35292 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35306 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35311 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35318 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35324 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35332 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35355 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35364 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35395 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35453 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35458 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35470 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35483 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35495 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35499 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35517 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35524 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35550 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35558 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35580 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35586 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35597 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35599 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35605 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35607 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35614 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35616 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35646 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35691 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35697 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35709 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35761 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35767 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35782 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35787 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35788 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35792 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35793 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35794 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35798 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35807 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35808 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35809 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35810 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35811 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35812 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35813 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35814 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35815 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35816 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35817 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35818 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35819 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35820 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35821 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35822 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35823 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35824 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35825 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35826 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35827 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35828 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35829 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35830 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35831 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35832 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35833 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35834 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35835 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35836 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35837 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35838 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35839 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35840 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35841 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35842 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35843 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35844 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35845 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35846 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35847 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35848 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35849 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35850 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35851 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35852 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35853 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35854 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35855 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35856 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35857 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35858 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35859 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35860 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35861 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35862 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35863 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35864 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35865 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35866 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35867 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35868 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35869 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35870 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35871 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35872 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35873 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35874 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35875 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35876 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35877 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35878 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35879 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35880 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35881 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35882 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35883 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35884 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35885 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35886 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35887 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35888 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35889 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35890 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35891 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35892 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35893 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35894 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35895 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35896 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35897 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35898 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35899 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35900 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35901 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35902 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35903 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35904 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35905 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35906 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35907 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35908 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35909 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35910 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35911 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35912 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35913 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35914 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35915 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35916 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35917 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35918 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35919 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35920 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35921 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35922 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35923 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35924 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35925 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35926 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35927 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35928 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35929 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35930 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35931 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35932 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35933 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35934 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35935 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35936 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35937 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35938 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35939 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35940 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35941 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35942 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35943 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35944 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35945 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35946 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35947 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35948 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35949 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35950 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35951 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35952 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35953 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35954 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35955 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35956 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35957 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35958 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35959 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35960 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35961 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35962 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35963 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35964 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35965 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35966 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35967 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35968 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35969 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35970 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35971 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35972 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35973 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35974 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35975 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35976 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35977 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35978 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35979 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35980 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35981 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35982 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35983 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35984 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35985 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35986 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35987 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35988 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35989 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35990 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35991 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35992 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35993 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35994 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35995 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35996 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35997 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35998 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35999 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
36000 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
36001 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36002 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36003 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
36004 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
36005 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
36006 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
36007 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36008 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36009 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36010 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
36011 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
36012 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
36013 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
36014 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36015 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
36016 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36017 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36018 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36019 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
36020 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
36021 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36022 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
36023 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36024 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
36025 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
36026 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
36027 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36028 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36029 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
36030 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
36031 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
36032 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
36033 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
36034 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
36035 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36036 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
36037 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
36038 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
36039 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
36040 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36041 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36042 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
36043 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
36044 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
36045 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
36046 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
36047 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36048 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36049 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36050 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36051 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
36052 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
36053 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
36054 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
36055 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
36056 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36057 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36058 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36059 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
36060 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
36061 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36062 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
36063 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
36064 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
36065 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
36066 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
36067 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
36068 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
36069 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
36070 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
36071 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36072 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
36073 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
36074 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
36075 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
36076 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
36077 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
36078 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
36079 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
36080 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36081 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
36082 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
36083 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36084 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36085 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36086 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36087 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
36088 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
36089 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
36090 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
36091 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
36092 { NULL, NULL, 0, NULL }
36093 };
36094
36095
36096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36097
36098 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36099 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36100 }
36101 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36102 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36103 }
36104 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36105 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36106 }
36107 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36108 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36109 }
36110 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36111 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36112 }
36113 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
36114 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36115 }
36116 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
36117 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36118 }
36119 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36120 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36121 }
36122 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36123 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36124 }
36125 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36126 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36127 }
36128 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
36129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
36130 }
36131 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36132 return (void *)((wxEvent *) ((wxPyEvent *) x));
36133 }
36134 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36135 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36136 }
36137 static void *_p_wxListEventTo_p_wxEvent(void *x) {
36138 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36139 }
36140 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
36141 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36142 }
36143 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
36144 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36145 }
36146 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
36147 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36148 }
36149 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
36150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
36151 }
36152 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36153 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36154 }
36155 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36157 }
36158 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36159 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36160 }
36161 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36162 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36163 }
36164 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36165 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36166 }
36167 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36168 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36169 }
36170 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36171 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36172 }
36173 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36174 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36175 }
36176 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
36177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
36178 }
36179 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36180 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36181 }
36182 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36183 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36184 }
36185 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36186 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36187 }
36188 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36189 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36190 }
36191 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36192 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36193 }
36194 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36195 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36196 }
36197 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36198 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36199 }
36200 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36201 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36202 }
36203 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36204 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36205 }
36206 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36207 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36208 }
36209 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36210 return (void *)((wxEvent *) ((wxShowEvent *) x));
36211 }
36212 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36213 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36214 }
36215 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36216 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36217 }
36218 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36220 }
36221 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36222 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36223 }
36224 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36225 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36226 }
36227 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36228 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36229 }
36230 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
36231 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36232 }
36233 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
36234 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36235 }
36236 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
36237 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36238 }
36239 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
36240 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
36241 }
36242 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36243 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36244 }
36245 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
36246 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
36247 }
36248 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
36249 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36250 }
36251 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
36252 return (void *)((wxPyListCtrl *) ((wxListView *) x));
36253 }
36254 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
36255 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
36256 }
36257 static void *_p_wxToolBarTo_p_wxControl(void *x) {
36258 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
36259 }
36260 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
36261 return (void *)((wxControl *) ((wxToggleButton *) x));
36262 }
36263 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
36264 return (void *)((wxControl *) ((wxRadioButton *) x));
36265 }
36266 static void *_p_wxPyControlTo_p_wxControl(void *x) {
36267 return (void *)((wxControl *) ((wxPyControl *) x));
36268 }
36269 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
36270 return (void *)((wxControl *) ((wxToolBarBase *) x));
36271 }
36272 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
36273 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36274 }
36275 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
36276 return (void *)((wxControl *) ((wxPyListCtrl *) x));
36277 }
36278 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
36279 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36280 }
36281 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
36282 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
36283 }
36284 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36285 return (void *)((wxControl *) ((wxScrollBar *) x));
36286 }
36287 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36288 return (void *)((wxControl *) ((wxControlWithItems *) x));
36289 }
36290 static void *_p_wxGaugeTo_p_wxControl(void *x) {
36291 return (void *)((wxControl *) ((wxGauge *) x));
36292 }
36293 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36294 return (void *)((wxControl *) ((wxStaticLine *) x));
36295 }
36296 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
36297 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
36298 }
36299 static void *_p_wxListbookTo_p_wxControl(void *x) {
36300 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36301 }
36302 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36303 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36304 }
36305 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36306 return (void *)((wxControl *) ((wxCheckBox *) x));
36307 }
36308 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36309 return (void *)((wxControl *) ((wxRadioBox *) x));
36310 }
36311 static void *_p_wxChoiceTo_p_wxControl(void *x) {
36312 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36313 }
36314 static void *_p_wxListBoxTo_p_wxControl(void *x) {
36315 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36316 }
36317 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36318 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36319 }
36320 static void *_p_wxListViewTo_p_wxControl(void *x) {
36321 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36322 }
36323 static void *_p_wxNotebookTo_p_wxControl(void *x) {
36324 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36325 }
36326 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36327 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36328 }
36329 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36330 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36331 }
36332 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36333 return (void *)((wxControl *) ((wxStaticText *) x));
36334 }
36335 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36336 return (void *)((wxControl *) ((wxStaticBox *) x));
36337 }
36338 static void *_p_wxSliderTo_p_wxControl(void *x) {
36339 return (void *)((wxControl *) ((wxSlider *) x));
36340 }
36341 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36342 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36343 }
36344 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36345 return (void *)((wxControl *) ((wxSpinButton *) x));
36346 }
36347 static void *_p_wxButtonTo_p_wxControl(void *x) {
36348 return (void *)((wxControl *) ((wxButton *) x));
36349 }
36350 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36351 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36352 }
36353 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36354 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36355 }
36356 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36357 return (void *)((wxControl *) ((wxTextCtrl *) x));
36358 }
36359 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36360 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36361 }
36362 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36363 return (void *)((wxChoice *) ((wxComboBox *) x));
36364 }
36365 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36366 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36367 }
36368 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36369 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36370 }
36371 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36372 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36373 }
36374 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36375 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36376 }
36377 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36378 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36379 }
36380 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36381 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36382 }
36383 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36384 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36385 }
36386 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36387 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36388 }
36389 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36390 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36391 }
36392 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36393 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36394 }
36395 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36396 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36397 }
36398 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36399 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36400 }
36401 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36402 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36403 }
36404 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36405 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36406 }
36407 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36408 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36409 }
36410 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36411 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36412 }
36413 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36414 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36415 }
36416 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36417 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36418 }
36419 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36420 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36421 }
36422 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36423 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36424 }
36425 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36426 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36427 }
36428 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36429 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36430 }
36431 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36432 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36433 }
36434 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36435 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36436 }
36437 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36438 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36439 }
36440 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36441 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36442 }
36443 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36444 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36445 }
36446 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36447 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36448 }
36449 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36450 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36451 }
36452 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36454 }
36455 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36456 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36457 }
36458 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36459 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36460 }
36461 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36462 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36463 }
36464 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36465 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36466 }
36467 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36468 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36469 }
36470 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36471 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36472 }
36473 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36474 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36475 }
36476 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36477 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36478 }
36479 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36480 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36481 }
36482 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36484 }
36485 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36486 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36487 }
36488 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36489 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36490 }
36491 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36493 }
36494 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36495 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36496 }
36497 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36498 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36499 }
36500 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36502 }
36503 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36505 }
36506 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36508 }
36509 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36510 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36511 }
36512 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36514 }
36515 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36516 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36517 }
36518 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36520 }
36521 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36522 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36523 }
36524 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36525 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36526 }
36527 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36528 return (void *)((wxButton *) ((wxBitmapButton *) x));
36529 }
36530 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36531 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36532 }
36533 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36534 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36535 }
36536 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36537 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36538 }
36539 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36541 }
36542 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36544 }
36545 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) ((wxSizerItem *) x));
36547 }
36548 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36550 }
36551 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36553 }
36554 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36556 }
36557 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36559 }
36560 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36562 }
36563 static void *_p_wxSizerTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) ((wxSizer *) x));
36565 }
36566 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36568 }
36569 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36571 }
36572 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36574 }
36575 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36577 }
36578 static void *_p_wxEventTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) ((wxEvent *) x));
36580 }
36581 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36583 }
36584 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36586 }
36587 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36589 }
36590 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36592 }
36593 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36595 }
36596 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36598 }
36599 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36600 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36601 }
36602 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36603 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36604 }
36605 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36606 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36607 }
36608 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36609 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36610 }
36611 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36612 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36613 }
36614 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36615 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36616 }
36617 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36619 }
36620 static void *_p_wxControlTo_p_wxObject(void *x) {
36621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36622 }
36623 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36625 }
36626 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36628 }
36629 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36631 }
36632 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36634 }
36635 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36637 }
36638 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36639 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36640 }
36641 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36643 }
36644 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36645 return (void *)((wxObject *) ((wxFSFile *) x));
36646 }
36647 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36648 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36649 }
36650 static void *_p_wxListViewTo_p_wxObject(void *x) {
36651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36652 }
36653 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36655 }
36656 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36658 }
36659 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36660 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36661 }
36662 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36664 }
36665 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36667 }
36668 static void *_p_wxListbookTo_p_wxObject(void *x) {
36669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36670 }
36671 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36672 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36673 }
36674 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36676 }
36677 static void *_p_wxSliderTo_p_wxObject(void *x) {
36678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36679 }
36680 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36681 return (void *)((wxObject *) ((wxMenuItem *) x));
36682 }
36683 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36685 }
36686 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36687 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36688 }
36689 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36690 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36691 }
36692 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36693 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36694 }
36695 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36696 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36697 }
36698 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36699 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36700 }
36701 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36702 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36703 }
36704 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36705 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36706 }
36707 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36708 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36709 }
36710 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36712 }
36713 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36714 return (void *)((wxObject *) ((wxContextHelp *) x));
36715 }
36716 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36718 }
36719 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36720 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36721 }
36722 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36723 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36724 }
36725 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36726 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36727 }
36728 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36729 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36730 }
36731 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36732 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36733 }
36734 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36735 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36736 }
36737 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36738 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36739 }
36740 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36741 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36742 }
36743 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36744 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36745 }
36746 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
36747 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
36748 }
36749 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36750 return (void *)((wxObject *) ((wxImageHandler *) x));
36751 }
36752 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36753 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36754 }
36755 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36756 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36757 }
36758 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36759 return (void *)((wxObject *) ((wxEvtHandler *) x));
36760 }
36761 static void *_p_wxListEventTo_p_wxObject(void *x) {
36762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36763 }
36764 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36766 }
36767 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36769 }
36770 static void *_p_wxButtonTo_p_wxObject(void *x) {
36771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36772 }
36773 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36775 }
36776 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36778 }
36779 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36781 }
36782 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36783 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36784 }
36785 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36786 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36787 }
36788 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36790 }
36791 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36793 }
36794 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36796 }
36797 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36799 }
36800 static void *_p_wxListItemTo_p_wxObject(void *x) {
36801 return (void *)((wxObject *) ((wxListItem *) x));
36802 }
36803 static void *_p_wxImageTo_p_wxObject(void *x) {
36804 return (void *)((wxObject *) ((wxImage *) x));
36805 }
36806 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36807 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36808 }
36809 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36811 }
36812 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36813 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36814 }
36815 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36817 }
36818 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36820 }
36821 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36823 }
36824 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36826 }
36827 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36829 }
36830 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36831 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36832 }
36833 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36834 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36835 }
36836 static void *_p_wxWindowTo_p_wxObject(void *x) {
36837 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36838 }
36839 static void *_p_wxMenuTo_p_wxObject(void *x) {
36840 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36841 }
36842 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36844 }
36845 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36846 return (void *)((wxObject *) ((wxFileSystem *) x));
36847 }
36848 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36849 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36850 }
36851 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36852 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36853 }
36854 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36855 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36856 }
36857 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36858 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36859 }
36860 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36861 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36862 }
36863 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36864 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36865 }
36866 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36867 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36868 }
36869 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36871 }
36872 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36873 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36874 }
36875 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36876 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36877 }
36878 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36880 }
36881 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36882 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36883 }
36884 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36885 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36886 }
36887 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36888 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36889 }
36890 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36892 }
36893 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36895 }
36896 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36897 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36898 }
36899 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36901 }
36902 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36903 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36904 }
36905 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36906 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36907 }
36908 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36909 return (void *)((wxWindow *) ((wxMenuBar *) x));
36910 }
36911 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36912 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36913 }
36914 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36915 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36916 }
36917 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36918 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36919 }
36920 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36921 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36922 }
36923 static void *_p_wxControlTo_p_wxWindow(void *x) {
36924 return (void *)((wxWindow *) ((wxControl *) x));
36925 }
36926 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36927 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36928 }
36929 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36930 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36931 }
36932 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36933 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36934 }
36935 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36936 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36937 }
36938 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36939 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36940 }
36941 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36942 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36943 }
36944 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36945 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36946 }
36947 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36948 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36949 }
36950 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36951 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36952 }
36953 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36954 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36955 }
36956 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36957 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36958 }
36959 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36960 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36961 }
36962 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36963 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36964 }
36965 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36966 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36967 }
36968 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36969 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36970 }
36971 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36972 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36973 }
36974 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36975 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36976 }
36977 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36978 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36979 }
36980 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36981 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36982 }
36983 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36984 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36985 }
36986 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36987 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36988 }
36989 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36990 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36991 }
36992 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36993 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36994 }
36995 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36996 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36997 }
36998 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36999 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
37000 }
37001 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
37002 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
37003 }
37004 static void *_p_wxButtonTo_p_wxWindow(void *x) {
37005 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
37006 }
37007 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
37008 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
37009 }
37010 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
37011 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
37012 }
37013 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
37014 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
37015 }
37016 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
37017 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
37018 }
37019 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
37020 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37021 }
37022 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
37023 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37024 }
37025 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
37026 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37027 }
37028 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
37029 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37030 }
37031 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
37032 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
37033 }
37034 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
37035 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
37036 }
37037 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
37038 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
37039 }
37040 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
37041 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
37042 }
37043 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
37044 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
37045 }
37046 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
37047 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
37048 }
37049 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
37050 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
37051 }
37052 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
37053 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
37054 }
37055 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
37056 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
37057 }
37058 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
37059 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
37060 }
37061 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
37062 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
37063 }
37064 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
37065 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
37066 }
37067 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
37068 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
37069 }
37070 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
37071 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
37072 }
37073 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
37074 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
37075 }
37076 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37077 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37078 }
37079 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37080 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37081 }
37082 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
37083 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
37084 }
37085 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
37086 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
37087 }
37088 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
37089 return (void *)((wxControlWithItems *) ((wxChoice *) x));
37090 }
37091 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
37092 return (void *)((wxControlWithItems *) ((wxListBox *) x));
37093 }
37094 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
37095 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
37096 }
37097 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37098 return (void *)((wxValidator *) ((wxPyValidator *) x));
37099 }
37100 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
37101 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
37102 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
37103 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
37104 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
37105 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
37106 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
37107 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
37108 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
37109 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
37110 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
37111 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
37112 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0};
37113 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0};
37114 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0};
37115 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
37116 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0};
37117 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0};
37118 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0};
37119 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0};
37120 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0};
37121 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
37122 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0};
37123 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
37124 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
37125 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
37126 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
37127 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
37128 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
37129 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
37130 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
37131 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
37132 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0};
37133 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0};
37134 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
37135 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
37136 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
37137 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
37138 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0};
37139 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
37140 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, 0};
37141 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
37142 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
37143 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
37144 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
37145 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
37146 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
37147 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
37148 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
37149 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
37150 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
37151 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
37152 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
37153 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
37154 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
37155 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
37156 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
37157 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
37158 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
37159 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
37160 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
37161 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
37162 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
37163 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
37164 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
37165 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
37166 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
37167 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
37168 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
37169 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
37170 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
37171 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
37172 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
37173 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0};
37174 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0};
37175 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0};
37176 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0};
37177 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0};
37178 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
37179 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
37180 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
37181 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
37182 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0};
37183 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0};
37184 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0};
37185 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0};
37186 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0};
37187 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0};
37188 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0};
37189 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
37190 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
37191 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0};
37192 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, 0};
37193 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
37194 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
37195 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
37196 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
37197 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
37198 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
37199 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
37200 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
37201 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
37202 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
37203 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
37204 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
37205 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
37206 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
37207 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
37208 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
37209 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
37210 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
37211 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
37212 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
37213 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
37214 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
37215 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
37216 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
37217 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
37218 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
37219 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
37220 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
37221 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
37222 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
37223 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
37224 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
37225 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
37226 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
37227 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0};
37228 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0};
37229 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0};
37230 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0};
37231 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0};
37232 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0};
37233 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
37234 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
37235 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0};
37236 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
37237 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0};
37238 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0};
37239 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0};
37240 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0};
37241 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0};
37242 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
37243 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0};
37244 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0};
37245 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
37246 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0};
37247 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
37248 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0};
37249 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0};
37250 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
37251 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0};
37252 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0};
37253 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0};
37254 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0};
37255 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
37256 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
37257 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
37258 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
37259 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
37260 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
37261
37262 static swig_type_info *swig_type_initial[] = {
37263 &_swigt__p_bool,
37264 &_swigt__p_char,
37265 &_swigt__p_form_ops_t,
37266 &_swigt__p_int,
37267 &_swigt__p_long,
37268 &_swigt__p_unsigned_char,
37269 &_swigt__p_unsigned_int,
37270 &_swigt__p_unsigned_long,
37271 &_swigt__p_void,
37272 &_swigt__p_wxANIHandler,
37273 &_swigt__p_wxAcceleratorTable,
37274 &_swigt__p_wxActivateEvent,
37275 &_swigt__p_wxArrayInt,
37276 &_swigt__p_wxArrayString,
37277 &_swigt__p_wxBMPHandler,
37278 &_swigt__p_wxBitmap,
37279 &_swigt__p_wxBitmapButton,
37280 &_swigt__p_wxBookCtrlBase,
37281 &_swigt__p_wxBookCtrlBaseEvent,
37282 &_swigt__p_wxBoxSizer,
37283 &_swigt__p_wxButton,
37284 &_swigt__p_wxCURHandler,
37285 &_swigt__p_wxCheckBox,
37286 &_swigt__p_wxCheckListBox,
37287 &_swigt__p_wxChildFocusEvent,
37288 &_swigt__p_wxChoice,
37289 &_swigt__p_wxChoicebook,
37290 &_swigt__p_wxChoicebookEvent,
37291 &_swigt__p_wxCloseEvent,
37292 &_swigt__p_wxColour,
37293 &_swigt__p_wxComboBox,
37294 &_swigt__p_wxCommandEvent,
37295 &_swigt__p_wxContextHelp,
37296 &_swigt__p_wxContextHelpButton,
37297 &_swigt__p_wxContextMenuEvent,
37298 &_swigt__p_wxControl,
37299 &_swigt__p_wxControlWithItems,
37300 &_swigt__p_wxCursor,
37301 &_swigt__p_wxDC,
37302 &_swigt__p_wxDateEvent,
37303 &_swigt__p_wxDatePickerCtrl,
37304 &_swigt__p_wxDateTime,
37305 &_swigt__p_wxDirFilterListCtrl,
37306 &_swigt__p_wxDisplayChangedEvent,
37307 &_swigt__p_wxDropFilesEvent,
37308 &_swigt__p_wxDuplexMode,
37309 &_swigt__p_wxEraseEvent,
37310 &_swigt__p_wxEvent,
37311 &_swigt__p_wxEvtHandler,
37312 &_swigt__p_wxFSFile,
37313 &_swigt__p_wxFileSystem,
37314 &_swigt__p_wxFlexGridSizer,
37315 &_swigt__p_wxFocusEvent,
37316 &_swigt__p_wxFont,
37317 &_swigt__p_wxGBSizerItem,
37318 &_swigt__p_wxGIFHandler,
37319 &_swigt__p_wxGauge,
37320 &_swigt__p_wxGenericDirCtrl,
37321 &_swigt__p_wxGenericDragImage,
37322 &_swigt__p_wxGridBagSizer,
37323 &_swigt__p_wxGridSizer,
37324 &_swigt__p_wxHelpEvent,
37325 &_swigt__p_wxHelpProvider,
37326 &_swigt__p_wxICOHandler,
37327 &_swigt__p_wxIcon,
37328 &_swigt__p_wxIconizeEvent,
37329 &_swigt__p_wxIdleEvent,
37330 &_swigt__p_wxImage,
37331 &_swigt__p_wxImageHandler,
37332 &_swigt__p_wxImageList,
37333 &_swigt__p_wxIndividualLayoutConstraint,
37334 &_swigt__p_wxInitDialogEvent,
37335 &_swigt__p_wxItemContainer,
37336 &_swigt__p_wxJPEGHandler,
37337 &_swigt__p_wxKeyEvent,
37338 &_swigt__p_wxLayoutConstraints,
37339 &_swigt__p_wxListBox,
37340 &_swigt__p_wxListEvent,
37341 &_swigt__p_wxListItem,
37342 &_swigt__p_wxListItemAttr,
37343 &_swigt__p_wxListView,
37344 &_swigt__p_wxListbook,
37345 &_swigt__p_wxListbookEvent,
37346 &_swigt__p_wxMaximizeEvent,
37347 &_swigt__p_wxMemoryDC,
37348 &_swigt__p_wxMenu,
37349 &_swigt__p_wxMenuBar,
37350 &_swigt__p_wxMenuEvent,
37351 &_swigt__p_wxMenuItem,
37352 &_swigt__p_wxMouseCaptureChangedEvent,
37353 &_swigt__p_wxMouseEvent,
37354 &_swigt__p_wxMoveEvent,
37355 &_swigt__p_wxNavigationKeyEvent,
37356 &_swigt__p_wxNcPaintEvent,
37357 &_swigt__p_wxNotebook,
37358 &_swigt__p_wxNotebookEvent,
37359 &_swigt__p_wxNotifyEvent,
37360 &_swigt__p_wxObject,
37361 &_swigt__p_wxPCXHandler,
37362 &_swigt__p_wxPNGHandler,
37363 &_swigt__p_wxPNMHandler,
37364 &_swigt__p_wxPaintEvent,
37365 &_swigt__p_wxPaletteChangedEvent,
37366 &_swigt__p_wxPaperSize,
37367 &_swigt__p_wxPoint,
37368 &_swigt__p_wxPyApp,
37369 &_swigt__p_wxPyCommandEvent,
37370 &_swigt__p_wxPyControl,
37371 &_swigt__p_wxPyEvent,
37372 &_swigt__p_wxPyImageHandler,
37373 &_swigt__p_wxPyListCtrl,
37374 &_swigt__p_wxPySizer,
37375 &_swigt__p_wxPyTreeCtrl,
37376 &_swigt__p_wxPyTreeItemData,
37377 &_swigt__p_wxPyValidator,
37378 &_swigt__p_wxQueryNewPaletteEvent,
37379 &_swigt__p_wxRadioBox,
37380 &_swigt__p_wxRadioButton,
37381 &_swigt__p_wxRect,
37382 &_swigt__p_wxScrollBar,
37383 &_swigt__p_wxScrollEvent,
37384 &_swigt__p_wxScrollWinEvent,
37385 &_swigt__p_wxSetCursorEvent,
37386 &_swigt__p_wxShowEvent,
37387 &_swigt__p_wxSimpleHelpProvider,
37388 &_swigt__p_wxSize,
37389 &_swigt__p_wxSizeEvent,
37390 &_swigt__p_wxSizer,
37391 &_swigt__p_wxSizerItem,
37392 &_swigt__p_wxSlider,
37393 &_swigt__p_wxSpinButton,
37394 &_swigt__p_wxSpinCtrl,
37395 &_swigt__p_wxSpinEvent,
37396 &_swigt__p_wxStaticBitmap,
37397 &_swigt__p_wxStaticBox,
37398 &_swigt__p_wxStaticBoxSizer,
37399 &_swigt__p_wxStaticLine,
37400 &_swigt__p_wxStaticText,
37401 &_swigt__p_wxStdDialogButtonSizer,
37402 &_swigt__p_wxString,
37403 &_swigt__p_wxSysColourChangedEvent,
37404 &_swigt__p_wxTIFFHandler,
37405 &_swigt__p_wxTextAttr,
37406 &_swigt__p_wxTextCtrl,
37407 &_swigt__p_wxTextUrlEvent,
37408 &_swigt__p_wxToggleButton,
37409 &_swigt__p_wxToolBar,
37410 &_swigt__p_wxToolBarBase,
37411 &_swigt__p_wxToolBarToolBase,
37412 &_swigt__p_wxTreeEvent,
37413 &_swigt__p_wxTreeItemId,
37414 &_swigt__p_wxUpdateUIEvent,
37415 &_swigt__p_wxValidator,
37416 &_swigt__p_wxVisualAttributes,
37417 &_swigt__p_wxWindow,
37418 &_swigt__p_wxWindowCreateEvent,
37419 &_swigt__p_wxWindowDestroyEvent,
37420 &_swigt__p_wxXPMHandler,
37421 &_swigt__ptrdiff_t,
37422 &_swigt__std__ptrdiff_t,
37423 &_swigt__unsigned_int,
37424 };
37425
37426 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
37427 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
37428 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
37429 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
37430 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
37431 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
37432 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
37433 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
37434 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
37435 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
37436 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
37437 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
37438 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}};
37439 static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
37440 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
37441 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}};
37442 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
37443 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
37444 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}};
37445 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
37446 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
37447 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
37448 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
37449 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
37450 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
37451 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
37452 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
37453 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
37454 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
37455 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
37456 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
37457 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
37458 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
37459 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
37460 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
37461 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}};
37462 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
37463 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
37464 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
37465 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
37466 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
37467 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
37468 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
37469 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
37470 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
37471 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
37472 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
37473 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
37474 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
37475 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
37476 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
37477 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
37478 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
37479 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
37480 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
37481 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
37482 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
37483 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37484 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37485 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37486 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
37487 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
37488 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
37489 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
37490 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
37491 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
37492 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
37493 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
37494 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
37495 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
37496 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
37497 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
37498 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
37499 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
37500 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
37501 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
37502 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
37503 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}};
37504 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
37505 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
37506 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}};
37507 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
37508 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}};
37509 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
37510 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
37511 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
37512 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
37513 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
37514 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
37515 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
37516 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
37517 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
37518 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
37519 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
37520 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
37521 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
37522 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
37523 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
37524 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
37525 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
37526 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
37527 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
37528 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
37529 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
37530 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
37531 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
37532 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
37533 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
37534 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
37535 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
37536 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
37537 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
37538 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
37539 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
37540 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
37541 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
37542 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
37543 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
37544 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
37545 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
37546 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
37547 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
37548 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
37549 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
37550 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
37551 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
37552 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
37553 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
37554 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}};
37555 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
37556 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
37557 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
37558 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
37559 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
37560 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
37561 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
37562 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
37563 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
37564 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
37565 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
37566 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
37567 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
37568 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
37569 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
37570 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
37571 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
37572 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
37573 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
37574 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
37575 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
37576 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
37577 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}};
37578 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
37579 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
37580 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
37581 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}};
37582 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
37583 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
37584 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
37585 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
37586 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
37587
37588 static swig_cast_info *swig_cast_initial[] = {
37589 _swigc__p_bool,
37590 _swigc__p_char,
37591 _swigc__p_form_ops_t,
37592 _swigc__p_int,
37593 _swigc__p_long,
37594 _swigc__p_unsigned_char,
37595 _swigc__p_unsigned_int,
37596 _swigc__p_unsigned_long,
37597 _swigc__p_void,
37598 _swigc__p_wxANIHandler,
37599 _swigc__p_wxAcceleratorTable,
37600 _swigc__p_wxActivateEvent,
37601 _swigc__p_wxArrayInt,
37602 _swigc__p_wxArrayString,
37603 _swigc__p_wxBMPHandler,
37604 _swigc__p_wxBitmap,
37605 _swigc__p_wxBitmapButton,
37606 _swigc__p_wxBookCtrlBase,
37607 _swigc__p_wxBookCtrlBaseEvent,
37608 _swigc__p_wxBoxSizer,
37609 _swigc__p_wxButton,
37610 _swigc__p_wxCURHandler,
37611 _swigc__p_wxCheckBox,
37612 _swigc__p_wxCheckListBox,
37613 _swigc__p_wxChildFocusEvent,
37614 _swigc__p_wxChoice,
37615 _swigc__p_wxChoicebook,
37616 _swigc__p_wxChoicebookEvent,
37617 _swigc__p_wxCloseEvent,
37618 _swigc__p_wxColour,
37619 _swigc__p_wxComboBox,
37620 _swigc__p_wxCommandEvent,
37621 _swigc__p_wxContextHelp,
37622 _swigc__p_wxContextHelpButton,
37623 _swigc__p_wxContextMenuEvent,
37624 _swigc__p_wxControl,
37625 _swigc__p_wxControlWithItems,
37626 _swigc__p_wxCursor,
37627 _swigc__p_wxDC,
37628 _swigc__p_wxDateEvent,
37629 _swigc__p_wxDatePickerCtrl,
37630 _swigc__p_wxDateTime,
37631 _swigc__p_wxDirFilterListCtrl,
37632 _swigc__p_wxDisplayChangedEvent,
37633 _swigc__p_wxDropFilesEvent,
37634 _swigc__p_wxDuplexMode,
37635 _swigc__p_wxEraseEvent,
37636 _swigc__p_wxEvent,
37637 _swigc__p_wxEvtHandler,
37638 _swigc__p_wxFSFile,
37639 _swigc__p_wxFileSystem,
37640 _swigc__p_wxFlexGridSizer,
37641 _swigc__p_wxFocusEvent,
37642 _swigc__p_wxFont,
37643 _swigc__p_wxGBSizerItem,
37644 _swigc__p_wxGIFHandler,
37645 _swigc__p_wxGauge,
37646 _swigc__p_wxGenericDirCtrl,
37647 _swigc__p_wxGenericDragImage,
37648 _swigc__p_wxGridBagSizer,
37649 _swigc__p_wxGridSizer,
37650 _swigc__p_wxHelpEvent,
37651 _swigc__p_wxHelpProvider,
37652 _swigc__p_wxICOHandler,
37653 _swigc__p_wxIcon,
37654 _swigc__p_wxIconizeEvent,
37655 _swigc__p_wxIdleEvent,
37656 _swigc__p_wxImage,
37657 _swigc__p_wxImageHandler,
37658 _swigc__p_wxImageList,
37659 _swigc__p_wxIndividualLayoutConstraint,
37660 _swigc__p_wxInitDialogEvent,
37661 _swigc__p_wxItemContainer,
37662 _swigc__p_wxJPEGHandler,
37663 _swigc__p_wxKeyEvent,
37664 _swigc__p_wxLayoutConstraints,
37665 _swigc__p_wxListBox,
37666 _swigc__p_wxListEvent,
37667 _swigc__p_wxListItem,
37668 _swigc__p_wxListItemAttr,
37669 _swigc__p_wxListView,
37670 _swigc__p_wxListbook,
37671 _swigc__p_wxListbookEvent,
37672 _swigc__p_wxMaximizeEvent,
37673 _swigc__p_wxMemoryDC,
37674 _swigc__p_wxMenu,
37675 _swigc__p_wxMenuBar,
37676 _swigc__p_wxMenuEvent,
37677 _swigc__p_wxMenuItem,
37678 _swigc__p_wxMouseCaptureChangedEvent,
37679 _swigc__p_wxMouseEvent,
37680 _swigc__p_wxMoveEvent,
37681 _swigc__p_wxNavigationKeyEvent,
37682 _swigc__p_wxNcPaintEvent,
37683 _swigc__p_wxNotebook,
37684 _swigc__p_wxNotebookEvent,
37685 _swigc__p_wxNotifyEvent,
37686 _swigc__p_wxObject,
37687 _swigc__p_wxPCXHandler,
37688 _swigc__p_wxPNGHandler,
37689 _swigc__p_wxPNMHandler,
37690 _swigc__p_wxPaintEvent,
37691 _swigc__p_wxPaletteChangedEvent,
37692 _swigc__p_wxPaperSize,
37693 _swigc__p_wxPoint,
37694 _swigc__p_wxPyApp,
37695 _swigc__p_wxPyCommandEvent,
37696 _swigc__p_wxPyControl,
37697 _swigc__p_wxPyEvent,
37698 _swigc__p_wxPyImageHandler,
37699 _swigc__p_wxPyListCtrl,
37700 _swigc__p_wxPySizer,
37701 _swigc__p_wxPyTreeCtrl,
37702 _swigc__p_wxPyTreeItemData,
37703 _swigc__p_wxPyValidator,
37704 _swigc__p_wxQueryNewPaletteEvent,
37705 _swigc__p_wxRadioBox,
37706 _swigc__p_wxRadioButton,
37707 _swigc__p_wxRect,
37708 _swigc__p_wxScrollBar,
37709 _swigc__p_wxScrollEvent,
37710 _swigc__p_wxScrollWinEvent,
37711 _swigc__p_wxSetCursorEvent,
37712 _swigc__p_wxShowEvent,
37713 _swigc__p_wxSimpleHelpProvider,
37714 _swigc__p_wxSize,
37715 _swigc__p_wxSizeEvent,
37716 _swigc__p_wxSizer,
37717 _swigc__p_wxSizerItem,
37718 _swigc__p_wxSlider,
37719 _swigc__p_wxSpinButton,
37720 _swigc__p_wxSpinCtrl,
37721 _swigc__p_wxSpinEvent,
37722 _swigc__p_wxStaticBitmap,
37723 _swigc__p_wxStaticBox,
37724 _swigc__p_wxStaticBoxSizer,
37725 _swigc__p_wxStaticLine,
37726 _swigc__p_wxStaticText,
37727 _swigc__p_wxStdDialogButtonSizer,
37728 _swigc__p_wxString,
37729 _swigc__p_wxSysColourChangedEvent,
37730 _swigc__p_wxTIFFHandler,
37731 _swigc__p_wxTextAttr,
37732 _swigc__p_wxTextCtrl,
37733 _swigc__p_wxTextUrlEvent,
37734 _swigc__p_wxToggleButton,
37735 _swigc__p_wxToolBar,
37736 _swigc__p_wxToolBarBase,
37737 _swigc__p_wxToolBarToolBase,
37738 _swigc__p_wxTreeEvent,
37739 _swigc__p_wxTreeItemId,
37740 _swigc__p_wxUpdateUIEvent,
37741 _swigc__p_wxValidator,
37742 _swigc__p_wxVisualAttributes,
37743 _swigc__p_wxWindow,
37744 _swigc__p_wxWindowCreateEvent,
37745 _swigc__p_wxWindowDestroyEvent,
37746 _swigc__p_wxXPMHandler,
37747 _swigc__ptrdiff_t,
37748 _swigc__std__ptrdiff_t,
37749 _swigc__unsigned_int,
37750 };
37751
37752
37753 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37754
37755 static swig_const_info swig_const_table[] = {
37756 {0, 0, 0, 0.0, 0, 0}};
37757
37758 #ifdef __cplusplus
37759 }
37760 #endif
37761 /*************************************************************************
37762 * Type initialization:
37763 * This problem is tough by the requirement that no dynamic
37764 * memory is used. Also, since swig_type_info structures store pointers to
37765 * swig_cast_info structures and swig_cast_info structures store pointers back
37766 * to swig_type_info structures, we need some lookup code at initialization.
37767 * The idea is that swig generates all the structures that are needed.
37768 * The runtime then collects these partially filled structures.
37769 * The SWIG_InitializeModule function takes these initial arrays out of
37770 * swig_module, and does all the lookup, filling in the swig_module.types
37771 * array with the correct data and linking the correct swig_cast_info
37772 * structures together.
37773
37774 * The generated swig_type_info structures are assigned staticly to an initial
37775 * array. We just loop though that array, and handle each type individually.
37776 * First we lookup if this type has been already loaded, and if so, use the
37777 * loaded structure instead of the generated one. Then we have to fill in the
37778 * cast linked list. The cast data is initially stored in something like a
37779 * two-dimensional array. Each row corresponds to a type (there are the same
37780 * number of rows as there are in the swig_type_initial array). Each entry in
37781 * a column is one of the swig_cast_info structures for that type.
37782 * The cast_initial array is actually an array of arrays, because each row has
37783 * a variable number of columns. So to actually build the cast linked list,
37784 * we find the array of casts associated with the type, and loop through it
37785 * adding the casts to the list. The one last trick we need to do is making
37786 * sure the type pointer in the swig_cast_info struct is correct.
37787
37788 * First off, we lookup the cast->type name to see if it is already loaded.
37789 * There are three cases to handle:
37790 * 1) If the cast->type has already been loaded AND the type we are adding
37791 * casting info to has not been loaded (it is in this module), THEN we
37792 * replace the cast->type pointer with the type pointer that has already
37793 * been loaded.
37794 * 2) If BOTH types (the one we are adding casting info to, and the
37795 * cast->type) are loaded, THEN the cast info has already been loaded by
37796 * the previous module so we just ignore it.
37797 * 3) Finally, if cast->type has not already been loaded, then we add that
37798 * swig_cast_info to the linked list (because the cast->type) pointer will
37799 * be correct.
37800 **/
37801
37802 #ifdef __cplusplus
37803 extern "C" {
37804 #if 0
37805 } /* c-mode */
37806 #endif
37807 #endif
37808
37809 #if 0
37810 #define SWIGRUNTIME_DEBUG
37811 #endif
37812
37813 SWIGRUNTIME void
37814 SWIG_InitializeModule(void *clientdata) {
37815 size_t i;
37816 swig_module_info *module_head;
37817 static int init_run = 0;
37818
37819 clientdata = clientdata;
37820
37821 if (init_run) return;
37822 init_run = 1;
37823
37824 /* Initialize the swig_module */
37825 swig_module.type_initial = swig_type_initial;
37826 swig_module.cast_initial = swig_cast_initial;
37827
37828 /* Try and load any already created modules */
37829 module_head = SWIG_GetModule(clientdata);
37830 if (module_head) {
37831 swig_module.next = module_head->next;
37832 module_head->next = &swig_module;
37833 } else {
37834 /* This is the first module loaded */
37835 swig_module.next = &swig_module;
37836 SWIG_SetModule(clientdata, &swig_module);
37837 }
37838
37839 /* Now work on filling in swig_module.types */
37840 #ifdef SWIGRUNTIME_DEBUG
37841 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
37842 #endif
37843 for (i = 0; i < swig_module.size; ++i) {
37844 swig_type_info *type = 0;
37845 swig_type_info *ret;
37846 swig_cast_info *cast;
37847
37848 #ifdef SWIGRUNTIME_DEBUG
37849 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
37850 #endif
37851
37852 /* if there is another module already loaded */
37853 if (swig_module.next != &swig_module) {
37854 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
37855 }
37856 if (type) {
37857 /* Overwrite clientdata field */
37858 #ifdef SWIGRUNTIME_DEBUG
37859 printf("SWIG_InitializeModule: found type %s\n", type->name);
37860 #endif
37861 if (swig_module.type_initial[i]->clientdata) {
37862 type->clientdata = swig_module.type_initial[i]->clientdata;
37863 #ifdef SWIGRUNTIME_DEBUG
37864 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
37865 #endif
37866 }
37867 } else {
37868 type = swig_module.type_initial[i];
37869 }
37870
37871 /* Insert casting types */
37872 cast = swig_module.cast_initial[i];
37873 while (cast->type) {
37874 /* Don't need to add information already in the list */
37875 ret = 0;
37876 #ifdef SWIGRUNTIME_DEBUG
37877 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
37878 #endif
37879 if (swig_module.next != &swig_module) {
37880 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
37881 #ifdef SWIGRUNTIME_DEBUG
37882 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
37883 #endif
37884 }
37885 if (ret) {
37886 if (type == swig_module.type_initial[i]) {
37887 #ifdef SWIGRUNTIME_DEBUG
37888 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
37889 #endif
37890 cast->type = ret;
37891 ret = 0;
37892 } else {
37893 /* Check for casting already in the list */
37894 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
37895 #ifdef SWIGRUNTIME_DEBUG
37896 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
37897 #endif
37898 if (!ocast) ret = 0;
37899 }
37900 }
37901
37902 if (!ret) {
37903 #ifdef SWIGRUNTIME_DEBUG
37904 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
37905 #endif
37906 if (type->cast) {
37907 type->cast->prev = cast;
37908 cast->next = type->cast;
37909 }
37910 type->cast = cast;
37911 }
37912 cast++;
37913 }
37914 /* Set entry in modules->types array equal to the type */
37915 swig_module.types[i] = type;
37916 }
37917 swig_module.types[i] = 0;
37918
37919 #ifdef SWIGRUNTIME_DEBUG
37920 printf("**** SWIG_InitializeModule: Cast List ******\n");
37921 for (i = 0; i < swig_module.size; ++i) {
37922 int j = 0;
37923 swig_cast_info *cast = swig_module.cast_initial[i];
37924 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
37925 while (cast->type) {
37926 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
37927 cast++;
37928 ++j;
37929 }
37930 printf("---- Total casts: %d\n",j);
37931 }
37932 printf("**** SWIG_InitializeModule: Cast List ******\n");
37933 #endif
37934 }
37935
37936 /* This function will propagate the clientdata field of type to
37937 * any new swig_type_info structures that have been added into the list
37938 * of equivalent types. It is like calling
37939 * SWIG_TypeClientData(type, clientdata) a second time.
37940 */
37941 SWIGRUNTIME void
37942 SWIG_PropagateClientData(void) {
37943 size_t i;
37944 swig_cast_info *equiv;
37945 static int init_run = 0;
37946
37947 if (init_run) return;
37948 init_run = 1;
37949
37950 for (i = 0; i < swig_module.size; i++) {
37951 if (swig_module.types[i]->clientdata) {
37952 equiv = swig_module.types[i]->cast;
37953 while (equiv) {
37954 if (!equiv->converter) {
37955 if (equiv->type && !equiv->type->clientdata)
37956 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
37957 }
37958 equiv = equiv->next;
37959 }
37960 }
37961 }
37962 }
37963
37964 #ifdef __cplusplus
37965 #if 0
37966 {
37967 /* c-mode */
37968 #endif
37969 }
37970 #endif
37971
37972
37973
37974 #ifdef __cplusplus
37975 extern "C" {
37976 #endif
37977
37978 /* Python-specific SWIG API */
37979 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37980 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37981 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37982
37983 /* -----------------------------------------------------------------------------
37984 * global variable support code.
37985 * ----------------------------------------------------------------------------- */
37986
37987 typedef struct swig_globalvar {
37988 char *name; /* Name of global variable */
37989 PyObject *(*get_attr)(void); /* Return the current value */
37990 int (*set_attr)(PyObject *); /* Set the value */
37991 struct swig_globalvar *next;
37992 } swig_globalvar;
37993
37994 typedef struct swig_varlinkobject {
37995 PyObject_HEAD
37996 swig_globalvar *vars;
37997 } swig_varlinkobject;
37998
37999 SWIGINTERN PyObject *
38000 swig_varlink_repr(swig_varlinkobject *v) {
38001 v = v;
38002 return PyString_FromString("<Swig global variables>");
38003 }
38004
38005 SWIGINTERN int
38006 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
38007 swig_globalvar *var;
38008 flags = flags;
38009 fprintf(fp,"Swig global variables { ");
38010 for (var = v->vars; var; var=var->next) {
38011 fprintf(fp,"%s", var->name);
38012 if (var->next) fprintf(fp,", ");
38013 }
38014 fprintf(fp," }\n");
38015 return 0;
38016 }
38017
38018 SWIGINTERN PyObject *
38019 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
38020 swig_globalvar *var = v->vars;
38021 while (var) {
38022 if (strcmp(var->name,n) == 0) {
38023 return (*var->get_attr)();
38024 }
38025 var = var->next;
38026 }
38027 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
38028 return NULL;
38029 }
38030
38031 SWIGINTERN int
38032 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
38033 swig_globalvar *var = v->vars;
38034 while (var) {
38035 if (strcmp(var->name,n) == 0) {
38036 return (*var->set_attr)(p);
38037 }
38038 var = var->next;
38039 }
38040 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
38041 return 1;
38042 }
38043
38044 SWIGINTERN PyTypeObject*
38045 swig_varlink_type(void) {
38046 static char varlink__doc__[] = "Swig var link object";
38047 static PyTypeObject varlink_type
38048 #if !defined(__cplusplus)
38049 ;
38050 static int type_init = 0;
38051 if (!type_init) {
38052 PyTypeObject tmp
38053 #endif
38054 = {
38055 PyObject_HEAD_INIT(&PyType_Type)
38056 0, /* Number of items in variable part (ob_size) */
38057 (char *)"swigvarlink", /* Type name (tp_name) */
38058 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
38059 0, /* Itemsize (tp_itemsize) */
38060 0, /* Deallocator (tp_dealloc) */
38061 (printfunc) swig_varlink_print, /* Print (tp_print) */
38062 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
38063 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
38064 0, /* tp_compare */
38065 (reprfunc) swig_varlink_repr, /* tp_repr */
38066 0, /* tp_as_number */
38067 0, /* tp_as_sequence */
38068 0, /* tp_as_mapping */
38069 0, /* tp_hash */
38070 0, /* tp_call */
38071 0, /* tp_str */
38072 0, /* tp_getattro */
38073 0, /* tp_setattro */
38074 0, /* tp_as_buffer */
38075 0, /* tp_flags */
38076 varlink__doc__, /* tp_doc */
38077 #if PY_VERSION_HEX >= 0x02000000
38078 0, /* tp_traverse */
38079 0, /* tp_clear */
38080 #endif
38081 #if PY_VERSION_HEX >= 0x02010000
38082 0, /* tp_richcompare */
38083 0, /* tp_weaklistoffset */
38084 #endif
38085 #if PY_VERSION_HEX >= 0x02020000
38086 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38087 #endif
38088 #if PY_VERSION_HEX >= 0x02030000
38089 0, /* tp_del */
38090 #endif
38091 #ifdef COUNT_ALLOCS
38092 0,0,0,0 /* tp_alloc -> tp_next */
38093 #endif
38094 };
38095 #if !defined(__cplusplus)
38096 varlink_type = tmp;
38097 type_init = 1;
38098 }
38099 #endif
38100 return &varlink_type;
38101 }
38102
38103 /* Create a variable linking object for use later */
38104 SWIGINTERN PyObject *
38105 SWIG_Python_newvarlink(void) {
38106 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
38107 if (result) {
38108 result->vars = 0;
38109 }
38110 return ((PyObject*) result);
38111 }
38112
38113 SWIGINTERN void
38114 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
38115 swig_varlinkobject *v = (swig_varlinkobject *) p;
38116 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
38117 if (gv) {
38118 size_t size = strlen(name)+1;
38119 gv->name = (char *)malloc(size);
38120 if (gv->name) {
38121 strncpy(gv->name,name,size);
38122 gv->get_attr = get_attr;
38123 gv->set_attr = set_attr;
38124 gv->next = v->vars;
38125 }
38126 }
38127 v->vars = gv;
38128 }
38129
38130 /* -----------------------------------------------------------------------------
38131 * constants/methods manipulation
38132 * ----------------------------------------------------------------------------- */
38133
38134 /* Install Constants */
38135 SWIGINTERN void
38136 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
38137 PyObject *obj = 0;
38138 size_t i;
38139 for (i = 0; constants[i].type; ++i) {
38140 switch(constants[i].type) {
38141 case SWIG_PY_INT:
38142 obj = PyInt_FromLong(constants[i].lvalue);
38143 break;
38144 case SWIG_PY_FLOAT:
38145 obj = PyFloat_FromDouble(constants[i].dvalue);
38146 break;
38147 case SWIG_PY_STRING:
38148 if (constants[i].pvalue) {
38149 obj = PyString_FromString((char *) constants[i].pvalue);
38150 } else {
38151 Py_INCREF(Py_None);
38152 obj = Py_None;
38153 }
38154 break;
38155 case SWIG_PY_POINTER:
38156 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
38157 break;
38158 case SWIG_PY_BINARY:
38159 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
38160 break;
38161 default:
38162 obj = 0;
38163 break;
38164 }
38165 if (obj) {
38166 PyDict_SetItemString(d,constants[i].name,obj);
38167 Py_DECREF(obj);
38168 }
38169 }
38170 }
38171
38172 /* -----------------------------------------------------------------------------*/
38173 /* Fix SwigMethods to carry the callback ptrs when needed */
38174 /* -----------------------------------------------------------------------------*/
38175
38176 SWIGINTERN void
38177 SWIG_Python_FixMethods(PyMethodDef *methods,
38178 swig_const_info *const_table,
38179 swig_type_info **types,
38180 swig_type_info **types_initial) {
38181 size_t i;
38182 for (i = 0; methods[i].ml_name; ++i) {
38183 char *c = methods[i].ml_doc;
38184 if (c && (c = strstr(c, "swig_ptr: "))) {
38185 int j;
38186 swig_const_info *ci = 0;
38187 char *name = c + 10;
38188 for (j = 0; const_table[j].type; ++j) {
38189 if (strncmp(const_table[j].name, name,
38190 strlen(const_table[j].name)) == 0) {
38191 ci = &(const_table[j]);
38192 break;
38193 }
38194 }
38195 if (ci) {
38196 size_t shift = (ci->ptype) - types;
38197 swig_type_info *ty = types_initial[shift];
38198 size_t ldoc = (c - methods[i].ml_doc);
38199 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
38200 char *ndoc = (char*)malloc(ldoc + lptr + 10);
38201 if (ndoc) {
38202 char *buff = ndoc;
38203 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
38204 if (ptr) {
38205 strncpy(buff, methods[i].ml_doc, ldoc);
38206 buff += ldoc;
38207 strncpy(buff, "swig_ptr: ", 10);
38208 buff += 10;
38209 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
38210 methods[i].ml_doc = ndoc;
38211 }
38212 }
38213 }
38214 }
38215 }
38216 }
38217
38218 /* -----------------------------------------------------------------------------*
38219 * Initialize type list
38220 * -----------------------------------------------------------------------------*/
38221
38222 #ifdef __cplusplus
38223 }
38224 #endif
38225
38226 /* -----------------------------------------------------------------------------*
38227 * Partial Init method
38228 * -----------------------------------------------------------------------------*/
38229
38230 #ifdef __cplusplus
38231 extern "C"
38232 #endif
38233 SWIGEXPORT void SWIG_init(void) {
38234 static PyObject *SWIG_globals = 0;
38235 PyObject *m, *d;
38236 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
38237
38238 /* Fix SwigMethods to carry the callback ptrs when needed */
38239 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
38240
38241 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38242 d = PyModule_GetDict(m);
38243
38244 SWIG_InitializeModule(0);
38245 SWIG_InstallConstants(d,swig_const_table);
38246
38247 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
38248 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
38249 {
38250 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast<int >(wxBU_LEFT)));
38251 }
38252 {
38253 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast<int >(wxBU_TOP)));
38254 }
38255 {
38256 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast<int >(wxBU_RIGHT)));
38257 }
38258 {
38259 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast<int >(wxBU_BOTTOM)));
38260 }
38261 {
38262 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxBU_ALIGN_MASK)));
38263 }
38264 {
38265 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast<int >(wxBU_EXACTFIT)));
38266 }
38267 {
38268 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast<int >(wxBU_AUTODRAW)));
38269 }
38270 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
38271 {
38272 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast<int >(wxCHK_2STATE)));
38273 }
38274 {
38275 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast<int >(wxCHK_3STATE)));
38276 }
38277 {
38278 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast<int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
38279 }
38280 {
38281 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast<int >(wxCHK_UNCHECKED)));
38282 }
38283 {
38284 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast<int >(wxCHK_CHECKED)));
38285 }
38286 {
38287 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCHK_UNDETERMINED)));
38288 }
38289 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
38290 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
38291 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
38292 {
38293 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxGA_HORIZONTAL)));
38294 }
38295 {
38296 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast<int >(wxGA_VERTICAL)));
38297 }
38298 {
38299 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast<int >(wxGA_SMOOTH)));
38300 }
38301 {
38302 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast<int >(wxGA_PROGRESSBAR)));
38303 }
38304 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
38305 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
38306 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
38307 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
38308 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
38309 {
38310 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast<int >(wxTE_NO_VSCROLL)));
38311 }
38312 {
38313 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast<int >(wxTE_AUTO_SCROLL)));
38314 }
38315 {
38316 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast<int >(wxTE_READONLY)));
38317 }
38318 {
38319 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast<int >(wxTE_MULTILINE)));
38320 }
38321 {
38322 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast<int >(wxTE_PROCESS_TAB)));
38323 }
38324 {
38325 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast<int >(wxTE_LEFT)));
38326 }
38327 {
38328 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast<int >(wxTE_CENTER)));
38329 }
38330 {
38331 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast<int >(wxTE_RIGHT)));
38332 }
38333 {
38334 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast<int >(wxTE_CENTRE)));
38335 }
38336 {
38337 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast<int >(wxTE_RICH)));
38338 }
38339 {
38340 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxTE_PROCESS_ENTER)));
38341 }
38342 {
38343 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast<int >(wxTE_PASSWORD)));
38344 }
38345 {
38346 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast<int >(wxTE_AUTO_URL)));
38347 }
38348 {
38349 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast<int >(wxTE_NOHIDESEL)));
38350 }
38351 {
38352 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast<int >(wxTE_DONTWRAP)));
38353 }
38354 {
38355 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast<int >(wxTE_CHARWRAP)));
38356 }
38357 {
38358 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast<int >(wxTE_WORDWRAP)));
38359 }
38360 {
38361 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast<int >(wxTE_BESTWRAP)));
38362 }
38363 {
38364 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast<int >(wxTE_LINEWRAP)));
38365 }
38366 {
38367 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast<int >(wxTE_RICH2)));
38368 }
38369 {
38370 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast<int >(wxTE_CAPITALIZE)));
38371 }
38372 {
38373 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_DEFAULT)));
38374 }
38375 {
38376 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_LEFT)));
38377 }
38378 {
38379 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTRE)));
38380 }
38381 {
38382 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_CENTER)));
38383 }
38384 {
38385 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_RIGHT)));
38386 }
38387 {
38388 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast<int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
38389 }
38390 {
38391 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TEXT_COLOUR)));
38392 }
38393 {
38394 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
38395 }
38396 {
38397 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_FACE)));
38398 }
38399 {
38400 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_SIZE)));
38401 }
38402 {
38403 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_WEIGHT)));
38404 }
38405 {
38406 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_ITALIC)));
38407 }
38408 {
38409 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT_UNDERLINE)));
38410 }
38411 {
38412 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_FONT)));
38413 }
38414 {
38415 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_ALIGNMENT)));
38416 }
38417 {
38418 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_LEFT_INDENT)));
38419 }
38420 {
38421 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_RIGHT_INDENT)));
38422 }
38423 {
38424 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast<int >(wxTEXT_ATTR_TABS)));
38425 }
38426 {
38427 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast<int >(wxTE_HT_UNKNOWN)));
38428 }
38429 {
38430 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast<int >(wxTE_HT_BEFORE)));
38431 }
38432 {
38433 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast<int >(wxTE_HT_ON_TEXT)));
38434 }
38435 {
38436 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast<int >(wxTE_HT_BELOW)));
38437 }
38438 {
38439 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast<int >(wxTE_HT_BEYOND)));
38440 }
38441 {
38442 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast<int >(wxOutOfRangeTextCoord)));
38443 }
38444 {
38445 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast<int >(wxInvalidTextCoord)));
38446 }
38447 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
38448 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
38449 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
38450 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
38451 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
38452 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
38453 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
38454 {
38455 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSP_HORIZONTAL)));
38456 }
38457 {
38458 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast<int >(wxSP_VERTICAL)));
38459 }
38460 {
38461 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast<int >(wxSP_ARROW_KEYS)));
38462 }
38463 {
38464 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast<int >(wxSP_WRAP)));
38465 }
38466 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
38467 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
38468 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
38469 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
38470 {
38471 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSL_HORIZONTAL)));
38472 }
38473 {
38474 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast<int >(wxSL_VERTICAL)));
38475 }
38476 {
38477 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast<int >(wxSL_TICKS)));
38478 }
38479 {
38480 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast<int >(wxSL_AUTOTICKS)));
38481 }
38482 {
38483 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast<int >(wxSL_LABELS)));
38484 }
38485 {
38486 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast<int >(wxSL_LEFT)));
38487 }
38488 {
38489 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast<int >(wxSL_TOP)));
38490 }
38491 {
38492 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast<int >(wxSL_RIGHT)));
38493 }
38494 {
38495 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast<int >(wxSL_BOTTOM)));
38496 }
38497 {
38498 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast<int >(wxSL_BOTH)));
38499 }
38500 {
38501 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast<int >(wxSL_SELRANGE)));
38502 }
38503 {
38504 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast<int >(wxSL_INVERSE)));
38505 }
38506 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
38507 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
38508 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
38509 {
38510 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast<int >(wxNB_FIXEDWIDTH)));
38511 }
38512 {
38513 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast<int >(wxNB_TOP)));
38514 }
38515 {
38516 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast<int >(wxNB_LEFT)));
38517 }
38518 {
38519 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast<int >(wxNB_RIGHT)));
38520 }
38521 {
38522 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast<int >(wxNB_BOTTOM)));
38523 }
38524 {
38525 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast<int >(wxNB_MULTILINE)));
38526 }
38527 {
38528 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast<int >(wxNB_NOPAGETHEME)));
38529 }
38530 {
38531 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxNB_HITTEST_NOWHERE)));
38532 }
38533 {
38534 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONICON)));
38535 }
38536 {
38537 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONLABEL)));
38538 }
38539 {
38540 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxNB_HITTEST_ONITEM)));
38541 }
38542 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
38543 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
38544 {
38545 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast<int >(wxLB_DEFAULT)));
38546 }
38547 {
38548 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast<int >(wxLB_TOP)));
38549 }
38550 {
38551 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast<int >(wxLB_BOTTOM)));
38552 }
38553 {
38554 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast<int >(wxLB_LEFT)));
38555 }
38556 {
38557 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast<int >(wxLB_RIGHT)));
38558 }
38559 {
38560 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLB_ALIGN_MASK)));
38561 }
38562 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
38563 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
38564 {
38565 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast<int >(wxCHB_DEFAULT)));
38566 }
38567 {
38568 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast<int >(wxCHB_TOP)));
38569 }
38570 {
38571 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast<int >(wxCHB_BOTTOM)));
38572 }
38573 {
38574 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast<int >(wxCHB_LEFT)));
38575 }
38576 {
38577 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast<int >(wxCHB_RIGHT)));
38578 }
38579 {
38580 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxCHB_ALIGN_MASK)));
38581 }
38582 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
38583 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
38584 {
38585 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_BUTTON)));
38586 }
38587 {
38588 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_SEPARATOR)));
38589 }
38590 {
38591 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast<int >(wxTOOL_STYLE_CONTROL)));
38592 }
38593 {
38594 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxTB_HORIZONTAL)));
38595 }
38596 {
38597 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast<int >(wxTB_VERTICAL)));
38598 }
38599 {
38600 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast<int >(wxTB_3DBUTTONS)));
38601 }
38602 {
38603 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast<int >(wxTB_FLAT)));
38604 }
38605 {
38606 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast<int >(wxTB_DOCKABLE)));
38607 }
38608 {
38609 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast<int >(wxTB_NOICONS)));
38610 }
38611 {
38612 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast<int >(wxTB_TEXT)));
38613 }
38614 {
38615 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast<int >(wxTB_NODIVIDER)));
38616 }
38617 {
38618 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast<int >(wxTB_NOALIGN)));
38619 }
38620 {
38621 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast<int >(wxTB_HORZ_LAYOUT)));
38622 }
38623 {
38624 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast<int >(wxTB_HORZ_TEXT)));
38625 }
38626 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
38627 {
38628 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast<int >(wxLC_VRULES)));
38629 }
38630 {
38631 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast<int >(wxLC_HRULES)));
38632 }
38633 {
38634 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast<int >(wxLC_ICON)));
38635 }
38636 {
38637 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast<int >(wxLC_SMALL_ICON)));
38638 }
38639 {
38640 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast<int >(wxLC_LIST)));
38641 }
38642 {
38643 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast<int >(wxLC_REPORT)));
38644 }
38645 {
38646 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLC_ALIGN_TOP)));
38647 }
38648 {
38649 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLC_ALIGN_LEFT)));
38650 }
38651 {
38652 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast<int >(wxLC_AUTOARRANGE)));
38653 }
38654 {
38655 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast<int >(wxLC_VIRTUAL)));
38656 }
38657 {
38658 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxLC_EDIT_LABELS)));
38659 }
38660 {
38661 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_HEADER)));
38662 }
38663 {
38664 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast<int >(wxLC_NO_SORT_HEADER)));
38665 }
38666 {
38667 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast<int >(wxLC_SINGLE_SEL)));
38668 }
38669 {
38670 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_ASCENDING)));
38671 }
38672 {
38673 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast<int >(wxLC_SORT_DESCENDING)));
38674 }
38675 {
38676 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast<int >(wxLC_MASK_TYPE)));
38677 }
38678 {
38679 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast<int >(wxLC_MASK_ALIGN)));
38680 }
38681 {
38682 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast<int >(wxLC_MASK_SORT)));
38683 }
38684 {
38685 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast<int >(wxLIST_MASK_STATE)));
38686 }
38687 {
38688 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast<int >(wxLIST_MASK_TEXT)));
38689 }
38690 {
38691 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast<int >(wxLIST_MASK_IMAGE)));
38692 }
38693 {
38694 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast<int >(wxLIST_MASK_DATA)));
38695 }
38696 {
38697 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast<int >(wxLIST_SET_ITEM)));
38698 }
38699 {
38700 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast<int >(wxLIST_MASK_WIDTH)));
38701 }
38702 {
38703 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast<int >(wxLIST_MASK_FORMAT)));
38704 }
38705 {
38706 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast<int >(wxLIST_STATE_DONTCARE)));
38707 }
38708 {
38709 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DROPHILITED)));
38710 }
38711 {
38712 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FOCUSED)));
38713 }
38714 {
38715 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast<int >(wxLIST_STATE_SELECTED)));
38716 }
38717 {
38718 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast<int >(wxLIST_STATE_CUT)));
38719 }
38720 {
38721 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast<int >(wxLIST_STATE_DISABLED)));
38722 }
38723 {
38724 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast<int >(wxLIST_STATE_FILTERED)));
38725 }
38726 {
38727 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast<int >(wxLIST_STATE_INUSE)));
38728 }
38729 {
38730 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast<int >(wxLIST_STATE_PICKED)));
38731 }
38732 {
38733 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast<int >(wxLIST_STATE_SOURCE)));
38734 }
38735 {
38736 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ABOVE)));
38737 }
38738 {
38739 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_BELOW)));
38740 }
38741 {
38742 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_NOWHERE)));
38743 }
38744 {
38745 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMICON)));
38746 }
38747 {
38748 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMLABEL)));
38749 }
38750 {
38751 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMRIGHT)));
38752 }
38753 {
38754 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEMSTATEICON)));
38755 }
38756 {
38757 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TOLEFT)));
38758 }
38759 {
38760 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_TORIGHT)));
38761 }
38762 {
38763 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxLIST_HITTEST_ONITEM)));
38764 }
38765 {
38766 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ABOVE)));
38767 }
38768 {
38769 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast<int >(wxLIST_NEXT_ALL)));
38770 }
38771 {
38772 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast<int >(wxLIST_NEXT_BELOW)));
38773 }
38774 {
38775 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_LEFT)));
38776 }
38777 {
38778 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_NEXT_RIGHT)));
38779 }
38780 {
38781 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_DEFAULT)));
38782 }
38783 {
38784 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_LEFT)));
38785 }
38786 {
38787 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_TOP)));
38788 }
38789 {
38790 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast<int >(wxLIST_ALIGN_SNAP_TO_GRID)));
38791 }
38792 {
38793 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_LEFT)));
38794 }
38795 {
38796 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_RIGHT)));
38797 }
38798 {
38799 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTRE)));
38800 }
38801 {
38802 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast<int >(wxLIST_FORMAT_CENTER)));
38803 }
38804 {
38805 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE)));
38806 }
38807 {
38808 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast<int >(wxLIST_AUTOSIZE_USEHEADER)));
38809 }
38810 {
38811 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast<int >(wxLIST_RECT_BOUNDS)));
38812 }
38813 {
38814 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast<int >(wxLIST_RECT_ICON)));
38815 }
38816 {
38817 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast<int >(wxLIST_RECT_LABEL)));
38818 }
38819 {
38820 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast<int >(wxLIST_FIND_UP)));
38821 }
38822 {
38823 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast<int >(wxLIST_FIND_DOWN)));
38824 }
38825 {
38826 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast<int >(wxLIST_FIND_LEFT)));
38827 }
38828 {
38829 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast<int >(wxLIST_FIND_RIGHT)));
38830 }
38831 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38832 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38833 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38834 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38835 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38836 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
38837 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38838 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38839 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38840 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38841 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38842 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38843 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38844 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38845 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38846 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38847 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38848 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38849 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38850 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
38851
38852 // Map renamed classes back to their common name for OOR
38853 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38854
38855 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
38856 {
38857 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_NO_BUTTONS)));
38858 }
38859 {
38860 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_HAS_BUTTONS)));
38861 }
38862 {
38863 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast<int >(wxTR_NO_LINES)));
38864 }
38865 {
38866 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast<int >(wxTR_LINES_AT_ROOT)));
38867 }
38868 {
38869 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast<int >(wxTR_SINGLE)));
38870 }
38871 {
38872 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast<int >(wxTR_MULTIPLE)));
38873 }
38874 {
38875 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast<int >(wxTR_EXTENDED)));
38876 }
38877 {
38878 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast<int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38879 }
38880 {
38881 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxTR_EDIT_LABELS)));
38882 }
38883 {
38884 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast<int >(wxTR_HIDE_ROOT)));
38885 }
38886 {
38887 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast<int >(wxTR_ROW_LINES)));
38888 }
38889 {
38890 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxTR_FULL_ROW_HIGHLIGHT)));
38891 }
38892 {
38893 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxTR_DEFAULT_STYLE)));
38894 }
38895 {
38896 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_TWIST_BUTTONS)));
38897 }
38898 {
38899 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_MAC_BUTTONS)));
38900 }
38901 {
38902 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast<int >(wxTR_AQUA_BUTTONS)));
38903 }
38904 {
38905 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Normal)));
38906 }
38907 {
38908 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Selected)));
38909 }
38910 {
38911 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Expanded)));
38912 }
38913 {
38914 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast<int >(wxTreeItemIcon_SelectedExpanded)));
38915 }
38916 {
38917 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast<int >(wxTreeItemIcon_Max)));
38918 }
38919 {
38920 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ABOVE)));
38921 }
38922 {
38923 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_BELOW)));
38924 }
38925 {
38926 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_NOWHERE)));
38927 }
38928 {
38929 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMBUTTON)));
38930 }
38931 {
38932 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMICON)));
38933 }
38934 {
38935 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMINDENT)));
38936 }
38937 {
38938 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLABEL)));
38939 }
38940 {
38941 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMRIGHT)));
38942 }
38943 {
38944 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMSTATEICON)));
38945 }
38946 {
38947 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TOLEFT)));
38948 }
38949 {
38950 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_TORIGHT)));
38951 }
38952 {
38953 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMUPPERPART)));
38954 }
38955 {
38956 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMLOWERPART)));
38957 }
38958 {
38959 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEM)));
38960 }
38961 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38962 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38963 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38964 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38965 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38966 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38967 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38968 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38969 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38970 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38971 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38972 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38973 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38974 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38975 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38976 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38977 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38978 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38979 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38980 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38981 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38982
38983 // Map renamed classes back to their common name for OOR
38984 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38985 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38986
38987 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38988 {
38989 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast<int >(wxDIRCTRL_DIR_ONLY)));
38990 }
38991 {
38992 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast<int >(wxDIRCTRL_SELECT_FIRST)));
38993 }
38994 {
38995 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast<int >(wxDIRCTRL_SHOW_FILTERS)));
38996 }
38997 {
38998 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast<int >(wxDIRCTRL_3D_INTERNAL)));
38999 }
39000 {
39001 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast<int >(wxDIRCTRL_EDIT_LABELS)));
39002 }
39003 {
39004 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxFRAME_EX_CONTEXTHELP)));
39005 }
39006 {
39007 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast<int >(wxDIALOG_EX_CONTEXTHELP)));
39008 }
39009 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
39010 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
39011
39012 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
39013
39014 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
39015 {
39016 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast<int >(wxDP_DEFAULT)));
39017 }
39018 {
39019 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast<int >(wxDP_SPIN)));
39020 }
39021 {
39022 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast<int >(wxDP_DROPDOWN)));
39023 }
39024 {
39025 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast<int >(wxDP_SHOWCENTURY)));
39026 }
39027 {
39028 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast<int >(wxDP_ALLOWNONE)));
39029 }
39030 }
39031