]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
32a1ae16ca32a6c8b418939c26304ceafa986505
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info *swig_types[179];
2645 static swig_module_info swig_module = {swig_types, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2648
2649 /* -------- TYPES TABLE (END) -------- */
2650
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2654 # endif
2655 #endif
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2658 #endif
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2661 #endif
2662 #ifndef METH_O
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2664 #endif
2665
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2670
2671 #define SWIG_name "_controls_"
2672
2673 #define SWIGVERSION 0x010329
2674
2675
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678
2679
2680 #include <stdexcept>
2681
2682
2683 namespace swig {
2684 class PyObject_ptr {
2685 protected:
2686 PyObject *_obj;
2687
2688 public:
2689 PyObject_ptr() :_obj(0)
2690 {
2691 }
2692
2693 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2694 {
2695 Py_XINCREF(_obj);
2696 }
2697
2698 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2699 {
2700 if (initial_ref) Py_XINCREF(_obj);
2701 }
2702
2703 PyObject_ptr & operator=(const PyObject_ptr& item)
2704 {
2705 Py_XINCREF(item._obj);
2706 Py_XDECREF(_obj);
2707 _obj = item._obj;
2708 return *this;
2709 }
2710
2711 ~PyObject_ptr()
2712 {
2713 Py_XDECREF(_obj);
2714 }
2715
2716 operator PyObject *() const
2717 {
2718 return _obj;
2719 }
2720
2721 PyObject *operator->() const
2722 {
2723 return _obj;
2724 }
2725 };
2726 }
2727
2728
2729 namespace swig {
2730 struct PyObject_var : PyObject_ptr {
2731 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2732
2733 PyObject_var & operator = (PyObject* obj)
2734 {
2735 Py_XDECREF(_obj);
2736 _obj = obj;
2737 return *this;
2738 }
2739 };
2740 }
2741
2742
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2745
2746 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2747 static const wxString wxPyEmptyString(wxEmptyString);
2748 static const wxString wxPyControlNameStr(wxControlNameStr);
2749
2750 const wxArrayString wxPyEmptyStringArray;
2751
2752 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2753
2754 #define SWIG_From_long PyInt_FromLong
2755
2756
2757 SWIGINTERNINLINE PyObject *
2758 SWIG_From_int (int value)
2759 {
2760 return SWIG_From_long (value);
2761 }
2762
2763
2764 #include <limits.h>
2765 #ifndef LLONG_MIN
2766 # define LLONG_MIN LONG_LONG_MIN
2767 #endif
2768 #ifndef LLONG_MAX
2769 # define LLONG_MAX LONG_LONG_MAX
2770 #endif
2771 #ifndef ULLONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2773 #endif
2774
2775
2776 SWIGINTERN int
2777 SWIG_AsVal_long (PyObject* obj, long* val)
2778 {
2779 if (PyNumber_Check(obj)) {
2780 if (val) *val = PyInt_AsLong(obj);
2781 return SWIG_OK;
2782 }
2783 return SWIG_TypeError;
2784 }
2785
2786
2787 SWIGINTERN int
2788 SWIG_AsVal_int (PyObject * obj, int *val)
2789 {
2790 long v;
2791 int res = SWIG_AsVal_long (obj, &v);
2792 if (SWIG_IsOK(res)) {
2793 if ((v < INT_MIN || v > INT_MAX)) {
2794 return SWIG_OverflowError;
2795 } else {
2796 if (val) *val = static_cast< int >(v);
2797 }
2798 }
2799 return res;
2800 }
2801
2802 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2803
2804 SWIGINTERN int
2805 SWIG_AsVal_bool (PyObject *obj, bool *val)
2806 {
2807 if (obj == Py_True) {
2808 if (val) *val = true;
2809 return SWIG_OK;
2810 } else if (obj == Py_False) {
2811 if (val) *val = false;
2812 return SWIG_OK;
2813 } else {
2814 long v = 0;
2815 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2816 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2817 return res;
2818 }
2819 }
2820
2821 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2822 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2823 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2824 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2825 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2826 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2827
2828 #include <wx/checklst.h>
2829
2830 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2831 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2832 if (clientData)
2833 {
2834 wxPyClientData* data = new wxPyClientData(clientData);
2835 self->Insert(item, pos, data);
2836 }
2837 else
2838 self->Insert(item, pos);
2839 }
2840
2841 SWIGINTERN int
2842 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2843 {
2844 long v = 0;
2845 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2846 return SWIG_TypeError;
2847 }
2848 else if (val)
2849 *val = (unsigned long)v;
2850 return SWIG_OK;
2851 }
2852
2853
2854 SWIGINTERN int
2855 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2856 {
2857 unsigned long v;
2858 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2859 if (SWIG_IsOK(res)) {
2860 if ((v > UINT_MAX)) {
2861 return SWIG_OverflowError;
2862 } else {
2863 if (val) *val = static_cast< unsigned int >(v);
2864 }
2865 }
2866 return res;
2867 }
2868
2869 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2870 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2871 wxArrayInt lst;
2872 self->GetSelections(lst);
2873 PyObject *tup = PyTuple_New(lst.GetCount());
2874 for (size_t i=0; i<lst.GetCount(); i++)
2875 {
2876 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2877 }
2878 wxPyEndBlockThreads(blocked);
2879 return tup;
2880 }
2881 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2882 #ifdef __WXMSW__
2883 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2884 self->GetItem(item)->SetTextColour(c);
2885 #endif
2886 }
2887 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2888 #ifdef __WXMSW__
2889 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2890 self->GetItem(item)->SetBackgroundColour(c);
2891 #endif
2892 }
2893 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2894 #ifdef __WXMSW__
2895 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2896 self->GetItem(item)->SetFont(f);
2897 #endif
2898 }
2899 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2900 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2901 self->AppendText(text);
2902 }
2903 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2904 return self->GetValue().Mid(from, to - from);
2905 }
2906 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2907 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2908 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2910 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2911
2912 SWIGINTERNINLINE PyObject*
2913 SWIG_From_unsigned_SS_long (unsigned long value)
2914 {
2915 return (value > LONG_MAX) ?
2916 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2917 }
2918
2919
2920 SWIGINTERNINLINE PyObject *
2921 SWIG_From_size_t (size_t value)
2922 {
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2924 }
2925
2926
2927 SWIGINTERNINLINE PyObject *
2928 SWIG_From_unsigned_SS_int (unsigned int value)
2929 {
2930 return SWIG_From_unsigned_SS_long (value);
2931 }
2932
2933
2934 #include <wx/slider.h>
2935
2936
2937 static const wxString wxPySliderNameStr(wxSliderNameStr);
2938 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2939
2940 #if !wxUSE_TOGGLEBTN
2941 // implement dummy items for platforms that don't have this class
2942
2943 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2944
2945 class wxToggleButton : public wxControl
2946 {
2947 public:
2948 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2949 const wxPoint&, const wxSize&, long,
2950 const wxValidator&, const wxString&)
2951 { wxPyRaiseNotImplemented(); }
2952
2953 wxToggleButton()
2954 { wxPyRaiseNotImplemented(); }
2955 };
2956 #endif
2957
2958 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2959
2960 SWIGINTERNINLINE int
2961 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2962 {
2963 unsigned long v;
2964 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2965 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2966 return res;
2967 }
2968
2969 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2970 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2971 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2972 if (udata) {
2973 Py_INCREF(udata->m_obj);
2974 return udata->m_obj;
2975 } else {
2976 Py_INCREF(Py_None);
2977 return Py_None;
2978 }
2979 }
2980 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2981 self->SetClientData(new wxPyUserData(clientData));
2982 }
2983 SWIGINTERN 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){
2984 wxPyUserData* udata = NULL;
2985 if (clientData && clientData != Py_None)
2986 udata = new wxPyUserData(clientData);
2987 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2988 shortHelp, longHelp, udata);
2989 }
2990 SWIGINTERN 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){
2991 wxPyUserData* udata = NULL;
2992 if (clientData && clientData != Py_None)
2993 udata = new wxPyUserData(clientData);
2994 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2995 shortHelp, longHelp, udata);
2996 }
2997 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
2998 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2999 if (udata) {
3000 Py_INCREF(udata->m_obj);
3001 return udata->m_obj;
3002 } else {
3003 Py_INCREF(Py_None);
3004 return Py_None;
3005 }
3006 }
3007 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3008 self->SetToolClientData(id, new wxPyUserData(clientData));
3009 }
3010
3011 #include <wx/listctrl.h>
3012
3013 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3014 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3017 int retval = 0;
3018 PyObject* func = (PyObject*)funcPtr;
3019 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3020
3021 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3022 PyObject* result = PyEval_CallObject(func, args);
3023 Py_DECREF(args);
3024 if (result) {
3025 retval = PyInt_AsLong(result);
3026 Py_DECREF(result);
3027 }
3028
3029 wxPyEndBlockThreads(blocked);
3030 return retval;
3031 }
3032
3033 // C++ Version of a Python aware class
3034 class wxPyListCtrl : public wxListCtrl {
3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3036 public:
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3039 const wxPoint& pos,
3040 const wxSize& size,
3041 long style,
3042 const wxValidator& validator,
3043 const wxString& name) :
3044 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3045
3046 bool Create(wxWindow* parent, wxWindowID id,
3047 const wxPoint& pos,
3048 const wxSize& size,
3049 long style,
3050 const wxValidator& validator,
3051 const wxString& name) {
3052 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3053 }
3054
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3057
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3061
3062 PYPRIVATE;
3063 };
3064
3065 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3066
3067 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3068 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3069 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3070 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3071
3072
3073 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3074 wxListItem item;
3075 item.SetMask( wxLIST_MASK_STATE |
3076 wxLIST_MASK_TEXT |
3077 wxLIST_MASK_IMAGE |
3078 wxLIST_MASK_DATA |
3079 wxLIST_SET_ITEM |
3080 wxLIST_MASK_WIDTH |
3081 wxLIST_MASK_FORMAT
3082 );
3083 if (self->GetColumn(col, item))
3084 return new wxListItem(item);
3085 else
3086 return NULL;
3087 }
3088 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3089 wxListItem* info = new wxListItem;
3090 info->m_itemId = itemId;
3091 info->m_col = col;
3092 info->m_mask = 0xFFFF;
3093 self->GetItem(*info);
3094 return info;
3095 }
3096 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3097 wxPoint pos;
3098 self->GetItemPosition(item, pos);
3099 return pos;
3100 }
3101 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3102 wxRect rect;
3103 self->GetItemRect(item, rect, code);
3104 return rect;
3105 }
3106 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3107 if (!PyCallable_Check(func))
3108 return false;
3109 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3110 }
3111 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3112
3113
3114
3115 return (wxWindow*)self->m_mainWin;
3116
3117 }
3118
3119 #include <wx/treectrl.h>
3120 #include "wx/wxPython/pytree.h"
3121
3122 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3123 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3124 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3125 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3126
3127 static wxTreeItemId wxNullTreeItemId;
3128
3129 // C++ version of Python aware wxTreeCtrl
3130 class wxPyTreeCtrl : public wxTreeCtrl {
3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3132 public:
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3135 const wxPoint& pos,
3136 const wxSize& size,
3137 long style,
3138 const wxValidator& validator,
3139 const wxString& name) :
3140 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3141
3142 bool Create(wxWindow *parent, wxWindowID id,
3143 const wxPoint& pos,
3144 const wxSize& size,
3145 long style,
3146 const wxValidator& validator,
3147 const wxString& name) {
3148 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3149 }
3150
3151
3152 int OnCompareItems(const wxTreeItemId& item1,
3153 const wxTreeItemId& item2) {
3154 int rval = 0;
3155 bool found;
3156 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3157 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3158 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3159 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3160 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3161 Py_DECREF(o1);
3162 Py_DECREF(o2);
3163 }
3164 wxPyEndBlockThreads(blocked);
3165 if (! found)
3166 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3167 return rval;
3168 }
3169 PYPRIVATE;
3170 };
3171
3172 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3173
3174
3175 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3176 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3177 if (data == NULL) {
3178 data = new wxPyTreeItemData();
3179 data->SetId(item); // set the id
3180 self->SetItemData(item, data);
3181 }
3182 return data;
3183 }
3184 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3185 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3186 if (data == NULL) {
3187 data = new wxPyTreeItemData();
3188 data->SetId(item); // set the id
3189 self->SetItemData(item, data);
3190 }
3191 return data->GetData();
3192 }
3193 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3194 data->SetId(item); // set the id
3195 self->SetItemData(item, data);
3196 }
3197 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3198 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3199 if (data == NULL) {
3200 data = new wxPyTreeItemData(obj);
3201 data->SetId(item); // set the id
3202 self->SetItemData(item, data);
3203 } else
3204 data->SetData(obj);
3205 }
3206 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3207 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3208 PyObject* rval = PyList_New(0);
3209 wxArrayTreeItemIds array;
3210 size_t num, x;
3211 num = self->GetSelections(array);
3212 for (x=0; x < num; x++) {
3213 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3214 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3215 PyList_Append(rval, item);
3216 Py_DECREF(item);
3217 }
3218 wxPyEndBlockThreads(blocked);
3219 return rval;
3220 }
3221 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3222 void* cookie = 0;
3223 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3224 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3225 PyObject* tup = PyTuple_New(2);
3226 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3227 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3228 wxPyEndBlockThreads(blocked);
3229 return tup;
3230 }
3231 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3232 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3233 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3234 PyObject* tup = PyTuple_New(2);
3235 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3236 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3237 wxPyEndBlockThreads(blocked);
3238 return tup;
3239 }
3240 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3241 wxRect rect;
3242 if (self->GetBoundingRect(item, rect, textOnly)) {
3243 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3244 wxRect* r = new wxRect(rect);
3245 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3246 wxPyEndBlockThreads(blocked);
3247 return val;
3248 }
3249 else
3250 RETURN_NONE();
3251 }
3252 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3253
3254 SWIGINTERNINLINE PyObject*
3255 SWIG_From_bool (bool value)
3256 {
3257 return PyBool_FromLong(value ? 1 : 0);
3258 }
3259
3260 // C++ version of Python aware wxControl
3261 class wxPyControl : public wxControl
3262 {
3263 DECLARE_DYNAMIC_CLASS(wxPyControl)
3264 public:
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow* parent, const wxWindowID id,
3267 const wxPoint& pos = wxDefaultPosition,
3268 const wxSize& size = wxDefaultSize,
3269 long style = 0,
3270 const wxValidator& validator=wxDefaultValidator,
3271 const wxString& name = wxPyControlNameStr)
3272 : wxControl(parent, id, pos, size, style, validator, name) {}
3273
3274
3275 bool DoEraseBackground(wxDC* dc) {
3276 #ifdef __WXMSW__
3277 return wxWindow::DoEraseBackground(dc->GetHDC());
3278 #else
3279 dc->SetBackground(wxBrush(GetBackgroundColour()));
3280 dc->Clear();
3281 return true;
3282 #endif
3283 }
3284
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3289
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3293
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3296
3297 DEC_PYCALLBACK__(InitDialog);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3300 DEC_PYCALLBACK_BOOL_(Validate);
3301
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3305
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3308
3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3311
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3313
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3315
3316 PYPRIVATE;
3317 };
3318
3319 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3320
3321 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3322 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3323 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3325
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3329
3330 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3332
3333 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3337
3338 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3340 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3341
3342 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3344
3345 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3346 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3347
3348 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3349
3350 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3351
3352
3353
3354 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3355
3356 #include <wx/generic/dragimgg.h>
3357
3358 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3359 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3360 wxDateTime rv;
3361 self->GetRange(&rv, NULL);
3362 return rv;
3363 }
3364 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3365 wxDateTime rv;
3366 self->GetRange(NULL, &rv);
3367 return rv;
3368 }
3369 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3370 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3371 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3372 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3373 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3374 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3375 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3376 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3377
3378 #include <wx/collpane.h>
3379
3380 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3381 #ifdef __cplusplus
3382 extern "C" {
3383 #endif
3384 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3385 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3386 return 1;
3387 }
3388
3389
3390 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3391 PyObject *pyobj = 0;
3392
3393 {
3394 #if wxUSE_UNICODE
3395 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3396 #else
3397 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3398 #endif
3399 }
3400 return pyobj;
3401 }
3402
3403
3404 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj = 0;
3406 wxWindow *arg1 = (wxWindow *) 0 ;
3407 int arg2 = (int) -1 ;
3408 wxString const &arg3_defvalue = wxPyEmptyString ;
3409 wxString *arg3 = (wxString *) &arg3_defvalue ;
3410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3412 wxSize const &arg5_defvalue = wxDefaultSize ;
3413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3414 long arg6 = (long) 0 ;
3415 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3416 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3417 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3418 wxString *arg8 = (wxString *) &arg8_defvalue ;
3419 wxButton *result = 0 ;
3420 void *argp1 = 0 ;
3421 int res1 = 0 ;
3422 int val2 ;
3423 int ecode2 = 0 ;
3424 bool temp3 = false ;
3425 wxPoint temp4 ;
3426 wxSize temp5 ;
3427 long val6 ;
3428 int ecode6 = 0 ;
3429 void *argp7 = 0 ;
3430 int res7 = 0 ;
3431 bool temp8 = false ;
3432 PyObject * obj0 = 0 ;
3433 PyObject * obj1 = 0 ;
3434 PyObject * obj2 = 0 ;
3435 PyObject * obj3 = 0 ;
3436 PyObject * obj4 = 0 ;
3437 PyObject * obj5 = 0 ;
3438 PyObject * obj6 = 0 ;
3439 PyObject * obj7 = 0 ;
3440 char * kwnames[] = {
3441 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3442 };
3443
3444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3446 if (!SWIG_IsOK(res1)) {
3447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3448 }
3449 arg1 = reinterpret_cast< wxWindow * >(argp1);
3450 if (obj1) {
3451 ecode2 = SWIG_AsVal_int(obj1, &val2);
3452 if (!SWIG_IsOK(ecode2)) {
3453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3454 }
3455 arg2 = static_cast< int >(val2);
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 ecode6 = SWIG_AsVal_long(obj5, &val6);
3478 if (!SWIG_IsOK(ecode6)) {
3479 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3480 }
3481 arg6 = static_cast< long >(val6);
3482 }
3483 if (obj6) {
3484 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3485 if (!SWIG_IsOK(res7)) {
3486 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3487 }
3488 if (!argp7) {
3489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3490 }
3491 arg7 = reinterpret_cast< wxValidator * >(argp7);
3492 }
3493 if (obj7) {
3494 {
3495 arg8 = wxString_in_helper(obj7);
3496 if (arg8 == NULL) SWIG_fail;
3497 temp8 = true;
3498 }
3499 }
3500 {
3501 if (!wxPyCheckForApp()) SWIG_fail;
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
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 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3531 PyObject *resultobj = 0;
3532 wxButton *result = 0 ;
3533
3534 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3535 {
3536 if (!wxPyCheckForApp()) SWIG_fail;
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (wxButton *)new wxButton();
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3543 return resultobj;
3544 fail:
3545 return NULL;
3546 }
3547
3548
3549 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3550 PyObject *resultobj = 0;
3551 wxButton *arg1 = (wxButton *) 0 ;
3552 wxWindow *arg2 = (wxWindow *) 0 ;
3553 int arg3 = (int) -1 ;
3554 wxString const &arg4_defvalue = wxPyEmptyString ;
3555 wxString *arg4 = (wxString *) &arg4_defvalue ;
3556 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3557 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3558 wxSize const &arg6_defvalue = wxDefaultSize ;
3559 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3560 long arg7 = (long) 0 ;
3561 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3562 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3563 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3564 wxString *arg9 = (wxString *) &arg9_defvalue ;
3565 bool result;
3566 void *argp1 = 0 ;
3567 int res1 = 0 ;
3568 void *argp2 = 0 ;
3569 int res2 = 0 ;
3570 int val3 ;
3571 int ecode3 = 0 ;
3572 bool temp4 = false ;
3573 wxPoint temp5 ;
3574 wxSize temp6 ;
3575 long val7 ;
3576 int ecode7 = 0 ;
3577 void *argp8 = 0 ;
3578 int res8 = 0 ;
3579 bool temp9 = false ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj1 = 0 ;
3582 PyObject * obj2 = 0 ;
3583 PyObject * obj3 = 0 ;
3584 PyObject * obj4 = 0 ;
3585 PyObject * obj5 = 0 ;
3586 PyObject * obj6 = 0 ;
3587 PyObject * obj7 = 0 ;
3588 PyObject * obj8 = 0 ;
3589 char * kwnames[] = {
3590 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3591 };
3592
3593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3595 if (!SWIG_IsOK(res1)) {
3596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3597 }
3598 arg1 = reinterpret_cast< wxButton * >(argp1);
3599 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3600 if (!SWIG_IsOK(res2)) {
3601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3602 }
3603 arg2 = reinterpret_cast< wxWindow * >(argp2);
3604 if (obj2) {
3605 ecode3 = SWIG_AsVal_int(obj2, &val3);
3606 if (!SWIG_IsOK(ecode3)) {
3607 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3608 }
3609 arg3 = static_cast< int >(val3);
3610 }
3611 if (obj3) {
3612 {
3613 arg4 = wxString_in_helper(obj3);
3614 if (arg4 == NULL) SWIG_fail;
3615 temp4 = true;
3616 }
3617 }
3618 if (obj4) {
3619 {
3620 arg5 = &temp5;
3621 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3622 }
3623 }
3624 if (obj5) {
3625 {
3626 arg6 = &temp6;
3627 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3628 }
3629 }
3630 if (obj6) {
3631 ecode7 = SWIG_AsVal_long(obj6, &val7);
3632 if (!SWIG_IsOK(ecode7)) {
3633 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3634 }
3635 arg7 = static_cast< long >(val7);
3636 }
3637 if (obj7) {
3638 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3639 if (!SWIG_IsOK(res8)) {
3640 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3641 }
3642 if (!argp8) {
3643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3644 }
3645 arg8 = reinterpret_cast< wxValidator * >(argp8);
3646 }
3647 if (obj8) {
3648 {
3649 arg9 = wxString_in_helper(obj8);
3650 if (arg9 == NULL) SWIG_fail;
3651 temp9 = true;
3652 }
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3662 }
3663 {
3664 if (temp4)
3665 delete arg4;
3666 }
3667 {
3668 if (temp9)
3669 delete arg9;
3670 }
3671 return resultobj;
3672 fail:
3673 {
3674 if (temp4)
3675 delete arg4;
3676 }
3677 {
3678 if (temp9)
3679 delete arg9;
3680 }
3681 return NULL;
3682 }
3683
3684
3685 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3686 PyObject *resultobj = 0;
3687 wxButton *arg1 = (wxButton *) 0 ;
3688 void *argp1 = 0 ;
3689 int res1 = 0 ;
3690 PyObject *swig_obj[1] ;
3691
3692 if (!args) SWIG_fail;
3693 swig_obj[0] = args;
3694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3695 if (!SWIG_IsOK(res1)) {
3696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3697 }
3698 arg1 = reinterpret_cast< wxButton * >(argp1);
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 (arg1)->SetDefault();
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 resultobj = SWIG_Py_Void();
3706 return resultobj;
3707 fail:
3708 return NULL;
3709 }
3710
3711
3712 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3713 PyObject *resultobj = 0;
3714 wxSize result;
3715
3716 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxButton::GetDefaultSize();
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3724 return resultobj;
3725 fail:
3726 return NULL;
3727 }
3728
3729
3730 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj = 0;
3732 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3733 SwigValueWrapper<wxVisualAttributes > result;
3734 int val1 ;
3735 int ecode1 = 0 ;
3736 PyObject * obj0 = 0 ;
3737 char * kwnames[] = {
3738 (char *) "variant", NULL
3739 };
3740
3741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3742 if (obj0) {
3743 ecode1 = SWIG_AsVal_int(obj0, &val1);
3744 if (!SWIG_IsOK(ecode1)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3746 }
3747 arg1 = static_cast< wxWindowVariant >(val1);
3748 }
3749 {
3750 if (!wxPyCheckForApp()) SWIG_fail;
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = wxButton::GetClassDefaultAttributes(arg1);
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3757 return resultobj;
3758 fail:
3759 return NULL;
3760 }
3761
3762
3763 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3764 PyObject *obj;
3765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3766 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3767 return SWIG_Py_Void();
3768 }
3769
3770 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3771 return SWIG_Python_InitShadowInstance(args);
3772 }
3773
3774 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj = 0;
3776 wxWindow *arg1 = (wxWindow *) 0 ;
3777 int arg2 = (int) -1 ;
3778 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3779 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3782 wxSize const &arg5_defvalue = wxDefaultSize ;
3783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3784 long arg6 = (long) wxBU_AUTODRAW ;
3785 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3786 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3787 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3788 wxString *arg8 = (wxString *) &arg8_defvalue ;
3789 wxBitmapButton *result = 0 ;
3790 void *argp1 = 0 ;
3791 int res1 = 0 ;
3792 int val2 ;
3793 int ecode2 = 0 ;
3794 void *argp3 = 0 ;
3795 int res3 = 0 ;
3796 wxPoint temp4 ;
3797 wxSize temp5 ;
3798 long val6 ;
3799 int ecode6 = 0 ;
3800 void *argp7 = 0 ;
3801 int res7 = 0 ;
3802 bool temp8 = false ;
3803 PyObject * obj0 = 0 ;
3804 PyObject * obj1 = 0 ;
3805 PyObject * obj2 = 0 ;
3806 PyObject * obj3 = 0 ;
3807 PyObject * obj4 = 0 ;
3808 PyObject * obj5 = 0 ;
3809 PyObject * obj6 = 0 ;
3810 PyObject * obj7 = 0 ;
3811 char * kwnames[] = {
3812 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 };
3814
3815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3817 if (!SWIG_IsOK(res1)) {
3818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3819 }
3820 arg1 = reinterpret_cast< wxWindow * >(argp1);
3821 if (obj1) {
3822 ecode2 = SWIG_AsVal_int(obj1, &val2);
3823 if (!SWIG_IsOK(ecode2)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3825 }
3826 arg2 = static_cast< int >(val2);
3827 }
3828 if (obj2) {
3829 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3830 if (!SWIG_IsOK(res3)) {
3831 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3832 }
3833 if (!argp3) {
3834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3835 }
3836 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3837 }
3838 if (obj3) {
3839 {
3840 arg4 = &temp4;
3841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3842 }
3843 }
3844 if (obj4) {
3845 {
3846 arg5 = &temp5;
3847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3848 }
3849 }
3850 if (obj5) {
3851 ecode6 = SWIG_AsVal_long(obj5, &val6);
3852 if (!SWIG_IsOK(ecode6)) {
3853 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3854 }
3855 arg6 = static_cast< long >(val6);
3856 }
3857 if (obj6) {
3858 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3859 if (!SWIG_IsOK(res7)) {
3860 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3861 }
3862 if (!argp7) {
3863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3864 }
3865 arg7 = reinterpret_cast< wxValidator * >(argp7);
3866 }
3867 if (obj7) {
3868 {
3869 arg8 = wxString_in_helper(obj7);
3870 if (arg8 == NULL) SWIG_fail;
3871 temp8 = true;
3872 }
3873 }
3874 {
3875 if (!wxPyCheckForApp()) SWIG_fail;
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return resultobj;
3887 fail:
3888 {
3889 if (temp8)
3890 delete arg8;
3891 }
3892 return NULL;
3893 }
3894
3895
3896 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3897 PyObject *resultobj = 0;
3898 wxBitmapButton *result = 0 ;
3899
3900 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3901 {
3902 if (!wxPyCheckForApp()) SWIG_fail;
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (wxBitmapButton *)new wxBitmapButton();
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj = 0;
3917 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3918 wxWindow *arg2 = (wxWindow *) 0 ;
3919 int arg3 = (int) -1 ;
3920 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3921 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3922 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3923 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3924 wxSize const &arg6_defvalue = wxDefaultSize ;
3925 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3926 long arg7 = (long) wxBU_AUTODRAW ;
3927 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3928 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3929 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3930 wxString *arg9 = (wxString *) &arg9_defvalue ;
3931 bool result;
3932 void *argp1 = 0 ;
3933 int res1 = 0 ;
3934 void *argp2 = 0 ;
3935 int res2 = 0 ;
3936 int val3 ;
3937 int ecode3 = 0 ;
3938 void *argp4 = 0 ;
3939 int res4 = 0 ;
3940 wxPoint temp5 ;
3941 wxSize temp6 ;
3942 long val7 ;
3943 int ecode7 = 0 ;
3944 void *argp8 = 0 ;
3945 int res8 = 0 ;
3946 bool temp9 = false ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 PyObject * obj2 = 0 ;
3950 PyObject * obj3 = 0 ;
3951 PyObject * obj4 = 0 ;
3952 PyObject * obj5 = 0 ;
3953 PyObject * obj6 = 0 ;
3954 PyObject * obj7 = 0 ;
3955 PyObject * obj8 = 0 ;
3956 char * kwnames[] = {
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3958 };
3959
3960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3962 if (!SWIG_IsOK(res1)) {
3963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3964 }
3965 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3967 if (!SWIG_IsOK(res2)) {
3968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3969 }
3970 arg2 = reinterpret_cast< wxWindow * >(argp2);
3971 if (obj2) {
3972 ecode3 = SWIG_AsVal_int(obj2, &val3);
3973 if (!SWIG_IsOK(ecode3)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3975 }
3976 arg3 = static_cast< int >(val3);
3977 }
3978 if (obj3) {
3979 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3980 if (!SWIG_IsOK(res4)) {
3981 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3982 }
3983 if (!argp4) {
3984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3985 }
3986 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3987 }
3988 if (obj4) {
3989 {
3990 arg5 = &temp5;
3991 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3992 }
3993 }
3994 if (obj5) {
3995 {
3996 arg6 = &temp6;
3997 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3998 }
3999 }
4000 if (obj6) {
4001 ecode7 = SWIG_AsVal_long(obj6, &val7);
4002 if (!SWIG_IsOK(ecode7)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4004 }
4005 arg7 = static_cast< long >(val7);
4006 }
4007 if (obj7) {
4008 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4009 if (!SWIG_IsOK(res8)) {
4010 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4011 }
4012 if (!argp8) {
4013 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4014 }
4015 arg8 = reinterpret_cast< wxValidator * >(argp8);
4016 }
4017 if (obj8) {
4018 {
4019 arg9 = wxString_in_helper(obj8);
4020 if (arg9 == NULL) SWIG_fail;
4021 temp9 = true;
4022 }
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
4044 }
4045
4046
4047 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4048 PyObject *resultobj = 0;
4049 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4050 wxBitmap result;
4051 void *argp1 = 0 ;
4052 int res1 = 0 ;
4053 PyObject *swig_obj[1] ;
4054
4055 if (!args) SWIG_fail;
4056 swig_obj[0] = args;
4057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4058 if (!SWIG_IsOK(res1)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4060 }
4061 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (arg1)->GetBitmapLabel();
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4069 return resultobj;
4070 fail:
4071 return NULL;
4072 }
4073
4074
4075 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4076 PyObject *resultobj = 0;
4077 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4078 wxBitmap result;
4079 void *argp1 = 0 ;
4080 int res1 = 0 ;
4081 PyObject *swig_obj[1] ;
4082
4083 if (!args) SWIG_fail;
4084 swig_obj[0] = args;
4085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4086 if (!SWIG_IsOK(res1)) {
4087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4088 }
4089 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (arg1)->GetBitmapDisabled();
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4097 return resultobj;
4098 fail:
4099 return NULL;
4100 }
4101
4102
4103 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4104 PyObject *resultobj = 0;
4105 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4106 wxBitmap result;
4107 void *argp1 = 0 ;
4108 int res1 = 0 ;
4109 PyObject *swig_obj[1] ;
4110
4111 if (!args) SWIG_fail;
4112 swig_obj[0] = args;
4113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4114 if (!SWIG_IsOK(res1)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4116 }
4117 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (arg1)->GetBitmapFocus();
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4132 PyObject *resultobj = 0;
4133 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4134 wxBitmap result;
4135 void *argp1 = 0 ;
4136 int res1 = 0 ;
4137 PyObject *swig_obj[1] ;
4138
4139 if (!args) SWIG_fail;
4140 swig_obj[0] = args;
4141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4142 if (!SWIG_IsOK(res1)) {
4143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4144 }
4145 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (arg1)->GetBitmapSelected();
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4160 PyObject *resultobj = 0;
4161 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4162 wxBitmap result;
4163 void *argp1 = 0 ;
4164 int res1 = 0 ;
4165 PyObject *swig_obj[1] ;
4166
4167 if (!args) SWIG_fail;
4168 swig_obj[0] = args;
4169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4170 if (!SWIG_IsOK(res1)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4172 }
4173 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 result = (arg1)->GetBitmapHover();
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4181 return resultobj;
4182 fail:
4183 return NULL;
4184 }
4185
4186
4187 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj = 0;
4189 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4190 wxBitmap *arg2 = 0 ;
4191 void *argp1 = 0 ;
4192 int res1 = 0 ;
4193 void *argp2 = 0 ;
4194 int res2 = 0 ;
4195 PyObject * obj0 = 0 ;
4196 PyObject * obj1 = 0 ;
4197 char * kwnames[] = {
4198 (char *) "self",(char *) "bitmap", NULL
4199 };
4200
4201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4203 if (!SWIG_IsOK(res1)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4205 }
4206 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4207 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4208 if (!SWIG_IsOK(res2)) {
4209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4210 }
4211 if (!argp2) {
4212 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4213 }
4214 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 resultobj = SWIG_Py_Void();
4222 return resultobj;
4223 fail:
4224 return NULL;
4225 }
4226
4227
4228 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4229 PyObject *resultobj = 0;
4230 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4231 wxBitmap *arg2 = 0 ;
4232 void *argp1 = 0 ;
4233 int res1 = 0 ;
4234 void *argp2 = 0 ;
4235 int res2 = 0 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char * kwnames[] = {
4239 (char *) "self",(char *) "bitmap", NULL
4240 };
4241
4242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4244 if (!SWIG_IsOK(res1)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4246 }
4247 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4249 if (!SWIG_IsOK(res2)) {
4250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4251 }
4252 if (!argp2) {
4253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4254 }
4255 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 resultobj = SWIG_Py_Void();
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj = 0;
4271 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4272 wxBitmap *arg2 = 0 ;
4273 void *argp1 = 0 ;
4274 int res1 = 0 ;
4275 void *argp2 = 0 ;
4276 int res2 = 0 ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char * kwnames[] = {
4280 (char *) "self",(char *) "bitmap", NULL
4281 };
4282
4283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4287 }
4288 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4289 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4290 if (!SWIG_IsOK(res2)) {
4291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4292 }
4293 if (!argp2) {
4294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4295 }
4296 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_Py_Void();
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj = 0;
4312 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4313 wxBitmap *arg2 = 0 ;
4314 void *argp1 = 0 ;
4315 int res1 = 0 ;
4316 void *argp2 = 0 ;
4317 int res2 = 0 ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 char * kwnames[] = {
4321 (char *) "self",(char *) "bitmap", NULL
4322 };
4323
4324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4326 if (!SWIG_IsOK(res1)) {
4327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4328 }
4329 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4330 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4331 if (!SWIG_IsOK(res2)) {
4332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4333 }
4334 if (!argp2) {
4335 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4336 }
4337 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 resultobj = SWIG_Py_Void();
4345 return resultobj;
4346 fail:
4347 return NULL;
4348 }
4349
4350
4351 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj = 0;
4353 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4354 wxBitmap *arg2 = 0 ;
4355 void *argp1 = 0 ;
4356 int res1 = 0 ;
4357 void *argp2 = 0 ;
4358 int res2 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 char * kwnames[] = {
4362 (char *) "self",(char *) "hover", NULL
4363 };
4364
4365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4369 }
4370 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4371 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4372 if (!SWIG_IsOK(res2)) {
4373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4374 }
4375 if (!argp2) {
4376 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4377 }
4378 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4395 int arg2 ;
4396 int arg3 ;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 int val3 ;
4402 int ecode3 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 PyObject * obj2 = 0 ;
4406 char * kwnames[] = {
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4408 };
4409
4410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4412 if (!SWIG_IsOK(res1)) {
4413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4414 }
4415 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4416 ecode2 = SWIG_AsVal_int(obj1, &val2);
4417 if (!SWIG_IsOK(ecode2)) {
4418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4419 }
4420 arg2 = static_cast< int >(val2);
4421 ecode3 = SWIG_AsVal_int(obj2, &val3);
4422 if (!SWIG_IsOK(ecode3)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4424 }
4425 arg3 = static_cast< int >(val3);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->SetMargins(arg2,arg3);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_Py_Void();
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4440 PyObject *resultobj = 0;
4441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4442 int result;
4443 void *argp1 = 0 ;
4444 int res1 = 0 ;
4445 PyObject *swig_obj[1] ;
4446
4447 if (!args) SWIG_fail;
4448 swig_obj[0] = args;
4449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4452 }
4453 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_From_int(static_cast< int >(result));
4461 return resultobj;
4462 fail:
4463 return NULL;
4464 }
4465
4466
4467 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4468 PyObject *resultobj = 0;
4469 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4470 int result;
4471 void *argp1 = 0 ;
4472 int res1 = 0 ;
4473 PyObject *swig_obj[1] ;
4474
4475 if (!args) SWIG_fail;
4476 swig_obj[0] = args;
4477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4478 if (!SWIG_IsOK(res1)) {
4479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4480 }
4481 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_From_int(static_cast< int >(result));
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4496 PyObject *obj;
4497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4498 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4499 return SWIG_Py_Void();
4500 }
4501
4502 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4503 return SWIG_Python_InitShadowInstance(args);
4504 }
4505
4506 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4507 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4508 return 1;
4509 }
4510
4511
4512 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4513 PyObject *pyobj = 0;
4514
4515 {
4516 #if wxUSE_UNICODE
4517 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4518 #else
4519 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4520 #endif
4521 }
4522 return pyobj;
4523 }
4524
4525
4526 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj = 0;
4528 wxWindow *arg1 = (wxWindow *) 0 ;
4529 int arg2 = (int) -1 ;
4530 wxString const &arg3_defvalue = wxPyEmptyString ;
4531 wxString *arg3 = (wxString *) &arg3_defvalue ;
4532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4534 wxSize const &arg5_defvalue = wxDefaultSize ;
4535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4536 long arg6 = (long) 0 ;
4537 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4538 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4539 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4540 wxString *arg8 = (wxString *) &arg8_defvalue ;
4541 wxCheckBox *result = 0 ;
4542 void *argp1 = 0 ;
4543 int res1 = 0 ;
4544 int val2 ;
4545 int ecode2 = 0 ;
4546 bool temp3 = false ;
4547 wxPoint temp4 ;
4548 wxSize temp5 ;
4549 long val6 ;
4550 int ecode6 = 0 ;
4551 void *argp7 = 0 ;
4552 int res7 = 0 ;
4553 bool temp8 = false ;
4554 PyObject * obj0 = 0 ;
4555 PyObject * obj1 = 0 ;
4556 PyObject * obj2 = 0 ;
4557 PyObject * obj3 = 0 ;
4558 PyObject * obj4 = 0 ;
4559 PyObject * obj5 = 0 ;
4560 PyObject * obj6 = 0 ;
4561 PyObject * obj7 = 0 ;
4562 char * kwnames[] = {
4563 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4564 };
4565
4566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4568 if (!SWIG_IsOK(res1)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4570 }
4571 arg1 = reinterpret_cast< wxWindow * >(argp1);
4572 if (obj1) {
4573 ecode2 = SWIG_AsVal_int(obj1, &val2);
4574 if (!SWIG_IsOK(ecode2)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4576 }
4577 arg2 = static_cast< int >(val2);
4578 }
4579 if (obj2) {
4580 {
4581 arg3 = wxString_in_helper(obj2);
4582 if (arg3 == NULL) SWIG_fail;
4583 temp3 = true;
4584 }
4585 }
4586 if (obj3) {
4587 {
4588 arg4 = &temp4;
4589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4590 }
4591 }
4592 if (obj4) {
4593 {
4594 arg5 = &temp5;
4595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4596 }
4597 }
4598 if (obj5) {
4599 ecode6 = SWIG_AsVal_long(obj5, &val6);
4600 if (!SWIG_IsOK(ecode6)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4602 }
4603 arg6 = static_cast< long >(val6);
4604 }
4605 if (obj6) {
4606 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4607 if (!SWIG_IsOK(res7)) {
4608 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4609 }
4610 if (!argp7) {
4611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4612 }
4613 arg7 = reinterpret_cast< wxValidator * >(argp7);
4614 }
4615 if (obj7) {
4616 {
4617 arg8 = wxString_in_helper(obj7);
4618 if (arg8 == NULL) SWIG_fail;
4619 temp8 = true;
4620 }
4621 }
4622 {
4623 if (!wxPyCheckForApp()) SWIG_fail;
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4630 {
4631 if (temp3)
4632 delete arg3;
4633 }
4634 {
4635 if (temp8)
4636 delete arg8;
4637 }
4638 return resultobj;
4639 fail:
4640 {
4641 if (temp3)
4642 delete arg3;
4643 }
4644 {
4645 if (temp8)
4646 delete arg8;
4647 }
4648 return NULL;
4649 }
4650
4651
4652 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4653 PyObject *resultobj = 0;
4654 wxCheckBox *result = 0 ;
4655
4656 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4657 {
4658 if (!wxPyCheckForApp()) SWIG_fail;
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (wxCheckBox *)new wxCheckBox();
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4665 return resultobj;
4666 fail:
4667 return NULL;
4668 }
4669
4670
4671 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj = 0;
4673 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4674 wxWindow *arg2 = (wxWindow *) 0 ;
4675 int arg3 = (int) -1 ;
4676 wxString const &arg4_defvalue = wxPyEmptyString ;
4677 wxString *arg4 = (wxString *) &arg4_defvalue ;
4678 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4679 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4680 wxSize const &arg6_defvalue = wxDefaultSize ;
4681 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4682 long arg7 = (long) 0 ;
4683 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4684 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4685 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4686 wxString *arg9 = (wxString *) &arg9_defvalue ;
4687 bool result;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 void *argp2 = 0 ;
4691 int res2 = 0 ;
4692 int val3 ;
4693 int ecode3 = 0 ;
4694 bool temp4 = false ;
4695 wxPoint temp5 ;
4696 wxSize temp6 ;
4697 long val7 ;
4698 int ecode7 = 0 ;
4699 void *argp8 = 0 ;
4700 int res8 = 0 ;
4701 bool temp9 = false ;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 PyObject * obj2 = 0 ;
4705 PyObject * obj3 = 0 ;
4706 PyObject * obj4 = 0 ;
4707 PyObject * obj5 = 0 ;
4708 PyObject * obj6 = 0 ;
4709 PyObject * obj7 = 0 ;
4710 PyObject * obj8 = 0 ;
4711 char * kwnames[] = {
4712 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4713 };
4714
4715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4717 if (!SWIG_IsOK(res1)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4719 }
4720 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4721 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4722 if (!SWIG_IsOK(res2)) {
4723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4724 }
4725 arg2 = reinterpret_cast< wxWindow * >(argp2);
4726 if (obj2) {
4727 ecode3 = SWIG_AsVal_int(obj2, &val3);
4728 if (!SWIG_IsOK(ecode3)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4730 }
4731 arg3 = static_cast< int >(val3);
4732 }
4733 if (obj3) {
4734 {
4735 arg4 = wxString_in_helper(obj3);
4736 if (arg4 == NULL) SWIG_fail;
4737 temp4 = true;
4738 }
4739 }
4740 if (obj4) {
4741 {
4742 arg5 = &temp5;
4743 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4744 }
4745 }
4746 if (obj5) {
4747 {
4748 arg6 = &temp6;
4749 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4750 }
4751 }
4752 if (obj6) {
4753 ecode7 = SWIG_AsVal_long(obj6, &val7);
4754 if (!SWIG_IsOK(ecode7)) {
4755 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4756 }
4757 arg7 = static_cast< long >(val7);
4758 }
4759 if (obj7) {
4760 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4761 if (!SWIG_IsOK(res8)) {
4762 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4763 }
4764 if (!argp8) {
4765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4766 }
4767 arg8 = reinterpret_cast< wxValidator * >(argp8);
4768 }
4769 if (obj8) {
4770 {
4771 arg9 = wxString_in_helper(obj8);
4772 if (arg9 == NULL) SWIG_fail;
4773 temp9 = true;
4774 }
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 {
4783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4784 }
4785 {
4786 if (temp4)
4787 delete arg4;
4788 }
4789 {
4790 if (temp9)
4791 delete arg9;
4792 }
4793 return resultobj;
4794 fail:
4795 {
4796 if (temp4)
4797 delete arg4;
4798 }
4799 {
4800 if (temp9)
4801 delete arg9;
4802 }
4803 return NULL;
4804 }
4805
4806
4807 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4808 PyObject *resultobj = 0;
4809 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4810 bool result;
4811 void *argp1 = 0 ;
4812 int res1 = 0 ;
4813 PyObject *swig_obj[1] ;
4814
4815 if (!args) SWIG_fail;
4816 swig_obj[0] = args;
4817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4818 if (!SWIG_IsOK(res1)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4820 }
4821 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 result = (bool)(arg1)->GetValue();
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4830 }
4831 return resultobj;
4832 fail:
4833 return NULL;
4834 }
4835
4836
4837 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4838 PyObject *resultobj = 0;
4839 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4840 bool result;
4841 void *argp1 = 0 ;
4842 int res1 = 0 ;
4843 PyObject *swig_obj[1] ;
4844
4845 if (!args) SWIG_fail;
4846 swig_obj[0] = args;
4847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4848 if (!SWIG_IsOK(res1)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4850 }
4851 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (bool)(arg1)->IsChecked();
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 {
4859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4860 }
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj = 0;
4869 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4870 bool arg2 ;
4871 void *argp1 = 0 ;
4872 int res1 = 0 ;
4873 bool val2 ;
4874 int ecode2 = 0 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 char * kwnames[] = {
4878 (char *) "self",(char *) "state", NULL
4879 };
4880
4881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4883 if (!SWIG_IsOK(res1)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4885 }
4886 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4887 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4888 if (!SWIG_IsOK(ecode2)) {
4889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4890 }
4891 arg2 = static_cast< bool >(val2);
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->SetValue(arg2);
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 resultobj = SWIG_Py_Void();
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4906 PyObject *resultobj = 0;
4907 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4908 wxCheckBoxState result;
4909 void *argp1 = 0 ;
4910 int res1 = 0 ;
4911 PyObject *swig_obj[1] ;
4912
4913 if (!args) SWIG_fail;
4914 swig_obj[0] = args;
4915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4916 if (!SWIG_IsOK(res1)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4918 }
4919 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 resultobj = SWIG_From_int(static_cast< int >(result));
4927 return resultobj;
4928 fail:
4929 return NULL;
4930 }
4931
4932
4933 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj = 0;
4935 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4936 wxCheckBoxState arg2 ;
4937 void *argp1 = 0 ;
4938 int res1 = 0 ;
4939 int val2 ;
4940 int ecode2 = 0 ;
4941 PyObject * obj0 = 0 ;
4942 PyObject * obj1 = 0 ;
4943 char * kwnames[] = {
4944 (char *) "self",(char *) "state", NULL
4945 };
4946
4947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4949 if (!SWIG_IsOK(res1)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4951 }
4952 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4953 ecode2 = SWIG_AsVal_int(obj1, &val2);
4954 if (!SWIG_IsOK(ecode2)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4956 }
4957 arg2 = static_cast< wxCheckBoxState >(val2);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 (arg1)->Set3StateValue(arg2);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 return resultobj;
4966 fail:
4967 return NULL;
4968 }
4969
4970
4971 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4972 PyObject *resultobj = 0;
4973 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4974 bool result;
4975 void *argp1 = 0 ;
4976 int res1 = 0 ;
4977 PyObject *swig_obj[1] ;
4978
4979 if (!args) SWIG_fail;
4980 swig_obj[0] = args;
4981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4982 if (!SWIG_IsOK(res1)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4984 }
4985 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 {
4993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4994 }
4995 return resultobj;
4996 fail:
4997 return NULL;
4998 }
4999
5000
5001 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5002 PyObject *resultobj = 0;
5003 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5004 bool result;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5014 }
5015 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 {
5023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5024 }
5025 return resultobj;
5026 fail:
5027 return NULL;
5028 }
5029
5030
5031 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5032 PyObject *resultobj = 0;
5033 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5034 SwigValueWrapper<wxVisualAttributes > result;
5035 int val1 ;
5036 int ecode1 = 0 ;
5037 PyObject * obj0 = 0 ;
5038 char * kwnames[] = {
5039 (char *) "variant", NULL
5040 };
5041
5042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5043 if (obj0) {
5044 ecode1 = SWIG_AsVal_int(obj0, &val1);
5045 if (!SWIG_IsOK(ecode1)) {
5046 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5047 }
5048 arg1 = static_cast< wxWindowVariant >(val1);
5049 }
5050 {
5051 if (!wxPyCheckForApp()) SWIG_fail;
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5065 PyObject *obj;
5066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5067 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5068 return SWIG_Py_Void();
5069 }
5070
5071 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5072 return SWIG_Python_InitShadowInstance(args);
5073 }
5074
5075 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5076 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5077 return 1;
5078 }
5079
5080
5081 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5082 PyObject *pyobj = 0;
5083
5084 {
5085 #if wxUSE_UNICODE
5086 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5087 #else
5088 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5089 #endif
5090 }
5091 return pyobj;
5092 }
5093
5094
5095 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj = 0;
5097 wxWindow *arg1 = (wxWindow *) 0 ;
5098 int arg2 = (int) -1 ;
5099 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5100 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5101 wxSize const &arg4_defvalue = wxDefaultSize ;
5102 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5103 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5104 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5105 long arg6 = (long) 0 ;
5106 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5107 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5108 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5109 wxString *arg8 = (wxString *) &arg8_defvalue ;
5110 wxChoice *result = 0 ;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 int val2 ;
5114 int ecode2 = 0 ;
5115 wxPoint temp3 ;
5116 wxSize temp4 ;
5117 bool temp5 = false ;
5118 long val6 ;
5119 int ecode6 = 0 ;
5120 void *argp7 = 0 ;
5121 int res7 = 0 ;
5122 bool temp8 = false ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 PyObject * obj2 = 0 ;
5126 PyObject * obj3 = 0 ;
5127 PyObject * obj4 = 0 ;
5128 PyObject * obj5 = 0 ;
5129 PyObject * obj6 = 0 ;
5130 PyObject * obj7 = 0 ;
5131 char * kwnames[] = {
5132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5133 };
5134
5135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5137 if (!SWIG_IsOK(res1)) {
5138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5139 }
5140 arg1 = reinterpret_cast< wxWindow * >(argp1);
5141 if (obj1) {
5142 ecode2 = SWIG_AsVal_int(obj1, &val2);
5143 if (!SWIG_IsOK(ecode2)) {
5144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5145 }
5146 arg2 = static_cast< int >(val2);
5147 }
5148 if (obj2) {
5149 {
5150 arg3 = &temp3;
5151 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5152 }
5153 }
5154 if (obj3) {
5155 {
5156 arg4 = &temp4;
5157 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5158 }
5159 }
5160 if (obj4) {
5161 {
5162 if (! PySequence_Check(obj4)) {
5163 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5164 SWIG_fail;
5165 }
5166 arg5 = new wxArrayString;
5167 temp5 = true;
5168 int i, len=PySequence_Length(obj4);
5169 for (i=0; i<len; i++) {
5170 PyObject* item = PySequence_GetItem(obj4, i);
5171 wxString* s = wxString_in_helper(item);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 arg5->Add(*s);
5174 delete s;
5175 Py_DECREF(item);
5176 }
5177 }
5178 }
5179 if (obj5) {
5180 ecode6 = SWIG_AsVal_long(obj5, &val6);
5181 if (!SWIG_IsOK(ecode6)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5183 }
5184 arg6 = static_cast< long >(val6);
5185 }
5186 if (obj6) {
5187 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5188 if (!SWIG_IsOK(res7)) {
5189 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5190 }
5191 if (!argp7) {
5192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5193 }
5194 arg7 = reinterpret_cast< wxValidator * >(argp7);
5195 }
5196 if (obj7) {
5197 {
5198 arg8 = wxString_in_helper(obj7);
5199 if (arg8 == NULL) SWIG_fail;
5200 temp8 = true;
5201 }
5202 }
5203 {
5204 if (!wxPyCheckForApp()) SWIG_fail;
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5211 {
5212 if (temp5) delete arg5;
5213 }
5214 {
5215 if (temp8)
5216 delete arg8;
5217 }
5218 return resultobj;
5219 fail:
5220 {
5221 if (temp5) delete arg5;
5222 }
5223 {
5224 if (temp8)
5225 delete arg8;
5226 }
5227 return NULL;
5228 }
5229
5230
5231 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5232 PyObject *resultobj = 0;
5233 wxChoice *result = 0 ;
5234
5235 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5236 {
5237 if (!wxPyCheckForApp()) SWIG_fail;
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (wxChoice *)new wxChoice();
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj = 0;
5252 wxChoice *arg1 = (wxChoice *) 0 ;
5253 wxWindow *arg2 = (wxWindow *) 0 ;
5254 int arg3 = (int) -1 ;
5255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5257 wxSize const &arg5_defvalue = wxDefaultSize ;
5258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5259 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5260 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5261 long arg7 = (long) 0 ;
5262 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5263 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5264 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5265 wxString *arg9 = (wxString *) &arg9_defvalue ;
5266 bool result;
5267 void *argp1 = 0 ;
5268 int res1 = 0 ;
5269 void *argp2 = 0 ;
5270 int res2 = 0 ;
5271 int val3 ;
5272 int ecode3 = 0 ;
5273 wxPoint temp4 ;
5274 wxSize temp5 ;
5275 bool temp6 = false ;
5276 long val7 ;
5277 int ecode7 = 0 ;
5278 void *argp8 = 0 ;
5279 int res8 = 0 ;
5280 bool temp9 = false ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 PyObject * obj2 = 0 ;
5284 PyObject * obj3 = 0 ;
5285 PyObject * obj4 = 0 ;
5286 PyObject * obj5 = 0 ;
5287 PyObject * obj6 = 0 ;
5288 PyObject * obj7 = 0 ;
5289 PyObject * obj8 = 0 ;
5290 char * kwnames[] = {
5291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5292 };
5293
5294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5296 if (!SWIG_IsOK(res1)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5298 }
5299 arg1 = reinterpret_cast< wxChoice * >(argp1);
5300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5301 if (!SWIG_IsOK(res2)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5303 }
5304 arg2 = reinterpret_cast< wxWindow * >(argp2);
5305 if (obj2) {
5306 ecode3 = SWIG_AsVal_int(obj2, &val3);
5307 if (!SWIG_IsOK(ecode3)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5309 }
5310 arg3 = static_cast< int >(val3);
5311 }
5312 if (obj3) {
5313 {
5314 arg4 = &temp4;
5315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5316 }
5317 }
5318 if (obj4) {
5319 {
5320 arg5 = &temp5;
5321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5322 }
5323 }
5324 if (obj5) {
5325 {
5326 if (! PySequence_Check(obj5)) {
5327 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5328 SWIG_fail;
5329 }
5330 arg6 = new wxArrayString;
5331 temp6 = true;
5332 int i, len=PySequence_Length(obj5);
5333 for (i=0; i<len; i++) {
5334 PyObject* item = PySequence_GetItem(obj5, i);
5335 wxString* s = wxString_in_helper(item);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 arg6->Add(*s);
5338 delete s;
5339 Py_DECREF(item);
5340 }
5341 }
5342 }
5343 if (obj6) {
5344 ecode7 = SWIG_AsVal_long(obj6, &val7);
5345 if (!SWIG_IsOK(ecode7)) {
5346 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5347 }
5348 arg7 = static_cast< long >(val7);
5349 }
5350 if (obj7) {
5351 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5352 if (!SWIG_IsOK(res8)) {
5353 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5354 }
5355 if (!argp8) {
5356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5357 }
5358 arg8 = reinterpret_cast< wxValidator * >(argp8);
5359 }
5360 if (obj8) {
5361 {
5362 arg9 = wxString_in_helper(obj8);
5363 if (arg9 == NULL) SWIG_fail;
5364 temp9 = true;
5365 }
5366 }
5367 {
5368 PyThreadState* __tstate = wxPyBeginAllowThreads();
5369 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5375 }
5376 {
5377 if (temp6) delete arg6;
5378 }
5379 {
5380 if (temp9)
5381 delete arg9;
5382 }
5383 return resultobj;
5384 fail:
5385 {
5386 if (temp6) delete arg6;
5387 }
5388 {
5389 if (temp9)
5390 delete arg9;
5391 }
5392 return NULL;
5393 }
5394
5395
5396 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397 PyObject *resultobj = 0;
5398 wxChoice *arg1 = (wxChoice *) 0 ;
5399 int result;
5400 void *argp1 = 0 ;
5401 int res1 = 0 ;
5402 PyObject *swig_obj[1] ;
5403
5404 if (!args) SWIG_fail;
5405 swig_obj[0] = args;
5406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5407 if (!SWIG_IsOK(res1)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5409 }
5410 arg1 = reinterpret_cast< wxChoice * >(argp1);
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 resultobj = SWIG_From_int(static_cast< int >(result));
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = 0;
5426 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5427 SwigValueWrapper<wxVisualAttributes > result;
5428 int val1 ;
5429 int ecode1 = 0 ;
5430 PyObject * obj0 = 0 ;
5431 char * kwnames[] = {
5432 (char *) "variant", NULL
5433 };
5434
5435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5436 if (obj0) {
5437 ecode1 = SWIG_AsVal_int(obj0, &val1);
5438 if (!SWIG_IsOK(ecode1)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5440 }
5441 arg1 = static_cast< wxWindowVariant >(val1);
5442 }
5443 {
5444 if (!wxPyCheckForApp()) SWIG_fail;
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = wxChoice::GetClassDefaultAttributes(arg1);
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458 PyObject *obj;
5459 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5460 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5461 return SWIG_Py_Void();
5462 }
5463
5464 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5465 return SWIG_Python_InitShadowInstance(args);
5466 }
5467
5468 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5469 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5470 return 1;
5471 }
5472
5473
5474 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5475 PyObject *pyobj = 0;
5476
5477 {
5478 #if wxUSE_UNICODE
5479 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5480 #else
5481 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5482 #endif
5483 }
5484 return pyobj;
5485 }
5486
5487
5488 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj = 0;
5490 wxWindow *arg1 = (wxWindow *) 0 ;
5491 int arg2 = (int) -1 ;
5492 wxString const &arg3_defvalue = wxPyEmptyString ;
5493 wxString *arg3 = (wxString *) &arg3_defvalue ;
5494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5496 wxSize const &arg5_defvalue = wxDefaultSize ;
5497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5498 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5499 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5500 long arg7 = (long) 0 ;
5501 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5502 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5503 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5504 wxString *arg9 = (wxString *) &arg9_defvalue ;
5505 wxComboBox *result = 0 ;
5506 void *argp1 = 0 ;
5507 int res1 = 0 ;
5508 int val2 ;
5509 int ecode2 = 0 ;
5510 bool temp3 = false ;
5511 wxPoint temp4 ;
5512 wxSize temp5 ;
5513 bool temp6 = false ;
5514 long val7 ;
5515 int ecode7 = 0 ;
5516 void *argp8 = 0 ;
5517 int res8 = 0 ;
5518 bool temp9 = false ;
5519 PyObject * obj0 = 0 ;
5520 PyObject * obj1 = 0 ;
5521 PyObject * obj2 = 0 ;
5522 PyObject * obj3 = 0 ;
5523 PyObject * obj4 = 0 ;
5524 PyObject * obj5 = 0 ;
5525 PyObject * obj6 = 0 ;
5526 PyObject * obj7 = 0 ;
5527 PyObject * obj8 = 0 ;
5528 char * kwnames[] = {
5529 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5530 };
5531
5532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5534 if (!SWIG_IsOK(res1)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5536 }
5537 arg1 = reinterpret_cast< wxWindow * >(argp1);
5538 if (obj1) {
5539 ecode2 = SWIG_AsVal_int(obj1, &val2);
5540 if (!SWIG_IsOK(ecode2)) {
5541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5542 }
5543 arg2 = static_cast< int >(val2);
5544 }
5545 if (obj2) {
5546 {
5547 arg3 = wxString_in_helper(obj2);
5548 if (arg3 == NULL) SWIG_fail;
5549 temp3 = true;
5550 }
5551 }
5552 if (obj3) {
5553 {
5554 arg4 = &temp4;
5555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5556 }
5557 }
5558 if (obj4) {
5559 {
5560 arg5 = &temp5;
5561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5562 }
5563 }
5564 if (obj5) {
5565 {
5566 if (! PySequence_Check(obj5)) {
5567 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5568 SWIG_fail;
5569 }
5570 arg6 = new wxArrayString;
5571 temp6 = true;
5572 int i, len=PySequence_Length(obj5);
5573 for (i=0; i<len; i++) {
5574 PyObject* item = PySequence_GetItem(obj5, i);
5575 wxString* s = wxString_in_helper(item);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 arg6->Add(*s);
5578 delete s;
5579 Py_DECREF(item);
5580 }
5581 }
5582 }
5583 if (obj6) {
5584 ecode7 = SWIG_AsVal_long(obj6, &val7);
5585 if (!SWIG_IsOK(ecode7)) {
5586 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5587 }
5588 arg7 = static_cast< long >(val7);
5589 }
5590 if (obj7) {
5591 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5592 if (!SWIG_IsOK(res8)) {
5593 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5594 }
5595 if (!argp8) {
5596 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5597 }
5598 arg8 = reinterpret_cast< wxValidator * >(argp8);
5599 }
5600 if (obj8) {
5601 {
5602 arg9 = wxString_in_helper(obj8);
5603 if (arg9 == NULL) SWIG_fail;
5604 temp9 = true;
5605 }
5606 }
5607 {
5608 if (!wxPyCheckForApp()) SWIG_fail;
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 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);
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5615 {
5616 if (temp3)
5617 delete arg3;
5618 }
5619 {
5620 if (temp6) delete arg6;
5621 }
5622 {
5623 if (temp9)
5624 delete arg9;
5625 }
5626 return resultobj;
5627 fail:
5628 {
5629 if (temp3)
5630 delete arg3;
5631 }
5632 {
5633 if (temp6) delete arg6;
5634 }
5635 {
5636 if (temp9)
5637 delete arg9;
5638 }
5639 return NULL;
5640 }
5641
5642
5643 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5644 PyObject *resultobj = 0;
5645 wxComboBox *result = 0 ;
5646
5647 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5648 {
5649 if (!wxPyCheckForApp()) SWIG_fail;
5650 PyThreadState* __tstate = wxPyBeginAllowThreads();
5651 result = (wxComboBox *)new wxComboBox();
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj = 0;
5664 wxComboBox *arg1 = (wxComboBox *) 0 ;
5665 wxWindow *arg2 = (wxWindow *) 0 ;
5666 int arg3 = (int) -1 ;
5667 wxString const &arg4_defvalue = wxPyEmptyString ;
5668 wxString *arg4 = (wxString *) &arg4_defvalue ;
5669 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5670 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5671 wxSize const &arg6_defvalue = wxDefaultSize ;
5672 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5673 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5674 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5675 long arg8 = (long) 0 ;
5676 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5677 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5678 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5679 wxString *arg10 = (wxString *) &arg10_defvalue ;
5680 bool result;
5681 void *argp1 = 0 ;
5682 int res1 = 0 ;
5683 void *argp2 = 0 ;
5684 int res2 = 0 ;
5685 int val3 ;
5686 int ecode3 = 0 ;
5687 bool temp4 = false ;
5688 wxPoint temp5 ;
5689 wxSize temp6 ;
5690 bool temp7 = false ;
5691 long val8 ;
5692 int ecode8 = 0 ;
5693 void *argp9 = 0 ;
5694 int res9 = 0 ;
5695 bool temp10 = false ;
5696 PyObject * obj0 = 0 ;
5697 PyObject * obj1 = 0 ;
5698 PyObject * obj2 = 0 ;
5699 PyObject * obj3 = 0 ;
5700 PyObject * obj4 = 0 ;
5701 PyObject * obj5 = 0 ;
5702 PyObject * obj6 = 0 ;
5703 PyObject * obj7 = 0 ;
5704 PyObject * obj8 = 0 ;
5705 PyObject * obj9 = 0 ;
5706 char * kwnames[] = {
5707 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5708 };
5709
5710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5712 if (!SWIG_IsOK(res1)) {
5713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5714 }
5715 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5717 if (!SWIG_IsOK(res2)) {
5718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5719 }
5720 arg2 = reinterpret_cast< wxWindow * >(argp2);
5721 if (obj2) {
5722 ecode3 = SWIG_AsVal_int(obj2, &val3);
5723 if (!SWIG_IsOK(ecode3)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5725 }
5726 arg3 = static_cast< int >(val3);
5727 }
5728 if (obj3) {
5729 {
5730 arg4 = wxString_in_helper(obj3);
5731 if (arg4 == NULL) SWIG_fail;
5732 temp4 = true;
5733 }
5734 }
5735 if (obj4) {
5736 {
5737 arg5 = &temp5;
5738 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5739 }
5740 }
5741 if (obj5) {
5742 {
5743 arg6 = &temp6;
5744 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5745 }
5746 }
5747 if (obj6) {
5748 {
5749 if (! PySequence_Check(obj6)) {
5750 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5751 SWIG_fail;
5752 }
5753 arg7 = new wxArrayString;
5754 temp7 = true;
5755 int i, len=PySequence_Length(obj6);
5756 for (i=0; i<len; i++) {
5757 PyObject* item = PySequence_GetItem(obj6, i);
5758 wxString* s = wxString_in_helper(item);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 arg7->Add(*s);
5761 delete s;
5762 Py_DECREF(item);
5763 }
5764 }
5765 }
5766 if (obj7) {
5767 ecode8 = SWIG_AsVal_long(obj7, &val8);
5768 if (!SWIG_IsOK(ecode8)) {
5769 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5770 }
5771 arg8 = static_cast< long >(val8);
5772 }
5773 if (obj8) {
5774 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5775 if (!SWIG_IsOK(res9)) {
5776 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5777 }
5778 if (!argp9) {
5779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5780 }
5781 arg9 = reinterpret_cast< wxValidator * >(argp9);
5782 }
5783 if (obj9) {
5784 {
5785 arg10 = wxString_in_helper(obj9);
5786 if (arg10 == NULL) SWIG_fail;
5787 temp10 = true;
5788 }
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 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);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5798 }
5799 {
5800 if (temp4)
5801 delete arg4;
5802 }
5803 {
5804 if (temp7) delete arg7;
5805 }
5806 {
5807 if (temp10)
5808 delete arg10;
5809 }
5810 return resultobj;
5811 fail:
5812 {
5813 if (temp4)
5814 delete arg4;
5815 }
5816 {
5817 if (temp7) delete arg7;
5818 }
5819 {
5820 if (temp10)
5821 delete arg10;
5822 }
5823 return NULL;
5824 }
5825
5826
5827 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5828 PyObject *resultobj = 0;
5829 wxComboBox *arg1 = (wxComboBox *) 0 ;
5830 wxString result;
5831 void *argp1 = 0 ;
5832 int res1 = 0 ;
5833 PyObject *swig_obj[1] ;
5834
5835 if (!args) SWIG_fail;
5836 swig_obj[0] = args;
5837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5838 if (!SWIG_IsOK(res1)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5840 }
5841 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = ((wxComboBox const *)arg1)->GetValue();
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 {
5849 #if wxUSE_UNICODE
5850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5851 #else
5852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5853 #endif
5854 }
5855 return resultobj;
5856 fail:
5857 return NULL;
5858 }
5859
5860
5861 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj = 0;
5863 wxComboBox *arg1 = (wxComboBox *) 0 ;
5864 wxString *arg2 = 0 ;
5865 void *argp1 = 0 ;
5866 int res1 = 0 ;
5867 bool temp2 = false ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char * kwnames[] = {
5871 (char *) "self",(char *) "value", NULL
5872 };
5873
5874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5876 if (!SWIG_IsOK(res1)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5878 }
5879 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5880 {
5881 arg2 = wxString_in_helper(obj1);
5882 if (arg2 == NULL) SWIG_fail;
5883 temp2 = true;
5884 }
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 (arg1)->SetValue((wxString const &)*arg2);
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = SWIG_Py_Void();
5892 {
5893 if (temp2)
5894 delete arg2;
5895 }
5896 return resultobj;
5897 fail:
5898 {
5899 if (temp2)
5900 delete arg2;
5901 }
5902 return NULL;
5903 }
5904
5905
5906 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5907 PyObject *resultobj = 0;
5908 wxComboBox *arg1 = (wxComboBox *) 0 ;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 PyObject *swig_obj[1] ;
5912
5913 if (!args) SWIG_fail;
5914 swig_obj[0] = args;
5915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5916 if (!SWIG_IsOK(res1)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5918 }
5919 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 (arg1)->Copy();
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 resultobj = SWIG_Py_Void();
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5934 PyObject *resultobj = 0;
5935 wxComboBox *arg1 = (wxComboBox *) 0 ;
5936 void *argp1 = 0 ;
5937 int res1 = 0 ;
5938 PyObject *swig_obj[1] ;
5939
5940 if (!args) SWIG_fail;
5941 swig_obj[0] = args;
5942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5943 if (!SWIG_IsOK(res1)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5945 }
5946 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 (arg1)->Cut();
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = SWIG_Py_Void();
5954 return resultobj;
5955 fail:
5956 return NULL;
5957 }
5958
5959
5960 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5961 PyObject *resultobj = 0;
5962 wxComboBox *arg1 = (wxComboBox *) 0 ;
5963 void *argp1 = 0 ;
5964 int res1 = 0 ;
5965 PyObject *swig_obj[1] ;
5966
5967 if (!args) SWIG_fail;
5968 swig_obj[0] = args;
5969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5970 if (!SWIG_IsOK(res1)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5972 }
5973 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 (arg1)->Paste();
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 resultobj = SWIG_Py_Void();
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj = 0;
5989 wxComboBox *arg1 = (wxComboBox *) 0 ;
5990 long arg2 ;
5991 void *argp1 = 0 ;
5992 int res1 = 0 ;
5993 long val2 ;
5994 int ecode2 = 0 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char * kwnames[] = {
5998 (char *) "self",(char *) "pos", NULL
5999 };
6000
6001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6003 if (!SWIG_IsOK(res1)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6005 }
6006 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6007 ecode2 = SWIG_AsVal_long(obj1, &val2);
6008 if (!SWIG_IsOK(ecode2)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6010 }
6011 arg2 = static_cast< long >(val2);
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 (arg1)->SetInsertionPoint(arg2);
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 resultobj = SWIG_Py_Void();
6019 return resultobj;
6020 fail:
6021 return NULL;
6022 }
6023
6024
6025 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6026 PyObject *resultobj = 0;
6027 wxComboBox *arg1 = (wxComboBox *) 0 ;
6028 long result;
6029 void *argp1 = 0 ;
6030 int res1 = 0 ;
6031 PyObject *swig_obj[1] ;
6032
6033 if (!args) SWIG_fail;
6034 swig_obj[0] = args;
6035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6036 if (!SWIG_IsOK(res1)) {
6037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6038 }
6039 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = SWIG_From_long(static_cast< long >(result));
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6054 PyObject *resultobj = 0;
6055 wxComboBox *arg1 = (wxComboBox *) 0 ;
6056 long result;
6057 void *argp1 = 0 ;
6058 int res1 = 0 ;
6059 PyObject *swig_obj[1] ;
6060
6061 if (!args) SWIG_fail;
6062 swig_obj[0] = args;
6063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6064 if (!SWIG_IsOK(res1)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6066 }
6067 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 resultobj = SWIG_From_long(static_cast< long >(result));
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj = 0;
6083 wxComboBox *arg1 = (wxComboBox *) 0 ;
6084 long arg2 ;
6085 long arg3 ;
6086 wxString *arg4 = 0 ;
6087 void *argp1 = 0 ;
6088 int res1 = 0 ;
6089 long val2 ;
6090 int ecode2 = 0 ;
6091 long val3 ;
6092 int ecode3 = 0 ;
6093 bool temp4 = false ;
6094 PyObject * obj0 = 0 ;
6095 PyObject * obj1 = 0 ;
6096 PyObject * obj2 = 0 ;
6097 PyObject * obj3 = 0 ;
6098 char * kwnames[] = {
6099 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6100 };
6101
6102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6104 if (!SWIG_IsOK(res1)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6106 }
6107 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6108 ecode2 = SWIG_AsVal_long(obj1, &val2);
6109 if (!SWIG_IsOK(ecode2)) {
6110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6111 }
6112 arg2 = static_cast< long >(val2);
6113 ecode3 = SWIG_AsVal_long(obj2, &val3);
6114 if (!SWIG_IsOK(ecode3)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6116 }
6117 arg3 = static_cast< long >(val3);
6118 {
6119 arg4 = wxString_in_helper(obj3);
6120 if (arg4 == NULL) SWIG_fail;
6121 temp4 = true;
6122 }
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 resultobj = SWIG_Py_Void();
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 return resultobj;
6135 fail:
6136 {
6137 if (temp4)
6138 delete arg4;
6139 }
6140 return NULL;
6141 }
6142
6143
6144 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj = 0;
6146 wxComboBox *arg1 = (wxComboBox *) 0 ;
6147 long arg2 ;
6148 long arg3 ;
6149 void *argp1 = 0 ;
6150 int res1 = 0 ;
6151 long val2 ;
6152 int ecode2 = 0 ;
6153 long val3 ;
6154 int ecode3 = 0 ;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 PyObject * obj2 = 0 ;
6158 char * kwnames[] = {
6159 (char *) "self",(char *) "from",(char *) "to", NULL
6160 };
6161
6162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6164 if (!SWIG_IsOK(res1)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6166 }
6167 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6168 ecode2 = SWIG_AsVal_long(obj1, &val2);
6169 if (!SWIG_IsOK(ecode2)) {
6170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6171 }
6172 arg2 = static_cast< long >(val2);
6173 ecode3 = SWIG_AsVal_long(obj2, &val3);
6174 if (!SWIG_IsOK(ecode3)) {
6175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6176 }
6177 arg3 = static_cast< long >(val3);
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 (arg1)->SetSelection(arg2,arg3);
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 resultobj = SWIG_Py_Void();
6185 return resultobj;
6186 fail:
6187 return NULL;
6188 }
6189
6190
6191 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6192 PyObject *resultobj = 0;
6193 wxComboBox *arg1 = (wxComboBox *) 0 ;
6194 long *arg2 = (long *) 0 ;
6195 long *arg3 = (long *) 0 ;
6196 void *argp1 = 0 ;
6197 int res1 = 0 ;
6198 long temp2 ;
6199 int res2 = SWIG_TMPOBJ ;
6200 long temp3 ;
6201 int res3 = SWIG_TMPOBJ ;
6202 PyObject *swig_obj[1] ;
6203
6204 arg2 = &temp2;
6205 arg3 = &temp3;
6206 if (!args) SWIG_fail;
6207 swig_obj[0] = args;
6208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6209 if (!SWIG_IsOK(res1)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6211 }
6212 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 (arg1)->GetSelection(arg2,arg3);
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 resultobj = SWIG_Py_Void();
6220 if (SWIG_IsTmpObj(res2)) {
6221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6222 } else {
6223 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6225 }
6226 if (SWIG_IsTmpObj(res3)) {
6227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6228 } else {
6229 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239 PyObject *resultobj = 0;
6240 wxComboBox *arg1 = (wxComboBox *) 0 ;
6241 int result;
6242 void *argp1 = 0 ;
6243 int res1 = 0 ;
6244 PyObject *swig_obj[1] ;
6245
6246 if (!args) SWIG_fail;
6247 swig_obj[0] = args;
6248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6249 if (!SWIG_IsOK(res1)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6251 }
6252 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 resultobj = SWIG_From_int(static_cast< int >(result));
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj = 0;
6268 wxComboBox *arg1 = (wxComboBox *) 0 ;
6269 wxString *arg2 = 0 ;
6270 bool result;
6271 void *argp1 = 0 ;
6272 int res1 = 0 ;
6273 bool temp2 = false ;
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 char * kwnames[] = {
6277 (char *) "self",(char *) "string", NULL
6278 };
6279
6280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6284 }
6285 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6286 {
6287 arg2 = wxString_in_helper(obj1);
6288 if (arg2 == NULL) SWIG_fail;
6289 temp2 = true;
6290 }
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 {
6298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6299 }
6300 {
6301 if (temp2)
6302 delete arg2;
6303 }
6304 return resultobj;
6305 fail:
6306 {
6307 if (temp2)
6308 delete arg2;
6309 }
6310 return NULL;
6311 }
6312
6313
6314 SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj = 0;
6316 wxComboBox *arg1 = (wxComboBox *) 0 ;
6317 int arg2 ;
6318 wxString *arg3 = 0 ;
6319 void *argp1 = 0 ;
6320 int res1 = 0 ;
6321 int val2 ;
6322 int ecode2 = 0 ;
6323 bool temp3 = false ;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 PyObject * obj2 = 0 ;
6327 char * kwnames[] = {
6328 (char *) "self",(char *) "n",(char *) "string", NULL
6329 };
6330
6331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6333 if (!SWIG_IsOK(res1)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6335 }
6336 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6337 ecode2 = SWIG_AsVal_int(obj1, &val2);
6338 if (!SWIG_IsOK(ecode2)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6340 }
6341 arg2 = static_cast< int >(val2);
6342 {
6343 arg3 = wxString_in_helper(obj2);
6344 if (arg3 == NULL) SWIG_fail;
6345 temp3 = true;
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 (arg1)->SetString(arg2,(wxString const &)*arg3);
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 resultobj = SWIG_Py_Void();
6354 {
6355 if (temp3)
6356 delete arg3;
6357 }
6358 return resultobj;
6359 fail:
6360 {
6361 if (temp3)
6362 delete arg3;
6363 }
6364 return NULL;
6365 }
6366
6367
6368 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxComboBox *arg1 = (wxComboBox *) 0 ;
6371 bool arg2 ;
6372 void *argp1 = 0 ;
6373 int res1 = 0 ;
6374 bool val2 ;
6375 int ecode2 = 0 ;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj1 = 0 ;
6378 char * kwnames[] = {
6379 (char *) "self",(char *) "editable", NULL
6380 };
6381
6382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6384 if (!SWIG_IsOK(res1)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6386 }
6387 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6388 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6389 if (!SWIG_IsOK(ecode2)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6391 }
6392 arg2 = static_cast< bool >(val2);
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 (arg1)->SetEditable(arg2);
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 resultobj = SWIG_Py_Void();
6400 return resultobj;
6401 fail:
6402 return NULL;
6403 }
6404
6405
6406 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6407 PyObject *resultobj = 0;
6408 wxComboBox *arg1 = (wxComboBox *) 0 ;
6409 void *argp1 = 0 ;
6410 int res1 = 0 ;
6411 PyObject *swig_obj[1] ;
6412
6413 if (!args) SWIG_fail;
6414 swig_obj[0] = args;
6415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6416 if (!SWIG_IsOK(res1)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6418 }
6419 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 (arg1)->SetInsertionPointEnd();
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 resultobj = SWIG_Py_Void();
6427 return resultobj;
6428 fail:
6429 return NULL;
6430 }
6431
6432
6433 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6434 PyObject *resultobj = 0;
6435 wxComboBox *arg1 = (wxComboBox *) 0 ;
6436 long arg2 ;
6437 long arg3 ;
6438 void *argp1 = 0 ;
6439 int res1 = 0 ;
6440 long val2 ;
6441 int ecode2 = 0 ;
6442 long val3 ;
6443 int ecode3 = 0 ;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 PyObject * obj2 = 0 ;
6447 char * kwnames[] = {
6448 (char *) "self",(char *) "from",(char *) "to", NULL
6449 };
6450
6451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6453 if (!SWIG_IsOK(res1)) {
6454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6455 }
6456 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6457 ecode2 = SWIG_AsVal_long(obj1, &val2);
6458 if (!SWIG_IsOK(ecode2)) {
6459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6460 }
6461 arg2 = static_cast< long >(val2);
6462 ecode3 = SWIG_AsVal_long(obj2, &val3);
6463 if (!SWIG_IsOK(ecode3)) {
6464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6465 }
6466 arg3 = static_cast< long >(val3);
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 (arg1)->Remove(arg2,arg3);
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 resultobj = SWIG_Py_Void();
6474 return resultobj;
6475 fail:
6476 return NULL;
6477 }
6478
6479
6480 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6481 PyObject *resultobj = 0;
6482 wxComboBox *arg1 = (wxComboBox *) 0 ;
6483 bool result;
6484 void *argp1 = 0 ;
6485 int res1 = 0 ;
6486 PyObject *swig_obj[1] ;
6487
6488 if (!args) SWIG_fail;
6489 swig_obj[0] = args;
6490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6491 if (!SWIG_IsOK(res1)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6493 }
6494 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 {
6502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6503 }
6504 return resultobj;
6505 fail:
6506 return NULL;
6507 }
6508
6509
6510 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6511 PyObject *resultobj = 0;
6512 wxComboBox *arg1 = (wxComboBox *) 0 ;
6513 void *argp1 = 0 ;
6514 int res1 = 0 ;
6515 PyObject *swig_obj[1] ;
6516
6517 if (!args) SWIG_fail;
6518 swig_obj[0] = args;
6519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6520 if (!SWIG_IsOK(res1)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6522 }
6523 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->Undo();
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = SWIG_Py_Void();
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6538 PyObject *resultobj = 0;
6539 wxComboBox *arg1 = (wxComboBox *) 0 ;
6540 void *argp1 = 0 ;
6541 int res1 = 0 ;
6542 PyObject *swig_obj[1] ;
6543
6544 if (!args) SWIG_fail;
6545 swig_obj[0] = args;
6546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6547 if (!SWIG_IsOK(res1)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6549 }
6550 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 (arg1)->Redo();
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 resultobj = SWIG_Py_Void();
6558 return resultobj;
6559 fail:
6560 return NULL;
6561 }
6562
6563
6564 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6565 PyObject *resultobj = 0;
6566 wxComboBox *arg1 = (wxComboBox *) 0 ;
6567 void *argp1 = 0 ;
6568 int res1 = 0 ;
6569 PyObject *swig_obj[1] ;
6570
6571 if (!args) SWIG_fail;
6572 swig_obj[0] = args;
6573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6574 if (!SWIG_IsOK(res1)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6576 }
6577 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 (arg1)->SelectAll();
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 resultobj = SWIG_Py_Void();
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6592 PyObject *resultobj = 0;
6593 wxComboBox *arg1 = (wxComboBox *) 0 ;
6594 bool result;
6595 void *argp1 = 0 ;
6596 int res1 = 0 ;
6597 PyObject *swig_obj[1] ;
6598
6599 if (!args) SWIG_fail;
6600 swig_obj[0] = args;
6601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6602 if (!SWIG_IsOK(res1)) {
6603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6604 }
6605 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 {
6613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6614 }
6615 return resultobj;
6616 fail:
6617 return NULL;
6618 }
6619
6620
6621 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6622 PyObject *resultobj = 0;
6623 wxComboBox *arg1 = (wxComboBox *) 0 ;
6624 bool result;
6625 void *argp1 = 0 ;
6626 int res1 = 0 ;
6627 PyObject *swig_obj[1] ;
6628
6629 if (!args) SWIG_fail;
6630 swig_obj[0] = args;
6631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6632 if (!SWIG_IsOK(res1)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6634 }
6635 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 result = (bool)((wxComboBox const *)arg1)->CanCut();
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 {
6643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6644 }
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6652 PyObject *resultobj = 0;
6653 wxComboBox *arg1 = (wxComboBox *) 0 ;
6654 bool result;
6655 void *argp1 = 0 ;
6656 int res1 = 0 ;
6657 PyObject *swig_obj[1] ;
6658
6659 if (!args) SWIG_fail;
6660 swig_obj[0] = args;
6661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6662 if (!SWIG_IsOK(res1)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6664 }
6665 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6674 }
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6682 PyObject *resultobj = 0;
6683 wxComboBox *arg1 = (wxComboBox *) 0 ;
6684 bool result;
6685 void *argp1 = 0 ;
6686 int res1 = 0 ;
6687 PyObject *swig_obj[1] ;
6688
6689 if (!args) SWIG_fail;
6690 swig_obj[0] = args;
6691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6692 if (!SWIG_IsOK(res1)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6694 }
6695 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 {
6703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6704 }
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6712 PyObject *resultobj = 0;
6713 wxComboBox *arg1 = (wxComboBox *) 0 ;
6714 bool result;
6715 void *argp1 = 0 ;
6716 int res1 = 0 ;
6717 PyObject *swig_obj[1] ;
6718
6719 if (!args) SWIG_fail;
6720 swig_obj[0] = args;
6721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6722 if (!SWIG_IsOK(res1)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6724 }
6725 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6734 }
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj = 0;
6743 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6744 SwigValueWrapper<wxVisualAttributes > result;
6745 int val1 ;
6746 int ecode1 = 0 ;
6747 PyObject * obj0 = 0 ;
6748 char * kwnames[] = {
6749 (char *) "variant", NULL
6750 };
6751
6752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6753 if (obj0) {
6754 ecode1 = SWIG_AsVal_int(obj0, &val1);
6755 if (!SWIG_IsOK(ecode1)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6757 }
6758 arg1 = static_cast< wxWindowVariant >(val1);
6759 }
6760 {
6761 if (!wxPyCheckForApp()) SWIG_fail;
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = wxComboBox::GetClassDefaultAttributes(arg1);
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6775 PyObject *obj;
6776 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6777 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6778 return SWIG_Py_Void();
6779 }
6780
6781 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6782 return SWIG_Python_InitShadowInstance(args);
6783 }
6784
6785 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6786 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6787 return 1;
6788 }
6789
6790
6791 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6792 PyObject *pyobj = 0;
6793
6794 {
6795 #if wxUSE_UNICODE
6796 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6797 #else
6798 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6799 #endif
6800 }
6801 return pyobj;
6802 }
6803
6804
6805 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj = 0;
6807 wxWindow *arg1 = (wxWindow *) 0 ;
6808 int arg2 = (int) -1 ;
6809 int arg3 = (int) 100 ;
6810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6812 wxSize const &arg5_defvalue = wxDefaultSize ;
6813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6814 long arg6 = (long) wxGA_HORIZONTAL ;
6815 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6816 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6817 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6818 wxString *arg8 = (wxString *) &arg8_defvalue ;
6819 wxGauge *result = 0 ;
6820 void *argp1 = 0 ;
6821 int res1 = 0 ;
6822 int val2 ;
6823 int ecode2 = 0 ;
6824 int val3 ;
6825 int ecode3 = 0 ;
6826 wxPoint temp4 ;
6827 wxSize temp5 ;
6828 long val6 ;
6829 int ecode6 = 0 ;
6830 void *argp7 = 0 ;
6831 int res7 = 0 ;
6832 bool temp8 = false ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 PyObject * obj2 = 0 ;
6836 PyObject * obj3 = 0 ;
6837 PyObject * obj4 = 0 ;
6838 PyObject * obj5 = 0 ;
6839 PyObject * obj6 = 0 ;
6840 PyObject * obj7 = 0 ;
6841 char * kwnames[] = {
6842 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6843 };
6844
6845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6847 if (!SWIG_IsOK(res1)) {
6848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6849 }
6850 arg1 = reinterpret_cast< wxWindow * >(argp1);
6851 if (obj1) {
6852 ecode2 = SWIG_AsVal_int(obj1, &val2);
6853 if (!SWIG_IsOK(ecode2)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6855 }
6856 arg2 = static_cast< int >(val2);
6857 }
6858 if (obj2) {
6859 ecode3 = SWIG_AsVal_int(obj2, &val3);
6860 if (!SWIG_IsOK(ecode3)) {
6861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6862 }
6863 arg3 = static_cast< int >(val3);
6864 }
6865 if (obj3) {
6866 {
6867 arg4 = &temp4;
6868 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6869 }
6870 }
6871 if (obj4) {
6872 {
6873 arg5 = &temp5;
6874 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6875 }
6876 }
6877 if (obj5) {
6878 ecode6 = SWIG_AsVal_long(obj5, &val6);
6879 if (!SWIG_IsOK(ecode6)) {
6880 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6881 }
6882 arg6 = static_cast< long >(val6);
6883 }
6884 if (obj6) {
6885 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6886 if (!SWIG_IsOK(res7)) {
6887 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6888 }
6889 if (!argp7) {
6890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6891 }
6892 arg7 = reinterpret_cast< wxValidator * >(argp7);
6893 }
6894 if (obj7) {
6895 {
6896 arg8 = wxString_in_helper(obj7);
6897 if (arg8 == NULL) SWIG_fail;
6898 temp8 = true;
6899 }
6900 }
6901 {
6902 if (!wxPyCheckForApp()) SWIG_fail;
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return resultobj;
6914 fail:
6915 {
6916 if (temp8)
6917 delete arg8;
6918 }
6919 return NULL;
6920 }
6921
6922
6923 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6924 PyObject *resultobj = 0;
6925 wxGauge *result = 0 ;
6926
6927 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6928 {
6929 if (!wxPyCheckForApp()) SWIG_fail;
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 result = (wxGauge *)new wxGauge();
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj = 0;
6944 wxGauge *arg1 = (wxGauge *) 0 ;
6945 wxWindow *arg2 = (wxWindow *) 0 ;
6946 int arg3 = (int) -1 ;
6947 int arg4 = (int) 100 ;
6948 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6949 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6950 wxSize const &arg6_defvalue = wxDefaultSize ;
6951 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6952 long arg7 = (long) wxGA_HORIZONTAL ;
6953 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6954 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6955 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6956 wxString *arg9 = (wxString *) &arg9_defvalue ;
6957 bool result;
6958 void *argp1 = 0 ;
6959 int res1 = 0 ;
6960 void *argp2 = 0 ;
6961 int res2 = 0 ;
6962 int val3 ;
6963 int ecode3 = 0 ;
6964 int val4 ;
6965 int ecode4 = 0 ;
6966 wxPoint temp5 ;
6967 wxSize temp6 ;
6968 long val7 ;
6969 int ecode7 = 0 ;
6970 void *argp8 = 0 ;
6971 int res8 = 0 ;
6972 bool temp9 = false ;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 PyObject * obj2 = 0 ;
6976 PyObject * obj3 = 0 ;
6977 PyObject * obj4 = 0 ;
6978 PyObject * obj5 = 0 ;
6979 PyObject * obj6 = 0 ;
6980 PyObject * obj7 = 0 ;
6981 PyObject * obj8 = 0 ;
6982 char * kwnames[] = {
6983 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6984 };
6985
6986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6988 if (!SWIG_IsOK(res1)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6990 }
6991 arg1 = reinterpret_cast< wxGauge * >(argp1);
6992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6993 if (!SWIG_IsOK(res2)) {
6994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6995 }
6996 arg2 = reinterpret_cast< wxWindow * >(argp2);
6997 if (obj2) {
6998 ecode3 = SWIG_AsVal_int(obj2, &val3);
6999 if (!SWIG_IsOK(ecode3)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
7001 }
7002 arg3 = static_cast< int >(val3);
7003 }
7004 if (obj3) {
7005 ecode4 = SWIG_AsVal_int(obj3, &val4);
7006 if (!SWIG_IsOK(ecode4)) {
7007 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7008 }
7009 arg4 = static_cast< int >(val4);
7010 }
7011 if (obj4) {
7012 {
7013 arg5 = &temp5;
7014 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7015 }
7016 }
7017 if (obj5) {
7018 {
7019 arg6 = &temp6;
7020 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7021 }
7022 }
7023 if (obj6) {
7024 ecode7 = SWIG_AsVal_long(obj6, &val7);
7025 if (!SWIG_IsOK(ecode7)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7027 }
7028 arg7 = static_cast< long >(val7);
7029 }
7030 if (obj7) {
7031 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7032 if (!SWIG_IsOK(res8)) {
7033 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7034 }
7035 if (!argp8) {
7036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7037 }
7038 arg8 = reinterpret_cast< wxValidator * >(argp8);
7039 }
7040 if (obj8) {
7041 {
7042 arg9 = wxString_in_helper(obj8);
7043 if (arg9 == NULL) SWIG_fail;
7044 temp9 = true;
7045 }
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 {
7054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7055 }
7056 {
7057 if (temp9)
7058 delete arg9;
7059 }
7060 return resultobj;
7061 fail:
7062 {
7063 if (temp9)
7064 delete arg9;
7065 }
7066 return NULL;
7067 }
7068
7069
7070 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj = 0;
7072 wxGauge *arg1 = (wxGauge *) 0 ;
7073 int arg2 ;
7074 void *argp1 = 0 ;
7075 int res1 = 0 ;
7076 int val2 ;
7077 int ecode2 = 0 ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 char * kwnames[] = {
7081 (char *) "self",(char *) "range", NULL
7082 };
7083
7084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7086 if (!SWIG_IsOK(res1)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7088 }
7089 arg1 = reinterpret_cast< wxGauge * >(argp1);
7090 ecode2 = SWIG_AsVal_int(obj1, &val2);
7091 if (!SWIG_IsOK(ecode2)) {
7092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7093 }
7094 arg2 = static_cast< int >(val2);
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 (arg1)->SetRange(arg2);
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 resultobj = SWIG_Py_Void();
7102 return resultobj;
7103 fail:
7104 return NULL;
7105 }
7106
7107
7108 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7109 PyObject *resultobj = 0;
7110 wxGauge *arg1 = (wxGauge *) 0 ;
7111 int result;
7112 void *argp1 = 0 ;
7113 int res1 = 0 ;
7114 PyObject *swig_obj[1] ;
7115
7116 if (!args) SWIG_fail;
7117 swig_obj[0] = args;
7118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7119 if (!SWIG_IsOK(res1)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7121 }
7122 arg1 = reinterpret_cast< wxGauge * >(argp1);
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (int)((wxGauge const *)arg1)->GetRange();
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 resultobj = SWIG_From_int(static_cast< int >(result));
7130 return resultobj;
7131 fail:
7132 return NULL;
7133 }
7134
7135
7136 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj = 0;
7138 wxGauge *arg1 = (wxGauge *) 0 ;
7139 int arg2 ;
7140 void *argp1 = 0 ;
7141 int res1 = 0 ;
7142 int val2 ;
7143 int ecode2 = 0 ;
7144 PyObject * obj0 = 0 ;
7145 PyObject * obj1 = 0 ;
7146 char * kwnames[] = {
7147 (char *) "self",(char *) "pos", NULL
7148 };
7149
7150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7152 if (!SWIG_IsOK(res1)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7154 }
7155 arg1 = reinterpret_cast< wxGauge * >(argp1);
7156 ecode2 = SWIG_AsVal_int(obj1, &val2);
7157 if (!SWIG_IsOK(ecode2)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7159 }
7160 arg2 = static_cast< int >(val2);
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 (arg1)->SetValue(arg2);
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 resultobj = SWIG_Py_Void();
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7175 PyObject *resultobj = 0;
7176 wxGauge *arg1 = (wxGauge *) 0 ;
7177 int result;
7178 void *argp1 = 0 ;
7179 int res1 = 0 ;
7180 PyObject *swig_obj[1] ;
7181
7182 if (!args) SWIG_fail;
7183 swig_obj[0] = args;
7184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7185 if (!SWIG_IsOK(res1)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7187 }
7188 arg1 = reinterpret_cast< wxGauge * >(argp1);
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (int)((wxGauge const *)arg1)->GetValue();
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
7195 resultobj = SWIG_From_int(static_cast< int >(result));
7196 return resultobj;
7197 fail:
7198 return NULL;
7199 }
7200
7201
7202 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7203 PyObject *resultobj = 0;
7204 wxGauge *arg1 = (wxGauge *) 0 ;
7205 void *argp1 = 0 ;
7206 int res1 = 0 ;
7207 PyObject *swig_obj[1] ;
7208
7209 if (!args) SWIG_fail;
7210 swig_obj[0] = args;
7211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7212 if (!SWIG_IsOK(res1)) {
7213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7214 }
7215 arg1 = reinterpret_cast< wxGauge * >(argp1);
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 (arg1)->Pulse();
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 resultobj = SWIG_Py_Void();
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7230 PyObject *resultobj = 0;
7231 wxGauge *arg1 = (wxGauge *) 0 ;
7232 bool result;
7233 void *argp1 = 0 ;
7234 int res1 = 0 ;
7235 PyObject *swig_obj[1] ;
7236
7237 if (!args) SWIG_fail;
7238 swig_obj[0] = args;
7239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7240 if (!SWIG_IsOK(res1)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7242 }
7243 arg1 = reinterpret_cast< wxGauge * >(argp1);
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (bool)((wxGauge const *)arg1)->IsVertical();
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 {
7251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256 }
7257
7258
7259 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj = 0;
7261 wxGauge *arg1 = (wxGauge *) 0 ;
7262 int arg2 ;
7263 void *argp1 = 0 ;
7264 int res1 = 0 ;
7265 int val2 ;
7266 int ecode2 = 0 ;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char * kwnames[] = {
7270 (char *) "self",(char *) "w", NULL
7271 };
7272
7273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7275 if (!SWIG_IsOK(res1)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7277 }
7278 arg1 = reinterpret_cast< wxGauge * >(argp1);
7279 ecode2 = SWIG_AsVal_int(obj1, &val2);
7280 if (!SWIG_IsOK(ecode2)) {
7281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7282 }
7283 arg2 = static_cast< int >(val2);
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 (arg1)->SetShadowWidth(arg2);
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 resultobj = SWIG_Py_Void();
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7298 PyObject *resultobj = 0;
7299 wxGauge *arg1 = (wxGauge *) 0 ;
7300 int result;
7301 void *argp1 = 0 ;
7302 int res1 = 0 ;
7303 PyObject *swig_obj[1] ;
7304
7305 if (!args) SWIG_fail;
7306 swig_obj[0] = args;
7307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7308 if (!SWIG_IsOK(res1)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7310 }
7311 arg1 = reinterpret_cast< wxGauge * >(argp1);
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 resultobj = SWIG_From_int(static_cast< int >(result));
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj = 0;
7327 wxGauge *arg1 = (wxGauge *) 0 ;
7328 int arg2 ;
7329 void *argp1 = 0 ;
7330 int res1 = 0 ;
7331 int val2 ;
7332 int ecode2 = 0 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char * kwnames[] = {
7336 (char *) "self",(char *) "w", NULL
7337 };
7338
7339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7341 if (!SWIG_IsOK(res1)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7343 }
7344 arg1 = reinterpret_cast< wxGauge * >(argp1);
7345 ecode2 = SWIG_AsVal_int(obj1, &val2);
7346 if (!SWIG_IsOK(ecode2)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7348 }
7349 arg2 = static_cast< int >(val2);
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 (arg1)->SetBezelFace(arg2);
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 resultobj = SWIG_Py_Void();
7357 return resultobj;
7358 fail:
7359 return NULL;
7360 }
7361
7362
7363 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7364 PyObject *resultobj = 0;
7365 wxGauge *arg1 = (wxGauge *) 0 ;
7366 int result;
7367 void *argp1 = 0 ;
7368 int res1 = 0 ;
7369 PyObject *swig_obj[1] ;
7370
7371 if (!args) SWIG_fail;
7372 swig_obj[0] = args;
7373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7374 if (!SWIG_IsOK(res1)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7376 }
7377 arg1 = reinterpret_cast< wxGauge * >(argp1);
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = SWIG_From_int(static_cast< int >(result));
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj = 0;
7393 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7394 SwigValueWrapper<wxVisualAttributes > result;
7395 int val1 ;
7396 int ecode1 = 0 ;
7397 PyObject * obj0 = 0 ;
7398 char * kwnames[] = {
7399 (char *) "variant", NULL
7400 };
7401
7402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7403 if (obj0) {
7404 ecode1 = SWIG_AsVal_int(obj0, &val1);
7405 if (!SWIG_IsOK(ecode1)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7407 }
7408 arg1 = static_cast< wxWindowVariant >(val1);
7409 }
7410 {
7411 if (!wxPyCheckForApp()) SWIG_fail;
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 result = wxGauge::GetClassDefaultAttributes(arg1);
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7425 PyObject *obj;
7426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7427 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7428 return SWIG_Py_Void();
7429 }
7430
7431 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7432 return SWIG_Python_InitShadowInstance(args);
7433 }
7434
7435 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7436 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7437 return 1;
7438 }
7439
7440
7441 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7442 PyObject *pyobj = 0;
7443
7444 {
7445 #if wxUSE_UNICODE
7446 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7447 #else
7448 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7449 #endif
7450 }
7451 return pyobj;
7452 }
7453
7454
7455 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7456 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7457 return 1;
7458 }
7459
7460
7461 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7462 PyObject *pyobj = 0;
7463
7464 {
7465 #if wxUSE_UNICODE
7466 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7467 #else
7468 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7469 #endif
7470 }
7471 return pyobj;
7472 }
7473
7474
7475 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7476 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7477 return 1;
7478 }
7479
7480
7481 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7482 PyObject *pyobj = 0;
7483
7484 {
7485 #if wxUSE_UNICODE
7486 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7487 #else
7488 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7489 #endif
7490 }
7491 return pyobj;
7492 }
7493
7494
7495 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj = 0;
7497 wxWindow *arg1 = (wxWindow *) 0 ;
7498 int arg2 = (int) -1 ;
7499 wxString const &arg3_defvalue = wxPyEmptyString ;
7500 wxString *arg3 = (wxString *) &arg3_defvalue ;
7501 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7502 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7503 wxSize const &arg5_defvalue = wxDefaultSize ;
7504 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7505 long arg6 = (long) 0 ;
7506 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7507 wxString *arg7 = (wxString *) &arg7_defvalue ;
7508 wxStaticBox *result = 0 ;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 int val2 ;
7512 int ecode2 = 0 ;
7513 bool temp3 = false ;
7514 wxPoint temp4 ;
7515 wxSize temp5 ;
7516 long val6 ;
7517 int ecode6 = 0 ;
7518 bool temp7 = false ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 PyObject * obj2 = 0 ;
7522 PyObject * obj3 = 0 ;
7523 PyObject * obj4 = 0 ;
7524 PyObject * obj5 = 0 ;
7525 PyObject * obj6 = 0 ;
7526 char * kwnames[] = {
7527 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7528 };
7529
7530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7532 if (!SWIG_IsOK(res1)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7534 }
7535 arg1 = reinterpret_cast< wxWindow * >(argp1);
7536 if (obj1) {
7537 ecode2 = SWIG_AsVal_int(obj1, &val2);
7538 if (!SWIG_IsOK(ecode2)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7540 }
7541 arg2 = static_cast< int >(val2);
7542 }
7543 if (obj2) {
7544 {
7545 arg3 = wxString_in_helper(obj2);
7546 if (arg3 == NULL) SWIG_fail;
7547 temp3 = true;
7548 }
7549 }
7550 if (obj3) {
7551 {
7552 arg4 = &temp4;
7553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7554 }
7555 }
7556 if (obj4) {
7557 {
7558 arg5 = &temp5;
7559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7560 }
7561 }
7562 if (obj5) {
7563 ecode6 = SWIG_AsVal_long(obj5, &val6);
7564 if (!SWIG_IsOK(ecode6)) {
7565 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7566 }
7567 arg6 = static_cast< long >(val6);
7568 }
7569 if (obj6) {
7570 {
7571 arg7 = wxString_in_helper(obj6);
7572 if (arg7 == NULL) SWIG_fail;
7573 temp7 = true;
7574 }
7575 }
7576 {
7577 if (!wxPyCheckForApp()) SWIG_fail;
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7584 {
7585 if (temp3)
7586 delete arg3;
7587 }
7588 {
7589 if (temp7)
7590 delete arg7;
7591 }
7592 return resultobj;
7593 fail:
7594 {
7595 if (temp3)
7596 delete arg3;
7597 }
7598 {
7599 if (temp7)
7600 delete arg7;
7601 }
7602 return NULL;
7603 }
7604
7605
7606 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7607 PyObject *resultobj = 0;
7608 wxStaticBox *result = 0 ;
7609
7610 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7611 {
7612 if (!wxPyCheckForApp()) SWIG_fail;
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (wxStaticBox *)new wxStaticBox();
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj = 0;
7627 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7628 wxWindow *arg2 = (wxWindow *) 0 ;
7629 int arg3 = (int) -1 ;
7630 wxString const &arg4_defvalue = wxPyEmptyString ;
7631 wxString *arg4 = (wxString *) &arg4_defvalue ;
7632 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7633 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7634 wxSize const &arg6_defvalue = wxDefaultSize ;
7635 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7636 long arg7 = (long) 0 ;
7637 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7638 wxString *arg8 = (wxString *) &arg8_defvalue ;
7639 bool result;
7640 void *argp1 = 0 ;
7641 int res1 = 0 ;
7642 void *argp2 = 0 ;
7643 int res2 = 0 ;
7644 int val3 ;
7645 int ecode3 = 0 ;
7646 bool temp4 = false ;
7647 wxPoint temp5 ;
7648 wxSize temp6 ;
7649 long val7 ;
7650 int ecode7 = 0 ;
7651 bool temp8 = false ;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 PyObject * obj2 = 0 ;
7655 PyObject * obj3 = 0 ;
7656 PyObject * obj4 = 0 ;
7657 PyObject * obj5 = 0 ;
7658 PyObject * obj6 = 0 ;
7659 PyObject * obj7 = 0 ;
7660 char * kwnames[] = {
7661 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7662 };
7663
7664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7666 if (!SWIG_IsOK(res1)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7668 }
7669 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7670 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7671 if (!SWIG_IsOK(res2)) {
7672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7673 }
7674 arg2 = reinterpret_cast< wxWindow * >(argp2);
7675 if (obj2) {
7676 ecode3 = SWIG_AsVal_int(obj2, &val3);
7677 if (!SWIG_IsOK(ecode3)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7679 }
7680 arg3 = static_cast< int >(val3);
7681 }
7682 if (obj3) {
7683 {
7684 arg4 = wxString_in_helper(obj3);
7685 if (arg4 == NULL) SWIG_fail;
7686 temp4 = true;
7687 }
7688 }
7689 if (obj4) {
7690 {
7691 arg5 = &temp5;
7692 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7693 }
7694 }
7695 if (obj5) {
7696 {
7697 arg6 = &temp6;
7698 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7699 }
7700 }
7701 if (obj6) {
7702 ecode7 = SWIG_AsVal_long(obj6, &val7);
7703 if (!SWIG_IsOK(ecode7)) {
7704 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7705 }
7706 arg7 = static_cast< long >(val7);
7707 }
7708 if (obj7) {
7709 {
7710 arg8 = wxString_in_helper(obj7);
7711 if (arg8 == NULL) SWIG_fail;
7712 temp8 = true;
7713 }
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 {
7722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7723 }
7724 {
7725 if (temp4)
7726 delete arg4;
7727 }
7728 {
7729 if (temp8)
7730 delete arg8;
7731 }
7732 return resultobj;
7733 fail:
7734 {
7735 if (temp4)
7736 delete arg4;
7737 }
7738 {
7739 if (temp8)
7740 delete arg8;
7741 }
7742 return NULL;
7743 }
7744
7745
7746 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj = 0;
7748 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7749 SwigValueWrapper<wxVisualAttributes > result;
7750 int val1 ;
7751 int ecode1 = 0 ;
7752 PyObject * obj0 = 0 ;
7753 char * kwnames[] = {
7754 (char *) "variant", NULL
7755 };
7756
7757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7758 if (obj0) {
7759 ecode1 = SWIG_AsVal_int(obj0, &val1);
7760 if (!SWIG_IsOK(ecode1)) {
7761 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7762 }
7763 arg1 = static_cast< wxWindowVariant >(val1);
7764 }
7765 {
7766 if (!wxPyCheckForApp()) SWIG_fail;
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7773 return resultobj;
7774 fail:
7775 return NULL;
7776 }
7777
7778
7779 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7780 PyObject *obj;
7781 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7782 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7783 return SWIG_Py_Void();
7784 }
7785
7786 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7787 return SWIG_Python_InitShadowInstance(args);
7788 }
7789
7790 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj = 0;
7792 wxWindow *arg1 = (wxWindow *) 0 ;
7793 int arg2 = (int) -1 ;
7794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7796 wxSize const &arg4_defvalue = wxDefaultSize ;
7797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7798 long arg5 = (long) wxLI_HORIZONTAL ;
7799 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7800 wxString *arg6 = (wxString *) &arg6_defvalue ;
7801 wxStaticLine *result = 0 ;
7802 void *argp1 = 0 ;
7803 int res1 = 0 ;
7804 int val2 ;
7805 int ecode2 = 0 ;
7806 wxPoint temp3 ;
7807 wxSize temp4 ;
7808 long val5 ;
7809 int ecode5 = 0 ;
7810 bool temp6 = false ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 PyObject * obj2 = 0 ;
7814 PyObject * obj3 = 0 ;
7815 PyObject * obj4 = 0 ;
7816 PyObject * obj5 = 0 ;
7817 char * kwnames[] = {
7818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7819 };
7820
7821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7823 if (!SWIG_IsOK(res1)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7825 }
7826 arg1 = reinterpret_cast< wxWindow * >(argp1);
7827 if (obj1) {
7828 ecode2 = SWIG_AsVal_int(obj1, &val2);
7829 if (!SWIG_IsOK(ecode2)) {
7830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7831 }
7832 arg2 = static_cast< int >(val2);
7833 }
7834 if (obj2) {
7835 {
7836 arg3 = &temp3;
7837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7838 }
7839 }
7840 if (obj3) {
7841 {
7842 arg4 = &temp4;
7843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7844 }
7845 }
7846 if (obj4) {
7847 ecode5 = SWIG_AsVal_long(obj4, &val5);
7848 if (!SWIG_IsOK(ecode5)) {
7849 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7850 }
7851 arg5 = static_cast< long >(val5);
7852 }
7853 if (obj5) {
7854 {
7855 arg6 = wxString_in_helper(obj5);
7856 if (arg6 == NULL) SWIG_fail;
7857 temp6 = true;
7858 }
7859 }
7860 {
7861 if (!wxPyCheckForApp()) SWIG_fail;
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7868 {
7869 if (temp6)
7870 delete arg6;
7871 }
7872 return resultobj;
7873 fail:
7874 {
7875 if (temp6)
7876 delete arg6;
7877 }
7878 return NULL;
7879 }
7880
7881
7882 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7883 PyObject *resultobj = 0;
7884 wxStaticLine *result = 0 ;
7885
7886 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7887 {
7888 if (!wxPyCheckForApp()) SWIG_fail;
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (wxStaticLine *)new wxStaticLine();
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj = 0;
7903 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7904 wxWindow *arg2 = (wxWindow *) 0 ;
7905 int arg3 = (int) -1 ;
7906 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7907 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7908 wxSize const &arg5_defvalue = wxDefaultSize ;
7909 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7910 long arg6 = (long) wxLI_HORIZONTAL ;
7911 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7912 wxString *arg7 = (wxString *) &arg7_defvalue ;
7913 bool result;
7914 void *argp1 = 0 ;
7915 int res1 = 0 ;
7916 void *argp2 = 0 ;
7917 int res2 = 0 ;
7918 int val3 ;
7919 int ecode3 = 0 ;
7920 wxPoint temp4 ;
7921 wxSize temp5 ;
7922 long val6 ;
7923 int ecode6 = 0 ;
7924 bool temp7 = false ;
7925 PyObject * obj0 = 0 ;
7926 PyObject * obj1 = 0 ;
7927 PyObject * obj2 = 0 ;
7928 PyObject * obj3 = 0 ;
7929 PyObject * obj4 = 0 ;
7930 PyObject * obj5 = 0 ;
7931 PyObject * obj6 = 0 ;
7932 char * kwnames[] = {
7933 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7934 };
7935
7936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7938 if (!SWIG_IsOK(res1)) {
7939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7940 }
7941 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7942 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7943 if (!SWIG_IsOK(res2)) {
7944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7945 }
7946 arg2 = reinterpret_cast< wxWindow * >(argp2);
7947 if (obj2) {
7948 ecode3 = SWIG_AsVal_int(obj2, &val3);
7949 if (!SWIG_IsOK(ecode3)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7951 }
7952 arg3 = static_cast< int >(val3);
7953 }
7954 if (obj3) {
7955 {
7956 arg4 = &temp4;
7957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7958 }
7959 }
7960 if (obj4) {
7961 {
7962 arg5 = &temp5;
7963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7964 }
7965 }
7966 if (obj5) {
7967 ecode6 = SWIG_AsVal_long(obj5, &val6);
7968 if (!SWIG_IsOK(ecode6)) {
7969 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7970 }
7971 arg6 = static_cast< long >(val6);
7972 }
7973 if (obj6) {
7974 {
7975 arg7 = wxString_in_helper(obj6);
7976 if (arg7 == NULL) SWIG_fail;
7977 temp7 = true;
7978 }
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 {
7987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7988 }
7989 {
7990 if (temp7)
7991 delete arg7;
7992 }
7993 return resultobj;
7994 fail:
7995 {
7996 if (temp7)
7997 delete arg7;
7998 }
7999 return NULL;
8000 }
8001
8002
8003 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *resultobj = 0;
8005 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8006 bool result;
8007 void *argp1 = 0 ;
8008 int res1 = 0 ;
8009 PyObject *swig_obj[1] ;
8010
8011 if (!args) SWIG_fail;
8012 swig_obj[0] = args;
8013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8014 if (!SWIG_IsOK(res1)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8016 }
8017 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8034 PyObject *resultobj = 0;
8035 int result;
8036
8037 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = (int)wxStaticLine::GetDefaultSize();
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_From_int(static_cast< int >(result));
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj = 0;
8053 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8054 SwigValueWrapper<wxVisualAttributes > result;
8055 int val1 ;
8056 int ecode1 = 0 ;
8057 PyObject * obj0 = 0 ;
8058 char * kwnames[] = {
8059 (char *) "variant", NULL
8060 };
8061
8062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8063 if (obj0) {
8064 ecode1 = SWIG_AsVal_int(obj0, &val1);
8065 if (!SWIG_IsOK(ecode1)) {
8066 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8067 }
8068 arg1 = static_cast< wxWindowVariant >(val1);
8069 }
8070 {
8071 if (!wxPyCheckForApp()) SWIG_fail;
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8078 return resultobj;
8079 fail:
8080 return NULL;
8081 }
8082
8083
8084 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8085 PyObject *obj;
8086 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8087 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8088 return SWIG_Py_Void();
8089 }
8090
8091 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8092 return SWIG_Python_InitShadowInstance(args);
8093 }
8094
8095 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8096 PyObject *resultobj = 0;
8097 wxWindow *arg1 = (wxWindow *) 0 ;
8098 int arg2 = (int) -1 ;
8099 wxString const &arg3_defvalue = wxPyEmptyString ;
8100 wxString *arg3 = (wxString *) &arg3_defvalue ;
8101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8103 wxSize const &arg5_defvalue = wxDefaultSize ;
8104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8105 long arg6 = (long) 0 ;
8106 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8107 wxString *arg7 = (wxString *) &arg7_defvalue ;
8108 wxStaticText *result = 0 ;
8109 void *argp1 = 0 ;
8110 int res1 = 0 ;
8111 int val2 ;
8112 int ecode2 = 0 ;
8113 bool temp3 = false ;
8114 wxPoint temp4 ;
8115 wxSize temp5 ;
8116 long val6 ;
8117 int ecode6 = 0 ;
8118 bool temp7 = false ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 PyObject * obj2 = 0 ;
8122 PyObject * obj3 = 0 ;
8123 PyObject * obj4 = 0 ;
8124 PyObject * obj5 = 0 ;
8125 PyObject * obj6 = 0 ;
8126 char * kwnames[] = {
8127 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8128 };
8129
8130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8132 if (!SWIG_IsOK(res1)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8134 }
8135 arg1 = reinterpret_cast< wxWindow * >(argp1);
8136 if (obj1) {
8137 ecode2 = SWIG_AsVal_int(obj1, &val2);
8138 if (!SWIG_IsOK(ecode2)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8140 }
8141 arg2 = static_cast< int >(val2);
8142 }
8143 if (obj2) {
8144 {
8145 arg3 = wxString_in_helper(obj2);
8146 if (arg3 == NULL) SWIG_fail;
8147 temp3 = true;
8148 }
8149 }
8150 if (obj3) {
8151 {
8152 arg4 = &temp4;
8153 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8154 }
8155 }
8156 if (obj4) {
8157 {
8158 arg5 = &temp5;
8159 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8160 }
8161 }
8162 if (obj5) {
8163 ecode6 = SWIG_AsVal_long(obj5, &val6);
8164 if (!SWIG_IsOK(ecode6)) {
8165 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8166 }
8167 arg6 = static_cast< long >(val6);
8168 }
8169 if (obj6) {
8170 {
8171 arg7 = wxString_in_helper(obj6);
8172 if (arg7 == NULL) SWIG_fail;
8173 temp7 = true;
8174 }
8175 }
8176 {
8177 if (!wxPyCheckForApp()) SWIG_fail;
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8184 {
8185 if (temp3)
8186 delete arg3;
8187 }
8188 {
8189 if (temp7)
8190 delete arg7;
8191 }
8192 return resultobj;
8193 fail:
8194 {
8195 if (temp3)
8196 delete arg3;
8197 }
8198 {
8199 if (temp7)
8200 delete arg7;
8201 }
8202 return NULL;
8203 }
8204
8205
8206 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8207 PyObject *resultobj = 0;
8208 wxStaticText *result = 0 ;
8209
8210 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8211 {
8212 if (!wxPyCheckForApp()) SWIG_fail;
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 result = (wxStaticText *)new wxStaticText();
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj = 0;
8227 wxStaticText *arg1 = (wxStaticText *) 0 ;
8228 wxWindow *arg2 = (wxWindow *) 0 ;
8229 int arg3 = (int) -1 ;
8230 wxString const &arg4_defvalue = wxPyEmptyString ;
8231 wxString *arg4 = (wxString *) &arg4_defvalue ;
8232 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8233 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8234 wxSize const &arg6_defvalue = wxDefaultSize ;
8235 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8236 long arg7 = (long) 0 ;
8237 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8238 wxString *arg8 = (wxString *) &arg8_defvalue ;
8239 bool result;
8240 void *argp1 = 0 ;
8241 int res1 = 0 ;
8242 void *argp2 = 0 ;
8243 int res2 = 0 ;
8244 int val3 ;
8245 int ecode3 = 0 ;
8246 bool temp4 = false ;
8247 wxPoint temp5 ;
8248 wxSize temp6 ;
8249 long val7 ;
8250 int ecode7 = 0 ;
8251 bool temp8 = false ;
8252 PyObject * obj0 = 0 ;
8253 PyObject * obj1 = 0 ;
8254 PyObject * obj2 = 0 ;
8255 PyObject * obj3 = 0 ;
8256 PyObject * obj4 = 0 ;
8257 PyObject * obj5 = 0 ;
8258 PyObject * obj6 = 0 ;
8259 PyObject * obj7 = 0 ;
8260 char * kwnames[] = {
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8262 };
8263
8264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8266 if (!SWIG_IsOK(res1)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8268 }
8269 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8271 if (!SWIG_IsOK(res2)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8273 }
8274 arg2 = reinterpret_cast< wxWindow * >(argp2);
8275 if (obj2) {
8276 ecode3 = SWIG_AsVal_int(obj2, &val3);
8277 if (!SWIG_IsOK(ecode3)) {
8278 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8279 }
8280 arg3 = static_cast< int >(val3);
8281 }
8282 if (obj3) {
8283 {
8284 arg4 = wxString_in_helper(obj3);
8285 if (arg4 == NULL) SWIG_fail;
8286 temp4 = true;
8287 }
8288 }
8289 if (obj4) {
8290 {
8291 arg5 = &temp5;
8292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8293 }
8294 }
8295 if (obj5) {
8296 {
8297 arg6 = &temp6;
8298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8299 }
8300 }
8301 if (obj6) {
8302 ecode7 = SWIG_AsVal_long(obj6, &val7);
8303 if (!SWIG_IsOK(ecode7)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8305 }
8306 arg7 = static_cast< long >(val7);
8307 }
8308 if (obj7) {
8309 {
8310 arg8 = wxString_in_helper(obj7);
8311 if (arg8 == NULL) SWIG_fail;
8312 temp8 = true;
8313 }
8314 }
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 {
8322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8323 }
8324 {
8325 if (temp4)
8326 delete arg4;
8327 }
8328 {
8329 if (temp8)
8330 delete arg8;
8331 }
8332 return resultobj;
8333 fail:
8334 {
8335 if (temp4)
8336 delete arg4;
8337 }
8338 {
8339 if (temp8)
8340 delete arg8;
8341 }
8342 return NULL;
8343 }
8344
8345
8346 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj = 0;
8348 wxStaticText *arg1 = (wxStaticText *) 0 ;
8349 int arg2 ;
8350 void *argp1 = 0 ;
8351 int res1 = 0 ;
8352 int val2 ;
8353 int ecode2 = 0 ;
8354 PyObject * obj0 = 0 ;
8355 PyObject * obj1 = 0 ;
8356 char * kwnames[] = {
8357 (char *) "self",(char *) "width", NULL
8358 };
8359
8360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8362 if (!SWIG_IsOK(res1)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8364 }
8365 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8366 ecode2 = SWIG_AsVal_int(obj1, &val2);
8367 if (!SWIG_IsOK(ecode2)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8369 }
8370 arg2 = static_cast< int >(val2);
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 (arg1)->Wrap(arg2);
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = SWIG_Py_Void();
8378 return resultobj;
8379 fail:
8380 return NULL;
8381 }
8382
8383
8384 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj = 0;
8386 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8387 SwigValueWrapper<wxVisualAttributes > result;
8388 int val1 ;
8389 int ecode1 = 0 ;
8390 PyObject * obj0 = 0 ;
8391 char * kwnames[] = {
8392 (char *) "variant", NULL
8393 };
8394
8395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8396 if (obj0) {
8397 ecode1 = SWIG_AsVal_int(obj0, &val1);
8398 if (!SWIG_IsOK(ecode1)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8400 }
8401 arg1 = static_cast< wxWindowVariant >(val1);
8402 }
8403 {
8404 if (!wxPyCheckForApp()) SWIG_fail;
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = wxStaticText::GetClassDefaultAttributes(arg1);
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8418 PyObject *obj;
8419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8420 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8421 return SWIG_Py_Void();
8422 }
8423
8424 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8425 return SWIG_Python_InitShadowInstance(args);
8426 }
8427
8428 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj = 0;
8430 wxWindow *arg1 = (wxWindow *) 0 ;
8431 int arg2 = (int) -1 ;
8432 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8433 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8436 wxSize const &arg5_defvalue = wxDefaultSize ;
8437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8438 long arg6 = (long) 0 ;
8439 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8440 wxString *arg7 = (wxString *) &arg7_defvalue ;
8441 wxStaticBitmap *result = 0 ;
8442 void *argp1 = 0 ;
8443 int res1 = 0 ;
8444 int val2 ;
8445 int ecode2 = 0 ;
8446 void *argp3 = 0 ;
8447 int res3 = 0 ;
8448 wxPoint temp4 ;
8449 wxSize temp5 ;
8450 long val6 ;
8451 int ecode6 = 0 ;
8452 bool temp7 = false ;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 PyObject * obj2 = 0 ;
8456 PyObject * obj3 = 0 ;
8457 PyObject * obj4 = 0 ;
8458 PyObject * obj5 = 0 ;
8459 PyObject * obj6 = 0 ;
8460 char * kwnames[] = {
8461 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8462 };
8463
8464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8466 if (!SWIG_IsOK(res1)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8468 }
8469 arg1 = reinterpret_cast< wxWindow * >(argp1);
8470 if (obj1) {
8471 ecode2 = SWIG_AsVal_int(obj1, &val2);
8472 if (!SWIG_IsOK(ecode2)) {
8473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8474 }
8475 arg2 = static_cast< int >(val2);
8476 }
8477 if (obj2) {
8478 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8479 if (!SWIG_IsOK(res3)) {
8480 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8481 }
8482 if (!argp3) {
8483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8484 }
8485 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8486 }
8487 if (obj3) {
8488 {
8489 arg4 = &temp4;
8490 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8491 }
8492 }
8493 if (obj4) {
8494 {
8495 arg5 = &temp5;
8496 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8497 }
8498 }
8499 if (obj5) {
8500 ecode6 = SWIG_AsVal_long(obj5, &val6);
8501 if (!SWIG_IsOK(ecode6)) {
8502 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8503 }
8504 arg6 = static_cast< long >(val6);
8505 }
8506 if (obj6) {
8507 {
8508 arg7 = wxString_in_helper(obj6);
8509 if (arg7 == NULL) SWIG_fail;
8510 temp7 = true;
8511 }
8512 }
8513 {
8514 if (!wxPyCheckForApp()) SWIG_fail;
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8521 {
8522 if (temp7)
8523 delete arg7;
8524 }
8525 return resultobj;
8526 fail:
8527 {
8528 if (temp7)
8529 delete arg7;
8530 }
8531 return NULL;
8532 }
8533
8534
8535 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8536 PyObject *resultobj = 0;
8537 wxStaticBitmap *result = 0 ;
8538
8539 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8540 {
8541 if (!wxPyCheckForApp()) SWIG_fail;
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 result = (wxStaticBitmap *)new wxStaticBitmap();
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj = 0;
8556 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8557 wxWindow *arg2 = (wxWindow *) 0 ;
8558 int arg3 = (int) -1 ;
8559 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8560 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8561 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8562 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8563 wxSize const &arg6_defvalue = wxDefaultSize ;
8564 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8565 long arg7 = (long) 0 ;
8566 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8567 wxString *arg8 = (wxString *) &arg8_defvalue ;
8568 bool result;
8569 void *argp1 = 0 ;
8570 int res1 = 0 ;
8571 void *argp2 = 0 ;
8572 int res2 = 0 ;
8573 int val3 ;
8574 int ecode3 = 0 ;
8575 void *argp4 = 0 ;
8576 int res4 = 0 ;
8577 wxPoint temp5 ;
8578 wxSize temp6 ;
8579 long val7 ;
8580 int ecode7 = 0 ;
8581 bool temp8 = false ;
8582 PyObject * obj0 = 0 ;
8583 PyObject * obj1 = 0 ;
8584 PyObject * obj2 = 0 ;
8585 PyObject * obj3 = 0 ;
8586 PyObject * obj4 = 0 ;
8587 PyObject * obj5 = 0 ;
8588 PyObject * obj6 = 0 ;
8589 PyObject * obj7 = 0 ;
8590 char * kwnames[] = {
8591 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8592 };
8593
8594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8596 if (!SWIG_IsOK(res1)) {
8597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8598 }
8599 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8601 if (!SWIG_IsOK(res2)) {
8602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8603 }
8604 arg2 = reinterpret_cast< wxWindow * >(argp2);
8605 if (obj2) {
8606 ecode3 = SWIG_AsVal_int(obj2, &val3);
8607 if (!SWIG_IsOK(ecode3)) {
8608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8609 }
8610 arg3 = static_cast< int >(val3);
8611 }
8612 if (obj3) {
8613 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8614 if (!SWIG_IsOK(res4)) {
8615 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8616 }
8617 if (!argp4) {
8618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8619 }
8620 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8621 }
8622 if (obj4) {
8623 {
8624 arg5 = &temp5;
8625 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8626 }
8627 }
8628 if (obj5) {
8629 {
8630 arg6 = &temp6;
8631 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8632 }
8633 }
8634 if (obj6) {
8635 ecode7 = SWIG_AsVal_long(obj6, &val7);
8636 if (!SWIG_IsOK(ecode7)) {
8637 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8638 }
8639 arg7 = static_cast< long >(val7);
8640 }
8641 if (obj7) {
8642 {
8643 arg8 = wxString_in_helper(obj7);
8644 if (arg8 == NULL) SWIG_fail;
8645 temp8 = true;
8646 }
8647 }
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 {
8655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8656 }
8657 {
8658 if (temp8)
8659 delete arg8;
8660 }
8661 return resultobj;
8662 fail:
8663 {
8664 if (temp8)
8665 delete arg8;
8666 }
8667 return NULL;
8668 }
8669
8670
8671 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8672 PyObject *resultobj = 0;
8673 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8674 wxBitmap result;
8675 void *argp1 = 0 ;
8676 int res1 = 0 ;
8677 PyObject *swig_obj[1] ;
8678
8679 if (!args) SWIG_fail;
8680 swig_obj[0] = args;
8681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 }
8685 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (arg1)->GetBitmap();
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8693 return resultobj;
8694 fail:
8695 return NULL;
8696 }
8697
8698
8699 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8700 PyObject *resultobj = 0;
8701 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8702 wxBitmap *arg2 = 0 ;
8703 void *argp1 = 0 ;
8704 int res1 = 0 ;
8705 void *argp2 = 0 ;
8706 int res2 = 0 ;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 char * kwnames[] = {
8710 (char *) "self",(char *) "bitmap", NULL
8711 };
8712
8713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8715 if (!SWIG_IsOK(res1)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8717 }
8718 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8719 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8720 if (!SWIG_IsOK(res2)) {
8721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8722 }
8723 if (!argp2) {
8724 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8725 }
8726 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 resultobj = SWIG_Py_Void();
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj = 0;
8742 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8743 wxIcon *arg2 = 0 ;
8744 void *argp1 = 0 ;
8745 int res1 = 0 ;
8746 void *argp2 = 0 ;
8747 int res2 = 0 ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 char * kwnames[] = {
8751 (char *) "self",(char *) "icon", NULL
8752 };
8753
8754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8756 if (!SWIG_IsOK(res1)) {
8757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8758 }
8759 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8760 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8761 if (!SWIG_IsOK(res2)) {
8762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8763 }
8764 if (!argp2) {
8765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8766 }
8767 arg2 = reinterpret_cast< wxIcon * >(argp2);
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 (arg1)->SetIcon((wxIcon const &)*arg2);
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = SWIG_Py_Void();
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj = 0;
8783 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8784 SwigValueWrapper<wxVisualAttributes > result;
8785 int val1 ;
8786 int ecode1 = 0 ;
8787 PyObject * obj0 = 0 ;
8788 char * kwnames[] = {
8789 (char *) "variant", NULL
8790 };
8791
8792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8793 if (obj0) {
8794 ecode1 = SWIG_AsVal_int(obj0, &val1);
8795 if (!SWIG_IsOK(ecode1)) {
8796 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8797 }
8798 arg1 = static_cast< wxWindowVariant >(val1);
8799 }
8800 {
8801 if (!wxPyCheckForApp()) SWIG_fail;
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8815 PyObject *obj;
8816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8817 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8818 return SWIG_Py_Void();
8819 }
8820
8821 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8822 return SWIG_Python_InitShadowInstance(args);
8823 }
8824
8825 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8826 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8827 return 1;
8828 }
8829
8830
8831 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8832 PyObject *pyobj = 0;
8833
8834 {
8835 #if wxUSE_UNICODE
8836 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8837 #else
8838 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8839 #endif
8840 }
8841 return pyobj;
8842 }
8843
8844
8845 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8846 PyObject *resultobj = 0;
8847 wxWindow *arg1 = (wxWindow *) 0 ;
8848 int arg2 = (int) -1 ;
8849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8851 wxSize const &arg4_defvalue = wxDefaultSize ;
8852 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8853 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8854 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8855 long arg6 = (long) 0 ;
8856 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8857 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8858 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8859 wxString *arg8 = (wxString *) &arg8_defvalue ;
8860 wxListBox *result = 0 ;
8861 void *argp1 = 0 ;
8862 int res1 = 0 ;
8863 int val2 ;
8864 int ecode2 = 0 ;
8865 wxPoint temp3 ;
8866 wxSize temp4 ;
8867 bool temp5 = false ;
8868 long val6 ;
8869 int ecode6 = 0 ;
8870 void *argp7 = 0 ;
8871 int res7 = 0 ;
8872 bool temp8 = false ;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 PyObject * obj2 = 0 ;
8876 PyObject * obj3 = 0 ;
8877 PyObject * obj4 = 0 ;
8878 PyObject * obj5 = 0 ;
8879 PyObject * obj6 = 0 ;
8880 PyObject * obj7 = 0 ;
8881 char * kwnames[] = {
8882 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8883 };
8884
8885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8887 if (!SWIG_IsOK(res1)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8889 }
8890 arg1 = reinterpret_cast< wxWindow * >(argp1);
8891 if (obj1) {
8892 ecode2 = SWIG_AsVal_int(obj1, &val2);
8893 if (!SWIG_IsOK(ecode2)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8895 }
8896 arg2 = static_cast< int >(val2);
8897 }
8898 if (obj2) {
8899 {
8900 arg3 = &temp3;
8901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8902 }
8903 }
8904 if (obj3) {
8905 {
8906 arg4 = &temp4;
8907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8908 }
8909 }
8910 if (obj4) {
8911 {
8912 if (! PySequence_Check(obj4)) {
8913 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8914 SWIG_fail;
8915 }
8916 arg5 = new wxArrayString;
8917 temp5 = true;
8918 int i, len=PySequence_Length(obj4);
8919 for (i=0; i<len; i++) {
8920 PyObject* item = PySequence_GetItem(obj4, i);
8921 wxString* s = wxString_in_helper(item);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 arg5->Add(*s);
8924 delete s;
8925 Py_DECREF(item);
8926 }
8927 }
8928 }
8929 if (obj5) {
8930 ecode6 = SWIG_AsVal_long(obj5, &val6);
8931 if (!SWIG_IsOK(ecode6)) {
8932 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8933 }
8934 arg6 = static_cast< long >(val6);
8935 }
8936 if (obj6) {
8937 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8938 if (!SWIG_IsOK(res7)) {
8939 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8940 }
8941 if (!argp7) {
8942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8943 }
8944 arg7 = reinterpret_cast< wxValidator * >(argp7);
8945 }
8946 if (obj7) {
8947 {
8948 arg8 = wxString_in_helper(obj7);
8949 if (arg8 == NULL) SWIG_fail;
8950 temp8 = true;
8951 }
8952 }
8953 {
8954 if (!wxPyCheckForApp()) SWIG_fail;
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8961 {
8962 if (temp5) delete arg5;
8963 }
8964 {
8965 if (temp8)
8966 delete arg8;
8967 }
8968 return resultobj;
8969 fail:
8970 {
8971 if (temp5) delete arg5;
8972 }
8973 {
8974 if (temp8)
8975 delete arg8;
8976 }
8977 return NULL;
8978 }
8979
8980
8981 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8982 PyObject *resultobj = 0;
8983 wxListBox *result = 0 ;
8984
8985 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8986 {
8987 if (!wxPyCheckForApp()) SWIG_fail;
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (wxListBox *)new wxListBox();
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj = 0;
9002 wxListBox *arg1 = (wxListBox *) 0 ;
9003 wxWindow *arg2 = (wxWindow *) 0 ;
9004 int arg3 = (int) -1 ;
9005 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9006 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9007 wxSize const &arg5_defvalue = wxDefaultSize ;
9008 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9009 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9010 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9011 long arg7 = (long) 0 ;
9012 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9013 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9014 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9015 wxString *arg9 = (wxString *) &arg9_defvalue ;
9016 bool result;
9017 void *argp1 = 0 ;
9018 int res1 = 0 ;
9019 void *argp2 = 0 ;
9020 int res2 = 0 ;
9021 int val3 ;
9022 int ecode3 = 0 ;
9023 wxPoint temp4 ;
9024 wxSize temp5 ;
9025 bool temp6 = false ;
9026 long val7 ;
9027 int ecode7 = 0 ;
9028 void *argp8 = 0 ;
9029 int res8 = 0 ;
9030 bool temp9 = false ;
9031 PyObject * obj0 = 0 ;
9032 PyObject * obj1 = 0 ;
9033 PyObject * obj2 = 0 ;
9034 PyObject * obj3 = 0 ;
9035 PyObject * obj4 = 0 ;
9036 PyObject * obj5 = 0 ;
9037 PyObject * obj6 = 0 ;
9038 PyObject * obj7 = 0 ;
9039 PyObject * obj8 = 0 ;
9040 char * kwnames[] = {
9041 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9042 };
9043
9044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9046 if (!SWIG_IsOK(res1)) {
9047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9048 }
9049 arg1 = reinterpret_cast< wxListBox * >(argp1);
9050 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9051 if (!SWIG_IsOK(res2)) {
9052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9053 }
9054 arg2 = reinterpret_cast< wxWindow * >(argp2);
9055 if (obj2) {
9056 ecode3 = SWIG_AsVal_int(obj2, &val3);
9057 if (!SWIG_IsOK(ecode3)) {
9058 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9059 }
9060 arg3 = static_cast< int >(val3);
9061 }
9062 if (obj3) {
9063 {
9064 arg4 = &temp4;
9065 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9066 }
9067 }
9068 if (obj4) {
9069 {
9070 arg5 = &temp5;
9071 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9072 }
9073 }
9074 if (obj5) {
9075 {
9076 if (! PySequence_Check(obj5)) {
9077 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9078 SWIG_fail;
9079 }
9080 arg6 = new wxArrayString;
9081 temp6 = true;
9082 int i, len=PySequence_Length(obj5);
9083 for (i=0; i<len; i++) {
9084 PyObject* item = PySequence_GetItem(obj5, i);
9085 wxString* s = wxString_in_helper(item);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 arg6->Add(*s);
9088 delete s;
9089 Py_DECREF(item);
9090 }
9091 }
9092 }
9093 if (obj6) {
9094 ecode7 = SWIG_AsVal_long(obj6, &val7);
9095 if (!SWIG_IsOK(ecode7)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9097 }
9098 arg7 = static_cast< long >(val7);
9099 }
9100 if (obj7) {
9101 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9102 if (!SWIG_IsOK(res8)) {
9103 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9104 }
9105 if (!argp8) {
9106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9107 }
9108 arg8 = reinterpret_cast< wxValidator * >(argp8);
9109 }
9110 if (obj8) {
9111 {
9112 arg9 = wxString_in_helper(obj8);
9113 if (arg9 == NULL) SWIG_fail;
9114 temp9 = true;
9115 }
9116 }
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 {
9124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9125 }
9126 {
9127 if (temp6) delete arg6;
9128 }
9129 {
9130 if (temp9)
9131 delete arg9;
9132 }
9133 return resultobj;
9134 fail:
9135 {
9136 if (temp6) delete arg6;
9137 }
9138 {
9139 if (temp9)
9140 delete arg9;
9141 }
9142 return NULL;
9143 }
9144
9145
9146 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9147 PyObject *resultobj = 0;
9148 wxListBox *arg1 = (wxListBox *) 0 ;
9149 wxString *arg2 = 0 ;
9150 int arg3 ;
9151 PyObject *arg4 = (PyObject *) NULL ;
9152 void *argp1 = 0 ;
9153 int res1 = 0 ;
9154 bool temp2 = false ;
9155 int val3 ;
9156 int ecode3 = 0 ;
9157 PyObject * obj0 = 0 ;
9158 PyObject * obj1 = 0 ;
9159 PyObject * obj2 = 0 ;
9160 PyObject * obj3 = 0 ;
9161 char * kwnames[] = {
9162 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9163 };
9164
9165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9167 if (!SWIG_IsOK(res1)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9169 }
9170 arg1 = reinterpret_cast< wxListBox * >(argp1);
9171 {
9172 arg2 = wxString_in_helper(obj1);
9173 if (arg2 == NULL) SWIG_fail;
9174 temp2 = true;
9175 }
9176 ecode3 = SWIG_AsVal_int(obj2, &val3);
9177 if (!SWIG_IsOK(ecode3)) {
9178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9179 }
9180 arg3 = static_cast< int >(val3);
9181 if (obj3) {
9182 arg4 = obj3;
9183 }
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 resultobj = SWIG_Py_Void();
9191 {
9192 if (temp2)
9193 delete arg2;
9194 }
9195 return resultobj;
9196 fail:
9197 {
9198 if (temp2)
9199 delete arg2;
9200 }
9201 return NULL;
9202 }
9203
9204
9205 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9206 PyObject *resultobj = 0;
9207 wxListBox *arg1 = (wxListBox *) 0 ;
9208 wxArrayString *arg2 = 0 ;
9209 unsigned int arg3 ;
9210 void *argp1 = 0 ;
9211 int res1 = 0 ;
9212 bool temp2 = false ;
9213 unsigned int val3 ;
9214 int ecode3 = 0 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 PyObject * obj2 = 0 ;
9218 char * kwnames[] = {
9219 (char *) "self",(char *) "items",(char *) "pos", NULL
9220 };
9221
9222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9224 if (!SWIG_IsOK(res1)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9226 }
9227 arg1 = reinterpret_cast< wxListBox * >(argp1);
9228 {
9229 if (! PySequence_Check(obj1)) {
9230 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9231 SWIG_fail;
9232 }
9233 arg2 = new wxArrayString;
9234 temp2 = true;
9235 int i, len=PySequence_Length(obj1);
9236 for (i=0; i<len; i++) {
9237 PyObject* item = PySequence_GetItem(obj1, i);
9238 wxString* s = wxString_in_helper(item);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 arg2->Add(*s);
9241 delete s;
9242 Py_DECREF(item);
9243 }
9244 }
9245 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9246 if (!SWIG_IsOK(ecode3)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9248 }
9249 arg3 = static_cast< unsigned int >(val3);
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_Py_Void();
9257 {
9258 if (temp2) delete arg2;
9259 }
9260 return resultobj;
9261 fail:
9262 {
9263 if (temp2) delete arg2;
9264 }
9265 return NULL;
9266 }
9267
9268
9269 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj = 0;
9271 wxListBox *arg1 = (wxListBox *) 0 ;
9272 wxArrayString *arg2 = 0 ;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
9275 bool temp2 = false ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 char * kwnames[] = {
9279 (char *) "self",(char *) "items", NULL
9280 };
9281
9282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9284 if (!SWIG_IsOK(res1)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9286 }
9287 arg1 = reinterpret_cast< wxListBox * >(argp1);
9288 {
9289 if (! PySequence_Check(obj1)) {
9290 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9291 SWIG_fail;
9292 }
9293 arg2 = new wxArrayString;
9294 temp2 = true;
9295 int i, len=PySequence_Length(obj1);
9296 for (i=0; i<len; i++) {
9297 PyObject* item = PySequence_GetItem(obj1, i);
9298 wxString* s = wxString_in_helper(item);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 arg2->Add(*s);
9301 delete s;
9302 Py_DECREF(item);
9303 }
9304 }
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 (arg1)->Set((wxArrayString const &)*arg2);
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 resultobj = SWIG_Py_Void();
9312 {
9313 if (temp2) delete arg2;
9314 }
9315 return resultobj;
9316 fail:
9317 {
9318 if (temp2) delete arg2;
9319 }
9320 return NULL;
9321 }
9322
9323
9324 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj = 0;
9326 wxListBox *arg1 = (wxListBox *) 0 ;
9327 int arg2 ;
9328 bool result;
9329 void *argp1 = 0 ;
9330 int res1 = 0 ;
9331 int val2 ;
9332 int ecode2 = 0 ;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 char * kwnames[] = {
9336 (char *) "self",(char *) "n", NULL
9337 };
9338
9339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9341 if (!SWIG_IsOK(res1)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9343 }
9344 arg1 = reinterpret_cast< wxListBox * >(argp1);
9345 ecode2 = SWIG_AsVal_int(obj1, &val2);
9346 if (!SWIG_IsOK(ecode2)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9348 }
9349 arg2 = static_cast< int >(val2);
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 {
9357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9358 }
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj = 0;
9367 wxListBox *arg1 = (wxListBox *) 0 ;
9368 int arg2 ;
9369 bool arg3 = (bool) true ;
9370 void *argp1 = 0 ;
9371 int res1 = 0 ;
9372 int val2 ;
9373 int ecode2 = 0 ;
9374 bool val3 ;
9375 int ecode3 = 0 ;
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 PyObject * obj2 = 0 ;
9379 char * kwnames[] = {
9380 (char *) "self",(char *) "n",(char *) "select", NULL
9381 };
9382
9383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9385 if (!SWIG_IsOK(res1)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9387 }
9388 arg1 = reinterpret_cast< wxListBox * >(argp1);
9389 ecode2 = SWIG_AsVal_int(obj1, &val2);
9390 if (!SWIG_IsOK(ecode2)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9392 }
9393 arg2 = static_cast< int >(val2);
9394 if (obj2) {
9395 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9396 if (!SWIG_IsOK(ecode3)) {
9397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9398 }
9399 arg3 = static_cast< bool >(val3);
9400 }
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 (arg1)->SetSelection(arg2,arg3);
9404 wxPyEndAllowThreads(__tstate);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 resultobj = SWIG_Py_Void();
9408 return resultobj;
9409 fail:
9410 return NULL;
9411 }
9412
9413
9414 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj = 0;
9416 wxListBox *arg1 = (wxListBox *) 0 ;
9417 int arg2 ;
9418 void *argp1 = 0 ;
9419 int res1 = 0 ;
9420 int val2 ;
9421 int ecode2 = 0 ;
9422 PyObject * obj0 = 0 ;
9423 PyObject * obj1 = 0 ;
9424 char * kwnames[] = {
9425 (char *) "self",(char *) "n", NULL
9426 };
9427
9428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9430 if (!SWIG_IsOK(res1)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9432 }
9433 arg1 = reinterpret_cast< wxListBox * >(argp1);
9434 ecode2 = SWIG_AsVal_int(obj1, &val2);
9435 if (!SWIG_IsOK(ecode2)) {
9436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9437 }
9438 arg2 = static_cast< int >(val2);
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 (arg1)->Select(arg2);
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 resultobj = SWIG_Py_Void();
9446 return resultobj;
9447 fail:
9448 return NULL;
9449 }
9450
9451
9452 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9453 PyObject *resultobj = 0;
9454 wxListBox *arg1 = (wxListBox *) 0 ;
9455 int arg2 ;
9456 void *argp1 = 0 ;
9457 int res1 = 0 ;
9458 int val2 ;
9459 int ecode2 = 0 ;
9460 PyObject * obj0 = 0 ;
9461 PyObject * obj1 = 0 ;
9462 char * kwnames[] = {
9463 (char *) "self",(char *) "n", NULL
9464 };
9465
9466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9468 if (!SWIG_IsOK(res1)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9470 }
9471 arg1 = reinterpret_cast< wxListBox * >(argp1);
9472 ecode2 = SWIG_AsVal_int(obj1, &val2);
9473 if (!SWIG_IsOK(ecode2)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9475 }
9476 arg2 = static_cast< int >(val2);
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 (arg1)->Deselect(arg2);
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_Py_Void();
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxListBox *arg1 = (wxListBox *) 0 ;
9493 int arg2 = (int) -1 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 int val2 ;
9497 int ecode2 = 0 ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 char * kwnames[] = {
9501 (char *) "self",(char *) "itemToLeaveSelected", NULL
9502 };
9503
9504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9506 if (!SWIG_IsOK(res1)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9508 }
9509 arg1 = reinterpret_cast< wxListBox * >(argp1);
9510 if (obj1) {
9511 ecode2 = SWIG_AsVal_int(obj1, &val2);
9512 if (!SWIG_IsOK(ecode2)) {
9513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9514 }
9515 arg2 = static_cast< int >(val2);
9516 }
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 (arg1)->DeselectAll(arg2);
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 resultobj = SWIG_Py_Void();
9524 return resultobj;
9525 fail:
9526 return NULL;
9527 }
9528
9529
9530 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj = 0;
9532 wxListBox *arg1 = (wxListBox *) 0 ;
9533 wxString *arg2 = 0 ;
9534 bool arg3 = (bool) true ;
9535 bool result;
9536 void *argp1 = 0 ;
9537 int res1 = 0 ;
9538 bool temp2 = false ;
9539 bool val3 ;
9540 int ecode3 = 0 ;
9541 PyObject * obj0 = 0 ;
9542 PyObject * obj1 = 0 ;
9543 PyObject * obj2 = 0 ;
9544 char * kwnames[] = {
9545 (char *) "self",(char *) "s",(char *) "select", NULL
9546 };
9547
9548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9550 if (!SWIG_IsOK(res1)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9552 }
9553 arg1 = reinterpret_cast< wxListBox * >(argp1);
9554 {
9555 arg2 = wxString_in_helper(obj1);
9556 if (arg2 == NULL) SWIG_fail;
9557 temp2 = true;
9558 }
9559 if (obj2) {
9560 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9561 if (!SWIG_IsOK(ecode3)) {
9562 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9563 }
9564 arg3 = static_cast< bool >(val3);
9565 }
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 {
9573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9574 }
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return resultobj;
9580 fail:
9581 {
9582 if (temp2)
9583 delete arg2;
9584 }
9585 return NULL;
9586 }
9587
9588
9589 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9590 PyObject *resultobj = 0;
9591 wxListBox *arg1 = (wxListBox *) 0 ;
9592 PyObject *result = 0 ;
9593 void *argp1 = 0 ;
9594 int res1 = 0 ;
9595 PyObject *swig_obj[1] ;
9596
9597 if (!args) SWIG_fail;
9598 swig_obj[0] = args;
9599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9600 if (!SWIG_IsOK(res1)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9602 }
9603 arg1 = reinterpret_cast< wxListBox * >(argp1);
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (PyObject *)wxListBox_GetSelections(arg1);
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 resultobj = result;
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj = 0;
9619 wxListBox *arg1 = (wxListBox *) 0 ;
9620 int arg2 ;
9621 void *argp1 = 0 ;
9622 int res1 = 0 ;
9623 int val2 ;
9624 int ecode2 = 0 ;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 char * kwnames[] = {
9628 (char *) "self",(char *) "n", NULL
9629 };
9630
9631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9633 if (!SWIG_IsOK(res1)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9635 }
9636 arg1 = reinterpret_cast< wxListBox * >(argp1);
9637 ecode2 = SWIG_AsVal_int(obj1, &val2);
9638 if (!SWIG_IsOK(ecode2)) {
9639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9640 }
9641 arg2 = static_cast< int >(val2);
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 (arg1)->SetFirstItem(arg2);
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 resultobj = SWIG_Py_Void();
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj = 0;
9657 wxListBox *arg1 = (wxListBox *) 0 ;
9658 wxString *arg2 = 0 ;
9659 void *argp1 = 0 ;
9660 int res1 = 0 ;
9661 bool temp2 = false ;
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 char * kwnames[] = {
9665 (char *) "self",(char *) "s", NULL
9666 };
9667
9668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9670 if (!SWIG_IsOK(res1)) {
9671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9672 }
9673 arg1 = reinterpret_cast< wxListBox * >(argp1);
9674 {
9675 arg2 = wxString_in_helper(obj1);
9676 if (arg2 == NULL) SWIG_fail;
9677 temp2 = true;
9678 }
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 (arg1)->SetFirstItem((wxString const &)*arg2);
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 resultobj = SWIG_Py_Void();
9686 {
9687 if (temp2)
9688 delete arg2;
9689 }
9690 return resultobj;
9691 fail:
9692 {
9693 if (temp2)
9694 delete arg2;
9695 }
9696 return NULL;
9697 }
9698
9699
9700 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj = 0;
9702 wxListBox *arg1 = (wxListBox *) 0 ;
9703 int arg2 ;
9704 void *argp1 = 0 ;
9705 int res1 = 0 ;
9706 int val2 ;
9707 int ecode2 = 0 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char * kwnames[] = {
9711 (char *) "self",(char *) "n", NULL
9712 };
9713
9714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9716 if (!SWIG_IsOK(res1)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9718 }
9719 arg1 = reinterpret_cast< wxListBox * >(argp1);
9720 ecode2 = SWIG_AsVal_int(obj1, &val2);
9721 if (!SWIG_IsOK(ecode2)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9723 }
9724 arg2 = static_cast< int >(val2);
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 (arg1)->EnsureVisible(arg2);
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 resultobj = SWIG_Py_Void();
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj = 0;
9740 wxListBox *arg1 = (wxListBox *) 0 ;
9741 wxString *arg2 = 0 ;
9742 void *argp1 = 0 ;
9743 int res1 = 0 ;
9744 bool temp2 = false ;
9745 PyObject * obj0 = 0 ;
9746 PyObject * obj1 = 0 ;
9747 char * kwnames[] = {
9748 (char *) "self",(char *) "s", NULL
9749 };
9750
9751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9753 if (!SWIG_IsOK(res1)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9755 }
9756 arg1 = reinterpret_cast< wxListBox * >(argp1);
9757 {
9758 arg2 = wxString_in_helper(obj1);
9759 if (arg2 == NULL) SWIG_fail;
9760 temp2 = true;
9761 }
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 resultobj = SWIG_Py_Void();
9769 {
9770 if (temp2)
9771 delete arg2;
9772 }
9773 return resultobj;
9774 fail:
9775 {
9776 if (temp2)
9777 delete arg2;
9778 }
9779 return NULL;
9780 }
9781
9782
9783 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9784 PyObject *resultobj = 0;
9785 wxListBox *arg1 = (wxListBox *) 0 ;
9786 bool result;
9787 void *argp1 = 0 ;
9788 int res1 = 0 ;
9789 PyObject *swig_obj[1] ;
9790
9791 if (!args) SWIG_fail;
9792 swig_obj[0] = args;
9793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9794 if (!SWIG_IsOK(res1)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9796 }
9797 arg1 = reinterpret_cast< wxListBox * >(argp1);
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (bool)((wxListBox const *)arg1)->IsSorted();
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 {
9805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9806 }
9807 return resultobj;
9808 fail:
9809 return NULL;
9810 }
9811
9812
9813 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj = 0;
9815 wxListBox *arg1 = (wxListBox *) 0 ;
9816 wxPoint *arg2 = 0 ;
9817 int result;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 wxPoint temp2 ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 char * kwnames[] = {
9824 (char *) "self",(char *) "pt", NULL
9825 };
9826
9827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9829 if (!SWIG_IsOK(res1)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9831 }
9832 arg1 = reinterpret_cast< wxListBox * >(argp1);
9833 {
9834 arg2 = &temp2;
9835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9836 }
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 resultobj = SWIG_From_int(static_cast< int >(result));
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj = 0;
9852 wxListBox *arg1 = (wxListBox *) 0 ;
9853 int arg2 ;
9854 wxColour *arg3 = 0 ;
9855 void *argp1 = 0 ;
9856 int res1 = 0 ;
9857 int val2 ;
9858 int ecode2 = 0 ;
9859 wxColour temp3 ;
9860 PyObject * obj0 = 0 ;
9861 PyObject * obj1 = 0 ;
9862 PyObject * obj2 = 0 ;
9863 char * kwnames[] = {
9864 (char *) "self",(char *) "item",(char *) "c", NULL
9865 };
9866
9867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9869 if (!SWIG_IsOK(res1)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9871 }
9872 arg1 = reinterpret_cast< wxListBox * >(argp1);
9873 ecode2 = SWIG_AsVal_int(obj1, &val2);
9874 if (!SWIG_IsOK(ecode2)) {
9875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9876 }
9877 arg2 = static_cast< int >(val2);
9878 {
9879 arg3 = &temp3;
9880 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9881 }
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 resultobj = SWIG_Py_Void();
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj = 0;
9897 wxListBox *arg1 = (wxListBox *) 0 ;
9898 int arg2 ;
9899 wxColour *arg3 = 0 ;
9900 void *argp1 = 0 ;
9901 int res1 = 0 ;
9902 int val2 ;
9903 int ecode2 = 0 ;
9904 wxColour temp3 ;
9905 PyObject * obj0 = 0 ;
9906 PyObject * obj1 = 0 ;
9907 PyObject * obj2 = 0 ;
9908 char * kwnames[] = {
9909 (char *) "self",(char *) "item",(char *) "c", NULL
9910 };
9911
9912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9914 if (!SWIG_IsOK(res1)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9916 }
9917 arg1 = reinterpret_cast< wxListBox * >(argp1);
9918 ecode2 = SWIG_AsVal_int(obj1, &val2);
9919 if (!SWIG_IsOK(ecode2)) {
9920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9921 }
9922 arg2 = static_cast< int >(val2);
9923 {
9924 arg3 = &temp3;
9925 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9926 }
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_Py_Void();
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj = 0;
9942 wxListBox *arg1 = (wxListBox *) 0 ;
9943 int arg2 ;
9944 wxFont *arg3 = 0 ;
9945 void *argp1 = 0 ;
9946 int res1 = 0 ;
9947 int val2 ;
9948 int ecode2 = 0 ;
9949 void *argp3 = 0 ;
9950 int res3 = 0 ;
9951 PyObject * obj0 = 0 ;
9952 PyObject * obj1 = 0 ;
9953 PyObject * obj2 = 0 ;
9954 char * kwnames[] = {
9955 (char *) "self",(char *) "item",(char *) "f", NULL
9956 };
9957
9958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9960 if (!SWIG_IsOK(res1)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9962 }
9963 arg1 = reinterpret_cast< wxListBox * >(argp1);
9964 ecode2 = SWIG_AsVal_int(obj1, &val2);
9965 if (!SWIG_IsOK(ecode2)) {
9966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9967 }
9968 arg2 = static_cast< int >(val2);
9969 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9970 if (!SWIG_IsOK(res3)) {
9971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9972 }
9973 if (!argp3) {
9974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9975 }
9976 arg3 = reinterpret_cast< wxFont * >(argp3);
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_Py_Void();
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj = 0;
9992 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9993 SwigValueWrapper<wxVisualAttributes > result;
9994 int val1 ;
9995 int ecode1 = 0 ;
9996 PyObject * obj0 = 0 ;
9997 char * kwnames[] = {
9998 (char *) "variant", NULL
9999 };
10000
10001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10002 if (obj0) {
10003 ecode1 = SWIG_AsVal_int(obj0, &val1);
10004 if (!SWIG_IsOK(ecode1)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10006 }
10007 arg1 = static_cast< wxWindowVariant >(val1);
10008 }
10009 {
10010 if (!wxPyCheckForApp()) SWIG_fail;
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = wxListBox::GetClassDefaultAttributes(arg1);
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10024 PyObject *obj;
10025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10026 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10027 return SWIG_Py_Void();
10028 }
10029
10030 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10031 return SWIG_Python_InitShadowInstance(args);
10032 }
10033
10034 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj = 0;
10036 wxWindow *arg1 = (wxWindow *) 0 ;
10037 int arg2 = (int) -1 ;
10038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10040 wxSize const &arg4_defvalue = wxDefaultSize ;
10041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10042 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10043 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10044 long arg6 = (long) 0 ;
10045 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10046 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10047 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10048 wxString *arg8 = (wxString *) &arg8_defvalue ;
10049 wxCheckListBox *result = 0 ;
10050 void *argp1 = 0 ;
10051 int res1 = 0 ;
10052 int val2 ;
10053 int ecode2 = 0 ;
10054 wxPoint temp3 ;
10055 wxSize temp4 ;
10056 bool temp5 = false ;
10057 long val6 ;
10058 int ecode6 = 0 ;
10059 void *argp7 = 0 ;
10060 int res7 = 0 ;
10061 bool temp8 = false ;
10062 PyObject * obj0 = 0 ;
10063 PyObject * obj1 = 0 ;
10064 PyObject * obj2 = 0 ;
10065 PyObject * obj3 = 0 ;
10066 PyObject * obj4 = 0 ;
10067 PyObject * obj5 = 0 ;
10068 PyObject * obj6 = 0 ;
10069 PyObject * obj7 = 0 ;
10070 char * kwnames[] = {
10071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10072 };
10073
10074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10076 if (!SWIG_IsOK(res1)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10078 }
10079 arg1 = reinterpret_cast< wxWindow * >(argp1);
10080 if (obj1) {
10081 ecode2 = SWIG_AsVal_int(obj1, &val2);
10082 if (!SWIG_IsOK(ecode2)) {
10083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10084 }
10085 arg2 = static_cast< int >(val2);
10086 }
10087 if (obj2) {
10088 {
10089 arg3 = &temp3;
10090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10091 }
10092 }
10093 if (obj3) {
10094 {
10095 arg4 = &temp4;
10096 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10097 }
10098 }
10099 if (obj4) {
10100 {
10101 if (! PySequence_Check(obj4)) {
10102 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10103 SWIG_fail;
10104 }
10105 arg5 = new wxArrayString;
10106 temp5 = true;
10107 int i, len=PySequence_Length(obj4);
10108 for (i=0; i<len; i++) {
10109 PyObject* item = PySequence_GetItem(obj4, i);
10110 wxString* s = wxString_in_helper(item);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 arg5->Add(*s);
10113 delete s;
10114 Py_DECREF(item);
10115 }
10116 }
10117 }
10118 if (obj5) {
10119 ecode6 = SWIG_AsVal_long(obj5, &val6);
10120 if (!SWIG_IsOK(ecode6)) {
10121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10122 }
10123 arg6 = static_cast< long >(val6);
10124 }
10125 if (obj6) {
10126 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10127 if (!SWIG_IsOK(res7)) {
10128 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10129 }
10130 if (!argp7) {
10131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10132 }
10133 arg7 = reinterpret_cast< wxValidator * >(argp7);
10134 }
10135 if (obj7) {
10136 {
10137 arg8 = wxString_in_helper(obj7);
10138 if (arg8 == NULL) SWIG_fail;
10139 temp8 = true;
10140 }
10141 }
10142 {
10143 if (!wxPyCheckForApp()) SWIG_fail;
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10150 {
10151 if (temp5) delete arg5;
10152 }
10153 {
10154 if (temp8)
10155 delete arg8;
10156 }
10157 return resultobj;
10158 fail:
10159 {
10160 if (temp5) delete arg5;
10161 }
10162 {
10163 if (temp8)
10164 delete arg8;
10165 }
10166 return NULL;
10167 }
10168
10169
10170 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10171 PyObject *resultobj = 0;
10172 wxCheckListBox *result = 0 ;
10173
10174 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10175 {
10176 if (!wxPyCheckForApp()) SWIG_fail;
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (wxCheckListBox *)new wxCheckListBox();
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj = 0;
10191 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10192 wxWindow *arg2 = (wxWindow *) 0 ;
10193 int arg3 = (int) -1 ;
10194 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10195 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10196 wxSize const &arg5_defvalue = wxDefaultSize ;
10197 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10198 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10199 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10200 long arg7 = (long) 0 ;
10201 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10202 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10203 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10204 wxString *arg9 = (wxString *) &arg9_defvalue ;
10205 bool result;
10206 void *argp1 = 0 ;
10207 int res1 = 0 ;
10208 void *argp2 = 0 ;
10209 int res2 = 0 ;
10210 int val3 ;
10211 int ecode3 = 0 ;
10212 wxPoint temp4 ;
10213 wxSize temp5 ;
10214 bool temp6 = false ;
10215 long val7 ;
10216 int ecode7 = 0 ;
10217 void *argp8 = 0 ;
10218 int res8 = 0 ;
10219 bool temp9 = false ;
10220 PyObject * obj0 = 0 ;
10221 PyObject * obj1 = 0 ;
10222 PyObject * obj2 = 0 ;
10223 PyObject * obj3 = 0 ;
10224 PyObject * obj4 = 0 ;
10225 PyObject * obj5 = 0 ;
10226 PyObject * obj6 = 0 ;
10227 PyObject * obj7 = 0 ;
10228 PyObject * obj8 = 0 ;
10229 char * kwnames[] = {
10230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10231 };
10232
10233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10237 }
10238 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10239 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10240 if (!SWIG_IsOK(res2)) {
10241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10242 }
10243 arg2 = reinterpret_cast< wxWindow * >(argp2);
10244 if (obj2) {
10245 ecode3 = SWIG_AsVal_int(obj2, &val3);
10246 if (!SWIG_IsOK(ecode3)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10248 }
10249 arg3 = static_cast< int >(val3);
10250 }
10251 if (obj3) {
10252 {
10253 arg4 = &temp4;
10254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10255 }
10256 }
10257 if (obj4) {
10258 {
10259 arg5 = &temp5;
10260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10261 }
10262 }
10263 if (obj5) {
10264 {
10265 if (! PySequence_Check(obj5)) {
10266 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10267 SWIG_fail;
10268 }
10269 arg6 = new wxArrayString;
10270 temp6 = true;
10271 int i, len=PySequence_Length(obj5);
10272 for (i=0; i<len; i++) {
10273 PyObject* item = PySequence_GetItem(obj5, i);
10274 wxString* s = wxString_in_helper(item);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 arg6->Add(*s);
10277 delete s;
10278 Py_DECREF(item);
10279 }
10280 }
10281 }
10282 if (obj6) {
10283 ecode7 = SWIG_AsVal_long(obj6, &val7);
10284 if (!SWIG_IsOK(ecode7)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10286 }
10287 arg7 = static_cast< long >(val7);
10288 }
10289 if (obj7) {
10290 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10291 if (!SWIG_IsOK(res8)) {
10292 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10293 }
10294 if (!argp8) {
10295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10296 }
10297 arg8 = reinterpret_cast< wxValidator * >(argp8);
10298 }
10299 if (obj8) {
10300 {
10301 arg9 = wxString_in_helper(obj8);
10302 if (arg9 == NULL) SWIG_fail;
10303 temp9 = true;
10304 }
10305 }
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 {
10313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10314 }
10315 {
10316 if (temp6) delete arg6;
10317 }
10318 {
10319 if (temp9)
10320 delete arg9;
10321 }
10322 return resultobj;
10323 fail:
10324 {
10325 if (temp6) delete arg6;
10326 }
10327 {
10328 if (temp9)
10329 delete arg9;
10330 }
10331 return NULL;
10332 }
10333
10334
10335 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj = 0;
10337 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10338 unsigned int arg2 ;
10339 bool result;
10340 void *argp1 = 0 ;
10341 int res1 = 0 ;
10342 unsigned int val2 ;
10343 int ecode2 = 0 ;
10344 PyObject * obj0 = 0 ;
10345 PyObject * obj1 = 0 ;
10346 char * kwnames[] = {
10347 (char *) "self",(char *) "index", NULL
10348 };
10349
10350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10352 if (!SWIG_IsOK(res1)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10354 }
10355 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10356 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10357 if (!SWIG_IsOK(ecode2)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10359 }
10360 arg2 = static_cast< unsigned int >(val2);
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (bool)(arg1)->IsChecked(arg2);
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 {
10368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10369 }
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj = 0;
10378 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10379 unsigned int arg2 ;
10380 int arg3 = (int) true ;
10381 void *argp1 = 0 ;
10382 int res1 = 0 ;
10383 unsigned int val2 ;
10384 int ecode2 = 0 ;
10385 int val3 ;
10386 int ecode3 = 0 ;
10387 PyObject * obj0 = 0 ;
10388 PyObject * obj1 = 0 ;
10389 PyObject * obj2 = 0 ;
10390 char * kwnames[] = {
10391 (char *) "self",(char *) "index",(char *) "check", NULL
10392 };
10393
10394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10396 if (!SWIG_IsOK(res1)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10398 }
10399 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10400 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10401 if (!SWIG_IsOK(ecode2)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10403 }
10404 arg2 = static_cast< unsigned int >(val2);
10405 if (obj2) {
10406 ecode3 = SWIG_AsVal_int(obj2, &val3);
10407 if (!SWIG_IsOK(ecode3)) {
10408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10409 }
10410 arg3 = static_cast< int >(val3);
10411 }
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 (arg1)->Check(arg2,arg3);
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = SWIG_Py_Void();
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10426 PyObject *resultobj = 0;
10427 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10428 int result;
10429 void *argp1 = 0 ;
10430 int res1 = 0 ;
10431 PyObject *swig_obj[1] ;
10432
10433 if (!args) SWIG_fail;
10434 swig_obj[0] = args;
10435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10436 if (!SWIG_IsOK(res1)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10438 }
10439 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 result = (int)(arg1)->GetItemHeight();
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 resultobj = SWIG_From_int(static_cast< int >(result));
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10454 PyObject *obj;
10455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10456 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10457 return SWIG_Py_Void();
10458 }
10459
10460 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10461 return SWIG_Python_InitShadowInstance(args);
10462 }
10463
10464 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10465 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10466 return 1;
10467 }
10468
10469
10470 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10471 PyObject *pyobj = 0;
10472
10473 {
10474 #if wxUSE_UNICODE
10475 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10476 #else
10477 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10478 #endif
10479 }
10480 return pyobj;
10481 }
10482
10483
10484 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj = 0;
10486 wxColour const &arg1_defvalue = wxNullColour ;
10487 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10488 wxColour const &arg2_defvalue = wxNullColour ;
10489 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10490 wxFont const &arg3_defvalue = wxNullFont ;
10491 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10492 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10493 wxTextAttr *result = 0 ;
10494 wxColour temp1 ;
10495 wxColour temp2 ;
10496 void *argp3 = 0 ;
10497 int res3 = 0 ;
10498 int val4 ;
10499 int ecode4 = 0 ;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 PyObject * obj2 = 0 ;
10503 PyObject * obj3 = 0 ;
10504 char * kwnames[] = {
10505 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10506 };
10507
10508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10509 if (obj0) {
10510 {
10511 arg1 = &temp1;
10512 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10513 }
10514 }
10515 if (obj1) {
10516 {
10517 arg2 = &temp2;
10518 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10519 }
10520 }
10521 if (obj2) {
10522 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10523 if (!SWIG_IsOK(res3)) {
10524 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10525 }
10526 if (!argp3) {
10527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10528 }
10529 arg3 = reinterpret_cast< wxFont * >(argp3);
10530 }
10531 if (obj3) {
10532 ecode4 = SWIG_AsVal_int(obj3, &val4);
10533 if (!SWIG_IsOK(ecode4)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10535 }
10536 arg4 = static_cast< wxTextAttrAlignment >(val4);
10537 }
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10552 PyObject *resultobj = 0;
10553 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10554 void *argp1 = 0 ;
10555 int res1 = 0 ;
10556 PyObject *swig_obj[1] ;
10557
10558 if (!args) SWIG_fail;
10559 swig_obj[0] = args;
10560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10561 if (!SWIG_IsOK(res1)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10563 }
10564 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 delete arg1;
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 resultobj = SWIG_Py_Void();
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10580 PyObject *resultobj = 0;
10581 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10582 void *argp1 = 0 ;
10583 int res1 = 0 ;
10584 PyObject *swig_obj[1] ;
10585
10586 if (!args) SWIG_fail;
10587 swig_obj[0] = args;
10588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10589 if (!SWIG_IsOK(res1)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10591 }
10592 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 (arg1)->Init();
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 resultobj = SWIG_Py_Void();
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj = 0;
10608 wxTextAttr *arg1 = 0 ;
10609 wxTextAttr *arg2 = 0 ;
10610 wxTextAttr result;
10611 void *argp1 = 0 ;
10612 int res1 = 0 ;
10613 void *argp2 = 0 ;
10614 int res2 = 0 ;
10615 PyObject * obj0 = 0 ;
10616 PyObject * obj1 = 0 ;
10617 char * kwnames[] = {
10618 (char *) "base",(char *) "overlay", NULL
10619 };
10620
10621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10622 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10623 if (!SWIG_IsOK(res1)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10625 }
10626 if (!argp1) {
10627 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10628 }
10629 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10631 if (!SWIG_IsOK(res2)) {
10632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10633 }
10634 if (!argp2) {
10635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10636 }
10637 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10645 return resultobj;
10646 fail:
10647 return NULL;
10648 }
10649
10650
10651 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj = 0;
10653 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10654 wxColour *arg2 = 0 ;
10655 void *argp1 = 0 ;
10656 int res1 = 0 ;
10657 wxColour temp2 ;
10658 PyObject * obj0 = 0 ;
10659 PyObject * obj1 = 0 ;
10660 char * kwnames[] = {
10661 (char *) "self",(char *) "colText", NULL
10662 };
10663
10664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10666 if (!SWIG_IsOK(res1)) {
10667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10668 }
10669 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10670 {
10671 arg2 = &temp2;
10672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10673 }
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 (arg1)->SetTextColour((wxColour const &)*arg2);
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 resultobj = SWIG_Py_Void();
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj = 0;
10689 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10690 wxColour *arg2 = 0 ;
10691 void *argp1 = 0 ;
10692 int res1 = 0 ;
10693 wxColour temp2 ;
10694 PyObject * obj0 = 0 ;
10695 PyObject * obj1 = 0 ;
10696 char * kwnames[] = {
10697 (char *) "self",(char *) "colBack", NULL
10698 };
10699
10700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10702 if (!SWIG_IsOK(res1)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10704 }
10705 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10706 {
10707 arg2 = &temp2;
10708 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = SWIG_Py_Void();
10717 return resultobj;
10718 fail:
10719 return NULL;
10720 }
10721
10722
10723 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj = 0;
10725 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10726 wxFont *arg2 = 0 ;
10727 long arg3 = (long) wxTEXT_ATTR_FONT ;
10728 void *argp1 = 0 ;
10729 int res1 = 0 ;
10730 void *argp2 = 0 ;
10731 int res2 = 0 ;
10732 long val3 ;
10733 int ecode3 = 0 ;
10734 PyObject * obj0 = 0 ;
10735 PyObject * obj1 = 0 ;
10736 PyObject * obj2 = 0 ;
10737 char * kwnames[] = {
10738 (char *) "self",(char *) "font",(char *) "flags", NULL
10739 };
10740
10741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10743 if (!SWIG_IsOK(res1)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10745 }
10746 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10747 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10748 if (!SWIG_IsOK(res2)) {
10749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10750 }
10751 if (!argp2) {
10752 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10753 }
10754 arg2 = reinterpret_cast< wxFont * >(argp2);
10755 if (obj2) {
10756 ecode3 = SWIG_AsVal_long(obj2, &val3);
10757 if (!SWIG_IsOK(ecode3)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10759 }
10760 arg3 = static_cast< long >(val3);
10761 }
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 resultobj = SWIG_Py_Void();
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj = 0;
10777 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10778 wxTextAttrAlignment arg2 ;
10779 void *argp1 = 0 ;
10780 int res1 = 0 ;
10781 int val2 ;
10782 int ecode2 = 0 ;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 char * kwnames[] = {
10786 (char *) "self",(char *) "alignment", NULL
10787 };
10788
10789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10791 if (!SWIG_IsOK(res1)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10793 }
10794 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10795 ecode2 = SWIG_AsVal_int(obj1, &val2);
10796 if (!SWIG_IsOK(ecode2)) {
10797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10798 }
10799 arg2 = static_cast< wxTextAttrAlignment >(val2);
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 (arg1)->SetAlignment(arg2);
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 resultobj = SWIG_Py_Void();
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj = 0;
10815 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10816 wxArrayInt *arg2 = 0 ;
10817 void *argp1 = 0 ;
10818 int res1 = 0 ;
10819 bool temp2 = false ;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 char * kwnames[] = {
10823 (char *) "self",(char *) "tabs", NULL
10824 };
10825
10826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10828 if (!SWIG_IsOK(res1)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10830 }
10831 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10832 {
10833 if (! PySequence_Check(obj1)) {
10834 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10835 SWIG_fail;
10836 }
10837 arg2 = new wxArrayInt;
10838 temp2 = true;
10839 int i, len=PySequence_Length(obj1);
10840 for (i=0; i<len; i++) {
10841 PyObject* item = PySequence_GetItem(obj1, i);
10842 PyObject* number = PyNumber_Int(item);
10843 if (!number) {
10844 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10845 SWIG_fail;
10846 }
10847 arg2->Add(PyInt_AS_LONG(number));
10848 Py_DECREF(item);
10849 Py_DECREF(number);
10850 }
10851 }
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 resultobj = SWIG_Py_Void();
10859 {
10860 if (temp2) delete arg2;
10861 }
10862 return resultobj;
10863 fail:
10864 {
10865 if (temp2) delete arg2;
10866 }
10867 return NULL;
10868 }
10869
10870
10871 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj = 0;
10873 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10874 int arg2 ;
10875 int arg3 = (int) 0 ;
10876 void *argp1 = 0 ;
10877 int res1 = 0 ;
10878 int val2 ;
10879 int ecode2 = 0 ;
10880 int val3 ;
10881 int ecode3 = 0 ;
10882 PyObject * obj0 = 0 ;
10883 PyObject * obj1 = 0 ;
10884 PyObject * obj2 = 0 ;
10885 char * kwnames[] = {
10886 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10887 };
10888
10889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10891 if (!SWIG_IsOK(res1)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10893 }
10894 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10895 ecode2 = SWIG_AsVal_int(obj1, &val2);
10896 if (!SWIG_IsOK(ecode2)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10898 }
10899 arg2 = static_cast< int >(val2);
10900 if (obj2) {
10901 ecode3 = SWIG_AsVal_int(obj2, &val3);
10902 if (!SWIG_IsOK(ecode3)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10904 }
10905 arg3 = static_cast< int >(val3);
10906 }
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->SetLeftIndent(arg2,arg3);
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_Py_Void();
10914 return resultobj;
10915 fail:
10916 return NULL;
10917 }
10918
10919
10920 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj = 0;
10922 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10923 int arg2 ;
10924 void *argp1 = 0 ;
10925 int res1 = 0 ;
10926 int val2 ;
10927 int ecode2 = 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 char * kwnames[] = {
10931 (char *) "self",(char *) "indent", NULL
10932 };
10933
10934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10936 if (!SWIG_IsOK(res1)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10938 }
10939 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10940 ecode2 = SWIG_AsVal_int(obj1, &val2);
10941 if (!SWIG_IsOK(ecode2)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10943 }
10944 arg2 = static_cast< int >(val2);
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->SetRightIndent(arg2);
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 resultobj = SWIG_Py_Void();
10952 return resultobj;
10953 fail:
10954 return NULL;
10955 }
10956
10957
10958 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj = 0;
10960 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10961 long arg2 ;
10962 void *argp1 = 0 ;
10963 int res1 = 0 ;
10964 long val2 ;
10965 int ecode2 = 0 ;
10966 PyObject * obj0 = 0 ;
10967 PyObject * obj1 = 0 ;
10968 char * kwnames[] = {
10969 (char *) "self",(char *) "flags", NULL
10970 };
10971
10972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10976 }
10977 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10978 ecode2 = SWIG_AsVal_long(obj1, &val2);
10979 if (!SWIG_IsOK(ecode2)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10981 }
10982 arg2 = static_cast< long >(val2);
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 (arg1)->SetFlags(arg2);
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 resultobj = SWIG_Py_Void();
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10997 PyObject *resultobj = 0;
10998 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10999 bool result;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 PyObject *swig_obj[1] ;
11003
11004 if (!args) SWIG_fail;
11005 swig_obj[0] = args;
11006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11007 if (!SWIG_IsOK(res1)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11009 }
11010 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11019 }
11020 return resultobj;
11021 fail:
11022 return NULL;
11023 }
11024
11025
11026 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11027 PyObject *resultobj = 0;
11028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11029 bool result;
11030 void *argp1 = 0 ;
11031 int res1 = 0 ;
11032 PyObject *swig_obj[1] ;
11033
11034 if (!args) SWIG_fail;
11035 swig_obj[0] = args;
11036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11037 if (!SWIG_IsOK(res1)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11039 }
11040 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11057 PyObject *resultobj = 0;
11058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 PyObject *swig_obj[1] ;
11063
11064 if (!args) SWIG_fail;
11065 swig_obj[0] = args;
11066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11087 PyObject *resultobj = 0;
11088 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11089 bool result;
11090 void *argp1 = 0 ;
11091 int res1 = 0 ;
11092 PyObject *swig_obj[1] ;
11093
11094 if (!args) SWIG_fail;
11095 swig_obj[0] = args;
11096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11099 }
11100 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11109 }
11110 return resultobj;
11111 fail:
11112 return NULL;
11113 }
11114
11115
11116 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11117 PyObject *resultobj = 0;
11118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11119 bool result;
11120 void *argp1 = 0 ;
11121 int res1 = 0 ;
11122 PyObject *swig_obj[1] ;
11123
11124 if (!args) SWIG_fail;
11125 swig_obj[0] = args;
11126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 }
11130 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 {
11138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11139 }
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11147 PyObject *resultobj = 0;
11148 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11149 bool result;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 PyObject *swig_obj[1] ;
11153
11154 if (!args) SWIG_fail;
11155 swig_obj[0] = args;
11156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11157 if (!SWIG_IsOK(res1)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11159 }
11160 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
11170 return resultobj;
11171 fail:
11172 return NULL;
11173 }
11174
11175
11176 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11177 PyObject *resultobj = 0;
11178 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11179 bool result;
11180 void *argp1 = 0 ;
11181 int res1 = 0 ;
11182 PyObject *swig_obj[1] ;
11183
11184 if (!args) SWIG_fail;
11185 swig_obj[0] = args;
11186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11187 if (!SWIG_IsOK(res1)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11189 }
11190 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11191 {
11192 PyThreadState* __tstate = wxPyBeginAllowThreads();
11193 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 {
11198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11199 }
11200 return resultobj;
11201 fail:
11202 return NULL;
11203 }
11204
11205
11206 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11207 PyObject *resultobj = 0;
11208 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11209 long arg2 ;
11210 bool result;
11211 void *argp1 = 0 ;
11212 int res1 = 0 ;
11213 long val2 ;
11214 int ecode2 = 0 ;
11215 PyObject * obj0 = 0 ;
11216 PyObject * obj1 = 0 ;
11217 char * kwnames[] = {
11218 (char *) "self",(char *) "flag", NULL
11219 };
11220
11221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11223 if (!SWIG_IsOK(res1)) {
11224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11225 }
11226 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11227 ecode2 = SWIG_AsVal_long(obj1, &val2);
11228 if (!SWIG_IsOK(ecode2)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11230 }
11231 arg2 = static_cast< long >(val2);
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 {
11239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11240 }
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11248 PyObject *resultobj = 0;
11249 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11250 wxColour *result = 0 ;
11251 void *argp1 = 0 ;
11252 int res1 = 0 ;
11253 PyObject *swig_obj[1] ;
11254
11255 if (!args) SWIG_fail;
11256 swig_obj[0] = args;
11257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11258 if (!SWIG_IsOK(res1)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 }
11261 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 {
11265 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11266 result = (wxColour *) &_result_ref;
11267 }
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11272 return resultobj;
11273 fail:
11274 return NULL;
11275 }
11276
11277
11278 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11279 PyObject *resultobj = 0;
11280 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11281 wxColour *result = 0 ;
11282 void *argp1 = 0 ;
11283 int res1 = 0 ;
11284 PyObject *swig_obj[1] ;
11285
11286 if (!args) SWIG_fail;
11287 swig_obj[0] = args;
11288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11289 if (!SWIG_IsOK(res1)) {
11290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11291 }
11292 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 {
11296 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11297 result = (wxColour *) &_result_ref;
11298 }
11299 wxPyEndAllowThreads(__tstate);
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11303 return resultobj;
11304 fail:
11305 return NULL;
11306 }
11307
11308
11309 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11310 PyObject *resultobj = 0;
11311 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11312 wxFont *result = 0 ;
11313 void *argp1 = 0 ;
11314 int res1 = 0 ;
11315 PyObject *swig_obj[1] ;
11316
11317 if (!args) SWIG_fail;
11318 swig_obj[0] = args;
11319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11320 if (!SWIG_IsOK(res1)) {
11321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11322 }
11323 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 {
11327 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11328 result = (wxFont *) &_result_ref;
11329 }
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 {
11334 wxFont* resultptr = new wxFont(*result);
11335 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11336 }
11337 return resultobj;
11338 fail:
11339 return NULL;
11340 }
11341
11342
11343 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11344 PyObject *resultobj = 0;
11345 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11346 wxTextAttrAlignment result;
11347 void *argp1 = 0 ;
11348 int res1 = 0 ;
11349 PyObject *swig_obj[1] ;
11350
11351 if (!args) SWIG_fail;
11352 swig_obj[0] = args;
11353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11354 if (!SWIG_IsOK(res1)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11356 }
11357 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 resultobj = SWIG_From_int(static_cast< int >(result));
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11372 PyObject *resultobj = 0;
11373 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11374 wxArrayInt *result = 0 ;
11375 void *argp1 = 0 ;
11376 int res1 = 0 ;
11377 PyObject *swig_obj[1] ;
11378
11379 if (!args) SWIG_fail;
11380 swig_obj[0] = args;
11381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11382 if (!SWIG_IsOK(res1)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11384 }
11385 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 {
11389 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11390 result = (wxArrayInt *) &_result_ref;
11391 }
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 {
11396 resultobj = wxArrayInt2PyList_helper(*result);
11397 }
11398 return resultobj;
11399 fail:
11400 return NULL;
11401 }
11402
11403
11404 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11405 PyObject *resultobj = 0;
11406 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11407 long result;
11408 void *argp1 = 0 ;
11409 int res1 = 0 ;
11410 PyObject *swig_obj[1] ;
11411
11412 if (!args) SWIG_fail;
11413 swig_obj[0] = args;
11414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11415 if (!SWIG_IsOK(res1)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 }
11418 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 resultobj = SWIG_From_long(static_cast< long >(result));
11426 return resultobj;
11427 fail:
11428 return NULL;
11429 }
11430
11431
11432 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11433 PyObject *resultobj = 0;
11434 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11435 long result;
11436 void *argp1 = 0 ;
11437 int res1 = 0 ;
11438 PyObject *swig_obj[1] ;
11439
11440 if (!args) SWIG_fail;
11441 swig_obj[0] = args;
11442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11443 if (!SWIG_IsOK(res1)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 }
11446 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_From_long(static_cast< long >(result));
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11461 PyObject *resultobj = 0;
11462 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11463 long result;
11464 void *argp1 = 0 ;
11465 int res1 = 0 ;
11466 PyObject *swig_obj[1] ;
11467
11468 if (!args) SWIG_fail;
11469 swig_obj[0] = args;
11470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11471 if (!SWIG_IsOK(res1)) {
11472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11473 }
11474 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 resultobj = SWIG_From_long(static_cast< long >(result));
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11489 PyObject *resultobj = 0;
11490 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11491 long result;
11492 void *argp1 = 0 ;
11493 int res1 = 0 ;
11494 PyObject *swig_obj[1] ;
11495
11496 if (!args) SWIG_fail;
11497 swig_obj[0] = args;
11498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11499 if (!SWIG_IsOK(res1)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11501 }
11502 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 resultobj = SWIG_From_long(static_cast< long >(result));
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11517 PyObject *resultobj = 0;
11518 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11519 bool result;
11520 void *argp1 = 0 ;
11521 int res1 = 0 ;
11522 PyObject *swig_obj[1] ;
11523
11524 if (!args) SWIG_fail;
11525 swig_obj[0] = args;
11526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11527 if (!SWIG_IsOK(res1)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11529 }
11530 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 {
11538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11539 }
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj = 0;
11548 wxTextAttr *arg1 = 0 ;
11549 wxTextAttr *arg2 = 0 ;
11550 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11551 wxTextAttr result;
11552 void *argp1 = 0 ;
11553 int res1 = 0 ;
11554 void *argp2 = 0 ;
11555 int res2 = 0 ;
11556 void *argp3 = 0 ;
11557 int res3 = 0 ;
11558 PyObject * obj0 = 0 ;
11559 PyObject * obj1 = 0 ;
11560 PyObject * obj2 = 0 ;
11561 char * kwnames[] = {
11562 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11563 };
11564
11565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11566 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11567 if (!SWIG_IsOK(res1)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11569 }
11570 if (!argp1) {
11571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11572 }
11573 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11575 if (!SWIG_IsOK(res2)) {
11576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11577 }
11578 if (!argp2) {
11579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11580 }
11581 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11582 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11583 if (!SWIG_IsOK(res3)) {
11584 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11585 }
11586 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11594 return resultobj;
11595 fail:
11596 return NULL;
11597 }
11598
11599
11600 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11601 PyObject *obj;
11602 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11603 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11604 return SWIG_Py_Void();
11605 }
11606
11607 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11608 return SWIG_Python_InitShadowInstance(args);
11609 }
11610
11611 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11612 PyObject *resultobj = 0;
11613 wxWindow *arg1 = (wxWindow *) 0 ;
11614 int arg2 = (int) -1 ;
11615 wxString const &arg3_defvalue = wxPyEmptyString ;
11616 wxString *arg3 = (wxString *) &arg3_defvalue ;
11617 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11618 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11619 wxSize const &arg5_defvalue = wxDefaultSize ;
11620 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11621 long arg6 = (long) 0 ;
11622 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11623 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11624 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11625 wxString *arg8 = (wxString *) &arg8_defvalue ;
11626 wxTextCtrl *result = 0 ;
11627 void *argp1 = 0 ;
11628 int res1 = 0 ;
11629 int val2 ;
11630 int ecode2 = 0 ;
11631 bool temp3 = false ;
11632 wxPoint temp4 ;
11633 wxSize temp5 ;
11634 long val6 ;
11635 int ecode6 = 0 ;
11636 void *argp7 = 0 ;
11637 int res7 = 0 ;
11638 bool temp8 = false ;
11639 PyObject * obj0 = 0 ;
11640 PyObject * obj1 = 0 ;
11641 PyObject * obj2 = 0 ;
11642 PyObject * obj3 = 0 ;
11643 PyObject * obj4 = 0 ;
11644 PyObject * obj5 = 0 ;
11645 PyObject * obj6 = 0 ;
11646 PyObject * obj7 = 0 ;
11647 char * kwnames[] = {
11648 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11649 };
11650
11651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11653 if (!SWIG_IsOK(res1)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11655 }
11656 arg1 = reinterpret_cast< wxWindow * >(argp1);
11657 if (obj1) {
11658 ecode2 = SWIG_AsVal_int(obj1, &val2);
11659 if (!SWIG_IsOK(ecode2)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11661 }
11662 arg2 = static_cast< int >(val2);
11663 }
11664 if (obj2) {
11665 {
11666 arg3 = wxString_in_helper(obj2);
11667 if (arg3 == NULL) SWIG_fail;
11668 temp3 = true;
11669 }
11670 }
11671 if (obj3) {
11672 {
11673 arg4 = &temp4;
11674 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11675 }
11676 }
11677 if (obj4) {
11678 {
11679 arg5 = &temp5;
11680 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11681 }
11682 }
11683 if (obj5) {
11684 ecode6 = SWIG_AsVal_long(obj5, &val6);
11685 if (!SWIG_IsOK(ecode6)) {
11686 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11687 }
11688 arg6 = static_cast< long >(val6);
11689 }
11690 if (obj6) {
11691 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11692 if (!SWIG_IsOK(res7)) {
11693 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11694 }
11695 if (!argp7) {
11696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11697 }
11698 arg7 = reinterpret_cast< wxValidator * >(argp7);
11699 }
11700 if (obj7) {
11701 {
11702 arg8 = wxString_in_helper(obj7);
11703 if (arg8 == NULL) SWIG_fail;
11704 temp8 = true;
11705 }
11706 }
11707 {
11708 if (!wxPyCheckForApp()) SWIG_fail;
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11711 wxPyEndAllowThreads(__tstate);
11712 if (PyErr_Occurred()) SWIG_fail;
11713 }
11714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11715 {
11716 if (temp3)
11717 delete arg3;
11718 }
11719 {
11720 if (temp8)
11721 delete arg8;
11722 }
11723 return resultobj;
11724 fail:
11725 {
11726 if (temp3)
11727 delete arg3;
11728 }
11729 {
11730 if (temp8)
11731 delete arg8;
11732 }
11733 return NULL;
11734 }
11735
11736
11737 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11738 PyObject *resultobj = 0;
11739 wxTextCtrl *result = 0 ;
11740
11741 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11742 {
11743 if (!wxPyCheckForApp()) SWIG_fail;
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = (wxTextCtrl *)new wxTextCtrl();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj = 0;
11758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11759 wxWindow *arg2 = (wxWindow *) 0 ;
11760 int arg3 = (int) -1 ;
11761 wxString const &arg4_defvalue = wxPyEmptyString ;
11762 wxString *arg4 = (wxString *) &arg4_defvalue ;
11763 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11764 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11765 wxSize const &arg6_defvalue = wxDefaultSize ;
11766 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11767 long arg7 = (long) 0 ;
11768 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11769 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11770 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11771 wxString *arg9 = (wxString *) &arg9_defvalue ;
11772 bool result;
11773 void *argp1 = 0 ;
11774 int res1 = 0 ;
11775 void *argp2 = 0 ;
11776 int res2 = 0 ;
11777 int val3 ;
11778 int ecode3 = 0 ;
11779 bool temp4 = false ;
11780 wxPoint temp5 ;
11781 wxSize temp6 ;
11782 long val7 ;
11783 int ecode7 = 0 ;
11784 void *argp8 = 0 ;
11785 int res8 = 0 ;
11786 bool temp9 = false ;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 PyObject * obj2 = 0 ;
11790 PyObject * obj3 = 0 ;
11791 PyObject * obj4 = 0 ;
11792 PyObject * obj5 = 0 ;
11793 PyObject * obj6 = 0 ;
11794 PyObject * obj7 = 0 ;
11795 PyObject * obj8 = 0 ;
11796 char * kwnames[] = {
11797 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11798 };
11799
11800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11802 if (!SWIG_IsOK(res1)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11804 }
11805 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11806 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11807 if (!SWIG_IsOK(res2)) {
11808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11809 }
11810 arg2 = reinterpret_cast< wxWindow * >(argp2);
11811 if (obj2) {
11812 ecode3 = SWIG_AsVal_int(obj2, &val3);
11813 if (!SWIG_IsOK(ecode3)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11815 }
11816 arg3 = static_cast< int >(val3);
11817 }
11818 if (obj3) {
11819 {
11820 arg4 = wxString_in_helper(obj3);
11821 if (arg4 == NULL) SWIG_fail;
11822 temp4 = true;
11823 }
11824 }
11825 if (obj4) {
11826 {
11827 arg5 = &temp5;
11828 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11829 }
11830 }
11831 if (obj5) {
11832 {
11833 arg6 = &temp6;
11834 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11835 }
11836 }
11837 if (obj6) {
11838 ecode7 = SWIG_AsVal_long(obj6, &val7);
11839 if (!SWIG_IsOK(ecode7)) {
11840 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11841 }
11842 arg7 = static_cast< long >(val7);
11843 }
11844 if (obj7) {
11845 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11846 if (!SWIG_IsOK(res8)) {
11847 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11848 }
11849 if (!argp8) {
11850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11851 }
11852 arg8 = reinterpret_cast< wxValidator * >(argp8);
11853 }
11854 if (obj8) {
11855 {
11856 arg9 = wxString_in_helper(obj8);
11857 if (arg9 == NULL) SWIG_fail;
11858 temp9 = true;
11859 }
11860 }
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 {
11868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11869 }
11870 {
11871 if (temp4)
11872 delete arg4;
11873 }
11874 {
11875 if (temp9)
11876 delete arg9;
11877 }
11878 return resultobj;
11879 fail:
11880 {
11881 if (temp4)
11882 delete arg4;
11883 }
11884 {
11885 if (temp9)
11886 delete arg9;
11887 }
11888 return NULL;
11889 }
11890
11891
11892 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11893 PyObject *resultobj = 0;
11894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11895 wxString result;
11896 void *argp1 = 0 ;
11897 int res1 = 0 ;
11898 PyObject *swig_obj[1] ;
11899
11900 if (!args) SWIG_fail;
11901 swig_obj[0] = args;
11902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11903 if (!SWIG_IsOK(res1)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11905 }
11906 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = ((wxTextCtrl const *)arg1)->GetValue();
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 {
11914 #if wxUSE_UNICODE
11915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11916 #else
11917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11918 #endif
11919 }
11920 return resultobj;
11921 fail:
11922 return NULL;
11923 }
11924
11925
11926 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11927 PyObject *resultobj = 0;
11928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11929 wxString *arg2 = 0 ;
11930 void *argp1 = 0 ;
11931 int res1 = 0 ;
11932 bool temp2 = false ;
11933 PyObject * obj0 = 0 ;
11934 PyObject * obj1 = 0 ;
11935 char * kwnames[] = {
11936 (char *) "self",(char *) "value", NULL
11937 };
11938
11939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11941 if (!SWIG_IsOK(res1)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11943 }
11944 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11945 {
11946 arg2 = wxString_in_helper(obj1);
11947 if (arg2 == NULL) SWIG_fail;
11948 temp2 = true;
11949 }
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 (arg1)->SetValue((wxString const &)*arg2);
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_Py_Void();
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return resultobj;
11962 fail:
11963 {
11964 if (temp2)
11965 delete arg2;
11966 }
11967 return NULL;
11968 }
11969
11970
11971 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11972 PyObject *resultobj = 0;
11973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11974 bool result;
11975 void *argp1 = 0 ;
11976 int res1 = 0 ;
11977 PyObject *swig_obj[1] ;
11978
11979 if (!args) SWIG_fail;
11980 swig_obj[0] = args;
11981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11982 if (!SWIG_IsOK(res1)) {
11983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11984 }
11985 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 {
11993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11994 }
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj = 0;
12003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12004 wxString *arg2 = 0 ;
12005 void *argp1 = 0 ;
12006 int res1 = 0 ;
12007 bool temp2 = false ;
12008 PyObject * obj0 = 0 ;
12009 PyObject * obj1 = 0 ;
12010 char * kwnames[] = {
12011 (char *) "self",(char *) "value", NULL
12012 };
12013
12014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12016 if (!SWIG_IsOK(res1)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12018 }
12019 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12020 {
12021 arg2 = wxString_in_helper(obj1);
12022 if (arg2 == NULL) SWIG_fail;
12023 temp2 = true;
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 (arg1)->ChangeValue((wxString const &)*arg2);
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 resultobj = SWIG_Py_Void();
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 return resultobj;
12037 fail:
12038 {
12039 if (temp2)
12040 delete arg2;
12041 }
12042 return NULL;
12043 }
12044
12045
12046 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj = 0;
12048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12049 long arg2 ;
12050 long arg3 ;
12051 wxString result;
12052 void *argp1 = 0 ;
12053 int res1 = 0 ;
12054 long val2 ;
12055 int ecode2 = 0 ;
12056 long val3 ;
12057 int ecode3 = 0 ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 PyObject * obj2 = 0 ;
12061 char * kwnames[] = {
12062 (char *) "self",(char *) "from",(char *) "to", NULL
12063 };
12064
12065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12067 if (!SWIG_IsOK(res1)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12069 }
12070 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12071 ecode2 = SWIG_AsVal_long(obj1, &val2);
12072 if (!SWIG_IsOK(ecode2)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12074 }
12075 arg2 = static_cast< long >(val2);
12076 ecode3 = SWIG_AsVal_long(obj2, &val3);
12077 if (!SWIG_IsOK(ecode3)) {
12078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12079 }
12080 arg3 = static_cast< long >(val3);
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 {
12088 #if wxUSE_UNICODE
12089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12090 #else
12091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12092 #endif
12093 }
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj = 0;
12102 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12103 long arg2 ;
12104 int result;
12105 void *argp1 = 0 ;
12106 int res1 = 0 ;
12107 long val2 ;
12108 int ecode2 = 0 ;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 char * kwnames[] = {
12112 (char *) "self",(char *) "lineNo", NULL
12113 };
12114
12115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12117 if (!SWIG_IsOK(res1)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12119 }
12120 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12121 ecode2 = SWIG_AsVal_long(obj1, &val2);
12122 if (!SWIG_IsOK(ecode2)) {
12123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12124 }
12125 arg2 = static_cast< long >(val2);
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 resultobj = SWIG_From_int(static_cast< int >(result));
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj = 0;
12141 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12142 long arg2 ;
12143 wxString result;
12144 void *argp1 = 0 ;
12145 int res1 = 0 ;
12146 long val2 ;
12147 int ecode2 = 0 ;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char * kwnames[] = {
12151 (char *) "self",(char *) "lineNo", NULL
12152 };
12153
12154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12156 if (!SWIG_IsOK(res1)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12158 }
12159 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12160 ecode2 = SWIG_AsVal_long(obj1, &val2);
12161 if (!SWIG_IsOK(ecode2)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12163 }
12164 arg2 = static_cast< long >(val2);
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 {
12172 #if wxUSE_UNICODE
12173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12174 #else
12175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12176 #endif
12177 }
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12185 PyObject *resultobj = 0;
12186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12187 int result;
12188 void *argp1 = 0 ;
12189 int res1 = 0 ;
12190 PyObject *swig_obj[1] ;
12191
12192 if (!args) SWIG_fail;
12193 swig_obj[0] = args;
12194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12195 if (!SWIG_IsOK(res1)) {
12196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12197 }
12198 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12199 {
12200 PyThreadState* __tstate = wxPyBeginAllowThreads();
12201 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 resultobj = SWIG_From_int(static_cast< int >(result));
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12213 PyObject *resultobj = 0;
12214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12215 bool result;
12216 void *argp1 = 0 ;
12217 int res1 = 0 ;
12218 PyObject *swig_obj[1] ;
12219
12220 if (!args) SWIG_fail;
12221 swig_obj[0] = args;
12222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12223 if (!SWIG_IsOK(res1)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12225 }
12226 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 {
12234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12235 }
12236 return resultobj;
12237 fail:
12238 return NULL;
12239 }
12240
12241
12242 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12243 PyObject *resultobj = 0;
12244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12245 bool result;
12246 void *argp1 = 0 ;
12247 int res1 = 0 ;
12248 PyObject *swig_obj[1] ;
12249
12250 if (!args) SWIG_fail;
12251 swig_obj[0] = args;
12252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12255 }
12256 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 {
12264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12265 }
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 bool result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12295 }
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12303 PyObject *resultobj = 0;
12304 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12305 bool result;
12306 void *argp1 = 0 ;
12307 int res1 = 0 ;
12308 PyObject *swig_obj[1] ;
12309
12310 if (!args) SWIG_fail;
12311 swig_obj[0] = args;
12312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12313 if (!SWIG_IsOK(res1)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12315 }
12316 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 {
12324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12325 }
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12333 PyObject *resultobj = 0;
12334 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12335 long *arg2 = (long *) 0 ;
12336 long *arg3 = (long *) 0 ;
12337 void *argp1 = 0 ;
12338 int res1 = 0 ;
12339 long temp2 ;
12340 int res2 = SWIG_TMPOBJ ;
12341 long temp3 ;
12342 int res3 = SWIG_TMPOBJ ;
12343 PyObject *swig_obj[1] ;
12344
12345 arg2 = &temp2;
12346 arg3 = &temp3;
12347 if (!args) SWIG_fail;
12348 swig_obj[0] = args;
12349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12350 if (!SWIG_IsOK(res1)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12352 }
12353 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 resultobj = SWIG_Py_Void();
12361 if (SWIG_IsTmpObj(res2)) {
12362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12363 } else {
12364 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12366 }
12367 if (SWIG_IsTmpObj(res3)) {
12368 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12369 } else {
12370 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12371 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12372 }
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12380 PyObject *resultobj = 0;
12381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12382 wxString result;
12383 void *argp1 = 0 ;
12384 int res1 = 0 ;
12385 PyObject *swig_obj[1] ;
12386
12387 if (!args) SWIG_fail;
12388 swig_obj[0] = args;
12389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12390 if (!SWIG_IsOK(res1)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12392 }
12393 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 {
12401 #if wxUSE_UNICODE
12402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12403 #else
12404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12405 #endif
12406 }
12407 return resultobj;
12408 fail:
12409 return NULL;
12410 }
12411
12412
12413 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12414 PyObject *resultobj = 0;
12415 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12416 void *argp1 = 0 ;
12417 int res1 = 0 ;
12418 PyObject *swig_obj[1] ;
12419
12420 if (!args) SWIG_fail;
12421 swig_obj[0] = args;
12422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12423 if (!SWIG_IsOK(res1)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12425 }
12426 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 (arg1)->Clear();
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = SWIG_Py_Void();
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj = 0;
12442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12443 long arg2 ;
12444 long arg3 ;
12445 wxString *arg4 = 0 ;
12446 void *argp1 = 0 ;
12447 int res1 = 0 ;
12448 long val2 ;
12449 int ecode2 = 0 ;
12450 long val3 ;
12451 int ecode3 = 0 ;
12452 bool temp4 = false ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 PyObject * obj2 = 0 ;
12456 PyObject * obj3 = 0 ;
12457 char * kwnames[] = {
12458 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12459 };
12460
12461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12463 if (!SWIG_IsOK(res1)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12465 }
12466 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12467 ecode2 = SWIG_AsVal_long(obj1, &val2);
12468 if (!SWIG_IsOK(ecode2)) {
12469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12470 }
12471 arg2 = static_cast< long >(val2);
12472 ecode3 = SWIG_AsVal_long(obj2, &val3);
12473 if (!SWIG_IsOK(ecode3)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12475 }
12476 arg3 = static_cast< long >(val3);
12477 {
12478 arg4 = wxString_in_helper(obj3);
12479 if (arg4 == NULL) SWIG_fail;
12480 temp4 = true;
12481 }
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 resultobj = SWIG_Py_Void();
12489 {
12490 if (temp4)
12491 delete arg4;
12492 }
12493 return resultobj;
12494 fail:
12495 {
12496 if (temp4)
12497 delete arg4;
12498 }
12499 return NULL;
12500 }
12501
12502
12503 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj = 0;
12505 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12506 long arg2 ;
12507 long arg3 ;
12508 void *argp1 = 0 ;
12509 int res1 = 0 ;
12510 long val2 ;
12511 int ecode2 = 0 ;
12512 long val3 ;
12513 int ecode3 = 0 ;
12514 PyObject * obj0 = 0 ;
12515 PyObject * obj1 = 0 ;
12516 PyObject * obj2 = 0 ;
12517 char * kwnames[] = {
12518 (char *) "self",(char *) "from",(char *) "to", NULL
12519 };
12520
12521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12525 }
12526 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12527 ecode2 = SWIG_AsVal_long(obj1, &val2);
12528 if (!SWIG_IsOK(ecode2)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12530 }
12531 arg2 = static_cast< long >(val2);
12532 ecode3 = SWIG_AsVal_long(obj2, &val3);
12533 if (!SWIG_IsOK(ecode3)) {
12534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12535 }
12536 arg3 = static_cast< long >(val3);
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 (arg1)->Remove(arg2,arg3);
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = SWIG_Py_Void();
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj = 0;
12552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12553 wxString *arg2 = 0 ;
12554 int arg3 = (int) wxTEXT_TYPE_ANY ;
12555 bool result;
12556 void *argp1 = 0 ;
12557 int res1 = 0 ;
12558 bool temp2 = false ;
12559 int val3 ;
12560 int ecode3 = 0 ;
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
12563 PyObject * obj2 = 0 ;
12564 char * kwnames[] = {
12565 (char *) "self",(char *) "file",(char *) "fileType", NULL
12566 };
12567
12568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12570 if (!SWIG_IsOK(res1)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12572 }
12573 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12574 {
12575 arg2 = wxString_in_helper(obj1);
12576 if (arg2 == NULL) SWIG_fail;
12577 temp2 = true;
12578 }
12579 if (obj2) {
12580 ecode3 = SWIG_AsVal_int(obj2, &val3);
12581 if (!SWIG_IsOK(ecode3)) {
12582 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12583 }
12584 arg3 = static_cast< int >(val3);
12585 }
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12589 wxPyEndAllowThreads(__tstate);
12590 if (PyErr_Occurred()) SWIG_fail;
12591 }
12592 {
12593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12594 }
12595 {
12596 if (temp2)
12597 delete arg2;
12598 }
12599 return resultobj;
12600 fail:
12601 {
12602 if (temp2)
12603 delete arg2;
12604 }
12605 return NULL;
12606 }
12607
12608
12609 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj = 0;
12611 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12612 wxString const &arg2_defvalue = wxPyEmptyString ;
12613 wxString *arg2 = (wxString *) &arg2_defvalue ;
12614 int arg3 = (int) wxTEXT_TYPE_ANY ;
12615 bool result;
12616 void *argp1 = 0 ;
12617 int res1 = 0 ;
12618 bool temp2 = false ;
12619 int val3 ;
12620 int ecode3 = 0 ;
12621 PyObject * obj0 = 0 ;
12622 PyObject * obj1 = 0 ;
12623 PyObject * obj2 = 0 ;
12624 char * kwnames[] = {
12625 (char *) "self",(char *) "file",(char *) "fileType", NULL
12626 };
12627
12628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12630 if (!SWIG_IsOK(res1)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12632 }
12633 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12634 if (obj1) {
12635 {
12636 arg2 = wxString_in_helper(obj1);
12637 if (arg2 == NULL) SWIG_fail;
12638 temp2 = true;
12639 }
12640 }
12641 if (obj2) {
12642 ecode3 = SWIG_AsVal_int(obj2, &val3);
12643 if (!SWIG_IsOK(ecode3)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12645 }
12646 arg3 = static_cast< int >(val3);
12647 }
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12651 wxPyEndAllowThreads(__tstate);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 }
12654 {
12655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12656 }
12657 {
12658 if (temp2)
12659 delete arg2;
12660 }
12661 return resultobj;
12662 fail:
12663 {
12664 if (temp2)
12665 delete arg2;
12666 }
12667 return NULL;
12668 }
12669
12670
12671 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12672 PyObject *resultobj = 0;
12673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12674 void *argp1 = 0 ;
12675 int res1 = 0 ;
12676 PyObject *swig_obj[1] ;
12677
12678 if (!args) SWIG_fail;
12679 swig_obj[0] = args;
12680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12681 if (!SWIG_IsOK(res1)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12683 }
12684 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->MarkDirty();
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 resultobj = SWIG_Py_Void();
12692 return resultobj;
12693 fail:
12694 return NULL;
12695 }
12696
12697
12698 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12699 PyObject *resultobj = 0;
12700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12701 void *argp1 = 0 ;
12702 int res1 = 0 ;
12703 PyObject *swig_obj[1] ;
12704
12705 if (!args) SWIG_fail;
12706 swig_obj[0] = args;
12707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12708 if (!SWIG_IsOK(res1)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12710 }
12711 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 (arg1)->DiscardEdits();
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 resultobj = SWIG_Py_Void();
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj = 0;
12727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12728 bool arg2 ;
12729 void *argp1 = 0 ;
12730 int res1 = 0 ;
12731 bool val2 ;
12732 int ecode2 = 0 ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 char * kwnames[] = {
12736 (char *) "self",(char *) "modified", NULL
12737 };
12738
12739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12741 if (!SWIG_IsOK(res1)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12743 }
12744 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12745 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12746 if (!SWIG_IsOK(ecode2)) {
12747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12748 }
12749 arg2 = static_cast< bool >(val2);
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 (arg1)->SetModified(arg2);
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 resultobj = SWIG_Py_Void();
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj = 0;
12765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12766 unsigned long arg2 ;
12767 void *argp1 = 0 ;
12768 int res1 = 0 ;
12769 unsigned long val2 ;
12770 int ecode2 = 0 ;
12771 PyObject * obj0 = 0 ;
12772 PyObject * obj1 = 0 ;
12773 char * kwnames[] = {
12774 (char *) "self",(char *) "len", NULL
12775 };
12776
12777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12779 if (!SWIG_IsOK(res1)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12781 }
12782 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12783 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12784 if (!SWIG_IsOK(ecode2)) {
12785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12786 }
12787 arg2 = static_cast< unsigned long >(val2);
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 (arg1)->SetMaxLength(arg2);
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = SWIG_Py_Void();
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj = 0;
12803 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12804 wxString *arg2 = 0 ;
12805 void *argp1 = 0 ;
12806 int res1 = 0 ;
12807 bool temp2 = false ;
12808 PyObject * obj0 = 0 ;
12809 PyObject * obj1 = 0 ;
12810 char * kwnames[] = {
12811 (char *) "self",(char *) "text", NULL
12812 };
12813
12814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12816 if (!SWIG_IsOK(res1)) {
12817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12818 }
12819 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12820 {
12821 arg2 = wxString_in_helper(obj1);
12822 if (arg2 == NULL) SWIG_fail;
12823 temp2 = true;
12824 }
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 (arg1)->WriteText((wxString const &)*arg2);
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 resultobj = SWIG_Py_Void();
12832 {
12833 if (temp2)
12834 delete arg2;
12835 }
12836 return resultobj;
12837 fail:
12838 {
12839 if (temp2)
12840 delete arg2;
12841 }
12842 return NULL;
12843 }
12844
12845
12846 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj = 0;
12848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12849 wxString *arg2 = 0 ;
12850 void *argp1 = 0 ;
12851 int res1 = 0 ;
12852 bool temp2 = false ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 char * kwnames[] = {
12856 (char *) "self",(char *) "text", NULL
12857 };
12858
12859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12861 if (!SWIG_IsOK(res1)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12863 }
12864 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12865 {
12866 arg2 = wxString_in_helper(obj1);
12867 if (arg2 == NULL) SWIG_fail;
12868 temp2 = true;
12869 }
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->AppendText((wxString const &)*arg2);
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_Py_Void();
12877 {
12878 if (temp2)
12879 delete arg2;
12880 }
12881 return resultobj;
12882 fail:
12883 {
12884 if (temp2)
12885 delete arg2;
12886 }
12887 return NULL;
12888 }
12889
12890
12891 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj = 0;
12893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12894 wxKeyEvent *arg2 = 0 ;
12895 bool result;
12896 void *argp1 = 0 ;
12897 int res1 = 0 ;
12898 void *argp2 = 0 ;
12899 int res2 = 0 ;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 char * kwnames[] = {
12903 (char *) "self",(char *) "event", NULL
12904 };
12905
12906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12908 if (!SWIG_IsOK(res1)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12910 }
12911 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12912 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12913 if (!SWIG_IsOK(res2)) {
12914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12915 }
12916 if (!argp2) {
12917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12918 }
12919 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 {
12927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12928 }
12929 return resultobj;
12930 fail:
12931 return NULL;
12932 }
12933
12934
12935 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj = 0;
12937 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12938 long arg2 ;
12939 long arg3 ;
12940 wxTextAttr *arg4 = 0 ;
12941 bool result;
12942 void *argp1 = 0 ;
12943 int res1 = 0 ;
12944 long val2 ;
12945 int ecode2 = 0 ;
12946 long val3 ;
12947 int ecode3 = 0 ;
12948 void *argp4 = 0 ;
12949 int res4 = 0 ;
12950 PyObject * obj0 = 0 ;
12951 PyObject * obj1 = 0 ;
12952 PyObject * obj2 = 0 ;
12953 PyObject * obj3 = 0 ;
12954 char * kwnames[] = {
12955 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12956 };
12957
12958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12960 if (!SWIG_IsOK(res1)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12962 }
12963 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12964 ecode2 = SWIG_AsVal_long(obj1, &val2);
12965 if (!SWIG_IsOK(ecode2)) {
12966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12967 }
12968 arg2 = static_cast< long >(val2);
12969 ecode3 = SWIG_AsVal_long(obj2, &val3);
12970 if (!SWIG_IsOK(ecode3)) {
12971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12972 }
12973 arg3 = static_cast< long >(val3);
12974 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12975 if (!SWIG_IsOK(res4)) {
12976 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12977 }
12978 if (!argp4) {
12979 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12980 }
12981 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 {
12989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12990 }
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj = 0;
12999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13000 long arg2 ;
13001 wxTextAttr *arg3 = 0 ;
13002 bool result;
13003 void *argp1 = 0 ;
13004 int res1 = 0 ;
13005 long val2 ;
13006 int ecode2 = 0 ;
13007 void *argp3 = 0 ;
13008 int res3 = 0 ;
13009 PyObject * obj0 = 0 ;
13010 PyObject * obj1 = 0 ;
13011 PyObject * obj2 = 0 ;
13012 char * kwnames[] = {
13013 (char *) "self",(char *) "position",(char *) "style", NULL
13014 };
13015
13016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13018 if (!SWIG_IsOK(res1)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13020 }
13021 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13022 ecode2 = SWIG_AsVal_long(obj1, &val2);
13023 if (!SWIG_IsOK(ecode2)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13025 }
13026 arg2 = static_cast< long >(val2);
13027 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13028 if (!SWIG_IsOK(res3)) {
13029 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13030 }
13031 if (!argp3) {
13032 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13033 }
13034 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 {
13042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13043 }
13044 return resultobj;
13045 fail:
13046 return NULL;
13047 }
13048
13049
13050 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj = 0;
13052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13053 wxTextAttr *arg2 = 0 ;
13054 bool result;
13055 void *argp1 = 0 ;
13056 int res1 = 0 ;
13057 void *argp2 = 0 ;
13058 int res2 = 0 ;
13059 PyObject * obj0 = 0 ;
13060 PyObject * obj1 = 0 ;
13061 char * kwnames[] = {
13062 (char *) "self",(char *) "style", NULL
13063 };
13064
13065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13067 if (!SWIG_IsOK(res1)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13069 }
13070 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13071 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13072 if (!SWIG_IsOK(res2)) {
13073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13074 }
13075 if (!argp2) {
13076 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13077 }
13078 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 {
13086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13087 }
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13095 PyObject *resultobj = 0;
13096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13097 wxTextAttr *result = 0 ;
13098 void *argp1 = 0 ;
13099 int res1 = 0 ;
13100 PyObject *swig_obj[1] ;
13101
13102 if (!args) SWIG_fail;
13103 swig_obj[0] = args;
13104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13105 if (!SWIG_IsOK(res1)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13107 }
13108 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 {
13112 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13113 result = (wxTextAttr *) &_result_ref;
13114 }
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj = 0;
13127 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13128 long arg2 ;
13129 long arg3 ;
13130 long result;
13131 void *argp1 = 0 ;
13132 int res1 = 0 ;
13133 long val2 ;
13134 int ecode2 = 0 ;
13135 long val3 ;
13136 int ecode3 = 0 ;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 PyObject * obj2 = 0 ;
13140 char * kwnames[] = {
13141 (char *) "self",(char *) "x",(char *) "y", NULL
13142 };
13143
13144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13146 if (!SWIG_IsOK(res1)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13148 }
13149 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13150 ecode2 = SWIG_AsVal_long(obj1, &val2);
13151 if (!SWIG_IsOK(ecode2)) {
13152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13153 }
13154 arg2 = static_cast< long >(val2);
13155 ecode3 = SWIG_AsVal_long(obj2, &val3);
13156 if (!SWIG_IsOK(ecode3)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13158 }
13159 arg3 = static_cast< long >(val3);
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 resultobj = SWIG_From_long(static_cast< long >(result));
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj = 0;
13175 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13176 long arg2 ;
13177 long *arg3 = (long *) 0 ;
13178 long *arg4 = (long *) 0 ;
13179 void *argp1 = 0 ;
13180 int res1 = 0 ;
13181 long val2 ;
13182 int ecode2 = 0 ;
13183 long temp3 ;
13184 int res3 = SWIG_TMPOBJ ;
13185 long temp4 ;
13186 int res4 = SWIG_TMPOBJ ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char * kwnames[] = {
13190 (char *) "self",(char *) "pos", NULL
13191 };
13192
13193 arg3 = &temp3;
13194 arg4 = &temp4;
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13199 }
13200 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13201 ecode2 = SWIG_AsVal_long(obj1, &val2);
13202 if (!SWIG_IsOK(ecode2)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13204 }
13205 arg2 = static_cast< long >(val2);
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = SWIG_Py_Void();
13213 if (SWIG_IsTmpObj(res3)) {
13214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13215 } else {
13216 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13218 }
13219 if (SWIG_IsTmpObj(res4)) {
13220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13221 } else {
13222 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13224 }
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj = 0;
13233 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13234 long arg2 ;
13235 void *argp1 = 0 ;
13236 int res1 = 0 ;
13237 long val2 ;
13238 int ecode2 = 0 ;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 char * kwnames[] = {
13242 (char *) "self",(char *) "pos", NULL
13243 };
13244
13245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13247 if (!SWIG_IsOK(res1)) {
13248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13249 }
13250 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13251 ecode2 = SWIG_AsVal_long(obj1, &val2);
13252 if (!SWIG_IsOK(ecode2)) {
13253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13254 }
13255 arg2 = static_cast< long >(val2);
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 (arg1)->ShowPosition(arg2);
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 resultobj = SWIG_Py_Void();
13263 return resultobj;
13264 fail:
13265 return NULL;
13266 }
13267
13268
13269 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj = 0;
13271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13272 wxPoint *arg2 = 0 ;
13273 long *arg3 = (long *) 0 ;
13274 long *arg4 = (long *) 0 ;
13275 wxTextCtrlHitTestResult result;
13276 void *argp1 = 0 ;
13277 int res1 = 0 ;
13278 wxPoint temp2 ;
13279 long temp3 ;
13280 int res3 = SWIG_TMPOBJ ;
13281 long temp4 ;
13282 int res4 = SWIG_TMPOBJ ;
13283 PyObject * obj0 = 0 ;
13284 PyObject * obj1 = 0 ;
13285 char * kwnames[] = {
13286 (char *) "self",(char *) "pt", NULL
13287 };
13288
13289 arg3 = &temp3;
13290 arg4 = &temp4;
13291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13293 if (!SWIG_IsOK(res1)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13295 }
13296 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13297 {
13298 arg2 = &temp2;
13299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13300 }
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 resultobj = SWIG_From_int(static_cast< int >(result));
13308 if (SWIG_IsTmpObj(res3)) {
13309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13310 } else {
13311 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13313 }
13314 if (SWIG_IsTmpObj(res4)) {
13315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13316 } else {
13317 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13318 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13319 }
13320 return resultobj;
13321 fail:
13322 return NULL;
13323 }
13324
13325
13326 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj = 0;
13328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13329 wxPoint *arg2 = 0 ;
13330 long *arg3 = (long *) 0 ;
13331 wxTextCtrlHitTestResult result;
13332 void *argp1 = 0 ;
13333 int res1 = 0 ;
13334 wxPoint temp2 ;
13335 long temp3 ;
13336 int res3 = SWIG_TMPOBJ ;
13337 PyObject * obj0 = 0 ;
13338 PyObject * obj1 = 0 ;
13339 char * kwnames[] = {
13340 (char *) "self",(char *) "pt", NULL
13341 };
13342
13343 arg3 = &temp3;
13344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13346 if (!SWIG_IsOK(res1)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13348 }
13349 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13350 {
13351 arg2 = &temp2;
13352 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13353 }
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_From_int(static_cast< int >(result));
13361 if (SWIG_IsTmpObj(res3)) {
13362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13363 } else {
13364 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13366 }
13367 return resultobj;
13368 fail:
13369 return NULL;
13370 }
13371
13372
13373 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13374 PyObject *resultobj = 0;
13375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13376 void *argp1 = 0 ;
13377 int res1 = 0 ;
13378 PyObject *swig_obj[1] ;
13379
13380 if (!args) SWIG_fail;
13381 swig_obj[0] = args;
13382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13383 if (!SWIG_IsOK(res1)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13385 }
13386 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 (arg1)->Copy();
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 resultobj = SWIG_Py_Void();
13394 return resultobj;
13395 fail:
13396 return NULL;
13397 }
13398
13399
13400 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13401 PyObject *resultobj = 0;
13402 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13403 void *argp1 = 0 ;
13404 int res1 = 0 ;
13405 PyObject *swig_obj[1] ;
13406
13407 if (!args) SWIG_fail;
13408 swig_obj[0] = args;
13409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13410 if (!SWIG_IsOK(res1)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13412 }
13413 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 (arg1)->Cut();
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 resultobj = SWIG_Py_Void();
13421 return resultobj;
13422 fail:
13423 return NULL;
13424 }
13425
13426
13427 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13428 PyObject *resultobj = 0;
13429 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13430 void *argp1 = 0 ;
13431 int res1 = 0 ;
13432 PyObject *swig_obj[1] ;
13433
13434 if (!args) SWIG_fail;
13435 swig_obj[0] = args;
13436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13437 if (!SWIG_IsOK(res1)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13439 }
13440 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 (arg1)->Paste();
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_Py_Void();
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 PyObject *resultobj = 0;
13456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13457 bool result;
13458 void *argp1 = 0 ;
13459 int res1 = 0 ;
13460 PyObject *swig_obj[1] ;
13461
13462 if (!args) SWIG_fail;
13463 swig_obj[0] = args;
13464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13465 if (!SWIG_IsOK(res1)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13467 }
13468 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13477 }
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13487 bool result;
13488 void *argp1 = 0 ;
13489 int res1 = 0 ;
13490 PyObject *swig_obj[1] ;
13491
13492 if (!args) SWIG_fail;
13493 swig_obj[0] = args;
13494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13495 if (!SWIG_IsOK(res1)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13497 }
13498 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 {
13506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13507 }
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13515 PyObject *resultobj = 0;
13516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13517 bool result;
13518 void *argp1 = 0 ;
13519 int res1 = 0 ;
13520 PyObject *swig_obj[1] ;
13521
13522 if (!args) SWIG_fail;
13523 swig_obj[0] = args;
13524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13525 if (!SWIG_IsOK(res1)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13527 }
13528 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13537 }
13538 return resultobj;
13539 fail:
13540 return NULL;
13541 }
13542
13543
13544 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13545 PyObject *resultobj = 0;
13546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13547 void *argp1 = 0 ;
13548 int res1 = 0 ;
13549 PyObject *swig_obj[1] ;
13550
13551 if (!args) SWIG_fail;
13552 swig_obj[0] = args;
13553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13554 if (!SWIG_IsOK(res1)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13556 }
13557 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 (arg1)->Undo();
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 resultobj = SWIG_Py_Void();
13565 return resultobj;
13566 fail:
13567 return NULL;
13568 }
13569
13570
13571 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13572 PyObject *resultobj = 0;
13573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13574 void *argp1 = 0 ;
13575 int res1 = 0 ;
13576 PyObject *swig_obj[1] ;
13577
13578 if (!args) SWIG_fail;
13579 swig_obj[0] = args;
13580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13581 if (!SWIG_IsOK(res1)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13583 }
13584 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->Redo();
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = SWIG_Py_Void();
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13599 PyObject *resultobj = 0;
13600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13601 bool result;
13602 void *argp1 = 0 ;
13603 int res1 = 0 ;
13604 PyObject *swig_obj[1] ;
13605
13606 if (!args) SWIG_fail;
13607 swig_obj[0] = args;
13608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13609 if (!SWIG_IsOK(res1)) {
13610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13611 }
13612 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 {
13620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13621 }
13622 return resultobj;
13623 fail:
13624 return NULL;
13625 }
13626
13627
13628 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13629 PyObject *resultobj = 0;
13630 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13631 bool result;
13632 void *argp1 = 0 ;
13633 int res1 = 0 ;
13634 PyObject *swig_obj[1] ;
13635
13636 if (!args) SWIG_fail;
13637 swig_obj[0] = args;
13638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13639 if (!SWIG_IsOK(res1)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13641 }
13642 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 {
13650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13651 }
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13659 PyObject *resultobj = 0;
13660 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13661 long arg2 ;
13662 void *argp1 = 0 ;
13663 int res1 = 0 ;
13664 long val2 ;
13665 int ecode2 = 0 ;
13666 PyObject * obj0 = 0 ;
13667 PyObject * obj1 = 0 ;
13668 char * kwnames[] = {
13669 (char *) "self",(char *) "pos", NULL
13670 };
13671
13672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13674 if (!SWIG_IsOK(res1)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13676 }
13677 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13678 ecode2 = SWIG_AsVal_long(obj1, &val2);
13679 if (!SWIG_IsOK(ecode2)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13681 }
13682 arg2 = static_cast< long >(val2);
13683 {
13684 PyThreadState* __tstate = wxPyBeginAllowThreads();
13685 (arg1)->SetInsertionPoint(arg2);
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 resultobj = SWIG_Py_Void();
13690 return resultobj;
13691 fail:
13692 return NULL;
13693 }
13694
13695
13696 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13697 PyObject *resultobj = 0;
13698 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13699 void *argp1 = 0 ;
13700 int res1 = 0 ;
13701 PyObject *swig_obj[1] ;
13702
13703 if (!args) SWIG_fail;
13704 swig_obj[0] = args;
13705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13706 if (!SWIG_IsOK(res1)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13708 }
13709 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 (arg1)->SetInsertionPointEnd();
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 resultobj = SWIG_Py_Void();
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13724 PyObject *resultobj = 0;
13725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13726 long result;
13727 void *argp1 = 0 ;
13728 int res1 = 0 ;
13729 PyObject *swig_obj[1] ;
13730
13731 if (!args) SWIG_fail;
13732 swig_obj[0] = args;
13733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13734 if (!SWIG_IsOK(res1)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13736 }
13737 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = SWIG_From_long(static_cast< long >(result));
13745 return resultobj;
13746 fail:
13747 return NULL;
13748 }
13749
13750
13751 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13752 PyObject *resultobj = 0;
13753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13754 long result;
13755 void *argp1 = 0 ;
13756 int res1 = 0 ;
13757 PyObject *swig_obj[1] ;
13758
13759 if (!args) SWIG_fail;
13760 swig_obj[0] = args;
13761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13762 if (!SWIG_IsOK(res1)) {
13763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13764 }
13765 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 resultobj = SWIG_From_long(static_cast< long >(result));
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj = 0;
13781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13782 long arg2 ;
13783 long arg3 ;
13784 void *argp1 = 0 ;
13785 int res1 = 0 ;
13786 long val2 ;
13787 int ecode2 = 0 ;
13788 long val3 ;
13789 int ecode3 = 0 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 PyObject * obj2 = 0 ;
13793 char * kwnames[] = {
13794 (char *) "self",(char *) "from",(char *) "to", NULL
13795 };
13796
13797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13799 if (!SWIG_IsOK(res1)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13801 }
13802 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13803 ecode2 = SWIG_AsVal_long(obj1, &val2);
13804 if (!SWIG_IsOK(ecode2)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13806 }
13807 arg2 = static_cast< long >(val2);
13808 ecode3 = SWIG_AsVal_long(obj2, &val3);
13809 if (!SWIG_IsOK(ecode3)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13811 }
13812 arg3 = static_cast< long >(val3);
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 (arg1)->SetSelection(arg2,arg3);
13816 wxPyEndAllowThreads(__tstate);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 }
13819 resultobj = SWIG_Py_Void();
13820 return resultobj;
13821 fail:
13822 return NULL;
13823 }
13824
13825
13826 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13827 PyObject *resultobj = 0;
13828 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13829 void *argp1 = 0 ;
13830 int res1 = 0 ;
13831 PyObject *swig_obj[1] ;
13832
13833 if (!args) SWIG_fail;
13834 swig_obj[0] = args;
13835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13836 if (!SWIG_IsOK(res1)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13838 }
13839 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 (arg1)->SelectAll();
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = SWIG_Py_Void();
13847 return resultobj;
13848 fail:
13849 return NULL;
13850 }
13851
13852
13853 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13854 PyObject *resultobj = 0;
13855 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13856 bool arg2 ;
13857 void *argp1 = 0 ;
13858 int res1 = 0 ;
13859 bool val2 ;
13860 int ecode2 = 0 ;
13861 PyObject * obj0 = 0 ;
13862 PyObject * obj1 = 0 ;
13863 char * kwnames[] = {
13864 (char *) "self",(char *) "editable", NULL
13865 };
13866
13867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13869 if (!SWIG_IsOK(res1)) {
13870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13871 }
13872 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13873 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13874 if (!SWIG_IsOK(ecode2)) {
13875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13876 }
13877 arg2 = static_cast< bool >(val2);
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 (arg1)->SetEditable(arg2);
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 resultobj = SWIG_Py_Void();
13885 return resultobj;
13886 fail:
13887 return NULL;
13888 }
13889
13890
13891 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13892 PyObject *resultobj = 0;
13893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13894 void *argp1 = 0 ;
13895 int res1 = 0 ;
13896 PyObject *swig_obj[1] ;
13897
13898 if (!args) SWIG_fail;
13899 swig_obj[0] = args;
13900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13901 if (!SWIG_IsOK(res1)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13903 }
13904 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->SendTextUpdatedEvent();
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 resultobj = SWIG_Py_Void();
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj = 0;
13920 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13921 wxString *arg2 = 0 ;
13922 void *argp1 = 0 ;
13923 int res1 = 0 ;
13924 bool temp2 = false ;
13925 PyObject * obj0 = 0 ;
13926 PyObject * obj1 = 0 ;
13927 char * kwnames[] = {
13928 (char *) "self",(char *) "text", NULL
13929 };
13930
13931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13933 if (!SWIG_IsOK(res1)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13935 }
13936 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13937 {
13938 arg2 = wxString_in_helper(obj1);
13939 if (arg2 == NULL) SWIG_fail;
13940 temp2 = true;
13941 }
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13945 wxPyEndAllowThreads(__tstate);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 resultobj = SWIG_Py_Void();
13949 {
13950 if (temp2)
13951 delete arg2;
13952 }
13953 return resultobj;
13954 fail:
13955 {
13956 if (temp2)
13957 delete arg2;
13958 }
13959 return NULL;
13960 }
13961
13962
13963 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj = 0;
13965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13966 long arg2 ;
13967 long arg3 ;
13968 wxString result;
13969 void *argp1 = 0 ;
13970 int res1 = 0 ;
13971 long val2 ;
13972 int ecode2 = 0 ;
13973 long val3 ;
13974 int ecode3 = 0 ;
13975 PyObject * obj0 = 0 ;
13976 PyObject * obj1 = 0 ;
13977 PyObject * obj2 = 0 ;
13978 char * kwnames[] = {
13979 (char *) "self",(char *) "from",(char *) "to", NULL
13980 };
13981
13982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13986 }
13987 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13988 ecode2 = SWIG_AsVal_long(obj1, &val2);
13989 if (!SWIG_IsOK(ecode2)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13991 }
13992 arg2 = static_cast< long >(val2);
13993 ecode3 = SWIG_AsVal_long(obj2, &val3);
13994 if (!SWIG_IsOK(ecode3)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13996 }
13997 arg3 = static_cast< long >(val3);
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 {
14005 #if wxUSE_UNICODE
14006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14007 #else
14008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14009 #endif
14010 }
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj = 0;
14019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14020 SwigValueWrapper<wxVisualAttributes > result;
14021 int val1 ;
14022 int ecode1 = 0 ;
14023 PyObject * obj0 = 0 ;
14024 char * kwnames[] = {
14025 (char *) "variant", NULL
14026 };
14027
14028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14029 if (obj0) {
14030 ecode1 = SWIG_AsVal_int(obj0, &val1);
14031 if (!SWIG_IsOK(ecode1)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14033 }
14034 arg1 = static_cast< wxWindowVariant >(val1);
14035 }
14036 {
14037 if (!wxPyCheckForApp()) SWIG_fail;
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14044 return resultobj;
14045 fail:
14046 return NULL;
14047 }
14048
14049
14050 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14051 PyObject *obj;
14052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14053 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14054 return SWIG_Py_Void();
14055 }
14056
14057 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14058 return SWIG_Python_InitShadowInstance(args);
14059 }
14060
14061 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = 0;
14063 int arg1 ;
14064 wxMouseEvent *arg2 = 0 ;
14065 long arg3 ;
14066 long arg4 ;
14067 wxTextUrlEvent *result = 0 ;
14068 int val1 ;
14069 int ecode1 = 0 ;
14070 void *argp2 = 0 ;
14071 int res2 = 0 ;
14072 long val3 ;
14073 int ecode3 = 0 ;
14074 long val4 ;
14075 int ecode4 = 0 ;
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 PyObject * obj2 = 0 ;
14079 PyObject * obj3 = 0 ;
14080 char * kwnames[] = {
14081 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14082 };
14083
14084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14085 ecode1 = SWIG_AsVal_int(obj0, &val1);
14086 if (!SWIG_IsOK(ecode1)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14088 }
14089 arg1 = static_cast< int >(val1);
14090 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14091 if (!SWIG_IsOK(res2)) {
14092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14093 }
14094 if (!argp2) {
14095 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14096 }
14097 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14098 ecode3 = SWIG_AsVal_long(obj2, &val3);
14099 if (!SWIG_IsOK(ecode3)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14101 }
14102 arg3 = static_cast< long >(val3);
14103 ecode4 = SWIG_AsVal_long(obj3, &val4);
14104 if (!SWIG_IsOK(ecode4)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14106 }
14107 arg4 = static_cast< long >(val4);
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14122 PyObject *resultobj = 0;
14123 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14124 wxMouseEvent *result = 0 ;
14125 void *argp1 = 0 ;
14126 int res1 = 0 ;
14127 PyObject *swig_obj[1] ;
14128
14129 if (!args) SWIG_fail;
14130 swig_obj[0] = args;
14131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14132 if (!SWIG_IsOK(res1)) {
14133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14134 }
14135 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 {
14139 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14140 result = (wxMouseEvent *) &_result_ref;
14141 }
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14146 return resultobj;
14147 fail:
14148 return NULL;
14149 }
14150
14151
14152 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14153 PyObject *resultobj = 0;
14154 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14155 long result;
14156 void *argp1 = 0 ;
14157 int res1 = 0 ;
14158 PyObject *swig_obj[1] ;
14159
14160 if (!args) SWIG_fail;
14161 swig_obj[0] = args;
14162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14163 if (!SWIG_IsOK(res1)) {
14164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14165 }
14166 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 resultobj = SWIG_From_long(static_cast< long >(result));
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14181 PyObject *resultobj = 0;
14182 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14183 long result;
14184 void *argp1 = 0 ;
14185 int res1 = 0 ;
14186 PyObject *swig_obj[1] ;
14187
14188 if (!args) SWIG_fail;
14189 swig_obj[0] = args;
14190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14191 if (!SWIG_IsOK(res1)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14193 }
14194 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 resultobj = SWIG_From_long(static_cast< long >(result));
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14209 PyObject *obj;
14210 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14211 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14212 return SWIG_Py_Void();
14213 }
14214
14215 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14216 return SWIG_Python_InitShadowInstance(args);
14217 }
14218
14219 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14220 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14221 return 1;
14222 }
14223
14224
14225 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14226 PyObject *pyobj = 0;
14227
14228 {
14229 #if wxUSE_UNICODE
14230 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14231 #else
14232 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14233 #endif
14234 }
14235 return pyobj;
14236 }
14237
14238
14239 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj = 0;
14241 wxWindow *arg1 = (wxWindow *) 0 ;
14242 int arg2 = (int) -1 ;
14243 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14244 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14245 wxSize const &arg4_defvalue = wxDefaultSize ;
14246 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14247 long arg5 = (long) wxSB_HORIZONTAL ;
14248 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14249 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14250 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14251 wxString *arg7 = (wxString *) &arg7_defvalue ;
14252 wxScrollBar *result = 0 ;
14253 void *argp1 = 0 ;
14254 int res1 = 0 ;
14255 int val2 ;
14256 int ecode2 = 0 ;
14257 wxPoint temp3 ;
14258 wxSize temp4 ;
14259 long val5 ;
14260 int ecode5 = 0 ;
14261 void *argp6 = 0 ;
14262 int res6 = 0 ;
14263 bool temp7 = false ;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 PyObject * obj2 = 0 ;
14267 PyObject * obj3 = 0 ;
14268 PyObject * obj4 = 0 ;
14269 PyObject * obj5 = 0 ;
14270 PyObject * obj6 = 0 ;
14271 char * kwnames[] = {
14272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14273 };
14274
14275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14277 if (!SWIG_IsOK(res1)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14279 }
14280 arg1 = reinterpret_cast< wxWindow * >(argp1);
14281 if (obj1) {
14282 ecode2 = SWIG_AsVal_int(obj1, &val2);
14283 if (!SWIG_IsOK(ecode2)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14285 }
14286 arg2 = static_cast< int >(val2);
14287 }
14288 if (obj2) {
14289 {
14290 arg3 = &temp3;
14291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14292 }
14293 }
14294 if (obj3) {
14295 {
14296 arg4 = &temp4;
14297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14298 }
14299 }
14300 if (obj4) {
14301 ecode5 = SWIG_AsVal_long(obj4, &val5);
14302 if (!SWIG_IsOK(ecode5)) {
14303 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14304 }
14305 arg5 = static_cast< long >(val5);
14306 }
14307 if (obj5) {
14308 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14309 if (!SWIG_IsOK(res6)) {
14310 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14311 }
14312 if (!argp6) {
14313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14314 }
14315 arg6 = reinterpret_cast< wxValidator * >(argp6);
14316 }
14317 if (obj6) {
14318 {
14319 arg7 = wxString_in_helper(obj6);
14320 if (arg7 == NULL) SWIG_fail;
14321 temp7 = true;
14322 }
14323 }
14324 {
14325 if (!wxPyCheckForApp()) SWIG_fail;
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14332 {
14333 if (temp7)
14334 delete arg7;
14335 }
14336 return resultobj;
14337 fail:
14338 {
14339 if (temp7)
14340 delete arg7;
14341 }
14342 return NULL;
14343 }
14344
14345
14346 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14347 PyObject *resultobj = 0;
14348 wxScrollBar *result = 0 ;
14349
14350 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14351 {
14352 if (!wxPyCheckForApp()) SWIG_fail;
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (wxScrollBar *)new wxScrollBar();
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj = 0;
14367 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14368 wxWindow *arg2 = (wxWindow *) 0 ;
14369 int arg3 = (int) -1 ;
14370 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14371 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14372 wxSize const &arg5_defvalue = wxDefaultSize ;
14373 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14374 long arg6 = (long) wxSB_HORIZONTAL ;
14375 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14376 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14377 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14378 wxString *arg8 = (wxString *) &arg8_defvalue ;
14379 bool result;
14380 void *argp1 = 0 ;
14381 int res1 = 0 ;
14382 void *argp2 = 0 ;
14383 int res2 = 0 ;
14384 int val3 ;
14385 int ecode3 = 0 ;
14386 wxPoint temp4 ;
14387 wxSize temp5 ;
14388 long val6 ;
14389 int ecode6 = 0 ;
14390 void *argp7 = 0 ;
14391 int res7 = 0 ;
14392 bool temp8 = false ;
14393 PyObject * obj0 = 0 ;
14394 PyObject * obj1 = 0 ;
14395 PyObject * obj2 = 0 ;
14396 PyObject * obj3 = 0 ;
14397 PyObject * obj4 = 0 ;
14398 PyObject * obj5 = 0 ;
14399 PyObject * obj6 = 0 ;
14400 PyObject * obj7 = 0 ;
14401 char * kwnames[] = {
14402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14403 };
14404
14405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14407 if (!SWIG_IsOK(res1)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14409 }
14410 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14412 if (!SWIG_IsOK(res2)) {
14413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14414 }
14415 arg2 = reinterpret_cast< wxWindow * >(argp2);
14416 if (obj2) {
14417 ecode3 = SWIG_AsVal_int(obj2, &val3);
14418 if (!SWIG_IsOK(ecode3)) {
14419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14420 }
14421 arg3 = static_cast< int >(val3);
14422 }
14423 if (obj3) {
14424 {
14425 arg4 = &temp4;
14426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14427 }
14428 }
14429 if (obj4) {
14430 {
14431 arg5 = &temp5;
14432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14433 }
14434 }
14435 if (obj5) {
14436 ecode6 = SWIG_AsVal_long(obj5, &val6);
14437 if (!SWIG_IsOK(ecode6)) {
14438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14439 }
14440 arg6 = static_cast< long >(val6);
14441 }
14442 if (obj6) {
14443 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14444 if (!SWIG_IsOK(res7)) {
14445 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14446 }
14447 if (!argp7) {
14448 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14449 }
14450 arg7 = reinterpret_cast< wxValidator * >(argp7);
14451 }
14452 if (obj7) {
14453 {
14454 arg8 = wxString_in_helper(obj7);
14455 if (arg8 == NULL) SWIG_fail;
14456 temp8 = true;
14457 }
14458 }
14459 {
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 {
14466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14467 }
14468 {
14469 if (temp8)
14470 delete arg8;
14471 }
14472 return resultobj;
14473 fail:
14474 {
14475 if (temp8)
14476 delete arg8;
14477 }
14478 return NULL;
14479 }
14480
14481
14482 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14483 PyObject *resultobj = 0;
14484 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14485 int result;
14486 void *argp1 = 0 ;
14487 int res1 = 0 ;
14488 PyObject *swig_obj[1] ;
14489
14490 if (!args) SWIG_fail;
14491 swig_obj[0] = args;
14492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14493 if (!SWIG_IsOK(res1)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14495 }
14496 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 resultobj = SWIG_From_int(static_cast< int >(result));
14504 return resultobj;
14505 fail:
14506 return NULL;
14507 }
14508
14509
14510 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14511 PyObject *resultobj = 0;
14512 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14513 int result;
14514 void *argp1 = 0 ;
14515 int res1 = 0 ;
14516 PyObject *swig_obj[1] ;
14517
14518 if (!args) SWIG_fail;
14519 swig_obj[0] = args;
14520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14521 if (!SWIG_IsOK(res1)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14523 }
14524 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 resultobj = SWIG_From_int(static_cast< int >(result));
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14539 PyObject *resultobj = 0;
14540 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14541 int result;
14542 void *argp1 = 0 ;
14543 int res1 = 0 ;
14544 PyObject *swig_obj[1] ;
14545
14546 if (!args) SWIG_fail;
14547 swig_obj[0] = args;
14548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14549 if (!SWIG_IsOK(res1)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14551 }
14552 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 resultobj = SWIG_From_int(static_cast< int >(result));
14560 return resultobj;
14561 fail:
14562 return NULL;
14563 }
14564
14565
14566 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14567 PyObject *resultobj = 0;
14568 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14569 int result;
14570 void *argp1 = 0 ;
14571 int res1 = 0 ;
14572 PyObject *swig_obj[1] ;
14573
14574 if (!args) SWIG_fail;
14575 swig_obj[0] = args;
14576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14577 if (!SWIG_IsOK(res1)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14579 }
14580 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (int)((wxScrollBar const *)arg1)->GetRange();
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 resultobj = SWIG_From_int(static_cast< int >(result));
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14595 PyObject *resultobj = 0;
14596 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14597 bool result;
14598 void *argp1 = 0 ;
14599 int res1 = 0 ;
14600 PyObject *swig_obj[1] ;
14601
14602 if (!args) SWIG_fail;
14603 swig_obj[0] = args;
14604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14605 if (!SWIG_IsOK(res1)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14607 }
14608 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14612 wxPyEndAllowThreads(__tstate);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 {
14616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14617 }
14618 return resultobj;
14619 fail:
14620 return NULL;
14621 }
14622
14623
14624 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj = 0;
14626 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14627 int arg2 ;
14628 void *argp1 = 0 ;
14629 int res1 = 0 ;
14630 int val2 ;
14631 int ecode2 = 0 ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj1 = 0 ;
14634 char * kwnames[] = {
14635 (char *) "self",(char *) "viewStart", NULL
14636 };
14637
14638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14640 if (!SWIG_IsOK(res1)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14642 }
14643 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14644 ecode2 = SWIG_AsVal_int(obj1, &val2);
14645 if (!SWIG_IsOK(ecode2)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14647 }
14648 arg2 = static_cast< int >(val2);
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 (arg1)->SetThumbPosition(arg2);
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 resultobj = SWIG_Py_Void();
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj = 0;
14664 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14665 SwigValueWrapper<wxVisualAttributes > result;
14666 int val1 ;
14667 int ecode1 = 0 ;
14668 PyObject * obj0 = 0 ;
14669 char * kwnames[] = {
14670 (char *) "variant", NULL
14671 };
14672
14673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14674 if (obj0) {
14675 ecode1 = SWIG_AsVal_int(obj0, &val1);
14676 if (!SWIG_IsOK(ecode1)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14678 }
14679 arg1 = static_cast< wxWindowVariant >(val1);
14680 }
14681 {
14682 if (!wxPyCheckForApp()) SWIG_fail;
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14689 return resultobj;
14690 fail:
14691 return NULL;
14692 }
14693
14694
14695 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14696 PyObject *obj;
14697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14698 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14699 return SWIG_Py_Void();
14700 }
14701
14702 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14703 return SWIG_Python_InitShadowInstance(args);
14704 }
14705
14706 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14707 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14708 return 1;
14709 }
14710
14711
14712 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14713 PyObject *pyobj = 0;
14714
14715 {
14716 #if wxUSE_UNICODE
14717 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14718 #else
14719 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14720 #endif
14721 }
14722 return pyobj;
14723 }
14724
14725
14726 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14727 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14728 return 1;
14729 }
14730
14731
14732 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14733 PyObject *pyobj = 0;
14734
14735 {
14736 #if wxUSE_UNICODE
14737 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14738 #else
14739 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14740 #endif
14741 }
14742 return pyobj;
14743 }
14744
14745
14746 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj = 0;
14748 wxWindow *arg1 = (wxWindow *) 0 ;
14749 int arg2 = (int) -1 ;
14750 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14751 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14752 wxSize const &arg4_defvalue = wxDefaultSize ;
14753 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14754 long arg5 = (long) wxSP_HORIZONTAL ;
14755 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14756 wxString *arg6 = (wxString *) &arg6_defvalue ;
14757 wxSpinButton *result = 0 ;
14758 void *argp1 = 0 ;
14759 int res1 = 0 ;
14760 int val2 ;
14761 int ecode2 = 0 ;
14762 wxPoint temp3 ;
14763 wxSize temp4 ;
14764 long val5 ;
14765 int ecode5 = 0 ;
14766 bool temp6 = false ;
14767 PyObject * obj0 = 0 ;
14768 PyObject * obj1 = 0 ;
14769 PyObject * obj2 = 0 ;
14770 PyObject * obj3 = 0 ;
14771 PyObject * obj4 = 0 ;
14772 PyObject * obj5 = 0 ;
14773 char * kwnames[] = {
14774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14775 };
14776
14777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14779 if (!SWIG_IsOK(res1)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14781 }
14782 arg1 = reinterpret_cast< wxWindow * >(argp1);
14783 if (obj1) {
14784 ecode2 = SWIG_AsVal_int(obj1, &val2);
14785 if (!SWIG_IsOK(ecode2)) {
14786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14787 }
14788 arg2 = static_cast< int >(val2);
14789 }
14790 if (obj2) {
14791 {
14792 arg3 = &temp3;
14793 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14794 }
14795 }
14796 if (obj3) {
14797 {
14798 arg4 = &temp4;
14799 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14800 }
14801 }
14802 if (obj4) {
14803 ecode5 = SWIG_AsVal_long(obj4, &val5);
14804 if (!SWIG_IsOK(ecode5)) {
14805 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14806 }
14807 arg5 = static_cast< long >(val5);
14808 }
14809 if (obj5) {
14810 {
14811 arg6 = wxString_in_helper(obj5);
14812 if (arg6 == NULL) SWIG_fail;
14813 temp6 = true;
14814 }
14815 }
14816 {
14817 if (!wxPyCheckForApp()) SWIG_fail;
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14824 {
14825 if (temp6)
14826 delete arg6;
14827 }
14828 return resultobj;
14829 fail:
14830 {
14831 if (temp6)
14832 delete arg6;
14833 }
14834 return NULL;
14835 }
14836
14837
14838 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxSpinButton *result = 0 ;
14841
14842 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14843 {
14844 if (!wxPyCheckForApp()) SWIG_fail;
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (wxSpinButton *)new wxSpinButton();
14847 wxPyEndAllowThreads(__tstate);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14851 return resultobj;
14852 fail:
14853 return NULL;
14854 }
14855
14856
14857 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14858 PyObject *resultobj = 0;
14859 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14860 wxWindow *arg2 = (wxWindow *) 0 ;
14861 int arg3 = (int) -1 ;
14862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14864 wxSize const &arg5_defvalue = wxDefaultSize ;
14865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14866 long arg6 = (long) wxSP_HORIZONTAL ;
14867 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14868 wxString *arg7 = (wxString *) &arg7_defvalue ;
14869 bool result;
14870 void *argp1 = 0 ;
14871 int res1 = 0 ;
14872 void *argp2 = 0 ;
14873 int res2 = 0 ;
14874 int val3 ;
14875 int ecode3 = 0 ;
14876 wxPoint temp4 ;
14877 wxSize temp5 ;
14878 long val6 ;
14879 int ecode6 = 0 ;
14880 bool temp7 = false ;
14881 PyObject * obj0 = 0 ;
14882 PyObject * obj1 = 0 ;
14883 PyObject * obj2 = 0 ;
14884 PyObject * obj3 = 0 ;
14885 PyObject * obj4 = 0 ;
14886 PyObject * obj5 = 0 ;
14887 PyObject * obj6 = 0 ;
14888 char * kwnames[] = {
14889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14890 };
14891
14892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14894 if (!SWIG_IsOK(res1)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14896 }
14897 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14899 if (!SWIG_IsOK(res2)) {
14900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14901 }
14902 arg2 = reinterpret_cast< wxWindow * >(argp2);
14903 if (obj2) {
14904 ecode3 = SWIG_AsVal_int(obj2, &val3);
14905 if (!SWIG_IsOK(ecode3)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14907 }
14908 arg3 = static_cast< int >(val3);
14909 }
14910 if (obj3) {
14911 {
14912 arg4 = &temp4;
14913 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14914 }
14915 }
14916 if (obj4) {
14917 {
14918 arg5 = &temp5;
14919 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14920 }
14921 }
14922 if (obj5) {
14923 ecode6 = SWIG_AsVal_long(obj5, &val6);
14924 if (!SWIG_IsOK(ecode6)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14926 }
14927 arg6 = static_cast< long >(val6);
14928 }
14929 if (obj6) {
14930 {
14931 arg7 = wxString_in_helper(obj6);
14932 if (arg7 == NULL) SWIG_fail;
14933 temp7 = true;
14934 }
14935 }
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14944 }
14945 {
14946 if (temp7)
14947 delete arg7;
14948 }
14949 return resultobj;
14950 fail:
14951 {
14952 if (temp7)
14953 delete arg7;
14954 }
14955 return NULL;
14956 }
14957
14958
14959 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14960 PyObject *resultobj = 0;
14961 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14962 int result;
14963 void *argp1 = 0 ;
14964 int res1 = 0 ;
14965 PyObject *swig_obj[1] ;
14966
14967 if (!args) SWIG_fail;
14968 swig_obj[0] = args;
14969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14970 if (!SWIG_IsOK(res1)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14972 }
14973 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 result = (int)((wxSpinButton const *)arg1)->GetValue();
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 resultobj = SWIG_From_int(static_cast< int >(result));
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14988 PyObject *resultobj = 0;
14989 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14990 int result;
14991 void *argp1 = 0 ;
14992 int res1 = 0 ;
14993 PyObject *swig_obj[1] ;
14994
14995 if (!args) SWIG_fail;
14996 swig_obj[0] = args;
14997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14998 if (!SWIG_IsOK(res1)) {
14999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15000 }
15001 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 result = (int)((wxSpinButton const *)arg1)->GetMin();
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 resultobj = SWIG_From_int(static_cast< int >(result));
15009 return resultobj;
15010 fail:
15011 return NULL;
15012 }
15013
15014
15015 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15016 PyObject *resultobj = 0;
15017 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15018 int result;
15019 void *argp1 = 0 ;
15020 int res1 = 0 ;
15021 PyObject *swig_obj[1] ;
15022
15023 if (!args) SWIG_fail;
15024 swig_obj[0] = args;
15025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15026 if (!SWIG_IsOK(res1)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15028 }
15029 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (int)((wxSpinButton const *)arg1)->GetMax();
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 resultobj = SWIG_From_int(static_cast< int >(result));
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj = 0;
15045 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15046 int arg2 ;
15047 void *argp1 = 0 ;
15048 int res1 = 0 ;
15049 int val2 ;
15050 int ecode2 = 0 ;
15051 PyObject * obj0 = 0 ;
15052 PyObject * obj1 = 0 ;
15053 char * kwnames[] = {
15054 (char *) "self",(char *) "val", NULL
15055 };
15056
15057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15059 if (!SWIG_IsOK(res1)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15061 }
15062 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15063 ecode2 = SWIG_AsVal_int(obj1, &val2);
15064 if (!SWIG_IsOK(ecode2)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15066 }
15067 arg2 = static_cast< int >(val2);
15068 {
15069 PyThreadState* __tstate = wxPyBeginAllowThreads();
15070 (arg1)->SetValue(arg2);
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 resultobj = SWIG_Py_Void();
15075 return resultobj;
15076 fail:
15077 return NULL;
15078 }
15079
15080
15081 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj = 0;
15083 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15084 int arg2 ;
15085 void *argp1 = 0 ;
15086 int res1 = 0 ;
15087 int val2 ;
15088 int ecode2 = 0 ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
15091 char * kwnames[] = {
15092 (char *) "self",(char *) "minVal", NULL
15093 };
15094
15095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15097 if (!SWIG_IsOK(res1)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15099 }
15100 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15101 ecode2 = SWIG_AsVal_int(obj1, &val2);
15102 if (!SWIG_IsOK(ecode2)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15104 }
15105 arg2 = static_cast< int >(val2);
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 (arg1)->SetMin(arg2);
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 resultobj = SWIG_Py_Void();
15113 return resultobj;
15114 fail:
15115 return NULL;
15116 }
15117
15118
15119 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj = 0;
15121 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15122 int arg2 ;
15123 void *argp1 = 0 ;
15124 int res1 = 0 ;
15125 int val2 ;
15126 int ecode2 = 0 ;
15127 PyObject * obj0 = 0 ;
15128 PyObject * obj1 = 0 ;
15129 char * kwnames[] = {
15130 (char *) "self",(char *) "maxVal", NULL
15131 };
15132
15133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15135 if (!SWIG_IsOK(res1)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15137 }
15138 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15139 ecode2 = SWIG_AsVal_int(obj1, &val2);
15140 if (!SWIG_IsOK(ecode2)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15142 }
15143 arg2 = static_cast< int >(val2);
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 (arg1)->SetMax(arg2);
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 resultobj = SWIG_Py_Void();
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj = 0;
15159 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15160 int arg2 ;
15161 int arg3 ;
15162 void *argp1 = 0 ;
15163 int res1 = 0 ;
15164 int val2 ;
15165 int ecode2 = 0 ;
15166 int val3 ;
15167 int ecode3 = 0 ;
15168 PyObject * obj0 = 0 ;
15169 PyObject * obj1 = 0 ;
15170 PyObject * obj2 = 0 ;
15171 char * kwnames[] = {
15172 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15173 };
15174
15175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15177 if (!SWIG_IsOK(res1)) {
15178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15179 }
15180 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15181 ecode2 = SWIG_AsVal_int(obj1, &val2);
15182 if (!SWIG_IsOK(ecode2)) {
15183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15184 }
15185 arg2 = static_cast< int >(val2);
15186 ecode3 = SWIG_AsVal_int(obj2, &val3);
15187 if (!SWIG_IsOK(ecode3)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15189 }
15190 arg3 = static_cast< int >(val3);
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 (arg1)->SetRange(arg2,arg3);
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 resultobj = SWIG_Py_Void();
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15205 PyObject *resultobj = 0;
15206 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15207 bool result;
15208 void *argp1 = 0 ;
15209 int res1 = 0 ;
15210 PyObject *swig_obj[1] ;
15211
15212 if (!args) SWIG_fail;
15213 swig_obj[0] = args;
15214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15215 if (!SWIG_IsOK(res1)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15217 }
15218 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15227 }
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj = 0;
15236 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15237 SwigValueWrapper<wxVisualAttributes > result;
15238 int val1 ;
15239 int ecode1 = 0 ;
15240 PyObject * obj0 = 0 ;
15241 char * kwnames[] = {
15242 (char *) "variant", NULL
15243 };
15244
15245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15246 if (obj0) {
15247 ecode1 = SWIG_AsVal_int(obj0, &val1);
15248 if (!SWIG_IsOK(ecode1)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15250 }
15251 arg1 = static_cast< wxWindowVariant >(val1);
15252 }
15253 {
15254 if (!wxPyCheckForApp()) SWIG_fail;
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15268 PyObject *obj;
15269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15270 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15271 return SWIG_Py_Void();
15272 }
15273
15274 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15275 return SWIG_Python_InitShadowInstance(args);
15276 }
15277
15278 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj = 0;
15280 wxWindow *arg1 = (wxWindow *) 0 ;
15281 int arg2 = (int) -1 ;
15282 wxString const &arg3_defvalue = wxPyEmptyString ;
15283 wxString *arg3 = (wxString *) &arg3_defvalue ;
15284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15286 wxSize const &arg5_defvalue = wxDefaultSize ;
15287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15288 long arg6 = (long) wxSP_ARROW_KEYS ;
15289 int arg7 = (int) 0 ;
15290 int arg8 = (int) 100 ;
15291 int arg9 = (int) 0 ;
15292 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15293 wxString *arg10 = (wxString *) &arg10_defvalue ;
15294 wxSpinCtrl *result = 0 ;
15295 void *argp1 = 0 ;
15296 int res1 = 0 ;
15297 int val2 ;
15298 int ecode2 = 0 ;
15299 bool temp3 = false ;
15300 wxPoint temp4 ;
15301 wxSize temp5 ;
15302 long val6 ;
15303 int ecode6 = 0 ;
15304 int val7 ;
15305 int ecode7 = 0 ;
15306 int val8 ;
15307 int ecode8 = 0 ;
15308 int val9 ;
15309 int ecode9 = 0 ;
15310 bool temp10 = false ;
15311 PyObject * obj0 = 0 ;
15312 PyObject * obj1 = 0 ;
15313 PyObject * obj2 = 0 ;
15314 PyObject * obj3 = 0 ;
15315 PyObject * obj4 = 0 ;
15316 PyObject * obj5 = 0 ;
15317 PyObject * obj6 = 0 ;
15318 PyObject * obj7 = 0 ;
15319 PyObject * obj8 = 0 ;
15320 PyObject * obj9 = 0 ;
15321 char * kwnames[] = {
15322 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15323 };
15324
15325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15327 if (!SWIG_IsOK(res1)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15329 }
15330 arg1 = reinterpret_cast< wxWindow * >(argp1);
15331 if (obj1) {
15332 ecode2 = SWIG_AsVal_int(obj1, &val2);
15333 if (!SWIG_IsOK(ecode2)) {
15334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15335 }
15336 arg2 = static_cast< int >(val2);
15337 }
15338 if (obj2) {
15339 {
15340 arg3 = wxString_in_helper(obj2);
15341 if (arg3 == NULL) SWIG_fail;
15342 temp3 = true;
15343 }
15344 }
15345 if (obj3) {
15346 {
15347 arg4 = &temp4;
15348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15349 }
15350 }
15351 if (obj4) {
15352 {
15353 arg5 = &temp5;
15354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15355 }
15356 }
15357 if (obj5) {
15358 ecode6 = SWIG_AsVal_long(obj5, &val6);
15359 if (!SWIG_IsOK(ecode6)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15361 }
15362 arg6 = static_cast< long >(val6);
15363 }
15364 if (obj6) {
15365 ecode7 = SWIG_AsVal_int(obj6, &val7);
15366 if (!SWIG_IsOK(ecode7)) {
15367 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15368 }
15369 arg7 = static_cast< int >(val7);
15370 }
15371 if (obj7) {
15372 ecode8 = SWIG_AsVal_int(obj7, &val8);
15373 if (!SWIG_IsOK(ecode8)) {
15374 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15375 }
15376 arg8 = static_cast< int >(val8);
15377 }
15378 if (obj8) {
15379 ecode9 = SWIG_AsVal_int(obj8, &val9);
15380 if (!SWIG_IsOK(ecode9)) {
15381 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15382 }
15383 arg9 = static_cast< int >(val9);
15384 }
15385 if (obj9) {
15386 {
15387 arg10 = wxString_in_helper(obj9);
15388 if (arg10 == NULL) SWIG_fail;
15389 temp10 = true;
15390 }
15391 }
15392 {
15393 if (!wxPyCheckForApp()) SWIG_fail;
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15400 {
15401 if (temp3)
15402 delete arg3;
15403 }
15404 {
15405 if (temp10)
15406 delete arg10;
15407 }
15408 return resultobj;
15409 fail:
15410 {
15411 if (temp3)
15412 delete arg3;
15413 }
15414 {
15415 if (temp10)
15416 delete arg10;
15417 }
15418 return NULL;
15419 }
15420
15421
15422 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15423 PyObject *resultobj = 0;
15424 wxSpinCtrl *result = 0 ;
15425
15426 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15427 {
15428 if (!wxPyCheckForApp()) SWIG_fail;
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 result = (wxSpinCtrl *)new wxSpinCtrl();
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj = 0;
15443 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15444 wxWindow *arg2 = (wxWindow *) 0 ;
15445 int arg3 = (int) -1 ;
15446 wxString const &arg4_defvalue = wxPyEmptyString ;
15447 wxString *arg4 = (wxString *) &arg4_defvalue ;
15448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15450 wxSize const &arg6_defvalue = wxDefaultSize ;
15451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15452 long arg7 = (long) wxSP_ARROW_KEYS ;
15453 int arg8 = (int) 0 ;
15454 int arg9 = (int) 100 ;
15455 int arg10 = (int) 0 ;
15456 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15457 wxString *arg11 = (wxString *) &arg11_defvalue ;
15458 bool result;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 void *argp2 = 0 ;
15462 int res2 = 0 ;
15463 int val3 ;
15464 int ecode3 = 0 ;
15465 bool temp4 = false ;
15466 wxPoint temp5 ;
15467 wxSize temp6 ;
15468 long val7 ;
15469 int ecode7 = 0 ;
15470 int val8 ;
15471 int ecode8 = 0 ;
15472 int val9 ;
15473 int ecode9 = 0 ;
15474 int val10 ;
15475 int ecode10 = 0 ;
15476 bool temp11 = false ;
15477 PyObject * obj0 = 0 ;
15478 PyObject * obj1 = 0 ;
15479 PyObject * obj2 = 0 ;
15480 PyObject * obj3 = 0 ;
15481 PyObject * obj4 = 0 ;
15482 PyObject * obj5 = 0 ;
15483 PyObject * obj6 = 0 ;
15484 PyObject * obj7 = 0 ;
15485 PyObject * obj8 = 0 ;
15486 PyObject * obj9 = 0 ;
15487 PyObject * obj10 = 0 ;
15488 char * kwnames[] = {
15489 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15490 };
15491
15492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15494 if (!SWIG_IsOK(res1)) {
15495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15496 }
15497 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15499 if (!SWIG_IsOK(res2)) {
15500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15501 }
15502 arg2 = reinterpret_cast< wxWindow * >(argp2);
15503 if (obj2) {
15504 ecode3 = SWIG_AsVal_int(obj2, &val3);
15505 if (!SWIG_IsOK(ecode3)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15507 }
15508 arg3 = static_cast< int >(val3);
15509 }
15510 if (obj3) {
15511 {
15512 arg4 = wxString_in_helper(obj3);
15513 if (arg4 == NULL) SWIG_fail;
15514 temp4 = true;
15515 }
15516 }
15517 if (obj4) {
15518 {
15519 arg5 = &temp5;
15520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15521 }
15522 }
15523 if (obj5) {
15524 {
15525 arg6 = &temp6;
15526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15527 }
15528 }
15529 if (obj6) {
15530 ecode7 = SWIG_AsVal_long(obj6, &val7);
15531 if (!SWIG_IsOK(ecode7)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15533 }
15534 arg7 = static_cast< long >(val7);
15535 }
15536 if (obj7) {
15537 ecode8 = SWIG_AsVal_int(obj7, &val8);
15538 if (!SWIG_IsOK(ecode8)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15540 }
15541 arg8 = static_cast< int >(val8);
15542 }
15543 if (obj8) {
15544 ecode9 = SWIG_AsVal_int(obj8, &val9);
15545 if (!SWIG_IsOK(ecode9)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15547 }
15548 arg9 = static_cast< int >(val9);
15549 }
15550 if (obj9) {
15551 ecode10 = SWIG_AsVal_int(obj9, &val10);
15552 if (!SWIG_IsOK(ecode10)) {
15553 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15554 }
15555 arg10 = static_cast< int >(val10);
15556 }
15557 if (obj10) {
15558 {
15559 arg11 = wxString_in_helper(obj10);
15560 if (arg11 == NULL) SWIG_fail;
15561 temp11 = true;
15562 }
15563 }
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 {
15571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15572 }
15573 {
15574 if (temp4)
15575 delete arg4;
15576 }
15577 {
15578 if (temp11)
15579 delete arg11;
15580 }
15581 return resultobj;
15582 fail:
15583 {
15584 if (temp4)
15585 delete arg4;
15586 }
15587 {
15588 if (temp11)
15589 delete arg11;
15590 }
15591 return NULL;
15592 }
15593
15594
15595 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15596 PyObject *resultobj = 0;
15597 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15598 int result;
15599 void *argp1 = 0 ;
15600 int res1 = 0 ;
15601 PyObject *swig_obj[1] ;
15602
15603 if (!args) SWIG_fail;
15604 swig_obj[0] = args;
15605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15606 if (!SWIG_IsOK(res1)) {
15607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15608 }
15609 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
15616 resultobj = SWIG_From_int(static_cast< int >(result));
15617 return resultobj;
15618 fail:
15619 return NULL;
15620 }
15621
15622
15623 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15624 PyObject *resultobj = 0;
15625 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15626 int arg2 ;
15627 void *argp1 = 0 ;
15628 int res1 = 0 ;
15629 int val2 ;
15630 int ecode2 = 0 ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 char * kwnames[] = {
15634 (char *) "self",(char *) "value", NULL
15635 };
15636
15637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15639 if (!SWIG_IsOK(res1)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15641 }
15642 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15643 ecode2 = SWIG_AsVal_int(obj1, &val2);
15644 if (!SWIG_IsOK(ecode2)) {
15645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15646 }
15647 arg2 = static_cast< int >(val2);
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 (arg1)->SetValue(arg2);
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 resultobj = SWIG_Py_Void();
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj = 0;
15663 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15664 wxString *arg2 = 0 ;
15665 void *argp1 = 0 ;
15666 int res1 = 0 ;
15667 bool temp2 = false ;
15668 PyObject * obj0 = 0 ;
15669 PyObject * obj1 = 0 ;
15670 char * kwnames[] = {
15671 (char *) "self",(char *) "text", NULL
15672 };
15673
15674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15676 if (!SWIG_IsOK(res1)) {
15677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15678 }
15679 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15680 {
15681 arg2 = wxString_in_helper(obj1);
15682 if (arg2 == NULL) SWIG_fail;
15683 temp2 = true;
15684 }
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 (arg1)->SetValue((wxString const &)*arg2);
15688 wxPyEndAllowThreads(__tstate);
15689 if (PyErr_Occurred()) SWIG_fail;
15690 }
15691 resultobj = SWIG_Py_Void();
15692 {
15693 if (temp2)
15694 delete arg2;
15695 }
15696 return resultobj;
15697 fail:
15698 {
15699 if (temp2)
15700 delete arg2;
15701 }
15702 return NULL;
15703 }
15704
15705
15706 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj = 0;
15708 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15709 int arg2 ;
15710 int arg3 ;
15711 void *argp1 = 0 ;
15712 int res1 = 0 ;
15713 int val2 ;
15714 int ecode2 = 0 ;
15715 int val3 ;
15716 int ecode3 = 0 ;
15717 PyObject * obj0 = 0 ;
15718 PyObject * obj1 = 0 ;
15719 PyObject * obj2 = 0 ;
15720 char * kwnames[] = {
15721 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15722 };
15723
15724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15726 if (!SWIG_IsOK(res1)) {
15727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15728 }
15729 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15730 ecode2 = SWIG_AsVal_int(obj1, &val2);
15731 if (!SWIG_IsOK(ecode2)) {
15732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15733 }
15734 arg2 = static_cast< int >(val2);
15735 ecode3 = SWIG_AsVal_int(obj2, &val3);
15736 if (!SWIG_IsOK(ecode3)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15738 }
15739 arg3 = static_cast< int >(val3);
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 (arg1)->SetRange(arg2,arg3);
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = SWIG_Py_Void();
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15754 PyObject *resultobj = 0;
15755 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15756 int result;
15757 void *argp1 = 0 ;
15758 int res1 = 0 ;
15759 PyObject *swig_obj[1] ;
15760
15761 if (!args) SWIG_fail;
15762 swig_obj[0] = args;
15763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15764 if (!SWIG_IsOK(res1)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15766 }
15767 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 resultobj = SWIG_From_int(static_cast< int >(result));
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15782 PyObject *resultobj = 0;
15783 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15784 int result;
15785 void *argp1 = 0 ;
15786 int res1 = 0 ;
15787 PyObject *swig_obj[1] ;
15788
15789 if (!args) SWIG_fail;
15790 swig_obj[0] = args;
15791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15792 if (!SWIG_IsOK(res1)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15794 }
15795 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 resultobj = SWIG_From_int(static_cast< int >(result));
15803 return resultobj;
15804 fail:
15805 return NULL;
15806 }
15807
15808
15809 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj = 0;
15811 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15812 long arg2 ;
15813 long arg3 ;
15814 void *argp1 = 0 ;
15815 int res1 = 0 ;
15816 long val2 ;
15817 int ecode2 = 0 ;
15818 long val3 ;
15819 int ecode3 = 0 ;
15820 PyObject * obj0 = 0 ;
15821 PyObject * obj1 = 0 ;
15822 PyObject * obj2 = 0 ;
15823 char * kwnames[] = {
15824 (char *) "self",(char *) "from",(char *) "to", NULL
15825 };
15826
15827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15829 if (!SWIG_IsOK(res1)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15831 }
15832 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15833 ecode2 = SWIG_AsVal_long(obj1, &val2);
15834 if (!SWIG_IsOK(ecode2)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15836 }
15837 arg2 = static_cast< long >(val2);
15838 ecode3 = SWIG_AsVal_long(obj2, &val3);
15839 if (!SWIG_IsOK(ecode3)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15841 }
15842 arg3 = static_cast< long >(val3);
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 (arg1)->SetSelection(arg2,arg3);
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 resultobj = SWIG_Py_Void();
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15857 PyObject *resultobj = 0;
15858 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15859 SwigValueWrapper<wxVisualAttributes > result;
15860 int val1 ;
15861 int ecode1 = 0 ;
15862 PyObject * obj0 = 0 ;
15863 char * kwnames[] = {
15864 (char *) "variant", NULL
15865 };
15866
15867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15868 if (obj0) {
15869 ecode1 = SWIG_AsVal_int(obj0, &val1);
15870 if (!SWIG_IsOK(ecode1)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15872 }
15873 arg1 = static_cast< wxWindowVariant >(val1);
15874 }
15875 {
15876 if (!wxPyCheckForApp()) SWIG_fail;
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15890 PyObject *obj;
15891 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15892 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15893 return SWIG_Py_Void();
15894 }
15895
15896 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15897 return SWIG_Python_InitShadowInstance(args);
15898 }
15899
15900 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj = 0;
15902 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15903 int arg2 = (int) 0 ;
15904 wxSpinEvent *result = 0 ;
15905 int val1 ;
15906 int ecode1 = 0 ;
15907 int val2 ;
15908 int ecode2 = 0 ;
15909 PyObject * obj0 = 0 ;
15910 PyObject * obj1 = 0 ;
15911 char * kwnames[] = {
15912 (char *) "commandType",(char *) "winid", NULL
15913 };
15914
15915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15916 if (obj0) {
15917 ecode1 = SWIG_AsVal_int(obj0, &val1);
15918 if (!SWIG_IsOK(ecode1)) {
15919 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15920 }
15921 arg1 = static_cast< wxEventType >(val1);
15922 }
15923 if (obj1) {
15924 ecode2 = SWIG_AsVal_int(obj1, &val2);
15925 if (!SWIG_IsOK(ecode2)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15927 }
15928 arg2 = static_cast< int >(val2);
15929 }
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15937 return resultobj;
15938 fail:
15939 return NULL;
15940 }
15941
15942
15943 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15944 PyObject *resultobj = 0;
15945 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15946 int result;
15947 void *argp1 = 0 ;
15948 int res1 = 0 ;
15949 PyObject *swig_obj[1] ;
15950
15951 if (!args) SWIG_fail;
15952 swig_obj[0] = args;
15953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15954 if (!SWIG_IsOK(res1)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15956 }
15957 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 resultobj = SWIG_From_int(static_cast< int >(result));
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj = 0;
15973 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15974 int arg2 ;
15975 void *argp1 = 0 ;
15976 int res1 = 0 ;
15977 int val2 ;
15978 int ecode2 = 0 ;
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 char * kwnames[] = {
15982 (char *) "self",(char *) "pos", NULL
15983 };
15984
15985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15987 if (!SWIG_IsOK(res1)) {
15988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15989 }
15990 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15991 ecode2 = SWIG_AsVal_int(obj1, &val2);
15992 if (!SWIG_IsOK(ecode2)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15994 }
15995 arg2 = static_cast< int >(val2);
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 (arg1)->SetPosition(arg2);
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 resultobj = SWIG_Py_Void();
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16010 PyObject *obj;
16011 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16012 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16013 return SWIG_Py_Void();
16014 }
16015
16016 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16017 return SWIG_Python_InitShadowInstance(args);
16018 }
16019
16020 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16021 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16022 return 1;
16023 }
16024
16025
16026 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16027 PyObject *pyobj = 0;
16028
16029 {
16030 #if wxUSE_UNICODE
16031 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16032 #else
16033 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16034 #endif
16035 }
16036 return pyobj;
16037 }
16038
16039
16040 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16041 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16042 return 1;
16043 }
16044
16045
16046 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16047 PyObject *pyobj = 0;
16048
16049 {
16050 #if wxUSE_UNICODE
16051 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16052 #else
16053 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16054 #endif
16055 }
16056 return pyobj;
16057 }
16058
16059
16060 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16061 PyObject *resultobj = 0;
16062 wxWindow *arg1 = (wxWindow *) 0 ;
16063 int arg2 = (int) -1 ;
16064 wxString const &arg3_defvalue = wxPyEmptyString ;
16065 wxString *arg3 = (wxString *) &arg3_defvalue ;
16066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16068 wxSize const &arg5_defvalue = wxDefaultSize ;
16069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16070 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16071 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16072 int arg7 = (int) 0 ;
16073 long arg8 = (long) wxRA_HORIZONTAL ;
16074 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16075 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16076 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16077 wxString *arg10 = (wxString *) &arg10_defvalue ;
16078 wxRadioBox *result = 0 ;
16079 void *argp1 = 0 ;
16080 int res1 = 0 ;
16081 int val2 ;
16082 int ecode2 = 0 ;
16083 bool temp3 = false ;
16084 wxPoint temp4 ;
16085 wxSize temp5 ;
16086 bool temp6 = false ;
16087 int val7 ;
16088 int ecode7 = 0 ;
16089 long val8 ;
16090 int ecode8 = 0 ;
16091 void *argp9 = 0 ;
16092 int res9 = 0 ;
16093 bool temp10 = false ;
16094 PyObject * obj0 = 0 ;
16095 PyObject * obj1 = 0 ;
16096 PyObject * obj2 = 0 ;
16097 PyObject * obj3 = 0 ;
16098 PyObject * obj4 = 0 ;
16099 PyObject * obj5 = 0 ;
16100 PyObject * obj6 = 0 ;
16101 PyObject * obj7 = 0 ;
16102 PyObject * obj8 = 0 ;
16103 PyObject * obj9 = 0 ;
16104 char * kwnames[] = {
16105 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16106 };
16107
16108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16110 if (!SWIG_IsOK(res1)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16112 }
16113 arg1 = reinterpret_cast< wxWindow * >(argp1);
16114 if (obj1) {
16115 ecode2 = SWIG_AsVal_int(obj1, &val2);
16116 if (!SWIG_IsOK(ecode2)) {
16117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16118 }
16119 arg2 = static_cast< int >(val2);
16120 }
16121 if (obj2) {
16122 {
16123 arg3 = wxString_in_helper(obj2);
16124 if (arg3 == NULL) SWIG_fail;
16125 temp3 = true;
16126 }
16127 }
16128 if (obj3) {
16129 {
16130 arg4 = &temp4;
16131 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16132 }
16133 }
16134 if (obj4) {
16135 {
16136 arg5 = &temp5;
16137 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16138 }
16139 }
16140 if (obj5) {
16141 {
16142 if (! PySequence_Check(obj5)) {
16143 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16144 SWIG_fail;
16145 }
16146 arg6 = new wxArrayString;
16147 temp6 = true;
16148 int i, len=PySequence_Length(obj5);
16149 for (i=0; i<len; i++) {
16150 PyObject* item = PySequence_GetItem(obj5, i);
16151 wxString* s = wxString_in_helper(item);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 arg6->Add(*s);
16154 delete s;
16155 Py_DECREF(item);
16156 }
16157 }
16158 }
16159 if (obj6) {
16160 ecode7 = SWIG_AsVal_int(obj6, &val7);
16161 if (!SWIG_IsOK(ecode7)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16163 }
16164 arg7 = static_cast< int >(val7);
16165 }
16166 if (obj7) {
16167 ecode8 = SWIG_AsVal_long(obj7, &val8);
16168 if (!SWIG_IsOK(ecode8)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16170 }
16171 arg8 = static_cast< long >(val8);
16172 }
16173 if (obj8) {
16174 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16175 if (!SWIG_IsOK(res9)) {
16176 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16177 }
16178 if (!argp9) {
16179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16180 }
16181 arg9 = reinterpret_cast< wxValidator * >(argp9);
16182 }
16183 if (obj9) {
16184 {
16185 arg10 = wxString_in_helper(obj9);
16186 if (arg10 == NULL) SWIG_fail;
16187 temp10 = true;
16188 }
16189 }
16190 {
16191 if (!wxPyCheckForApp()) SWIG_fail;
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 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);
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
16197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16198 {
16199 if (temp3)
16200 delete arg3;
16201 }
16202 {
16203 if (temp6) delete arg6;
16204 }
16205 {
16206 if (temp10)
16207 delete arg10;
16208 }
16209 return resultobj;
16210 fail:
16211 {
16212 if (temp3)
16213 delete arg3;
16214 }
16215 {
16216 if (temp6) delete arg6;
16217 }
16218 {
16219 if (temp10)
16220 delete arg10;
16221 }
16222 return NULL;
16223 }
16224
16225
16226 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16227 PyObject *resultobj = 0;
16228 wxRadioBox *result = 0 ;
16229
16230 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16231 {
16232 if (!wxPyCheckForApp()) SWIG_fail;
16233 PyThreadState* __tstate = wxPyBeginAllowThreads();
16234 result = (wxRadioBox *)new wxRadioBox();
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj = 0;
16247 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16248 wxWindow *arg2 = (wxWindow *) 0 ;
16249 int arg3 = (int) -1 ;
16250 wxString const &arg4_defvalue = wxPyEmptyString ;
16251 wxString *arg4 = (wxString *) &arg4_defvalue ;
16252 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16253 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16254 wxSize const &arg6_defvalue = wxDefaultSize ;
16255 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16256 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16257 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16258 int arg8 = (int) 0 ;
16259 long arg9 = (long) wxRA_HORIZONTAL ;
16260 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16261 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16262 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16263 wxString *arg11 = (wxString *) &arg11_defvalue ;
16264 bool result;
16265 void *argp1 = 0 ;
16266 int res1 = 0 ;
16267 void *argp2 = 0 ;
16268 int res2 = 0 ;
16269 int val3 ;
16270 int ecode3 = 0 ;
16271 bool temp4 = false ;
16272 wxPoint temp5 ;
16273 wxSize temp6 ;
16274 bool temp7 = false ;
16275 int val8 ;
16276 int ecode8 = 0 ;
16277 long val9 ;
16278 int ecode9 = 0 ;
16279 void *argp10 = 0 ;
16280 int res10 = 0 ;
16281 bool temp11 = false ;
16282 PyObject * obj0 = 0 ;
16283 PyObject * obj1 = 0 ;
16284 PyObject * obj2 = 0 ;
16285 PyObject * obj3 = 0 ;
16286 PyObject * obj4 = 0 ;
16287 PyObject * obj5 = 0 ;
16288 PyObject * obj6 = 0 ;
16289 PyObject * obj7 = 0 ;
16290 PyObject * obj8 = 0 ;
16291 PyObject * obj9 = 0 ;
16292 PyObject * obj10 = 0 ;
16293 char * kwnames[] = {
16294 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16295 };
16296
16297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16299 if (!SWIG_IsOK(res1)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16301 }
16302 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16303 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16304 if (!SWIG_IsOK(res2)) {
16305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16306 }
16307 arg2 = reinterpret_cast< wxWindow * >(argp2);
16308 if (obj2) {
16309 ecode3 = SWIG_AsVal_int(obj2, &val3);
16310 if (!SWIG_IsOK(ecode3)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16312 }
16313 arg3 = static_cast< int >(val3);
16314 }
16315 if (obj3) {
16316 {
16317 arg4 = wxString_in_helper(obj3);
16318 if (arg4 == NULL) SWIG_fail;
16319 temp4 = true;
16320 }
16321 }
16322 if (obj4) {
16323 {
16324 arg5 = &temp5;
16325 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16326 }
16327 }
16328 if (obj5) {
16329 {
16330 arg6 = &temp6;
16331 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16332 }
16333 }
16334 if (obj6) {
16335 {
16336 if (! PySequence_Check(obj6)) {
16337 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16338 SWIG_fail;
16339 }
16340 arg7 = new wxArrayString;
16341 temp7 = true;
16342 int i, len=PySequence_Length(obj6);
16343 for (i=0; i<len; i++) {
16344 PyObject* item = PySequence_GetItem(obj6, i);
16345 wxString* s = wxString_in_helper(item);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 arg7->Add(*s);
16348 delete s;
16349 Py_DECREF(item);
16350 }
16351 }
16352 }
16353 if (obj7) {
16354 ecode8 = SWIG_AsVal_int(obj7, &val8);
16355 if (!SWIG_IsOK(ecode8)) {
16356 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16357 }
16358 arg8 = static_cast< int >(val8);
16359 }
16360 if (obj8) {
16361 ecode9 = SWIG_AsVal_long(obj8, &val9);
16362 if (!SWIG_IsOK(ecode9)) {
16363 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16364 }
16365 arg9 = static_cast< long >(val9);
16366 }
16367 if (obj9) {
16368 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16369 if (!SWIG_IsOK(res10)) {
16370 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16371 }
16372 if (!argp10) {
16373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16374 }
16375 arg10 = reinterpret_cast< wxValidator * >(argp10);
16376 }
16377 if (obj10) {
16378 {
16379 arg11 = wxString_in_helper(obj10);
16380 if (arg11 == NULL) SWIG_fail;
16381 temp11 = true;
16382 }
16383 }
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 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);
16387 wxPyEndAllowThreads(__tstate);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 {
16391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16392 }
16393 {
16394 if (temp4)
16395 delete arg4;
16396 }
16397 {
16398 if (temp7) delete arg7;
16399 }
16400 {
16401 if (temp11)
16402 delete arg11;
16403 }
16404 return resultobj;
16405 fail:
16406 {
16407 if (temp4)
16408 delete arg4;
16409 }
16410 {
16411 if (temp7) delete arg7;
16412 }
16413 {
16414 if (temp11)
16415 delete arg11;
16416 }
16417 return NULL;
16418 }
16419
16420
16421 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj = 0;
16423 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16424 int arg2 ;
16425 void *argp1 = 0 ;
16426 int res1 = 0 ;
16427 int val2 ;
16428 int ecode2 = 0 ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 char * kwnames[] = {
16432 (char *) "self",(char *) "n", NULL
16433 };
16434
16435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16437 if (!SWIG_IsOK(res1)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16439 }
16440 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16441 ecode2 = SWIG_AsVal_int(obj1, &val2);
16442 if (!SWIG_IsOK(ecode2)) {
16443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16444 }
16445 arg2 = static_cast< int >(val2);
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 (arg1)->SetSelection(arg2);
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 resultobj = SWIG_Py_Void();
16453 return resultobj;
16454 fail:
16455 return NULL;
16456 }
16457
16458
16459 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16460 PyObject *resultobj = 0;
16461 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16462 int result;
16463 void *argp1 = 0 ;
16464 int res1 = 0 ;
16465 PyObject *swig_obj[1] ;
16466
16467 if (!args) SWIG_fail;
16468 swig_obj[0] = args;
16469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16470 if (!SWIG_IsOK(res1)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16472 }
16473 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16474 {
16475 PyThreadState* __tstate = wxPyBeginAllowThreads();
16476 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 resultobj = SWIG_From_int(static_cast< int >(result));
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16488 PyObject *resultobj = 0;
16489 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16490 wxString result;
16491 void *argp1 = 0 ;
16492 int res1 = 0 ;
16493 PyObject *swig_obj[1] ;
16494
16495 if (!args) SWIG_fail;
16496 swig_obj[0] = args;
16497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16498 if (!SWIG_IsOK(res1)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16500 }
16501 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16502 {
16503 PyThreadState* __tstate = wxPyBeginAllowThreads();
16504 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 {
16509 #if wxUSE_UNICODE
16510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16511 #else
16512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16513 #endif
16514 }
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj = 0;
16523 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16524 wxString *arg2 = 0 ;
16525 bool result;
16526 void *argp1 = 0 ;
16527 int res1 = 0 ;
16528 bool temp2 = false ;
16529 PyObject * obj0 = 0 ;
16530 PyObject * obj1 = 0 ;
16531 char * kwnames[] = {
16532 (char *) "self",(char *) "s", NULL
16533 };
16534
16535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16537 if (!SWIG_IsOK(res1)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16539 }
16540 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16541 {
16542 arg2 = wxString_in_helper(obj1);
16543 if (arg2 == NULL) SWIG_fail;
16544 temp2 = true;
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 {
16553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16554 }
16555 {
16556 if (temp2)
16557 delete arg2;
16558 }
16559 return resultobj;
16560 fail:
16561 {
16562 if (temp2)
16563 delete arg2;
16564 }
16565 return NULL;
16566 }
16567
16568
16569 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16570 PyObject *resultobj = 0;
16571 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16572 size_t result;
16573 void *argp1 = 0 ;
16574 int res1 = 0 ;
16575 PyObject *swig_obj[1] ;
16576
16577 if (!args) SWIG_fail;
16578 swig_obj[0] = args;
16579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16580 if (!SWIG_IsOK(res1)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16582 }
16583 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj = 0;
16599 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16600 wxString *arg2 = 0 ;
16601 int result;
16602 void *argp1 = 0 ;
16603 int res1 = 0 ;
16604 bool temp2 = false ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char * kwnames[] = {
16608 (char *) "self",(char *) "s", NULL
16609 };
16610
16611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16615 }
16616 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16617 {
16618 arg2 = wxString_in_helper(obj1);
16619 if (arg2 == NULL) SWIG_fail;
16620 temp2 = true;
16621 }
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 resultobj = SWIG_From_int(static_cast< int >(result));
16629 {
16630 if (temp2)
16631 delete arg2;
16632 }
16633 return resultobj;
16634 fail:
16635 {
16636 if (temp2)
16637 delete arg2;
16638 }
16639 return NULL;
16640 }
16641
16642
16643 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj = 0;
16645 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16646 int arg2 ;
16647 wxString result;
16648 void *argp1 = 0 ;
16649 int res1 = 0 ;
16650 int val2 ;
16651 int ecode2 = 0 ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 char * kwnames[] = {
16655 (char *) "self",(char *) "n", NULL
16656 };
16657
16658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16660 if (!SWIG_IsOK(res1)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16662 }
16663 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16664 ecode2 = SWIG_AsVal_int(obj1, &val2);
16665 if (!SWIG_IsOK(ecode2)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16667 }
16668 arg2 = static_cast< int >(val2);
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676 #if wxUSE_UNICODE
16677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16678 #else
16679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16680 #endif
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj = 0;
16690 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16691 int arg2 ;
16692 wxString *arg3 = 0 ;
16693 void *argp1 = 0 ;
16694 int res1 = 0 ;
16695 int val2 ;
16696 int ecode2 = 0 ;
16697 bool temp3 = false ;
16698 PyObject * obj0 = 0 ;
16699 PyObject * obj1 = 0 ;
16700 PyObject * obj2 = 0 ;
16701 char * kwnames[] = {
16702 (char *) "self",(char *) "n",(char *) "label", NULL
16703 };
16704
16705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16707 if (!SWIG_IsOK(res1)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16709 }
16710 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16711 ecode2 = SWIG_AsVal_int(obj1, &val2);
16712 if (!SWIG_IsOK(ecode2)) {
16713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16714 }
16715 arg2 = static_cast< int >(val2);
16716 {
16717 arg3 = wxString_in_helper(obj2);
16718 if (arg3 == NULL) SWIG_fail;
16719 temp3 = true;
16720 }
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 (arg1)->SetString(arg2,(wxString const &)*arg3);
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 resultobj = SWIG_Py_Void();
16728 {
16729 if (temp3)
16730 delete arg3;
16731 }
16732 return resultobj;
16733 fail:
16734 {
16735 if (temp3)
16736 delete arg3;
16737 }
16738 return NULL;
16739 }
16740
16741
16742 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj = 0;
16744 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16745 unsigned int arg2 ;
16746 bool arg3 = (bool) true ;
16747 void *argp1 = 0 ;
16748 int res1 = 0 ;
16749 unsigned int val2 ;
16750 int ecode2 = 0 ;
16751 bool val3 ;
16752 int ecode3 = 0 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 PyObject * obj2 = 0 ;
16756 char * kwnames[] = {
16757 (char *) "self",(char *) "n",(char *) "enable", NULL
16758 };
16759
16760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16762 if (!SWIG_IsOK(res1)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16764 }
16765 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16766 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16767 if (!SWIG_IsOK(ecode2)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16769 }
16770 arg2 = static_cast< unsigned int >(val2);
16771 if (obj2) {
16772 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16773 if (!SWIG_IsOK(ecode3)) {
16774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16775 }
16776 arg3 = static_cast< bool >(val3);
16777 }
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 (arg1)->Enable(arg2,arg3);
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 resultobj = SWIG_Py_Void();
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16792 PyObject *resultobj = 0;
16793 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16794 unsigned int arg2 ;
16795 bool arg3 = (bool) true ;
16796 void *argp1 = 0 ;
16797 int res1 = 0 ;
16798 unsigned int val2 ;
16799 int ecode2 = 0 ;
16800 bool val3 ;
16801 int ecode3 = 0 ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 PyObject * obj2 = 0 ;
16805 char * kwnames[] = {
16806 (char *) "self",(char *) "n",(char *) "show", NULL
16807 };
16808
16809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16811 if (!SWIG_IsOK(res1)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16813 }
16814 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16815 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16816 if (!SWIG_IsOK(ecode2)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16818 }
16819 arg2 = static_cast< unsigned int >(val2);
16820 if (obj2) {
16821 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16822 if (!SWIG_IsOK(ecode3)) {
16823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16824 }
16825 arg3 = static_cast< bool >(val3);
16826 }
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 (arg1)->Show(arg2,arg3);
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 resultobj = SWIG_Py_Void();
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj = 0;
16842 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16843 unsigned int arg2 ;
16844 bool result;
16845 void *argp1 = 0 ;
16846 int res1 = 0 ;
16847 unsigned int val2 ;
16848 int ecode2 = 0 ;
16849 PyObject * obj0 = 0 ;
16850 PyObject * obj1 = 0 ;
16851 char * kwnames[] = {
16852 (char *) "self",(char *) "n", NULL
16853 };
16854
16855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16857 if (!SWIG_IsOK(res1)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16859 }
16860 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16861 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16862 if (!SWIG_IsOK(ecode2)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16864 }
16865 arg2 = static_cast< unsigned int >(val2);
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 {
16873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16874 }
16875 return resultobj;
16876 fail:
16877 return NULL;
16878 }
16879
16880
16881 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16882 PyObject *resultobj = 0;
16883 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16884 unsigned int arg2 ;
16885 bool result;
16886 void *argp1 = 0 ;
16887 int res1 = 0 ;
16888 unsigned int val2 ;
16889 int ecode2 = 0 ;
16890 PyObject * obj0 = 0 ;
16891 PyObject * obj1 = 0 ;
16892 char * kwnames[] = {
16893 (char *) "self",(char *) "n", NULL
16894 };
16895
16896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16898 if (!SWIG_IsOK(res1)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16900 }
16901 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16902 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16903 if (!SWIG_IsOK(ecode2)) {
16904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16905 }
16906 arg2 = static_cast< unsigned int >(val2);
16907 {
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 {
16914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16915 }
16916 return resultobj;
16917 fail:
16918 return NULL;
16919 }
16920
16921
16922 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16923 PyObject *resultobj = 0;
16924 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16925 unsigned int result;
16926 void *argp1 = 0 ;
16927 int res1 = 0 ;
16928 PyObject *swig_obj[1] ;
16929
16930 if (!args) SWIG_fail;
16931 swig_obj[0] = args;
16932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16933 if (!SWIG_IsOK(res1)) {
16934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16935 }
16936 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16944 return resultobj;
16945 fail:
16946 return NULL;
16947 }
16948
16949
16950 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16951 PyObject *resultobj = 0;
16952 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16953 unsigned int result;
16954 void *argp1 = 0 ;
16955 int res1 = 0 ;
16956 PyObject *swig_obj[1] ;
16957
16958 if (!args) SWIG_fail;
16959 swig_obj[0] = args;
16960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16961 if (!SWIG_IsOK(res1)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16963 }
16964 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj = 0;
16980 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16981 int arg2 ;
16982 wxDirection arg3 ;
16983 long arg4 ;
16984 int result;
16985 void *argp1 = 0 ;
16986 int res1 = 0 ;
16987 int val2 ;
16988 int ecode2 = 0 ;
16989 int val3 ;
16990 int ecode3 = 0 ;
16991 long val4 ;
16992 int ecode4 = 0 ;
16993 PyObject * obj0 = 0 ;
16994 PyObject * obj1 = 0 ;
16995 PyObject * obj2 = 0 ;
16996 PyObject * obj3 = 0 ;
16997 char * kwnames[] = {
16998 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16999 };
17000
17001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17003 if (!SWIG_IsOK(res1)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17005 }
17006 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17007 ecode2 = SWIG_AsVal_int(obj1, &val2);
17008 if (!SWIG_IsOK(ecode2)) {
17009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17010 }
17011 arg2 = static_cast< int >(val2);
17012 ecode3 = SWIG_AsVal_int(obj2, &val3);
17013 if (!SWIG_IsOK(ecode3)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17015 }
17016 arg3 = static_cast< wxDirection >(val3);
17017 ecode4 = SWIG_AsVal_long(obj3, &val4);
17018 if (!SWIG_IsOK(ecode4)) {
17019 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17020 }
17021 arg4 = static_cast< long >(val4);
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = SWIG_From_int(static_cast< int >(result));
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj = 0;
17037 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17038 unsigned int arg2 ;
17039 wxString *arg3 = 0 ;
17040 void *argp1 = 0 ;
17041 int res1 = 0 ;
17042 unsigned int val2 ;
17043 int ecode2 = 0 ;
17044 bool temp3 = false ;
17045 PyObject * obj0 = 0 ;
17046 PyObject * obj1 = 0 ;
17047 PyObject * obj2 = 0 ;
17048 char * kwnames[] = {
17049 (char *) "self",(char *) "item",(char *) "text", NULL
17050 };
17051
17052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17054 if (!SWIG_IsOK(res1)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17056 }
17057 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17058 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17059 if (!SWIG_IsOK(ecode2)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17061 }
17062 arg2 = static_cast< unsigned int >(val2);
17063 {
17064 arg3 = wxString_in_helper(obj2);
17065 if (arg3 == NULL) SWIG_fail;
17066 temp3 = true;
17067 }
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 resultobj = SWIG_Py_Void();
17075 {
17076 if (temp3)
17077 delete arg3;
17078 }
17079 return resultobj;
17080 fail:
17081 {
17082 if (temp3)
17083 delete arg3;
17084 }
17085 return NULL;
17086 }
17087
17088
17089 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj = 0;
17091 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17092 unsigned int arg2 ;
17093 wxToolTip *result = 0 ;
17094 void *argp1 = 0 ;
17095 int res1 = 0 ;
17096 unsigned int val2 ;
17097 int ecode2 = 0 ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 char * kwnames[] = {
17101 (char *) "self",(char *) "item", NULL
17102 };
17103
17104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17106 if (!SWIG_IsOK(res1)) {
17107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17108 }
17109 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17110 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17111 if (!SWIG_IsOK(ecode2)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17113 }
17114 arg2 = static_cast< unsigned int >(val2);
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 {
17122 resultobj = wxPyMake_wxObject(result, (bool)0);
17123 }
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj = 0;
17132 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17133 unsigned int arg2 ;
17134 wxString *arg3 = 0 ;
17135 void *argp1 = 0 ;
17136 int res1 = 0 ;
17137 unsigned int val2 ;
17138 int ecode2 = 0 ;
17139 bool temp3 = false ;
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
17142 PyObject * obj2 = 0 ;
17143 char * kwnames[] = {
17144 (char *) "self",(char *) "n",(char *) "helpText", NULL
17145 };
17146
17147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17149 if (!SWIG_IsOK(res1)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17151 }
17152 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17153 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17154 if (!SWIG_IsOK(ecode2)) {
17155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17156 }
17157 arg2 = static_cast< unsigned int >(val2);
17158 {
17159 arg3 = wxString_in_helper(obj2);
17160 if (arg3 == NULL) SWIG_fail;
17161 temp3 = true;
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_Py_Void();
17170 {
17171 if (temp3)
17172 delete arg3;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp3)
17178 delete arg3;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj = 0;
17186 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17187 unsigned int arg2 ;
17188 wxString result;
17189 void *argp1 = 0 ;
17190 int res1 = 0 ;
17191 unsigned int val2 ;
17192 int ecode2 = 0 ;
17193 PyObject * obj0 = 0 ;
17194 PyObject * obj1 = 0 ;
17195 char * kwnames[] = {
17196 (char *) "self",(char *) "n", NULL
17197 };
17198
17199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17201 if (!SWIG_IsOK(res1)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17203 }
17204 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17205 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17206 if (!SWIG_IsOK(ecode2)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17208 }
17209 arg2 = static_cast< unsigned int >(val2);
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 {
17217 #if wxUSE_UNICODE
17218 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17219 #else
17220 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17221 #endif
17222 }
17223 return resultobj;
17224 fail:
17225 return NULL;
17226 }
17227
17228
17229 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17230 PyObject *resultobj = 0;
17231 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17232 SwigValueWrapper<wxVisualAttributes > result;
17233 int val1 ;
17234 int ecode1 = 0 ;
17235 PyObject * obj0 = 0 ;
17236 char * kwnames[] = {
17237 (char *) "variant", NULL
17238 };
17239
17240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17241 if (obj0) {
17242 ecode1 = SWIG_AsVal_int(obj0, &val1);
17243 if (!SWIG_IsOK(ecode1)) {
17244 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17245 }
17246 arg1 = static_cast< wxWindowVariant >(val1);
17247 }
17248 {
17249 if (!wxPyCheckForApp()) SWIG_fail;
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17252 wxPyEndAllowThreads(__tstate);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 }
17255 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17256 return resultobj;
17257 fail:
17258 return NULL;
17259 }
17260
17261
17262 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17263 PyObject *obj;
17264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17265 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17266 return SWIG_Py_Void();
17267 }
17268
17269 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17270 return SWIG_Python_InitShadowInstance(args);
17271 }
17272
17273 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj = 0;
17275 wxWindow *arg1 = (wxWindow *) 0 ;
17276 int arg2 = (int) -1 ;
17277 wxString const &arg3_defvalue = wxPyEmptyString ;
17278 wxString *arg3 = (wxString *) &arg3_defvalue ;
17279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17281 wxSize const &arg5_defvalue = wxDefaultSize ;
17282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17283 long arg6 = (long) 0 ;
17284 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17285 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17286 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17287 wxString *arg8 = (wxString *) &arg8_defvalue ;
17288 wxRadioButton *result = 0 ;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 int val2 ;
17292 int ecode2 = 0 ;
17293 bool temp3 = false ;
17294 wxPoint temp4 ;
17295 wxSize temp5 ;
17296 long val6 ;
17297 int ecode6 = 0 ;
17298 void *argp7 = 0 ;
17299 int res7 = 0 ;
17300 bool temp8 = false ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 PyObject * obj2 = 0 ;
17304 PyObject * obj3 = 0 ;
17305 PyObject * obj4 = 0 ;
17306 PyObject * obj5 = 0 ;
17307 PyObject * obj6 = 0 ;
17308 PyObject * obj7 = 0 ;
17309 char * kwnames[] = {
17310 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17311 };
17312
17313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17315 if (!SWIG_IsOK(res1)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17317 }
17318 arg1 = reinterpret_cast< wxWindow * >(argp1);
17319 if (obj1) {
17320 ecode2 = SWIG_AsVal_int(obj1, &val2);
17321 if (!SWIG_IsOK(ecode2)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17323 }
17324 arg2 = static_cast< int >(val2);
17325 }
17326 if (obj2) {
17327 {
17328 arg3 = wxString_in_helper(obj2);
17329 if (arg3 == NULL) SWIG_fail;
17330 temp3 = true;
17331 }
17332 }
17333 if (obj3) {
17334 {
17335 arg4 = &temp4;
17336 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17337 }
17338 }
17339 if (obj4) {
17340 {
17341 arg5 = &temp5;
17342 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17343 }
17344 }
17345 if (obj5) {
17346 ecode6 = SWIG_AsVal_long(obj5, &val6);
17347 if (!SWIG_IsOK(ecode6)) {
17348 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17349 }
17350 arg6 = static_cast< long >(val6);
17351 }
17352 if (obj6) {
17353 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17354 if (!SWIG_IsOK(res7)) {
17355 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17356 }
17357 if (!argp7) {
17358 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17359 }
17360 arg7 = reinterpret_cast< wxValidator * >(argp7);
17361 }
17362 if (obj7) {
17363 {
17364 arg8 = wxString_in_helper(obj7);
17365 if (arg8 == NULL) SWIG_fail;
17366 temp8 = true;
17367 }
17368 }
17369 {
17370 if (!wxPyCheckForApp()) SWIG_fail;
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17377 {
17378 if (temp3)
17379 delete arg3;
17380 }
17381 {
17382 if (temp8)
17383 delete arg8;
17384 }
17385 return resultobj;
17386 fail:
17387 {
17388 if (temp3)
17389 delete arg3;
17390 }
17391 {
17392 if (temp8)
17393 delete arg8;
17394 }
17395 return NULL;
17396 }
17397
17398
17399 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17400 PyObject *resultobj = 0;
17401 wxRadioButton *result = 0 ;
17402
17403 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17404 {
17405 if (!wxPyCheckForApp()) SWIG_fail;
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = (wxRadioButton *)new wxRadioButton();
17408 wxPyEndAllowThreads(__tstate);
17409 if (PyErr_Occurred()) SWIG_fail;
17410 }
17411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj = 0;
17420 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17421 wxWindow *arg2 = (wxWindow *) 0 ;
17422 int arg3 = (int) -1 ;
17423 wxString const &arg4_defvalue = wxPyEmptyString ;
17424 wxString *arg4 = (wxString *) &arg4_defvalue ;
17425 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17426 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17427 wxSize const &arg6_defvalue = wxDefaultSize ;
17428 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17429 long arg7 = (long) 0 ;
17430 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17431 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17432 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17433 wxString *arg9 = (wxString *) &arg9_defvalue ;
17434 bool result;
17435 void *argp1 = 0 ;
17436 int res1 = 0 ;
17437 void *argp2 = 0 ;
17438 int res2 = 0 ;
17439 int val3 ;
17440 int ecode3 = 0 ;
17441 bool temp4 = false ;
17442 wxPoint temp5 ;
17443 wxSize temp6 ;
17444 long val7 ;
17445 int ecode7 = 0 ;
17446 void *argp8 = 0 ;
17447 int res8 = 0 ;
17448 bool temp9 = false ;
17449 PyObject * obj0 = 0 ;
17450 PyObject * obj1 = 0 ;
17451 PyObject * obj2 = 0 ;
17452 PyObject * obj3 = 0 ;
17453 PyObject * obj4 = 0 ;
17454 PyObject * obj5 = 0 ;
17455 PyObject * obj6 = 0 ;
17456 PyObject * obj7 = 0 ;
17457 PyObject * obj8 = 0 ;
17458 char * kwnames[] = {
17459 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17460 };
17461
17462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17464 if (!SWIG_IsOK(res1)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17466 }
17467 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17468 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17469 if (!SWIG_IsOK(res2)) {
17470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17471 }
17472 arg2 = reinterpret_cast< wxWindow * >(argp2);
17473 if (obj2) {
17474 ecode3 = SWIG_AsVal_int(obj2, &val3);
17475 if (!SWIG_IsOK(ecode3)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17477 }
17478 arg3 = static_cast< int >(val3);
17479 }
17480 if (obj3) {
17481 {
17482 arg4 = wxString_in_helper(obj3);
17483 if (arg4 == NULL) SWIG_fail;
17484 temp4 = true;
17485 }
17486 }
17487 if (obj4) {
17488 {
17489 arg5 = &temp5;
17490 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17491 }
17492 }
17493 if (obj5) {
17494 {
17495 arg6 = &temp6;
17496 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17497 }
17498 }
17499 if (obj6) {
17500 ecode7 = SWIG_AsVal_long(obj6, &val7);
17501 if (!SWIG_IsOK(ecode7)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17503 }
17504 arg7 = static_cast< long >(val7);
17505 }
17506 if (obj7) {
17507 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17508 if (!SWIG_IsOK(res8)) {
17509 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17510 }
17511 if (!argp8) {
17512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17513 }
17514 arg8 = reinterpret_cast< wxValidator * >(argp8);
17515 }
17516 if (obj8) {
17517 {
17518 arg9 = wxString_in_helper(obj8);
17519 if (arg9 == NULL) SWIG_fail;
17520 temp9 = true;
17521 }
17522 }
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 {
17530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17531 }
17532 {
17533 if (temp4)
17534 delete arg4;
17535 }
17536 {
17537 if (temp9)
17538 delete arg9;
17539 }
17540 return resultobj;
17541 fail:
17542 {
17543 if (temp4)
17544 delete arg4;
17545 }
17546 {
17547 if (temp9)
17548 delete arg9;
17549 }
17550 return NULL;
17551 }
17552
17553
17554 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17555 PyObject *resultobj = 0;
17556 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17557 bool result;
17558 void *argp1 = 0 ;
17559 int res1 = 0 ;
17560 PyObject *swig_obj[1] ;
17561
17562 if (!args) SWIG_fail;
17563 swig_obj[0] = args;
17564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17565 if (!SWIG_IsOK(res1)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17567 }
17568 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 result = (bool)(arg1)->GetValue();
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 {
17576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17577 }
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj = 0;
17586 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17587 bool arg2 ;
17588 void *argp1 = 0 ;
17589 int res1 = 0 ;
17590 bool val2 ;
17591 int ecode2 = 0 ;
17592 PyObject * obj0 = 0 ;
17593 PyObject * obj1 = 0 ;
17594 char * kwnames[] = {
17595 (char *) "self",(char *) "value", NULL
17596 };
17597
17598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17600 if (!SWIG_IsOK(res1)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17602 }
17603 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17605 if (!SWIG_IsOK(ecode2)) {
17606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17607 }
17608 arg2 = static_cast< bool >(val2);
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 (arg1)->SetValue(arg2);
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = SWIG_Py_Void();
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17623 PyObject *resultobj = 0;
17624 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17625 SwigValueWrapper<wxVisualAttributes > result;
17626 int val1 ;
17627 int ecode1 = 0 ;
17628 PyObject * obj0 = 0 ;
17629 char * kwnames[] = {
17630 (char *) "variant", NULL
17631 };
17632
17633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17634 if (obj0) {
17635 ecode1 = SWIG_AsVal_int(obj0, &val1);
17636 if (!SWIG_IsOK(ecode1)) {
17637 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17638 }
17639 arg1 = static_cast< wxWindowVariant >(val1);
17640 }
17641 {
17642 if (!wxPyCheckForApp()) SWIG_fail;
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17656 PyObject *obj;
17657 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17658 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17659 return SWIG_Py_Void();
17660 }
17661
17662 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17663 return SWIG_Python_InitShadowInstance(args);
17664 }
17665
17666 SWIGINTERN int SliderNameStr_set(PyObject *) {
17667 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17668 return 1;
17669 }
17670
17671
17672 SWIGINTERN PyObject *SliderNameStr_get(void) {
17673 PyObject *pyobj = 0;
17674
17675 {
17676 #if wxUSE_UNICODE
17677 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17678 #else
17679 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17680 #endif
17681 }
17682 return pyobj;
17683 }
17684
17685
17686 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj = 0;
17688 wxWindow *arg1 = (wxWindow *) 0 ;
17689 int arg2 = (int) -1 ;
17690 int arg3 = (int) 0 ;
17691 int arg4 = (int) 0 ;
17692 int arg5 = (int) 100 ;
17693 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17694 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17695 wxSize const &arg7_defvalue = wxDefaultSize ;
17696 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17697 long arg8 = (long) wxSL_HORIZONTAL ;
17698 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17699 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17700 wxString const &arg10_defvalue = wxPySliderNameStr ;
17701 wxString *arg10 = (wxString *) &arg10_defvalue ;
17702 wxSlider *result = 0 ;
17703 void *argp1 = 0 ;
17704 int res1 = 0 ;
17705 int val2 ;
17706 int ecode2 = 0 ;
17707 int val3 ;
17708 int ecode3 = 0 ;
17709 int val4 ;
17710 int ecode4 = 0 ;
17711 int val5 ;
17712 int ecode5 = 0 ;
17713 wxPoint temp6 ;
17714 wxSize temp7 ;
17715 long val8 ;
17716 int ecode8 = 0 ;
17717 void *argp9 = 0 ;
17718 int res9 = 0 ;
17719 bool temp10 = false ;
17720 PyObject * obj0 = 0 ;
17721 PyObject * obj1 = 0 ;
17722 PyObject * obj2 = 0 ;
17723 PyObject * obj3 = 0 ;
17724 PyObject * obj4 = 0 ;
17725 PyObject * obj5 = 0 ;
17726 PyObject * obj6 = 0 ;
17727 PyObject * obj7 = 0 ;
17728 PyObject * obj8 = 0 ;
17729 PyObject * obj9 = 0 ;
17730 char * kwnames[] = {
17731 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17732 };
17733
17734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17736 if (!SWIG_IsOK(res1)) {
17737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17738 }
17739 arg1 = reinterpret_cast< wxWindow * >(argp1);
17740 if (obj1) {
17741 ecode2 = SWIG_AsVal_int(obj1, &val2);
17742 if (!SWIG_IsOK(ecode2)) {
17743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17744 }
17745 arg2 = static_cast< int >(val2);
17746 }
17747 if (obj2) {
17748 ecode3 = SWIG_AsVal_int(obj2, &val3);
17749 if (!SWIG_IsOK(ecode3)) {
17750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17751 }
17752 arg3 = static_cast< int >(val3);
17753 }
17754 if (obj3) {
17755 ecode4 = SWIG_AsVal_int(obj3, &val4);
17756 if (!SWIG_IsOK(ecode4)) {
17757 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17758 }
17759 arg4 = static_cast< int >(val4);
17760 }
17761 if (obj4) {
17762 ecode5 = SWIG_AsVal_int(obj4, &val5);
17763 if (!SWIG_IsOK(ecode5)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17765 }
17766 arg5 = static_cast< int >(val5);
17767 }
17768 if (obj5) {
17769 {
17770 arg6 = &temp6;
17771 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17772 }
17773 }
17774 if (obj6) {
17775 {
17776 arg7 = &temp7;
17777 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17778 }
17779 }
17780 if (obj7) {
17781 ecode8 = SWIG_AsVal_long(obj7, &val8);
17782 if (!SWIG_IsOK(ecode8)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17784 }
17785 arg8 = static_cast< long >(val8);
17786 }
17787 if (obj8) {
17788 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17789 if (!SWIG_IsOK(res9)) {
17790 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17791 }
17792 if (!argp9) {
17793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17794 }
17795 arg9 = reinterpret_cast< wxValidator * >(argp9);
17796 }
17797 if (obj9) {
17798 {
17799 arg10 = wxString_in_helper(obj9);
17800 if (arg10 == NULL) SWIG_fail;
17801 temp10 = true;
17802 }
17803 }
17804 {
17805 if (!wxPyCheckForApp()) SWIG_fail;
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17812 {
17813 if (temp10)
17814 delete arg10;
17815 }
17816 return resultobj;
17817 fail:
17818 {
17819 if (temp10)
17820 delete arg10;
17821 }
17822 return NULL;
17823 }
17824
17825
17826 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17827 PyObject *resultobj = 0;
17828 wxSlider *result = 0 ;
17829
17830 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17831 {
17832 if (!wxPyCheckForApp()) SWIG_fail;
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = (wxSlider *)new wxSlider();
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17839 return resultobj;
17840 fail:
17841 return NULL;
17842 }
17843
17844
17845 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17846 PyObject *resultobj = 0;
17847 wxSlider *arg1 = (wxSlider *) 0 ;
17848 wxWindow *arg2 = (wxWindow *) 0 ;
17849 int arg3 = (int) -1 ;
17850 int arg4 = (int) 0 ;
17851 int arg5 = (int) 0 ;
17852 int arg6 = (int) 100 ;
17853 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17854 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17855 wxSize const &arg8_defvalue = wxDefaultSize ;
17856 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17857 long arg9 = (long) wxSL_HORIZONTAL ;
17858 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17859 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17860 wxString const &arg11_defvalue = wxPySliderNameStr ;
17861 wxString *arg11 = (wxString *) &arg11_defvalue ;
17862 bool result;
17863 void *argp1 = 0 ;
17864 int res1 = 0 ;
17865 void *argp2 = 0 ;
17866 int res2 = 0 ;
17867 int val3 ;
17868 int ecode3 = 0 ;
17869 int val4 ;
17870 int ecode4 = 0 ;
17871 int val5 ;
17872 int ecode5 = 0 ;
17873 int val6 ;
17874 int ecode6 = 0 ;
17875 wxPoint temp7 ;
17876 wxSize temp8 ;
17877 long val9 ;
17878 int ecode9 = 0 ;
17879 void *argp10 = 0 ;
17880 int res10 = 0 ;
17881 bool temp11 = false ;
17882 PyObject * obj0 = 0 ;
17883 PyObject * obj1 = 0 ;
17884 PyObject * obj2 = 0 ;
17885 PyObject * obj3 = 0 ;
17886 PyObject * obj4 = 0 ;
17887 PyObject * obj5 = 0 ;
17888 PyObject * obj6 = 0 ;
17889 PyObject * obj7 = 0 ;
17890 PyObject * obj8 = 0 ;
17891 PyObject * obj9 = 0 ;
17892 PyObject * obj10 = 0 ;
17893 char * kwnames[] = {
17894 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17895 };
17896
17897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17899 if (!SWIG_IsOK(res1)) {
17900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17901 }
17902 arg1 = reinterpret_cast< wxSlider * >(argp1);
17903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17904 if (!SWIG_IsOK(res2)) {
17905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17906 }
17907 arg2 = reinterpret_cast< wxWindow * >(argp2);
17908 if (obj2) {
17909 ecode3 = SWIG_AsVal_int(obj2, &val3);
17910 if (!SWIG_IsOK(ecode3)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17912 }
17913 arg3 = static_cast< int >(val3);
17914 }
17915 if (obj3) {
17916 ecode4 = SWIG_AsVal_int(obj3, &val4);
17917 if (!SWIG_IsOK(ecode4)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17919 }
17920 arg4 = static_cast< int >(val4);
17921 }
17922 if (obj4) {
17923 ecode5 = SWIG_AsVal_int(obj4, &val5);
17924 if (!SWIG_IsOK(ecode5)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17926 }
17927 arg5 = static_cast< int >(val5);
17928 }
17929 if (obj5) {
17930 ecode6 = SWIG_AsVal_int(obj5, &val6);
17931 if (!SWIG_IsOK(ecode6)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17933 }
17934 arg6 = static_cast< int >(val6);
17935 }
17936 if (obj6) {
17937 {
17938 arg7 = &temp7;
17939 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17940 }
17941 }
17942 if (obj7) {
17943 {
17944 arg8 = &temp8;
17945 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
17946 }
17947 }
17948 if (obj8) {
17949 ecode9 = SWIG_AsVal_long(obj8, &val9);
17950 if (!SWIG_IsOK(ecode9)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17952 }
17953 arg9 = static_cast< long >(val9);
17954 }
17955 if (obj9) {
17956 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17957 if (!SWIG_IsOK(res10)) {
17958 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17959 }
17960 if (!argp10) {
17961 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17962 }
17963 arg10 = reinterpret_cast< wxValidator * >(argp10);
17964 }
17965 if (obj10) {
17966 {
17967 arg11 = wxString_in_helper(obj10);
17968 if (arg11 == NULL) SWIG_fail;
17969 temp11 = true;
17970 }
17971 }
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 {
17979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17980 }
17981 {
17982 if (temp11)
17983 delete arg11;
17984 }
17985 return resultobj;
17986 fail:
17987 {
17988 if (temp11)
17989 delete arg11;
17990 }
17991 return NULL;
17992 }
17993
17994
17995 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17996 PyObject *resultobj = 0;
17997 wxSlider *arg1 = (wxSlider *) 0 ;
17998 int result;
17999 void *argp1 = 0 ;
18000 int res1 = 0 ;
18001 PyObject *swig_obj[1] ;
18002
18003 if (!args) SWIG_fail;
18004 swig_obj[0] = args;
18005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18006 if (!SWIG_IsOK(res1)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18008 }
18009 arg1 = reinterpret_cast< wxSlider * >(argp1);
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (int)((wxSlider const *)arg1)->GetValue();
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 resultobj = SWIG_From_int(static_cast< int >(result));
18017 return resultobj;
18018 fail:
18019 return NULL;
18020 }
18021
18022
18023 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj = 0;
18025 wxSlider *arg1 = (wxSlider *) 0 ;
18026 int arg2 ;
18027 void *argp1 = 0 ;
18028 int res1 = 0 ;
18029 int val2 ;
18030 int ecode2 = 0 ;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj1 = 0 ;
18033 char * kwnames[] = {
18034 (char *) "self",(char *) "value", NULL
18035 };
18036
18037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18039 if (!SWIG_IsOK(res1)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18041 }
18042 arg1 = reinterpret_cast< wxSlider * >(argp1);
18043 ecode2 = SWIG_AsVal_int(obj1, &val2);
18044 if (!SWIG_IsOK(ecode2)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18046 }
18047 arg2 = static_cast< int >(val2);
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 (arg1)->SetValue(arg2);
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 resultobj = SWIG_Py_Void();
18055 return resultobj;
18056 fail:
18057 return NULL;
18058 }
18059
18060
18061 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj = 0;
18063 wxSlider *arg1 = (wxSlider *) 0 ;
18064 int arg2 ;
18065 int arg3 ;
18066 void *argp1 = 0 ;
18067 int res1 = 0 ;
18068 int val2 ;
18069 int ecode2 = 0 ;
18070 int val3 ;
18071 int ecode3 = 0 ;
18072 PyObject * obj0 = 0 ;
18073 PyObject * obj1 = 0 ;
18074 PyObject * obj2 = 0 ;
18075 char * kwnames[] = {
18076 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18077 };
18078
18079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18081 if (!SWIG_IsOK(res1)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18083 }
18084 arg1 = reinterpret_cast< wxSlider * >(argp1);
18085 ecode2 = SWIG_AsVal_int(obj1, &val2);
18086 if (!SWIG_IsOK(ecode2)) {
18087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18088 }
18089 arg2 = static_cast< int >(val2);
18090 ecode3 = SWIG_AsVal_int(obj2, &val3);
18091 if (!SWIG_IsOK(ecode3)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18093 }
18094 arg3 = static_cast< int >(val3);
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 (arg1)->SetRange(arg2,arg3);
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 resultobj = SWIG_Py_Void();
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18109 PyObject *resultobj = 0;
18110 wxSlider *arg1 = (wxSlider *) 0 ;
18111 int result;
18112 void *argp1 = 0 ;
18113 int res1 = 0 ;
18114 PyObject *swig_obj[1] ;
18115
18116 if (!args) SWIG_fail;
18117 swig_obj[0] = args;
18118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18119 if (!SWIG_IsOK(res1)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18121 }
18122 arg1 = reinterpret_cast< wxSlider * >(argp1);
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 result = (int)((wxSlider const *)arg1)->GetMin();
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 resultobj = SWIG_From_int(static_cast< int >(result));
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18137 PyObject *resultobj = 0;
18138 wxSlider *arg1 = (wxSlider *) 0 ;
18139 int result;
18140 void *argp1 = 0 ;
18141 int res1 = 0 ;
18142 PyObject *swig_obj[1] ;
18143
18144 if (!args) SWIG_fail;
18145 swig_obj[0] = args;
18146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18147 if (!SWIG_IsOK(res1)) {
18148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18149 }
18150 arg1 = reinterpret_cast< wxSlider * >(argp1);
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (int)((wxSlider const *)arg1)->GetMax();
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 resultobj = SWIG_From_int(static_cast< int >(result));
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj = 0;
18166 wxSlider *arg1 = (wxSlider *) 0 ;
18167 int arg2 ;
18168 void *argp1 = 0 ;
18169 int res1 = 0 ;
18170 int val2 ;
18171 int ecode2 = 0 ;
18172 PyObject * obj0 = 0 ;
18173 PyObject * obj1 = 0 ;
18174 char * kwnames[] = {
18175 (char *) "self",(char *) "minValue", NULL
18176 };
18177
18178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18180 if (!SWIG_IsOK(res1)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18182 }
18183 arg1 = reinterpret_cast< wxSlider * >(argp1);
18184 ecode2 = SWIG_AsVal_int(obj1, &val2);
18185 if (!SWIG_IsOK(ecode2)) {
18186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18187 }
18188 arg2 = static_cast< int >(val2);
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 (arg1)->SetMin(arg2);
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 resultobj = SWIG_Py_Void();
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj = 0;
18204 wxSlider *arg1 = (wxSlider *) 0 ;
18205 int arg2 ;
18206 void *argp1 = 0 ;
18207 int res1 = 0 ;
18208 int val2 ;
18209 int ecode2 = 0 ;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212 char * kwnames[] = {
18213 (char *) "self",(char *) "maxValue", NULL
18214 };
18215
18216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18218 if (!SWIG_IsOK(res1)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18220 }
18221 arg1 = reinterpret_cast< wxSlider * >(argp1);
18222 ecode2 = SWIG_AsVal_int(obj1, &val2);
18223 if (!SWIG_IsOK(ecode2)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18225 }
18226 arg2 = static_cast< int >(val2);
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 (arg1)->SetMax(arg2);
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = SWIG_Py_Void();
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj = 0;
18242 wxSlider *arg1 = (wxSlider *) 0 ;
18243 int arg2 ;
18244 void *argp1 = 0 ;
18245 int res1 = 0 ;
18246 int val2 ;
18247 int ecode2 = 0 ;
18248 PyObject * obj0 = 0 ;
18249 PyObject * obj1 = 0 ;
18250 char * kwnames[] = {
18251 (char *) "self",(char *) "lineSize", NULL
18252 };
18253
18254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18256 if (!SWIG_IsOK(res1)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18258 }
18259 arg1 = reinterpret_cast< wxSlider * >(argp1);
18260 ecode2 = SWIG_AsVal_int(obj1, &val2);
18261 if (!SWIG_IsOK(ecode2)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18263 }
18264 arg2 = static_cast< int >(val2);
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->SetLineSize(arg2);
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 resultobj = SWIG_Py_Void();
18272 return resultobj;
18273 fail:
18274 return NULL;
18275 }
18276
18277
18278 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18279 PyObject *resultobj = 0;
18280 wxSlider *arg1 = (wxSlider *) 0 ;
18281 int arg2 ;
18282 void *argp1 = 0 ;
18283 int res1 = 0 ;
18284 int val2 ;
18285 int ecode2 = 0 ;
18286 PyObject * obj0 = 0 ;
18287 PyObject * obj1 = 0 ;
18288 char * kwnames[] = {
18289 (char *) "self",(char *) "pageSize", NULL
18290 };
18291
18292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18294 if (!SWIG_IsOK(res1)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18296 }
18297 arg1 = reinterpret_cast< wxSlider * >(argp1);
18298 ecode2 = SWIG_AsVal_int(obj1, &val2);
18299 if (!SWIG_IsOK(ecode2)) {
18300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18301 }
18302 arg2 = static_cast< int >(val2);
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 (arg1)->SetPageSize(arg2);
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 resultobj = SWIG_Py_Void();
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18317 PyObject *resultobj = 0;
18318 wxSlider *arg1 = (wxSlider *) 0 ;
18319 int result;
18320 void *argp1 = 0 ;
18321 int res1 = 0 ;
18322 PyObject *swig_obj[1] ;
18323
18324 if (!args) SWIG_fail;
18325 swig_obj[0] = args;
18326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18327 if (!SWIG_IsOK(res1)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18329 }
18330 arg1 = reinterpret_cast< wxSlider * >(argp1);
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (int)((wxSlider const *)arg1)->GetLineSize();
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 resultobj = SWIG_From_int(static_cast< int >(result));
18338 return resultobj;
18339 fail:
18340 return NULL;
18341 }
18342
18343
18344 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18345 PyObject *resultobj = 0;
18346 wxSlider *arg1 = (wxSlider *) 0 ;
18347 int result;
18348 void *argp1 = 0 ;
18349 int res1 = 0 ;
18350 PyObject *swig_obj[1] ;
18351
18352 if (!args) SWIG_fail;
18353 swig_obj[0] = args;
18354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18355 if (!SWIG_IsOK(res1)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18357 }
18358 arg1 = reinterpret_cast< wxSlider * >(argp1);
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (int)((wxSlider const *)arg1)->GetPageSize();
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 resultobj = SWIG_From_int(static_cast< int >(result));
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj = 0;
18374 wxSlider *arg1 = (wxSlider *) 0 ;
18375 int arg2 ;
18376 void *argp1 = 0 ;
18377 int res1 = 0 ;
18378 int val2 ;
18379 int ecode2 = 0 ;
18380 PyObject * obj0 = 0 ;
18381 PyObject * obj1 = 0 ;
18382 char * kwnames[] = {
18383 (char *) "self",(char *) "lenPixels", NULL
18384 };
18385
18386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18388 if (!SWIG_IsOK(res1)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18390 }
18391 arg1 = reinterpret_cast< wxSlider * >(argp1);
18392 ecode2 = SWIG_AsVal_int(obj1, &val2);
18393 if (!SWIG_IsOK(ecode2)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18395 }
18396 arg2 = static_cast< int >(val2);
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 (arg1)->SetThumbLength(arg2);
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 resultobj = SWIG_Py_Void();
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18411 PyObject *resultobj = 0;
18412 wxSlider *arg1 = (wxSlider *) 0 ;
18413 int result;
18414 void *argp1 = 0 ;
18415 int res1 = 0 ;
18416 PyObject *swig_obj[1] ;
18417
18418 if (!args) SWIG_fail;
18419 swig_obj[0] = args;
18420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18421 if (!SWIG_IsOK(res1)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18423 }
18424 arg1 = reinterpret_cast< wxSlider * >(argp1);
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 resultobj = SWIG_From_int(static_cast< int >(result));
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj = 0;
18440 wxSlider *arg1 = (wxSlider *) 0 ;
18441 int arg2 ;
18442 int arg3 = (int) 1 ;
18443 void *argp1 = 0 ;
18444 int res1 = 0 ;
18445 int val2 ;
18446 int ecode2 = 0 ;
18447 int val3 ;
18448 int ecode3 = 0 ;
18449 PyObject * obj0 = 0 ;
18450 PyObject * obj1 = 0 ;
18451 PyObject * obj2 = 0 ;
18452 char * kwnames[] = {
18453 (char *) "self",(char *) "n",(char *) "pos", NULL
18454 };
18455
18456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18458 if (!SWIG_IsOK(res1)) {
18459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18460 }
18461 arg1 = reinterpret_cast< wxSlider * >(argp1);
18462 ecode2 = SWIG_AsVal_int(obj1, &val2);
18463 if (!SWIG_IsOK(ecode2)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18465 }
18466 arg2 = static_cast< int >(val2);
18467 if (obj2) {
18468 ecode3 = SWIG_AsVal_int(obj2, &val3);
18469 if (!SWIG_IsOK(ecode3)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18471 }
18472 arg3 = static_cast< int >(val3);
18473 }
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 (arg1)->SetTickFreq(arg2,arg3);
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 resultobj = SWIG_Py_Void();
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18488 PyObject *resultobj = 0;
18489 wxSlider *arg1 = (wxSlider *) 0 ;
18490 int result;
18491 void *argp1 = 0 ;
18492 int res1 = 0 ;
18493 PyObject *swig_obj[1] ;
18494
18495 if (!args) SWIG_fail;
18496 swig_obj[0] = args;
18497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18498 if (!SWIG_IsOK(res1)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18500 }
18501 arg1 = reinterpret_cast< wxSlider * >(argp1);
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 resultobj = SWIG_From_int(static_cast< int >(result));
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18516 PyObject *resultobj = 0;
18517 wxSlider *arg1 = (wxSlider *) 0 ;
18518 void *argp1 = 0 ;
18519 int res1 = 0 ;
18520 PyObject *swig_obj[1] ;
18521
18522 if (!args) SWIG_fail;
18523 swig_obj[0] = args;
18524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18525 if (!SWIG_IsOK(res1)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18527 }
18528 arg1 = reinterpret_cast< wxSlider * >(argp1);
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 (arg1)->ClearTicks();
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = SWIG_Py_Void();
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj = 0;
18544 wxSlider *arg1 = (wxSlider *) 0 ;
18545 int arg2 ;
18546 void *argp1 = 0 ;
18547 int res1 = 0 ;
18548 int val2 ;
18549 int ecode2 = 0 ;
18550 PyObject * obj0 = 0 ;
18551 PyObject * obj1 = 0 ;
18552 char * kwnames[] = {
18553 (char *) "self",(char *) "tickPos", NULL
18554 };
18555
18556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18558 if (!SWIG_IsOK(res1)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18560 }
18561 arg1 = reinterpret_cast< wxSlider * >(argp1);
18562 ecode2 = SWIG_AsVal_int(obj1, &val2);
18563 if (!SWIG_IsOK(ecode2)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18565 }
18566 arg2 = static_cast< int >(val2);
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->SetTick(arg2);
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 resultobj = SWIG_Py_Void();
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18581 PyObject *resultobj = 0;
18582 wxSlider *arg1 = (wxSlider *) 0 ;
18583 void *argp1 = 0 ;
18584 int res1 = 0 ;
18585 PyObject *swig_obj[1] ;
18586
18587 if (!args) SWIG_fail;
18588 swig_obj[0] = args;
18589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18590 if (!SWIG_IsOK(res1)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18592 }
18593 arg1 = reinterpret_cast< wxSlider * >(argp1);
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 (arg1)->ClearSel();
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 resultobj = SWIG_Py_Void();
18601 return resultobj;
18602 fail:
18603 return NULL;
18604 }
18605
18606
18607 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18608 PyObject *resultobj = 0;
18609 wxSlider *arg1 = (wxSlider *) 0 ;
18610 int result;
18611 void *argp1 = 0 ;
18612 int res1 = 0 ;
18613 PyObject *swig_obj[1] ;
18614
18615 if (!args) SWIG_fail;
18616 swig_obj[0] = args;
18617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18618 if (!SWIG_IsOK(res1)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18620 }
18621 arg1 = reinterpret_cast< wxSlider * >(argp1);
18622 {
18623 PyThreadState* __tstate = wxPyBeginAllowThreads();
18624 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 resultobj = SWIG_From_int(static_cast< int >(result));
18629 return resultobj;
18630 fail:
18631 return NULL;
18632 }
18633
18634
18635 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18636 PyObject *resultobj = 0;
18637 wxSlider *arg1 = (wxSlider *) 0 ;
18638 int result;
18639 void *argp1 = 0 ;
18640 int res1 = 0 ;
18641 PyObject *swig_obj[1] ;
18642
18643 if (!args) SWIG_fail;
18644 swig_obj[0] = args;
18645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18646 if (!SWIG_IsOK(res1)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18648 }
18649 arg1 = reinterpret_cast< wxSlider * >(argp1);
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (int)((wxSlider const *)arg1)->GetSelStart();
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 resultobj = SWIG_From_int(static_cast< int >(result));
18657 return resultobj;
18658 fail:
18659 return NULL;
18660 }
18661
18662
18663 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj = 0;
18665 wxSlider *arg1 = (wxSlider *) 0 ;
18666 int arg2 ;
18667 int arg3 ;
18668 void *argp1 = 0 ;
18669 int res1 = 0 ;
18670 int val2 ;
18671 int ecode2 = 0 ;
18672 int val3 ;
18673 int ecode3 = 0 ;
18674 PyObject * obj0 = 0 ;
18675 PyObject * obj1 = 0 ;
18676 PyObject * obj2 = 0 ;
18677 char * kwnames[] = {
18678 (char *) "self",(char *) "min",(char *) "max", NULL
18679 };
18680
18681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18683 if (!SWIG_IsOK(res1)) {
18684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18685 }
18686 arg1 = reinterpret_cast< wxSlider * >(argp1);
18687 ecode2 = SWIG_AsVal_int(obj1, &val2);
18688 if (!SWIG_IsOK(ecode2)) {
18689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18690 }
18691 arg2 = static_cast< int >(val2);
18692 ecode3 = SWIG_AsVal_int(obj2, &val3);
18693 if (!SWIG_IsOK(ecode3)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18695 }
18696 arg3 = static_cast< int >(val3);
18697 {
18698 PyThreadState* __tstate = wxPyBeginAllowThreads();
18699 (arg1)->SetSelection(arg2,arg3);
18700 wxPyEndAllowThreads(__tstate);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
18703 resultobj = SWIG_Py_Void();
18704 return resultobj;
18705 fail:
18706 return NULL;
18707 }
18708
18709
18710 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18711 PyObject *resultobj = 0;
18712 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18713 SwigValueWrapper<wxVisualAttributes > result;
18714 int val1 ;
18715 int ecode1 = 0 ;
18716 PyObject * obj0 = 0 ;
18717 char * kwnames[] = {
18718 (char *) "variant", NULL
18719 };
18720
18721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18722 if (obj0) {
18723 ecode1 = SWIG_AsVal_int(obj0, &val1);
18724 if (!SWIG_IsOK(ecode1)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18726 }
18727 arg1 = static_cast< wxWindowVariant >(val1);
18728 }
18729 {
18730 if (!wxPyCheckForApp()) SWIG_fail;
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 result = wxSlider::GetClassDefaultAttributes(arg1);
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18744 PyObject *obj;
18745 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18746 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18747 return SWIG_Py_Void();
18748 }
18749
18750 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18751 return SWIG_Python_InitShadowInstance(args);
18752 }
18753
18754 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18755 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18756 return 1;
18757 }
18758
18759
18760 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18761 PyObject *pyobj = 0;
18762
18763 {
18764 #if wxUSE_UNICODE
18765 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18766 #else
18767 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18768 #endif
18769 }
18770 return pyobj;
18771 }
18772
18773
18774 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj = 0;
18776 wxWindow *arg1 = (wxWindow *) 0 ;
18777 int arg2 = (int) -1 ;
18778 wxString const &arg3_defvalue = wxPyEmptyString ;
18779 wxString *arg3 = (wxString *) &arg3_defvalue ;
18780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18782 wxSize const &arg5_defvalue = wxDefaultSize ;
18783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18784 long arg6 = (long) 0 ;
18785 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18786 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18787 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18788 wxString *arg8 = (wxString *) &arg8_defvalue ;
18789 wxToggleButton *result = 0 ;
18790 void *argp1 = 0 ;
18791 int res1 = 0 ;
18792 int val2 ;
18793 int ecode2 = 0 ;
18794 bool temp3 = false ;
18795 wxPoint temp4 ;
18796 wxSize temp5 ;
18797 long val6 ;
18798 int ecode6 = 0 ;
18799 void *argp7 = 0 ;
18800 int res7 = 0 ;
18801 bool temp8 = false ;
18802 PyObject * obj0 = 0 ;
18803 PyObject * obj1 = 0 ;
18804 PyObject * obj2 = 0 ;
18805 PyObject * obj3 = 0 ;
18806 PyObject * obj4 = 0 ;
18807 PyObject * obj5 = 0 ;
18808 PyObject * obj6 = 0 ;
18809 PyObject * obj7 = 0 ;
18810 char * kwnames[] = {
18811 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18812 };
18813
18814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18816 if (!SWIG_IsOK(res1)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18818 }
18819 arg1 = reinterpret_cast< wxWindow * >(argp1);
18820 if (obj1) {
18821 ecode2 = SWIG_AsVal_int(obj1, &val2);
18822 if (!SWIG_IsOK(ecode2)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18824 }
18825 arg2 = static_cast< int >(val2);
18826 }
18827 if (obj2) {
18828 {
18829 arg3 = wxString_in_helper(obj2);
18830 if (arg3 == NULL) SWIG_fail;
18831 temp3 = true;
18832 }
18833 }
18834 if (obj3) {
18835 {
18836 arg4 = &temp4;
18837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18838 }
18839 }
18840 if (obj4) {
18841 {
18842 arg5 = &temp5;
18843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18844 }
18845 }
18846 if (obj5) {
18847 ecode6 = SWIG_AsVal_long(obj5, &val6);
18848 if (!SWIG_IsOK(ecode6)) {
18849 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18850 }
18851 arg6 = static_cast< long >(val6);
18852 }
18853 if (obj6) {
18854 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18855 if (!SWIG_IsOK(res7)) {
18856 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18857 }
18858 if (!argp7) {
18859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18860 }
18861 arg7 = reinterpret_cast< wxValidator * >(argp7);
18862 }
18863 if (obj7) {
18864 {
18865 arg8 = wxString_in_helper(obj7);
18866 if (arg8 == NULL) SWIG_fail;
18867 temp8 = true;
18868 }
18869 }
18870 {
18871 if (!wxPyCheckForApp()) SWIG_fail;
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18874 wxPyEndAllowThreads(__tstate);
18875 if (PyErr_Occurred()) SWIG_fail;
18876 }
18877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18878 {
18879 if (temp3)
18880 delete arg3;
18881 }
18882 {
18883 if (temp8)
18884 delete arg8;
18885 }
18886 return resultobj;
18887 fail:
18888 {
18889 if (temp3)
18890 delete arg3;
18891 }
18892 {
18893 if (temp8)
18894 delete arg8;
18895 }
18896 return NULL;
18897 }
18898
18899
18900 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18901 PyObject *resultobj = 0;
18902 wxToggleButton *result = 0 ;
18903
18904 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18905 {
18906 if (!wxPyCheckForApp()) SWIG_fail;
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
18908 result = (wxToggleButton *)new wxToggleButton();
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18913 return resultobj;
18914 fail:
18915 return NULL;
18916 }
18917
18918
18919 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj = 0;
18921 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18922 wxWindow *arg2 = (wxWindow *) 0 ;
18923 int arg3 = (int) -1 ;
18924 wxString const &arg4_defvalue = wxPyEmptyString ;
18925 wxString *arg4 = (wxString *) &arg4_defvalue ;
18926 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18927 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18928 wxSize const &arg6_defvalue = wxDefaultSize ;
18929 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18930 long arg7 = (long) 0 ;
18931 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18932 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18933 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18934 wxString *arg9 = (wxString *) &arg9_defvalue ;
18935 bool result;
18936 void *argp1 = 0 ;
18937 int res1 = 0 ;
18938 void *argp2 = 0 ;
18939 int res2 = 0 ;
18940 int val3 ;
18941 int ecode3 = 0 ;
18942 bool temp4 = false ;
18943 wxPoint temp5 ;
18944 wxSize temp6 ;
18945 long val7 ;
18946 int ecode7 = 0 ;
18947 void *argp8 = 0 ;
18948 int res8 = 0 ;
18949 bool temp9 = false ;
18950 PyObject * obj0 = 0 ;
18951 PyObject * obj1 = 0 ;
18952 PyObject * obj2 = 0 ;
18953 PyObject * obj3 = 0 ;
18954 PyObject * obj4 = 0 ;
18955 PyObject * obj5 = 0 ;
18956 PyObject * obj6 = 0 ;
18957 PyObject * obj7 = 0 ;
18958 PyObject * obj8 = 0 ;
18959 char * kwnames[] = {
18960 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18961 };
18962
18963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18965 if (!SWIG_IsOK(res1)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18967 }
18968 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18970 if (!SWIG_IsOK(res2)) {
18971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18972 }
18973 arg2 = reinterpret_cast< wxWindow * >(argp2);
18974 if (obj2) {
18975 ecode3 = SWIG_AsVal_int(obj2, &val3);
18976 if (!SWIG_IsOK(ecode3)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18978 }
18979 arg3 = static_cast< int >(val3);
18980 }
18981 if (obj3) {
18982 {
18983 arg4 = wxString_in_helper(obj3);
18984 if (arg4 == NULL) SWIG_fail;
18985 temp4 = true;
18986 }
18987 }
18988 if (obj4) {
18989 {
18990 arg5 = &temp5;
18991 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18992 }
18993 }
18994 if (obj5) {
18995 {
18996 arg6 = &temp6;
18997 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
18998 }
18999 }
19000 if (obj6) {
19001 ecode7 = SWIG_AsVal_long(obj6, &val7);
19002 if (!SWIG_IsOK(ecode7)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19004 }
19005 arg7 = static_cast< long >(val7);
19006 }
19007 if (obj7) {
19008 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19009 if (!SWIG_IsOK(res8)) {
19010 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19011 }
19012 if (!argp8) {
19013 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19014 }
19015 arg8 = reinterpret_cast< wxValidator * >(argp8);
19016 }
19017 if (obj8) {
19018 {
19019 arg9 = wxString_in_helper(obj8);
19020 if (arg9 == NULL) SWIG_fail;
19021 temp9 = true;
19022 }
19023 }
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 {
19031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19032 }
19033 {
19034 if (temp4)
19035 delete arg4;
19036 }
19037 {
19038 if (temp9)
19039 delete arg9;
19040 }
19041 return resultobj;
19042 fail:
19043 {
19044 if (temp4)
19045 delete arg4;
19046 }
19047 {
19048 if (temp9)
19049 delete arg9;
19050 }
19051 return NULL;
19052 }
19053
19054
19055 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj = 0;
19057 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19058 bool arg2 ;
19059 void *argp1 = 0 ;
19060 int res1 = 0 ;
19061 bool val2 ;
19062 int ecode2 = 0 ;
19063 PyObject * obj0 = 0 ;
19064 PyObject * obj1 = 0 ;
19065 char * kwnames[] = {
19066 (char *) "self",(char *) "value", NULL
19067 };
19068
19069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19071 if (!SWIG_IsOK(res1)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19073 }
19074 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19075 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19076 if (!SWIG_IsOK(ecode2)) {
19077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19078 }
19079 arg2 = static_cast< bool >(val2);
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 (arg1)->SetValue(arg2);
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 resultobj = SWIG_Py_Void();
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19094 PyObject *resultobj = 0;
19095 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19096 bool result;
19097 void *argp1 = 0 ;
19098 int res1 = 0 ;
19099 PyObject *swig_obj[1] ;
19100
19101 if (!args) SWIG_fail;
19102 swig_obj[0] = args;
19103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19104 if (!SWIG_IsOK(res1)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19106 }
19107 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 {
19115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19116 }
19117 return resultobj;
19118 fail:
19119 return NULL;
19120 }
19121
19122
19123 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj = 0;
19125 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19126 SwigValueWrapper<wxVisualAttributes > result;
19127 int val1 ;
19128 int ecode1 = 0 ;
19129 PyObject * obj0 = 0 ;
19130 char * kwnames[] = {
19131 (char *) "variant", NULL
19132 };
19133
19134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19135 if (obj0) {
19136 ecode1 = SWIG_AsVal_int(obj0, &val1);
19137 if (!SWIG_IsOK(ecode1)) {
19138 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19139 }
19140 arg1 = static_cast< wxWindowVariant >(val1);
19141 }
19142 {
19143 if (!wxPyCheckForApp()) SWIG_fail;
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19157 PyObject *obj;
19158 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19159 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19160 return SWIG_Py_Void();
19161 }
19162
19163 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19164 return SWIG_Python_InitShadowInstance(args);
19165 }
19166
19167 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19168 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19169 return 1;
19170 }
19171
19172
19173 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19174 PyObject *pyobj = 0;
19175
19176 {
19177 #if wxUSE_UNICODE
19178 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19179 #else
19180 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19181 #endif
19182 }
19183 return pyobj;
19184 }
19185
19186
19187 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19188 PyObject *resultobj = 0;
19189 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19190 size_t result;
19191 void *argp1 = 0 ;
19192 int res1 = 0 ;
19193 PyObject *swig_obj[1] ;
19194
19195 if (!args) SWIG_fail;
19196 swig_obj[0] = args;
19197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19198 if (!SWIG_IsOK(res1)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19200 }
19201 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj = 0;
19217 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19218 size_t arg2 ;
19219 wxWindow *result = 0 ;
19220 void *argp1 = 0 ;
19221 int res1 = 0 ;
19222 size_t val2 ;
19223 int ecode2 = 0 ;
19224 PyObject * obj0 = 0 ;
19225 PyObject * obj1 = 0 ;
19226 char * kwnames[] = {
19227 (char *) "self",(char *) "n", NULL
19228 };
19229
19230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19232 if (!SWIG_IsOK(res1)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19234 }
19235 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19236 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19237 if (!SWIG_IsOK(ecode2)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19239 }
19240 arg2 = static_cast< size_t >(val2);
19241 {
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = (wxWindow *)(arg1)->GetPage(arg2);
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 {
19248 resultobj = wxPyMake_wxObject(result, 0);
19249 }
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19257 PyObject *resultobj = 0;
19258 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19259 wxWindow *result = 0 ;
19260 void *argp1 = 0 ;
19261 int res1 = 0 ;
19262 PyObject *swig_obj[1] ;
19263
19264 if (!args) SWIG_fail;
19265 swig_obj[0] = args;
19266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19267 if (!SWIG_IsOK(res1)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19269 }
19270 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 {
19278 resultobj = wxPyMake_wxObject(result, 0);
19279 }
19280 return resultobj;
19281 fail:
19282 return NULL;
19283 }
19284
19285
19286 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19287 PyObject *resultobj = 0;
19288 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19289 int result;
19290 void *argp1 = 0 ;
19291 int res1 = 0 ;
19292 PyObject *swig_obj[1] ;
19293
19294 if (!args) SWIG_fail;
19295 swig_obj[0] = args;
19296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19297 if (!SWIG_IsOK(res1)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19299 }
19300 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 resultobj = SWIG_From_int(static_cast< int >(result));
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj = 0;
19316 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19317 size_t arg2 ;
19318 wxString *arg3 = 0 ;
19319 bool result;
19320 void *argp1 = 0 ;
19321 int res1 = 0 ;
19322 size_t val2 ;
19323 int ecode2 = 0 ;
19324 bool temp3 = false ;
19325 PyObject * obj0 = 0 ;
19326 PyObject * obj1 = 0 ;
19327 PyObject * obj2 = 0 ;
19328 char * kwnames[] = {
19329 (char *) "self",(char *) "n",(char *) "strText", NULL
19330 };
19331
19332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19334 if (!SWIG_IsOK(res1)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19336 }
19337 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19338 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19339 if (!SWIG_IsOK(ecode2)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19341 }
19342 arg2 = static_cast< size_t >(val2);
19343 {
19344 arg3 = wxString_in_helper(obj2);
19345 if (arg3 == NULL) SWIG_fail;
19346 temp3 = true;
19347 }
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 {
19355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19356 }
19357 {
19358 if (temp3)
19359 delete arg3;
19360 }
19361 return resultobj;
19362 fail:
19363 {
19364 if (temp3)
19365 delete arg3;
19366 }
19367 return NULL;
19368 }
19369
19370
19371 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj = 0;
19373 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19374 size_t arg2 ;
19375 wxString result;
19376 void *argp1 = 0 ;
19377 int res1 = 0 ;
19378 size_t val2 ;
19379 int ecode2 = 0 ;
19380 PyObject * obj0 = 0 ;
19381 PyObject * obj1 = 0 ;
19382 char * kwnames[] = {
19383 (char *) "self",(char *) "n", NULL
19384 };
19385
19386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19388 if (!SWIG_IsOK(res1)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19390 }
19391 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19392 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19393 if (!SWIG_IsOK(ecode2)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19395 }
19396 arg2 = static_cast< size_t >(val2);
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 {
19404 #if wxUSE_UNICODE
19405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19406 #else
19407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19408 #endif
19409 }
19410 return resultobj;
19411 fail:
19412 return NULL;
19413 }
19414
19415
19416 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19417 PyObject *resultobj = 0;
19418 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19419 wxImageList *arg2 = (wxImageList *) 0 ;
19420 void *argp1 = 0 ;
19421 int res1 = 0 ;
19422 void *argp2 = 0 ;
19423 int res2 = 0 ;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 char * kwnames[] = {
19427 (char *) "self",(char *) "imageList", NULL
19428 };
19429
19430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19432 if (!SWIG_IsOK(res1)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19434 }
19435 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19436 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19437 if (!SWIG_IsOK(res2)) {
19438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19439 }
19440 arg2 = reinterpret_cast< wxImageList * >(argp2);
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 (arg1)->SetImageList(arg2);
19444 wxPyEndAllowThreads(__tstate);
19445 if (PyErr_Occurred()) SWIG_fail;
19446 }
19447 resultobj = SWIG_Py_Void();
19448 return resultobj;
19449 fail:
19450 return NULL;
19451 }
19452
19453
19454 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj = 0;
19456 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19457 wxImageList *arg2 = (wxImageList *) 0 ;
19458 void *argp1 = 0 ;
19459 int res1 = 0 ;
19460 int res2 = 0 ;
19461 PyObject * obj0 = 0 ;
19462 PyObject * obj1 = 0 ;
19463 char * kwnames[] = {
19464 (char *) "self",(char *) "imageList", NULL
19465 };
19466
19467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19469 if (!SWIG_IsOK(res1)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19471 }
19472 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19473 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19474 if (!SWIG_IsOK(res2)) {
19475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19476 }
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 (arg1)->AssignImageList(arg2);
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 resultobj = SWIG_Py_Void();
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19491 PyObject *resultobj = 0;
19492 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19493 wxImageList *result = 0 ;
19494 void *argp1 = 0 ;
19495 int res1 = 0 ;
19496 PyObject *swig_obj[1] ;
19497
19498 if (!args) SWIG_fail;
19499 swig_obj[0] = args;
19500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19501 if (!SWIG_IsOK(res1)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19503 }
19504 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 {
19512 resultobj = wxPyMake_wxObject(result, (bool)0);
19513 }
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj = 0;
19522 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19523 size_t arg2 ;
19524 int result;
19525 void *argp1 = 0 ;
19526 int res1 = 0 ;
19527 size_t val2 ;
19528 int ecode2 = 0 ;
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 char * kwnames[] = {
19532 (char *) "self",(char *) "n", NULL
19533 };
19534
19535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19537 if (!SWIG_IsOK(res1)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19539 }
19540 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19541 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19542 if (!SWIG_IsOK(ecode2)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19544 }
19545 arg2 = static_cast< size_t >(val2);
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 resultobj = SWIG_From_int(static_cast< int >(result));
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj = 0;
19561 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19562 size_t arg2 ;
19563 int arg3 ;
19564 bool result;
19565 void *argp1 = 0 ;
19566 int res1 = 0 ;
19567 size_t val2 ;
19568 int ecode2 = 0 ;
19569 int val3 ;
19570 int ecode3 = 0 ;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 PyObject * obj2 = 0 ;
19574 char * kwnames[] = {
19575 (char *) "self",(char *) "n",(char *) "imageId", NULL
19576 };
19577
19578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19580 if (!SWIG_IsOK(res1)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19582 }
19583 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19584 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19585 if (!SWIG_IsOK(ecode2)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19587 }
19588 arg2 = static_cast< size_t >(val2);
19589 ecode3 = SWIG_AsVal_int(obj2, &val3);
19590 if (!SWIG_IsOK(ecode3)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19592 }
19593 arg3 = static_cast< int >(val3);
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 {
19601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19602 }
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj = 0;
19611 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19612 wxSize *arg2 = 0 ;
19613 void *argp1 = 0 ;
19614 int res1 = 0 ;
19615 wxSize temp2 ;
19616 PyObject * obj0 = 0 ;
19617 PyObject * obj1 = 0 ;
19618 char * kwnames[] = {
19619 (char *) "self",(char *) "size", NULL
19620 };
19621
19622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19624 if (!SWIG_IsOK(res1)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19626 }
19627 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19628 {
19629 arg2 = &temp2;
19630 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19631 }
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 (arg1)->SetPageSize((wxSize const &)*arg2);
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 resultobj = SWIG_Py_Void();
19639 return resultobj;
19640 fail:
19641 return NULL;
19642 }
19643
19644
19645 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj = 0;
19647 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19648 wxSize *arg2 = 0 ;
19649 wxSize result;
19650 void *argp1 = 0 ;
19651 int res1 = 0 ;
19652 wxSize temp2 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char * kwnames[] = {
19656 (char *) "self",(char *) "sizePage", NULL
19657 };
19658
19659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19661 if (!SWIG_IsOK(res1)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19663 }
19664 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19665 {
19666 arg2 = &temp2;
19667 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19683 PyObject *resultobj = 0;
19684 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19685 unsigned int result;
19686 void *argp1 = 0 ;
19687 int res1 = 0 ;
19688 PyObject *swig_obj[1] ;
19689
19690 if (!args) SWIG_fail;
19691 swig_obj[0] = args;
19692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19693 if (!SWIG_IsOK(res1)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19695 }
19696 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj = 0;
19712 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19713 unsigned int arg2 ;
19714 void *argp1 = 0 ;
19715 int res1 = 0 ;
19716 unsigned int val2 ;
19717 int ecode2 = 0 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char * kwnames[] = {
19721 (char *) "self",(char *) "internalBorder", NULL
19722 };
19723
19724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19726 if (!SWIG_IsOK(res1)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19728 }
19729 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19730 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19731 if (!SWIG_IsOK(ecode2)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19733 }
19734 arg2 = static_cast< unsigned int >(val2);
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 (arg1)->SetInternalBorder(arg2);
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 resultobj = SWIG_Py_Void();
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19749 PyObject *resultobj = 0;
19750 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19751 bool result;
19752 void *argp1 = 0 ;
19753 int res1 = 0 ;
19754 PyObject *swig_obj[1] ;
19755
19756 if (!args) SWIG_fail;
19757 swig_obj[0] = args;
19758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19759 if (!SWIG_IsOK(res1)) {
19760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19761 }
19762 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 {
19770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19771 }
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj = 0;
19780 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19781 int arg2 ;
19782 void *argp1 = 0 ;
19783 int res1 = 0 ;
19784 int val2 ;
19785 int ecode2 = 0 ;
19786 PyObject * obj0 = 0 ;
19787 PyObject * obj1 = 0 ;
19788 char * kwnames[] = {
19789 (char *) "self",(char *) "margin", NULL
19790 };
19791
19792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19794 if (!SWIG_IsOK(res1)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19796 }
19797 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19798 ecode2 = SWIG_AsVal_int(obj1, &val2);
19799 if (!SWIG_IsOK(ecode2)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19801 }
19802 arg2 = static_cast< int >(val2);
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 (arg1)->SetControlMargin(arg2);
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 resultobj = SWIG_Py_Void();
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19817 PyObject *resultobj = 0;
19818 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19819 int result;
19820 void *argp1 = 0 ;
19821 int res1 = 0 ;
19822 PyObject *swig_obj[1] ;
19823
19824 if (!args) SWIG_fail;
19825 swig_obj[0] = args;
19826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19827 if (!SWIG_IsOK(res1)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19829 }
19830 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 resultobj = SWIG_From_int(static_cast< int >(result));
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj = 0;
19846 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19847 bool arg2 ;
19848 void *argp1 = 0 ;
19849 int res1 = 0 ;
19850 bool val2 ;
19851 int ecode2 = 0 ;
19852 PyObject * obj0 = 0 ;
19853 PyObject * obj1 = 0 ;
19854 char * kwnames[] = {
19855 (char *) "self",(char *) "fit", NULL
19856 };
19857
19858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19860 if (!SWIG_IsOK(res1)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19862 }
19863 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19864 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19865 if (!SWIG_IsOK(ecode2)) {
19866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19867 }
19868 arg2 = static_cast< bool >(val2);
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 (arg1)->SetFitToCurrentPage(arg2);
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = SWIG_Py_Void();
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19883 PyObject *resultobj = 0;
19884 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19885 bool result;
19886 void *argp1 = 0 ;
19887 int res1 = 0 ;
19888 PyObject *swig_obj[1] ;
19889
19890 if (!args) SWIG_fail;
19891 swig_obj[0] = args;
19892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19893 if (!SWIG_IsOK(res1)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19895 }
19896 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 {
19904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19905 }
19906 return resultobj;
19907 fail:
19908 return NULL;
19909 }
19910
19911
19912 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19913 PyObject *resultobj = 0;
19914 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19915 wxSizer *result = 0 ;
19916 void *argp1 = 0 ;
19917 int res1 = 0 ;
19918 PyObject *swig_obj[1] ;
19919
19920 if (!args) SWIG_fail;
19921 swig_obj[0] = args;
19922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19923 if (!SWIG_IsOK(res1)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19925 }
19926 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 resultobj = wxPyMake_wxObject(result, (bool)0);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj = 0;
19944 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19945 size_t arg2 ;
19946 bool result;
19947 void *argp1 = 0 ;
19948 int res1 = 0 ;
19949 size_t val2 ;
19950 int ecode2 = 0 ;
19951 PyObject * obj0 = 0 ;
19952 PyObject * obj1 = 0 ;
19953 char * kwnames[] = {
19954 (char *) "self",(char *) "n", NULL
19955 };
19956
19957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19959 if (!SWIG_IsOK(res1)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19961 }
19962 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19963 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19964 if (!SWIG_IsOK(ecode2)) {
19965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19966 }
19967 arg2 = static_cast< size_t >(val2);
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (bool)(arg1)->DeletePage(arg2);
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 {
19975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19976 }
19977 return resultobj;
19978 fail:
19979 return NULL;
19980 }
19981
19982
19983 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19984 PyObject *resultobj = 0;
19985 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19986 size_t arg2 ;
19987 bool result;
19988 void *argp1 = 0 ;
19989 int res1 = 0 ;
19990 size_t val2 ;
19991 int ecode2 = 0 ;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char * kwnames[] = {
19995 (char *) "self",(char *) "n", NULL
19996 };
19997
19998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20000 if (!SWIG_IsOK(res1)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20002 }
20003 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20004 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20005 if (!SWIG_IsOK(ecode2)) {
20006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20007 }
20008 arg2 = static_cast< size_t >(val2);
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 result = (bool)(arg1)->RemovePage(arg2);
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 {
20016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20017 }
20018 return resultobj;
20019 fail:
20020 return NULL;
20021 }
20022
20023
20024 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20025 PyObject *resultobj = 0;
20026 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20027 bool result;
20028 void *argp1 = 0 ;
20029 int res1 = 0 ;
20030 PyObject *swig_obj[1] ;
20031
20032 if (!args) SWIG_fail;
20033 swig_obj[0] = args;
20034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20035 if (!SWIG_IsOK(res1)) {
20036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20037 }
20038 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20039 {
20040 PyThreadState* __tstate = wxPyBeginAllowThreads();
20041 result = (bool)(arg1)->DeleteAllPages();
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 {
20046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20047 }
20048 return resultobj;
20049 fail:
20050 return NULL;
20051 }
20052
20053
20054 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj = 0;
20056 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20057 wxWindow *arg2 = (wxWindow *) 0 ;
20058 wxString *arg3 = 0 ;
20059 bool arg4 = (bool) false ;
20060 int arg5 = (int) -1 ;
20061 bool result;
20062 void *argp1 = 0 ;
20063 int res1 = 0 ;
20064 void *argp2 = 0 ;
20065 int res2 = 0 ;
20066 bool temp3 = false ;
20067 bool val4 ;
20068 int ecode4 = 0 ;
20069 int val5 ;
20070 int ecode5 = 0 ;
20071 PyObject * obj0 = 0 ;
20072 PyObject * obj1 = 0 ;
20073 PyObject * obj2 = 0 ;
20074 PyObject * obj3 = 0 ;
20075 PyObject * obj4 = 0 ;
20076 char * kwnames[] = {
20077 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20078 };
20079
20080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20082 if (!SWIG_IsOK(res1)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20084 }
20085 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20087 if (!SWIG_IsOK(res2)) {
20088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20089 }
20090 arg2 = reinterpret_cast< wxWindow * >(argp2);
20091 {
20092 arg3 = wxString_in_helper(obj2);
20093 if (arg3 == NULL) SWIG_fail;
20094 temp3 = true;
20095 }
20096 if (obj3) {
20097 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20098 if (!SWIG_IsOK(ecode4)) {
20099 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20100 }
20101 arg4 = static_cast< bool >(val4);
20102 }
20103 if (obj4) {
20104 ecode5 = SWIG_AsVal_int(obj4, &val5);
20105 if (!SWIG_IsOK(ecode5)) {
20106 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20107 }
20108 arg5 = static_cast< int >(val5);
20109 }
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 {
20117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20118 }
20119 {
20120 if (temp3)
20121 delete arg3;
20122 }
20123 return resultobj;
20124 fail:
20125 {
20126 if (temp3)
20127 delete arg3;
20128 }
20129 return NULL;
20130 }
20131
20132
20133 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20134 PyObject *resultobj = 0;
20135 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20136 size_t arg2 ;
20137 wxWindow *arg3 = (wxWindow *) 0 ;
20138 wxString *arg4 = 0 ;
20139 bool arg5 = (bool) false ;
20140 int arg6 = (int) -1 ;
20141 bool result;
20142 void *argp1 = 0 ;
20143 int res1 = 0 ;
20144 size_t val2 ;
20145 int ecode2 = 0 ;
20146 void *argp3 = 0 ;
20147 int res3 = 0 ;
20148 bool temp4 = false ;
20149 bool val5 ;
20150 int ecode5 = 0 ;
20151 int val6 ;
20152 int ecode6 = 0 ;
20153 PyObject * obj0 = 0 ;
20154 PyObject * obj1 = 0 ;
20155 PyObject * obj2 = 0 ;
20156 PyObject * obj3 = 0 ;
20157 PyObject * obj4 = 0 ;
20158 PyObject * obj5 = 0 ;
20159 char * kwnames[] = {
20160 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20161 };
20162
20163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20165 if (!SWIG_IsOK(res1)) {
20166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20167 }
20168 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20169 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20170 if (!SWIG_IsOK(ecode2)) {
20171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20172 }
20173 arg2 = static_cast< size_t >(val2);
20174 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20175 if (!SWIG_IsOK(res3)) {
20176 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20177 }
20178 arg3 = reinterpret_cast< wxWindow * >(argp3);
20179 {
20180 arg4 = wxString_in_helper(obj3);
20181 if (arg4 == NULL) SWIG_fail;
20182 temp4 = true;
20183 }
20184 if (obj4) {
20185 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20186 if (!SWIG_IsOK(ecode5)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20188 }
20189 arg5 = static_cast< bool >(val5);
20190 }
20191 if (obj5) {
20192 ecode6 = SWIG_AsVal_int(obj5, &val6);
20193 if (!SWIG_IsOK(ecode6)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20195 }
20196 arg6 = static_cast< int >(val6);
20197 }
20198 {
20199 PyThreadState* __tstate = wxPyBeginAllowThreads();
20200 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 {
20205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20206 }
20207 {
20208 if (temp4)
20209 delete arg4;
20210 }
20211 return resultobj;
20212 fail:
20213 {
20214 if (temp4)
20215 delete arg4;
20216 }
20217 return NULL;
20218 }
20219
20220
20221 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20222 PyObject *resultobj = 0;
20223 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20224 size_t arg2 ;
20225 int result;
20226 void *argp1 = 0 ;
20227 int res1 = 0 ;
20228 size_t val2 ;
20229 int ecode2 = 0 ;
20230 PyObject * obj0 = 0 ;
20231 PyObject * obj1 = 0 ;
20232 char * kwnames[] = {
20233 (char *) "self",(char *) "n", NULL
20234 };
20235
20236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20238 if (!SWIG_IsOK(res1)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20240 }
20241 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20242 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20243 if (!SWIG_IsOK(ecode2)) {
20244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20245 }
20246 arg2 = static_cast< size_t >(val2);
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (int)(arg1)->SetSelection(arg2);
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 resultobj = SWIG_From_int(static_cast< int >(result));
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj = 0;
20262 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20263 size_t arg2 ;
20264 int result;
20265 void *argp1 = 0 ;
20266 int res1 = 0 ;
20267 size_t val2 ;
20268 int ecode2 = 0 ;
20269 PyObject * obj0 = 0 ;
20270 PyObject * obj1 = 0 ;
20271 char * kwnames[] = {
20272 (char *) "self",(char *) "n", NULL
20273 };
20274
20275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20277 if (!SWIG_IsOK(res1)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20279 }
20280 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20281 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20282 if (!SWIG_IsOK(ecode2)) {
20283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20284 }
20285 arg2 = static_cast< size_t >(val2);
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 result = (int)(arg1)->ChangeSelection(arg2);
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 resultobj = SWIG_From_int(static_cast< int >(result));
20293 return resultobj;
20294 fail:
20295 return NULL;
20296 }
20297
20298
20299 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20300 PyObject *resultobj = 0;
20301 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20302 bool arg2 = (bool) true ;
20303 void *argp1 = 0 ;
20304 int res1 = 0 ;
20305 bool val2 ;
20306 int ecode2 = 0 ;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309 char * kwnames[] = {
20310 (char *) "self",(char *) "forward", NULL
20311 };
20312
20313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20315 if (!SWIG_IsOK(res1)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20317 }
20318 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20319 if (obj1) {
20320 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20321 if (!SWIG_IsOK(ecode2)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20323 }
20324 arg2 = static_cast< bool >(val2);
20325 }
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
20328 (arg1)->AdvanceSelection(arg2);
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 resultobj = SWIG_Py_Void();
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj = 0;
20341 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20342 wxPoint *arg2 = 0 ;
20343 long *arg3 = (long *) 0 ;
20344 int result;
20345 void *argp1 = 0 ;
20346 int res1 = 0 ;
20347 wxPoint temp2 ;
20348 long temp3 ;
20349 int res3 = SWIG_TMPOBJ ;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char * kwnames[] = {
20353 (char *) "self",(char *) "pt", NULL
20354 };
20355
20356 arg3 = &temp3;
20357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20359 if (!SWIG_IsOK(res1)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20361 }
20362 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20363 {
20364 arg2 = &temp2;
20365 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20366 }
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_From_int(static_cast< int >(result));
20374 if (SWIG_IsTmpObj(res3)) {
20375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20376 } else {
20377 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20379 }
20380 return resultobj;
20381 fail:
20382 return NULL;
20383 }
20384
20385
20386 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20387 PyObject *resultobj = 0;
20388 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20389 SwigValueWrapper<wxVisualAttributes > result;
20390 int val1 ;
20391 int ecode1 = 0 ;
20392 PyObject * obj0 = 0 ;
20393 char * kwnames[] = {
20394 (char *) "variant", NULL
20395 };
20396
20397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20398 if (obj0) {
20399 ecode1 = SWIG_AsVal_int(obj0, &val1);
20400 if (!SWIG_IsOK(ecode1)) {
20401 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20402 }
20403 arg1 = static_cast< wxWindowVariant >(val1);
20404 }
20405 {
20406 if (!wxPyCheckForApp()) SWIG_fail;
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20420 PyObject *obj;
20421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20422 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20423 return SWIG_Py_Void();
20424 }
20425
20426 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj = 0;
20428 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20429 int arg2 = (int) 0 ;
20430 int arg3 = (int) -1 ;
20431 int arg4 = (int) -1 ;
20432 wxBookCtrlBaseEvent *result = 0 ;
20433 int val1 ;
20434 int ecode1 = 0 ;
20435 int val2 ;
20436 int ecode2 = 0 ;
20437 int val3 ;
20438 int ecode3 = 0 ;
20439 int val4 ;
20440 int ecode4 = 0 ;
20441 PyObject * obj0 = 0 ;
20442 PyObject * obj1 = 0 ;
20443 PyObject * obj2 = 0 ;
20444 PyObject * obj3 = 0 ;
20445 char * kwnames[] = {
20446 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20447 };
20448
20449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20450 if (obj0) {
20451 ecode1 = SWIG_AsVal_int(obj0, &val1);
20452 if (!SWIG_IsOK(ecode1)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20454 }
20455 arg1 = static_cast< wxEventType >(val1);
20456 }
20457 if (obj1) {
20458 ecode2 = SWIG_AsVal_int(obj1, &val2);
20459 if (!SWIG_IsOK(ecode2)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20461 }
20462 arg2 = static_cast< int >(val2);
20463 }
20464 if (obj2) {
20465 ecode3 = SWIG_AsVal_int(obj2, &val3);
20466 if (!SWIG_IsOK(ecode3)) {
20467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20468 }
20469 arg3 = static_cast< int >(val3);
20470 }
20471 if (obj3) {
20472 ecode4 = SWIG_AsVal_int(obj3, &val4);
20473 if (!SWIG_IsOK(ecode4)) {
20474 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20475 }
20476 arg4 = static_cast< int >(val4);
20477 }
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20485 return resultobj;
20486 fail:
20487 return NULL;
20488 }
20489
20490
20491 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20492 PyObject *resultobj = 0;
20493 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20494 int result;
20495 void *argp1 = 0 ;
20496 int res1 = 0 ;
20497 PyObject *swig_obj[1] ;
20498
20499 if (!args) SWIG_fail;
20500 swig_obj[0] = args;
20501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20502 if (!SWIG_IsOK(res1)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20504 }
20505 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 resultobj = SWIG_From_int(static_cast< int >(result));
20513 return resultobj;
20514 fail:
20515 return NULL;
20516 }
20517
20518
20519 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20520 PyObject *resultobj = 0;
20521 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20522 int arg2 ;
20523 void *argp1 = 0 ;
20524 int res1 = 0 ;
20525 int val2 ;
20526 int ecode2 = 0 ;
20527 PyObject * obj0 = 0 ;
20528 PyObject * obj1 = 0 ;
20529 char * kwnames[] = {
20530 (char *) "self",(char *) "nSel", NULL
20531 };
20532
20533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20535 if (!SWIG_IsOK(res1)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20537 }
20538 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20539 ecode2 = SWIG_AsVal_int(obj1, &val2);
20540 if (!SWIG_IsOK(ecode2)) {
20541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20542 }
20543 arg2 = static_cast< int >(val2);
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->SetSelection(arg2);
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = SWIG_Py_Void();
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20558 PyObject *resultobj = 0;
20559 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20560 int result;
20561 void *argp1 = 0 ;
20562 int res1 = 0 ;
20563 PyObject *swig_obj[1] ;
20564
20565 if (!args) SWIG_fail;
20566 swig_obj[0] = args;
20567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20568 if (!SWIG_IsOK(res1)) {
20569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20570 }
20571 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 resultobj = SWIG_From_int(static_cast< int >(result));
20579 return resultobj;
20580 fail:
20581 return NULL;
20582 }
20583
20584
20585 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj = 0;
20587 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20588 int arg2 ;
20589 void *argp1 = 0 ;
20590 int res1 = 0 ;
20591 int val2 ;
20592 int ecode2 = 0 ;
20593 PyObject * obj0 = 0 ;
20594 PyObject * obj1 = 0 ;
20595 char * kwnames[] = {
20596 (char *) "self",(char *) "nOldSel", NULL
20597 };
20598
20599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20601 if (!SWIG_IsOK(res1)) {
20602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20603 }
20604 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20605 ecode2 = SWIG_AsVal_int(obj1, &val2);
20606 if (!SWIG_IsOK(ecode2)) {
20607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20608 }
20609 arg2 = static_cast< int >(val2);
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 (arg1)->SetOldSelection(arg2);
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 resultobj = SWIG_Py_Void();
20617 return resultobj;
20618 fail:
20619 return NULL;
20620 }
20621
20622
20623 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20624 PyObject *obj;
20625 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20626 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20627 return SWIG_Py_Void();
20628 }
20629
20630 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20631 return SWIG_Python_InitShadowInstance(args);
20632 }
20633
20634 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20635 PyObject *resultobj = 0;
20636 wxWindow *arg1 = (wxWindow *) 0 ;
20637 int arg2 = (int) -1 ;
20638 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20639 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20640 wxSize const &arg4_defvalue = wxDefaultSize ;
20641 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20642 long arg5 = (long) 0 ;
20643 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20644 wxString *arg6 = (wxString *) &arg6_defvalue ;
20645 wxNotebook *result = 0 ;
20646 void *argp1 = 0 ;
20647 int res1 = 0 ;
20648 int val2 ;
20649 int ecode2 = 0 ;
20650 wxPoint temp3 ;
20651 wxSize temp4 ;
20652 long val5 ;
20653 int ecode5 = 0 ;
20654 bool temp6 = false ;
20655 PyObject * obj0 = 0 ;
20656 PyObject * obj1 = 0 ;
20657 PyObject * obj2 = 0 ;
20658 PyObject * obj3 = 0 ;
20659 PyObject * obj4 = 0 ;
20660 PyObject * obj5 = 0 ;
20661 char * kwnames[] = {
20662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20663 };
20664
20665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20667 if (!SWIG_IsOK(res1)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20669 }
20670 arg1 = reinterpret_cast< wxWindow * >(argp1);
20671 if (obj1) {
20672 ecode2 = SWIG_AsVal_int(obj1, &val2);
20673 if (!SWIG_IsOK(ecode2)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20675 }
20676 arg2 = static_cast< int >(val2);
20677 }
20678 if (obj2) {
20679 {
20680 arg3 = &temp3;
20681 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20682 }
20683 }
20684 if (obj3) {
20685 {
20686 arg4 = &temp4;
20687 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20688 }
20689 }
20690 if (obj4) {
20691 ecode5 = SWIG_AsVal_long(obj4, &val5);
20692 if (!SWIG_IsOK(ecode5)) {
20693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20694 }
20695 arg5 = static_cast< long >(val5);
20696 }
20697 if (obj5) {
20698 {
20699 arg6 = wxString_in_helper(obj5);
20700 if (arg6 == NULL) SWIG_fail;
20701 temp6 = true;
20702 }
20703 }
20704 {
20705 if (!wxPyCheckForApp()) SWIG_fail;
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20712 {
20713 if (temp6)
20714 delete arg6;
20715 }
20716 return resultobj;
20717 fail:
20718 {
20719 if (temp6)
20720 delete arg6;
20721 }
20722 return NULL;
20723 }
20724
20725
20726 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20727 PyObject *resultobj = 0;
20728 wxNotebook *result = 0 ;
20729
20730 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20731 {
20732 if (!wxPyCheckForApp()) SWIG_fail;
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (wxNotebook *)new wxNotebook();
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20739 return resultobj;
20740 fail:
20741 return NULL;
20742 }
20743
20744
20745 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj = 0;
20747 wxNotebook *arg1 = (wxNotebook *) 0 ;
20748 wxWindow *arg2 = (wxWindow *) 0 ;
20749 int arg3 = (int) -1 ;
20750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20752 wxSize const &arg5_defvalue = wxDefaultSize ;
20753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20754 long arg6 = (long) 0 ;
20755 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20756 wxString *arg7 = (wxString *) &arg7_defvalue ;
20757 bool result;
20758 void *argp1 = 0 ;
20759 int res1 = 0 ;
20760 void *argp2 = 0 ;
20761 int res2 = 0 ;
20762 int val3 ;
20763 int ecode3 = 0 ;
20764 wxPoint temp4 ;
20765 wxSize temp5 ;
20766 long val6 ;
20767 int ecode6 = 0 ;
20768 bool temp7 = false ;
20769 PyObject * obj0 = 0 ;
20770 PyObject * obj1 = 0 ;
20771 PyObject * obj2 = 0 ;
20772 PyObject * obj3 = 0 ;
20773 PyObject * obj4 = 0 ;
20774 PyObject * obj5 = 0 ;
20775 PyObject * obj6 = 0 ;
20776 char * kwnames[] = {
20777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20778 };
20779
20780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20782 if (!SWIG_IsOK(res1)) {
20783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20784 }
20785 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20787 if (!SWIG_IsOK(res2)) {
20788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20789 }
20790 arg2 = reinterpret_cast< wxWindow * >(argp2);
20791 if (obj2) {
20792 ecode3 = SWIG_AsVal_int(obj2, &val3);
20793 if (!SWIG_IsOK(ecode3)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20795 }
20796 arg3 = static_cast< int >(val3);
20797 }
20798 if (obj3) {
20799 {
20800 arg4 = &temp4;
20801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20802 }
20803 }
20804 if (obj4) {
20805 {
20806 arg5 = &temp5;
20807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20808 }
20809 }
20810 if (obj5) {
20811 ecode6 = SWIG_AsVal_long(obj5, &val6);
20812 if (!SWIG_IsOK(ecode6)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20814 }
20815 arg6 = static_cast< long >(val6);
20816 }
20817 if (obj6) {
20818 {
20819 arg7 = wxString_in_helper(obj6);
20820 if (arg7 == NULL) SWIG_fail;
20821 temp7 = true;
20822 }
20823 }
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20832 }
20833 {
20834 if (temp7)
20835 delete arg7;
20836 }
20837 return resultobj;
20838 fail:
20839 {
20840 if (temp7)
20841 delete arg7;
20842 }
20843 return NULL;
20844 }
20845
20846
20847 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20848 PyObject *resultobj = 0;
20849 wxNotebook *arg1 = (wxNotebook *) 0 ;
20850 int result;
20851 void *argp1 = 0 ;
20852 int res1 = 0 ;
20853 PyObject *swig_obj[1] ;
20854
20855 if (!args) SWIG_fail;
20856 swig_obj[0] = args;
20857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20858 if (!SWIG_IsOK(res1)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20860 }
20861 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_From_int(static_cast< int >(result));
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj = 0;
20877 wxNotebook *arg1 = (wxNotebook *) 0 ;
20878 wxSize *arg2 = 0 ;
20879 void *argp1 = 0 ;
20880 int res1 = 0 ;
20881 wxSize temp2 ;
20882 PyObject * obj0 = 0 ;
20883 PyObject * obj1 = 0 ;
20884 char * kwnames[] = {
20885 (char *) "self",(char *) "padding", NULL
20886 };
20887
20888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20890 if (!SWIG_IsOK(res1)) {
20891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20892 }
20893 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20894 {
20895 arg2 = &temp2;
20896 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20897 }
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 (arg1)->SetPadding((wxSize const &)*arg2);
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_Py_Void();
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20912 PyObject *resultobj = 0;
20913 wxNotebook *arg1 = (wxNotebook *) 0 ;
20914 wxSize *arg2 = 0 ;
20915 void *argp1 = 0 ;
20916 int res1 = 0 ;
20917 wxSize temp2 ;
20918 PyObject * obj0 = 0 ;
20919 PyObject * obj1 = 0 ;
20920 char * kwnames[] = {
20921 (char *) "self",(char *) "sz", NULL
20922 };
20923
20924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20926 if (!SWIG_IsOK(res1)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20928 }
20929 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20930 {
20931 arg2 = &temp2;
20932 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 (arg1)->SetTabSize((wxSize const &)*arg2);
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 resultobj = SWIG_Py_Void();
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20948 PyObject *resultobj = 0;
20949 wxNotebook *arg1 = (wxNotebook *) 0 ;
20950 wxColour result;
20951 void *argp1 = 0 ;
20952 int res1 = 0 ;
20953 PyObject *swig_obj[1] ;
20954
20955 if (!args) SWIG_fail;
20956 swig_obj[0] = args;
20957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20958 if (!SWIG_IsOK(res1)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20960 }
20961 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20962 {
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj = 0;
20977 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20978 SwigValueWrapper<wxVisualAttributes > result;
20979 int val1 ;
20980 int ecode1 = 0 ;
20981 PyObject * obj0 = 0 ;
20982 char * kwnames[] = {
20983 (char *) "variant", NULL
20984 };
20985
20986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20987 if (obj0) {
20988 ecode1 = SWIG_AsVal_int(obj0, &val1);
20989 if (!SWIG_IsOK(ecode1)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20991 }
20992 arg1 = static_cast< wxWindowVariant >(val1);
20993 }
20994 {
20995 if (!wxPyCheckForApp()) SWIG_fail;
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 result = wxNotebook::GetClassDefaultAttributes(arg1);
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj = 0;
21010 wxNotebook *arg1 = (wxNotebook *) 0 ;
21011 int arg2 ;
21012 bool result;
21013 void *argp1 = 0 ;
21014 int res1 = 0 ;
21015 int val2 ;
21016 int ecode2 = 0 ;
21017 PyObject * obj0 = 0 ;
21018 PyObject * obj1 = 0 ;
21019 char * kwnames[] = {
21020 (char *) "self",(char *) "nPage", NULL
21021 };
21022
21023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21025 if (!SWIG_IsOK(res1)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21027 }
21028 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21029 ecode2 = SWIG_AsVal_int(obj1, &val2);
21030 if (!SWIG_IsOK(ecode2)) {
21031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21032 }
21033 arg2 = static_cast< int >(val2);
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 {
21041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21042 }
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj = 0;
21051 wxNotebook *arg1 = (wxNotebook *) 0 ;
21052 int arg2 ;
21053 int arg3 = (int) -1 ;
21054 void *argp1 = 0 ;
21055 int res1 = 0 ;
21056 int val2 ;
21057 int ecode2 = 0 ;
21058 int val3 ;
21059 int ecode3 = 0 ;
21060 PyObject * obj0 = 0 ;
21061 PyObject * obj1 = 0 ;
21062 PyObject * obj2 = 0 ;
21063 char * kwnames[] = {
21064 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21065 };
21066
21067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21069 if (!SWIG_IsOK(res1)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21071 }
21072 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21073 ecode2 = SWIG_AsVal_int(obj1, &val2);
21074 if (!SWIG_IsOK(ecode2)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21076 }
21077 arg2 = static_cast< int >(val2);
21078 if (obj2) {
21079 ecode3 = SWIG_AsVal_int(obj2, &val3);
21080 if (!SWIG_IsOK(ecode3)) {
21081 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21082 }
21083 arg3 = static_cast< int >(val3);
21084 }
21085 {
21086 PyThreadState* __tstate = wxPyBeginAllowThreads();
21087 (arg1)->SendPageChangedEvent(arg2,arg3);
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 resultobj = SWIG_Py_Void();
21092 return resultobj;
21093 fail:
21094 return NULL;
21095 }
21096
21097
21098 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21099 PyObject *obj;
21100 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21101 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21102 return SWIG_Py_Void();
21103 }
21104
21105 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21106 return SWIG_Python_InitShadowInstance(args);
21107 }
21108
21109 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj = 0;
21111 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21112 int arg2 = (int) 0 ;
21113 int arg3 = (int) -1 ;
21114 int arg4 = (int) -1 ;
21115 wxNotebookEvent *result = 0 ;
21116 int val1 ;
21117 int ecode1 = 0 ;
21118 int val2 ;
21119 int ecode2 = 0 ;
21120 int val3 ;
21121 int ecode3 = 0 ;
21122 int val4 ;
21123 int ecode4 = 0 ;
21124 PyObject * obj0 = 0 ;
21125 PyObject * obj1 = 0 ;
21126 PyObject * obj2 = 0 ;
21127 PyObject * obj3 = 0 ;
21128 char * kwnames[] = {
21129 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21130 };
21131
21132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21133 if (obj0) {
21134 ecode1 = SWIG_AsVal_int(obj0, &val1);
21135 if (!SWIG_IsOK(ecode1)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21137 }
21138 arg1 = static_cast< wxEventType >(val1);
21139 }
21140 if (obj1) {
21141 ecode2 = SWIG_AsVal_int(obj1, &val2);
21142 if (!SWIG_IsOK(ecode2)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21144 }
21145 arg2 = static_cast< int >(val2);
21146 }
21147 if (obj2) {
21148 ecode3 = SWIG_AsVal_int(obj2, &val3);
21149 if (!SWIG_IsOK(ecode3)) {
21150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21151 }
21152 arg3 = static_cast< int >(val3);
21153 }
21154 if (obj3) {
21155 ecode4 = SWIG_AsVal_int(obj3, &val4);
21156 if (!SWIG_IsOK(ecode4)) {
21157 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21158 }
21159 arg4 = static_cast< int >(val4);
21160 }
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21168 return resultobj;
21169 fail:
21170 return NULL;
21171 }
21172
21173
21174 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21175 PyObject *obj;
21176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21177 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21178 return SWIG_Py_Void();
21179 }
21180
21181 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21182 return SWIG_Python_InitShadowInstance(args);
21183 }
21184
21185 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21186 PyObject *resultobj = 0;
21187 wxWindow *arg1 = (wxWindow *) 0 ;
21188 int arg2 = (int) -1 ;
21189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21191 wxSize const &arg4_defvalue = wxDefaultSize ;
21192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21193 long arg5 = (long) 0 ;
21194 wxString const &arg6_defvalue = wxPyEmptyString ;
21195 wxString *arg6 = (wxString *) &arg6_defvalue ;
21196 wxListbook *result = 0 ;
21197 void *argp1 = 0 ;
21198 int res1 = 0 ;
21199 int val2 ;
21200 int ecode2 = 0 ;
21201 wxPoint temp3 ;
21202 wxSize temp4 ;
21203 long val5 ;
21204 int ecode5 = 0 ;
21205 bool temp6 = false ;
21206 PyObject * obj0 = 0 ;
21207 PyObject * obj1 = 0 ;
21208 PyObject * obj2 = 0 ;
21209 PyObject * obj3 = 0 ;
21210 PyObject * obj4 = 0 ;
21211 PyObject * obj5 = 0 ;
21212 char * kwnames[] = {
21213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21214 };
21215
21216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21218 if (!SWIG_IsOK(res1)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21220 }
21221 arg1 = reinterpret_cast< wxWindow * >(argp1);
21222 if (obj1) {
21223 ecode2 = SWIG_AsVal_int(obj1, &val2);
21224 if (!SWIG_IsOK(ecode2)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21226 }
21227 arg2 = static_cast< int >(val2);
21228 }
21229 if (obj2) {
21230 {
21231 arg3 = &temp3;
21232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21233 }
21234 }
21235 if (obj3) {
21236 {
21237 arg4 = &temp4;
21238 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21239 }
21240 }
21241 if (obj4) {
21242 ecode5 = SWIG_AsVal_long(obj4, &val5);
21243 if (!SWIG_IsOK(ecode5)) {
21244 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21245 }
21246 arg5 = static_cast< long >(val5);
21247 }
21248 if (obj5) {
21249 {
21250 arg6 = wxString_in_helper(obj5);
21251 if (arg6 == NULL) SWIG_fail;
21252 temp6 = true;
21253 }
21254 }
21255 {
21256 if (!wxPyCheckForApp()) SWIG_fail;
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21263 {
21264 if (temp6)
21265 delete arg6;
21266 }
21267 return resultobj;
21268 fail:
21269 {
21270 if (temp6)
21271 delete arg6;
21272 }
21273 return NULL;
21274 }
21275
21276
21277 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21278 PyObject *resultobj = 0;
21279 wxListbook *result = 0 ;
21280
21281 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21282 {
21283 if (!wxPyCheckForApp()) SWIG_fail;
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 result = (wxListbook *)new wxListbook();
21286 wxPyEndAllowThreads(__tstate);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21290 return resultobj;
21291 fail:
21292 return NULL;
21293 }
21294
21295
21296 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21297 PyObject *resultobj = 0;
21298 wxListbook *arg1 = (wxListbook *) 0 ;
21299 wxWindow *arg2 = (wxWindow *) 0 ;
21300 int arg3 = (int) -1 ;
21301 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21302 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21303 wxSize const &arg5_defvalue = wxDefaultSize ;
21304 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21305 long arg6 = (long) 0 ;
21306 wxString const &arg7_defvalue = wxPyEmptyString ;
21307 wxString *arg7 = (wxString *) &arg7_defvalue ;
21308 bool result;
21309 void *argp1 = 0 ;
21310 int res1 = 0 ;
21311 void *argp2 = 0 ;
21312 int res2 = 0 ;
21313 int val3 ;
21314 int ecode3 = 0 ;
21315 wxPoint temp4 ;
21316 wxSize temp5 ;
21317 long val6 ;
21318 int ecode6 = 0 ;
21319 bool temp7 = false ;
21320 PyObject * obj0 = 0 ;
21321 PyObject * obj1 = 0 ;
21322 PyObject * obj2 = 0 ;
21323 PyObject * obj3 = 0 ;
21324 PyObject * obj4 = 0 ;
21325 PyObject * obj5 = 0 ;
21326 PyObject * obj6 = 0 ;
21327 char * kwnames[] = {
21328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21329 };
21330
21331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21333 if (!SWIG_IsOK(res1)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21335 }
21336 arg1 = reinterpret_cast< wxListbook * >(argp1);
21337 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21338 if (!SWIG_IsOK(res2)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21340 }
21341 arg2 = reinterpret_cast< wxWindow * >(argp2);
21342 if (obj2) {
21343 ecode3 = SWIG_AsVal_int(obj2, &val3);
21344 if (!SWIG_IsOK(ecode3)) {
21345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21346 }
21347 arg3 = static_cast< int >(val3);
21348 }
21349 if (obj3) {
21350 {
21351 arg4 = &temp4;
21352 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21353 }
21354 }
21355 if (obj4) {
21356 {
21357 arg5 = &temp5;
21358 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21359 }
21360 }
21361 if (obj5) {
21362 ecode6 = SWIG_AsVal_long(obj5, &val6);
21363 if (!SWIG_IsOK(ecode6)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21365 }
21366 arg6 = static_cast< long >(val6);
21367 }
21368 if (obj6) {
21369 {
21370 arg7 = wxString_in_helper(obj6);
21371 if (arg7 == NULL) SWIG_fail;
21372 temp7 = true;
21373 }
21374 }
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 {
21382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21383 }
21384 {
21385 if (temp7)
21386 delete arg7;
21387 }
21388 return resultobj;
21389 fail:
21390 {
21391 if (temp7)
21392 delete arg7;
21393 }
21394 return NULL;
21395 }
21396
21397
21398 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21399 PyObject *resultobj = 0;
21400 wxListbook *arg1 = (wxListbook *) 0 ;
21401 wxListView *result = 0 ;
21402 void *argp1 = 0 ;
21403 int res1 = 0 ;
21404 PyObject *swig_obj[1] ;
21405
21406 if (!args) SWIG_fail;
21407 swig_obj[0] = args;
21408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21409 if (!SWIG_IsOK(res1)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21411 }
21412 arg1 = reinterpret_cast< wxListbook * >(argp1);
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 result = (wxListView *)(arg1)->GetListView();
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21427 PyObject *obj;
21428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21429 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21430 return SWIG_Py_Void();
21431 }
21432
21433 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21434 return SWIG_Python_InitShadowInstance(args);
21435 }
21436
21437 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj = 0;
21439 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21440 int arg2 = (int) 0 ;
21441 int arg3 = (int) -1 ;
21442 int arg4 = (int) -1 ;
21443 wxListbookEvent *result = 0 ;
21444 int val1 ;
21445 int ecode1 = 0 ;
21446 int val2 ;
21447 int ecode2 = 0 ;
21448 int val3 ;
21449 int ecode3 = 0 ;
21450 int val4 ;
21451 int ecode4 = 0 ;
21452 PyObject * obj0 = 0 ;
21453 PyObject * obj1 = 0 ;
21454 PyObject * obj2 = 0 ;
21455 PyObject * obj3 = 0 ;
21456 char * kwnames[] = {
21457 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21458 };
21459
21460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21461 if (obj0) {
21462 ecode1 = SWIG_AsVal_int(obj0, &val1);
21463 if (!SWIG_IsOK(ecode1)) {
21464 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21465 }
21466 arg1 = static_cast< wxEventType >(val1);
21467 }
21468 if (obj1) {
21469 ecode2 = SWIG_AsVal_int(obj1, &val2);
21470 if (!SWIG_IsOK(ecode2)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21472 }
21473 arg2 = static_cast< int >(val2);
21474 }
21475 if (obj2) {
21476 ecode3 = SWIG_AsVal_int(obj2, &val3);
21477 if (!SWIG_IsOK(ecode3)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21479 }
21480 arg3 = static_cast< int >(val3);
21481 }
21482 if (obj3) {
21483 ecode4 = SWIG_AsVal_int(obj3, &val4);
21484 if (!SWIG_IsOK(ecode4)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21486 }
21487 arg4 = static_cast< int >(val4);
21488 }
21489 {
21490 PyThreadState* __tstate = wxPyBeginAllowThreads();
21491 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21496 return resultobj;
21497 fail:
21498 return NULL;
21499 }
21500
21501
21502 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21503 PyObject *obj;
21504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21505 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21506 return SWIG_Py_Void();
21507 }
21508
21509 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21510 return SWIG_Python_InitShadowInstance(args);
21511 }
21512
21513 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj = 0;
21515 wxWindow *arg1 = (wxWindow *) 0 ;
21516 int arg2 ;
21517 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21518 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21519 wxSize const &arg4_defvalue = wxDefaultSize ;
21520 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21521 long arg5 = (long) 0 ;
21522 wxString const &arg6_defvalue = wxPyEmptyString ;
21523 wxString *arg6 = (wxString *) &arg6_defvalue ;
21524 wxChoicebook *result = 0 ;
21525 void *argp1 = 0 ;
21526 int res1 = 0 ;
21527 int val2 ;
21528 int ecode2 = 0 ;
21529 wxPoint temp3 ;
21530 wxSize temp4 ;
21531 long val5 ;
21532 int ecode5 = 0 ;
21533 bool temp6 = false ;
21534 PyObject * obj0 = 0 ;
21535 PyObject * obj1 = 0 ;
21536 PyObject * obj2 = 0 ;
21537 PyObject * obj3 = 0 ;
21538 PyObject * obj4 = 0 ;
21539 PyObject * obj5 = 0 ;
21540 char * kwnames[] = {
21541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21542 };
21543
21544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21546 if (!SWIG_IsOK(res1)) {
21547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21548 }
21549 arg1 = reinterpret_cast< wxWindow * >(argp1);
21550 ecode2 = SWIG_AsVal_int(obj1, &val2);
21551 if (!SWIG_IsOK(ecode2)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21553 }
21554 arg2 = static_cast< int >(val2);
21555 if (obj2) {
21556 {
21557 arg3 = &temp3;
21558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21559 }
21560 }
21561 if (obj3) {
21562 {
21563 arg4 = &temp4;
21564 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21565 }
21566 }
21567 if (obj4) {
21568 ecode5 = SWIG_AsVal_long(obj4, &val5);
21569 if (!SWIG_IsOK(ecode5)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21571 }
21572 arg5 = static_cast< long >(val5);
21573 }
21574 if (obj5) {
21575 {
21576 arg6 = wxString_in_helper(obj5);
21577 if (arg6 == NULL) SWIG_fail;
21578 temp6 = true;
21579 }
21580 }
21581 {
21582 if (!wxPyCheckForApp()) SWIG_fail;
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21589 {
21590 if (temp6)
21591 delete arg6;
21592 }
21593 return resultobj;
21594 fail:
21595 {
21596 if (temp6)
21597 delete arg6;
21598 }
21599 return NULL;
21600 }
21601
21602
21603 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21604 PyObject *resultobj = 0;
21605 wxChoicebook *result = 0 ;
21606
21607 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21608 {
21609 if (!wxPyCheckForApp()) SWIG_fail;
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 result = (wxChoicebook *)new wxChoicebook();
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj = 0;
21624 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21625 wxWindow *arg2 = (wxWindow *) 0 ;
21626 int arg3 ;
21627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21629 wxSize const &arg5_defvalue = wxDefaultSize ;
21630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21631 long arg6 = (long) 0 ;
21632 wxString const &arg7_defvalue = wxPyEmptyString ;
21633 wxString *arg7 = (wxString *) &arg7_defvalue ;
21634 bool result;
21635 void *argp1 = 0 ;
21636 int res1 = 0 ;
21637 void *argp2 = 0 ;
21638 int res2 = 0 ;
21639 int val3 ;
21640 int ecode3 = 0 ;
21641 wxPoint temp4 ;
21642 wxSize temp5 ;
21643 long val6 ;
21644 int ecode6 = 0 ;
21645 bool temp7 = false ;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 PyObject * obj2 = 0 ;
21649 PyObject * obj3 = 0 ;
21650 PyObject * obj4 = 0 ;
21651 PyObject * obj5 = 0 ;
21652 PyObject * obj6 = 0 ;
21653 char * kwnames[] = {
21654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21655 };
21656
21657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21659 if (!SWIG_IsOK(res1)) {
21660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21661 }
21662 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21663 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21664 if (!SWIG_IsOK(res2)) {
21665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21666 }
21667 arg2 = reinterpret_cast< wxWindow * >(argp2);
21668 ecode3 = SWIG_AsVal_int(obj2, &val3);
21669 if (!SWIG_IsOK(ecode3)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21671 }
21672 arg3 = static_cast< int >(val3);
21673 if (obj3) {
21674 {
21675 arg4 = &temp4;
21676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21677 }
21678 }
21679 if (obj4) {
21680 {
21681 arg5 = &temp5;
21682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21683 }
21684 }
21685 if (obj5) {
21686 ecode6 = SWIG_AsVal_long(obj5, &val6);
21687 if (!SWIG_IsOK(ecode6)) {
21688 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21689 }
21690 arg6 = static_cast< long >(val6);
21691 }
21692 if (obj6) {
21693 {
21694 arg7 = wxString_in_helper(obj6);
21695 if (arg7 == NULL) SWIG_fail;
21696 temp7 = true;
21697 }
21698 }
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21702 wxPyEndAllowThreads(__tstate);
21703 if (PyErr_Occurred()) SWIG_fail;
21704 }
21705 {
21706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21707 }
21708 {
21709 if (temp7)
21710 delete arg7;
21711 }
21712 return resultobj;
21713 fail:
21714 {
21715 if (temp7)
21716 delete arg7;
21717 }
21718 return NULL;
21719 }
21720
21721
21722 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21723 PyObject *resultobj = 0;
21724 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21725 wxChoice *result = 0 ;
21726 void *argp1 = 0 ;
21727 int res1 = 0 ;
21728 PyObject *swig_obj[1] ;
21729
21730 if (!args) SWIG_fail;
21731 swig_obj[0] = args;
21732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21733 if (!SWIG_IsOK(res1)) {
21734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21735 }
21736 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21751 PyObject *obj;
21752 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21753 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21754 return SWIG_Py_Void();
21755 }
21756
21757 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21758 return SWIG_Python_InitShadowInstance(args);
21759 }
21760
21761 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21762 PyObject *resultobj = 0;
21763 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21764 int arg2 = (int) 0 ;
21765 int arg3 = (int) -1 ;
21766 int arg4 = (int) -1 ;
21767 wxChoicebookEvent *result = 0 ;
21768 int val1 ;
21769 int ecode1 = 0 ;
21770 int val2 ;
21771 int ecode2 = 0 ;
21772 int val3 ;
21773 int ecode3 = 0 ;
21774 int val4 ;
21775 int ecode4 = 0 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 PyObject * obj2 = 0 ;
21779 PyObject * obj3 = 0 ;
21780 char * kwnames[] = {
21781 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21782 };
21783
21784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21785 if (obj0) {
21786 ecode1 = SWIG_AsVal_int(obj0, &val1);
21787 if (!SWIG_IsOK(ecode1)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21789 }
21790 arg1 = static_cast< wxEventType >(val1);
21791 }
21792 if (obj1) {
21793 ecode2 = SWIG_AsVal_int(obj1, &val2);
21794 if (!SWIG_IsOK(ecode2)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21796 }
21797 arg2 = static_cast< int >(val2);
21798 }
21799 if (obj2) {
21800 ecode3 = SWIG_AsVal_int(obj2, &val3);
21801 if (!SWIG_IsOK(ecode3)) {
21802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21803 }
21804 arg3 = static_cast< int >(val3);
21805 }
21806 if (obj3) {
21807 ecode4 = SWIG_AsVal_int(obj3, &val4);
21808 if (!SWIG_IsOK(ecode4)) {
21809 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21810 }
21811 arg4 = static_cast< int >(val4);
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21820 return resultobj;
21821 fail:
21822 return NULL;
21823 }
21824
21825
21826 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21827 PyObject *obj;
21828 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21829 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21830 return SWIG_Py_Void();
21831 }
21832
21833 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21834 return SWIG_Python_InitShadowInstance(args);
21835 }
21836
21837 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj = 0;
21839 wxWindow *arg1 = (wxWindow *) 0 ;
21840 int arg2 ;
21841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21843 wxSize const &arg4_defvalue = wxDefaultSize ;
21844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21845 long arg5 = (long) wxBK_DEFAULT ;
21846 wxString const &arg6_defvalue = wxPyEmptyString ;
21847 wxString *arg6 = (wxString *) &arg6_defvalue ;
21848 wxTreebook *result = 0 ;
21849 void *argp1 = 0 ;
21850 int res1 = 0 ;
21851 int val2 ;
21852 int ecode2 = 0 ;
21853 wxPoint temp3 ;
21854 wxSize temp4 ;
21855 long val5 ;
21856 int ecode5 = 0 ;
21857 bool temp6 = false ;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 PyObject * obj2 = 0 ;
21861 PyObject * obj3 = 0 ;
21862 PyObject * obj4 = 0 ;
21863 PyObject * obj5 = 0 ;
21864 char * kwnames[] = {
21865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21866 };
21867
21868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21870 if (!SWIG_IsOK(res1)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21872 }
21873 arg1 = reinterpret_cast< wxWindow * >(argp1);
21874 ecode2 = SWIG_AsVal_int(obj1, &val2);
21875 if (!SWIG_IsOK(ecode2)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21877 }
21878 arg2 = static_cast< int >(val2);
21879 if (obj2) {
21880 {
21881 arg3 = &temp3;
21882 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21883 }
21884 }
21885 if (obj3) {
21886 {
21887 arg4 = &temp4;
21888 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21889 }
21890 }
21891 if (obj4) {
21892 ecode5 = SWIG_AsVal_long(obj4, &val5);
21893 if (!SWIG_IsOK(ecode5)) {
21894 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21895 }
21896 arg5 = static_cast< long >(val5);
21897 }
21898 if (obj5) {
21899 {
21900 arg6 = wxString_in_helper(obj5);
21901 if (arg6 == NULL) SWIG_fail;
21902 temp6 = true;
21903 }
21904 }
21905 {
21906 if (!wxPyCheckForApp()) SWIG_fail;
21907 PyThreadState* __tstate = wxPyBeginAllowThreads();
21908 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21913 {
21914 if (temp6)
21915 delete arg6;
21916 }
21917 return resultobj;
21918 fail:
21919 {
21920 if (temp6)
21921 delete arg6;
21922 }
21923 return NULL;
21924 }
21925
21926
21927 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21928 PyObject *resultobj = 0;
21929 wxTreebook *result = 0 ;
21930
21931 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21932 {
21933 if (!wxPyCheckForApp()) SWIG_fail;
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 result = (wxTreebook *)new wxTreebook();
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj = 0;
21948 wxTreebook *arg1 = (wxTreebook *) 0 ;
21949 wxWindow *arg2 = (wxWindow *) 0 ;
21950 int arg3 ;
21951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21953 wxSize const &arg5_defvalue = wxDefaultSize ;
21954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21955 long arg6 = (long) wxBK_DEFAULT ;
21956 wxString const &arg7_defvalue = wxPyEmptyString ;
21957 wxString *arg7 = (wxString *) &arg7_defvalue ;
21958 bool result;
21959 void *argp1 = 0 ;
21960 int res1 = 0 ;
21961 void *argp2 = 0 ;
21962 int res2 = 0 ;
21963 int val3 ;
21964 int ecode3 = 0 ;
21965 wxPoint temp4 ;
21966 wxSize temp5 ;
21967 long val6 ;
21968 int ecode6 = 0 ;
21969 bool temp7 = false ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 PyObject * obj3 = 0 ;
21974 PyObject * obj4 = 0 ;
21975 PyObject * obj5 = 0 ;
21976 PyObject * obj6 = 0 ;
21977 char * kwnames[] = {
21978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21979 };
21980
21981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21983 if (!SWIG_IsOK(res1)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21985 }
21986 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21987 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21988 if (!SWIG_IsOK(res2)) {
21989 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21990 }
21991 arg2 = reinterpret_cast< wxWindow * >(argp2);
21992 ecode3 = SWIG_AsVal_int(obj2, &val3);
21993 if (!SWIG_IsOK(ecode3)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21995 }
21996 arg3 = static_cast< int >(val3);
21997 if (obj3) {
21998 {
21999 arg4 = &temp4;
22000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22001 }
22002 }
22003 if (obj4) {
22004 {
22005 arg5 = &temp5;
22006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22007 }
22008 }
22009 if (obj5) {
22010 ecode6 = SWIG_AsVal_long(obj5, &val6);
22011 if (!SWIG_IsOK(ecode6)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22013 }
22014 arg6 = static_cast< long >(val6);
22015 }
22016 if (obj6) {
22017 {
22018 arg7 = wxString_in_helper(obj6);
22019 if (arg7 == NULL) SWIG_fail;
22020 temp7 = true;
22021 }
22022 }
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22026 wxPyEndAllowThreads(__tstate);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 }
22029 {
22030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22031 }
22032 {
22033 if (temp7)
22034 delete arg7;
22035 }
22036 return resultobj;
22037 fail:
22038 {
22039 if (temp7)
22040 delete arg7;
22041 }
22042 return NULL;
22043 }
22044
22045
22046 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22047 PyObject *resultobj = 0;
22048 wxTreebook *arg1 = (wxTreebook *) 0 ;
22049 size_t arg2 ;
22050 wxWindow *arg3 = (wxWindow *) 0 ;
22051 wxString *arg4 = 0 ;
22052 bool arg5 = (bool) false ;
22053 int arg6 = (int) wxNOT_FOUND ;
22054 bool result;
22055 void *argp1 = 0 ;
22056 int res1 = 0 ;
22057 size_t val2 ;
22058 int ecode2 = 0 ;
22059 void *argp3 = 0 ;
22060 int res3 = 0 ;
22061 bool temp4 = false ;
22062 bool val5 ;
22063 int ecode5 = 0 ;
22064 int val6 ;
22065 int ecode6 = 0 ;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 PyObject * obj2 = 0 ;
22069 PyObject * obj3 = 0 ;
22070 PyObject * obj4 = 0 ;
22071 PyObject * obj5 = 0 ;
22072 char * kwnames[] = {
22073 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22074 };
22075
22076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22078 if (!SWIG_IsOK(res1)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22080 }
22081 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22082 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22083 if (!SWIG_IsOK(ecode2)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22085 }
22086 arg2 = static_cast< size_t >(val2);
22087 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22088 if (!SWIG_IsOK(res3)) {
22089 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22090 }
22091 arg3 = reinterpret_cast< wxWindow * >(argp3);
22092 {
22093 arg4 = wxString_in_helper(obj3);
22094 if (arg4 == NULL) SWIG_fail;
22095 temp4 = true;
22096 }
22097 if (obj4) {
22098 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22099 if (!SWIG_IsOK(ecode5)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22101 }
22102 arg5 = static_cast< bool >(val5);
22103 }
22104 if (obj5) {
22105 ecode6 = SWIG_AsVal_int(obj5, &val6);
22106 if (!SWIG_IsOK(ecode6)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22108 }
22109 arg6 = static_cast< int >(val6);
22110 }
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 {
22118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22119 }
22120 {
22121 if (temp4)
22122 delete arg4;
22123 }
22124 return resultobj;
22125 fail:
22126 {
22127 if (temp4)
22128 delete arg4;
22129 }
22130 return NULL;
22131 }
22132
22133
22134 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj = 0;
22136 wxTreebook *arg1 = (wxTreebook *) 0 ;
22137 wxWindow *arg2 = (wxWindow *) 0 ;
22138 wxString *arg3 = 0 ;
22139 bool arg4 = (bool) false ;
22140 int arg5 = (int) wxNOT_FOUND ;
22141 bool result;
22142 void *argp1 = 0 ;
22143 int res1 = 0 ;
22144 void *argp2 = 0 ;
22145 int res2 = 0 ;
22146 bool temp3 = false ;
22147 bool val4 ;
22148 int ecode4 = 0 ;
22149 int val5 ;
22150 int ecode5 = 0 ;
22151 PyObject * obj0 = 0 ;
22152 PyObject * obj1 = 0 ;
22153 PyObject * obj2 = 0 ;
22154 PyObject * obj3 = 0 ;
22155 PyObject * obj4 = 0 ;
22156 char * kwnames[] = {
22157 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22158 };
22159
22160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22162 if (!SWIG_IsOK(res1)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22164 }
22165 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22167 if (!SWIG_IsOK(res2)) {
22168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22169 }
22170 arg2 = reinterpret_cast< wxWindow * >(argp2);
22171 {
22172 arg3 = wxString_in_helper(obj2);
22173 if (arg3 == NULL) SWIG_fail;
22174 temp3 = true;
22175 }
22176 if (obj3) {
22177 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22178 if (!SWIG_IsOK(ecode4)) {
22179 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22180 }
22181 arg4 = static_cast< bool >(val4);
22182 }
22183 if (obj4) {
22184 ecode5 = SWIG_AsVal_int(obj4, &val5);
22185 if (!SWIG_IsOK(ecode5)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22187 }
22188 arg5 = static_cast< int >(val5);
22189 }
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 {
22197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22198 }
22199 {
22200 if (temp3)
22201 delete arg3;
22202 }
22203 return resultobj;
22204 fail:
22205 {
22206 if (temp3)
22207 delete arg3;
22208 }
22209 return NULL;
22210 }
22211
22212
22213 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22214 PyObject *resultobj = 0;
22215 wxTreebook *arg1 = (wxTreebook *) 0 ;
22216 size_t arg2 ;
22217 bool result;
22218 void *argp1 = 0 ;
22219 int res1 = 0 ;
22220 size_t val2 ;
22221 int ecode2 = 0 ;
22222 PyObject * obj0 = 0 ;
22223 PyObject * obj1 = 0 ;
22224 char * kwnames[] = {
22225 (char *) "self",(char *) "pos", NULL
22226 };
22227
22228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22230 if (!SWIG_IsOK(res1)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22232 }
22233 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22234 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22235 if (!SWIG_IsOK(ecode2)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22237 }
22238 arg2 = static_cast< size_t >(val2);
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 {
22246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22247 }
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj = 0;
22256 wxTreebook *arg1 = (wxTreebook *) 0 ;
22257 size_t arg2 ;
22258 bool arg3 = (bool) true ;
22259 bool result;
22260 void *argp1 = 0 ;
22261 int res1 = 0 ;
22262 size_t val2 ;
22263 int ecode2 = 0 ;
22264 bool val3 ;
22265 int ecode3 = 0 ;
22266 PyObject * obj0 = 0 ;
22267 PyObject * obj1 = 0 ;
22268 PyObject * obj2 = 0 ;
22269 char * kwnames[] = {
22270 (char *) "self",(char *) "pos",(char *) "expand", NULL
22271 };
22272
22273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22275 if (!SWIG_IsOK(res1)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22277 }
22278 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22279 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22280 if (!SWIG_IsOK(ecode2)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22282 }
22283 arg2 = static_cast< size_t >(val2);
22284 if (obj2) {
22285 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22286 if (!SWIG_IsOK(ecode3)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22288 }
22289 arg3 = static_cast< bool >(val3);
22290 }
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
22297 {
22298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj = 0;
22308 wxTreebook *arg1 = (wxTreebook *) 0 ;
22309 size_t arg2 ;
22310 bool result;
22311 void *argp1 = 0 ;
22312 int res1 = 0 ;
22313 size_t val2 ;
22314 int ecode2 = 0 ;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 char * kwnames[] = {
22318 (char *) "self",(char *) "pos", NULL
22319 };
22320
22321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22323 if (!SWIG_IsOK(res1)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22325 }
22326 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22327 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22328 if (!SWIG_IsOK(ecode2)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22330 }
22331 arg2 = static_cast< size_t >(val2);
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 result = (bool)(arg1)->CollapseNode(arg2);
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22340 }
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj = 0;
22349 wxTreebook *arg1 = (wxTreebook *) 0 ;
22350 size_t arg2 ;
22351 int result;
22352 void *argp1 = 0 ;
22353 int res1 = 0 ;
22354 size_t val2 ;
22355 int ecode2 = 0 ;
22356 PyObject * obj0 = 0 ;
22357 PyObject * obj1 = 0 ;
22358 char * kwnames[] = {
22359 (char *) "self",(char *) "pos", NULL
22360 };
22361
22362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22364 if (!SWIG_IsOK(res1)) {
22365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22366 }
22367 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22368 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22369 if (!SWIG_IsOK(ecode2)) {
22370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22371 }
22372 arg2 = static_cast< size_t >(val2);
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_From_int(static_cast< int >(result));
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22387 PyObject *resultobj = 0;
22388 wxTreebook *arg1 = (wxTreebook *) 0 ;
22389 wxPyTreeCtrl *result = 0 ;
22390 void *argp1 = 0 ;
22391 int res1 = 0 ;
22392 PyObject *swig_obj[1] ;
22393
22394 if (!args) SWIG_fail;
22395 swig_obj[0] = args;
22396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22397 if (!SWIG_IsOK(res1)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22399 }
22400 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 {
22408 resultobj = wxPyMake_wxObject(result, (bool)0);
22409 }
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22417 PyObject *obj;
22418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22419 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22420 return SWIG_Py_Void();
22421 }
22422
22423 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22424 return SWIG_Python_InitShadowInstance(args);
22425 }
22426
22427 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj = 0;
22429 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22430 int arg2 = (int) 0 ;
22431 int arg3 = (int) wxNOT_FOUND ;
22432 int arg4 = (int) wxNOT_FOUND ;
22433 wxTreebookEvent *result = 0 ;
22434 int val1 ;
22435 int ecode1 = 0 ;
22436 int val2 ;
22437 int ecode2 = 0 ;
22438 int val3 ;
22439 int ecode3 = 0 ;
22440 int val4 ;
22441 int ecode4 = 0 ;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 PyObject * obj2 = 0 ;
22445 PyObject * obj3 = 0 ;
22446 char * kwnames[] = {
22447 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22448 };
22449
22450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22451 if (obj0) {
22452 ecode1 = SWIG_AsVal_int(obj0, &val1);
22453 if (!SWIG_IsOK(ecode1)) {
22454 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22455 }
22456 arg1 = static_cast< wxEventType >(val1);
22457 }
22458 if (obj1) {
22459 ecode2 = SWIG_AsVal_int(obj1, &val2);
22460 if (!SWIG_IsOK(ecode2)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22462 }
22463 arg2 = static_cast< int >(val2);
22464 }
22465 if (obj2) {
22466 ecode3 = SWIG_AsVal_int(obj2, &val3);
22467 if (!SWIG_IsOK(ecode3)) {
22468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22469 }
22470 arg3 = static_cast< int >(val3);
22471 }
22472 if (obj3) {
22473 ecode4 = SWIG_AsVal_int(obj3, &val4);
22474 if (!SWIG_IsOK(ecode4)) {
22475 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22476 }
22477 arg4 = static_cast< int >(val4);
22478 }
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22486 return resultobj;
22487 fail:
22488 return NULL;
22489 }
22490
22491
22492 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22493 PyObject *obj;
22494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22495 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22496 return SWIG_Py_Void();
22497 }
22498
22499 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22500 return SWIG_Python_InitShadowInstance(args);
22501 }
22502
22503 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj = 0;
22505 wxWindow *arg1 = (wxWindow *) 0 ;
22506 int arg2 ;
22507 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22508 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22509 wxSize const &arg4_defvalue = wxDefaultSize ;
22510 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22511 long arg5 = (long) wxBK_DEFAULT ;
22512 wxString const &arg6_defvalue = wxPyEmptyString ;
22513 wxString *arg6 = (wxString *) &arg6_defvalue ;
22514 wxToolbook *result = 0 ;
22515 void *argp1 = 0 ;
22516 int res1 = 0 ;
22517 int val2 ;
22518 int ecode2 = 0 ;
22519 wxPoint temp3 ;
22520 wxSize temp4 ;
22521 long val5 ;
22522 int ecode5 = 0 ;
22523 bool temp6 = false ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 PyObject * obj2 = 0 ;
22527 PyObject * obj3 = 0 ;
22528 PyObject * obj4 = 0 ;
22529 PyObject * obj5 = 0 ;
22530 char * kwnames[] = {
22531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22532 };
22533
22534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22536 if (!SWIG_IsOK(res1)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22538 }
22539 arg1 = reinterpret_cast< wxWindow * >(argp1);
22540 ecode2 = SWIG_AsVal_int(obj1, &val2);
22541 if (!SWIG_IsOK(ecode2)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22543 }
22544 arg2 = static_cast< int >(val2);
22545 if (obj2) {
22546 {
22547 arg3 = &temp3;
22548 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22549 }
22550 }
22551 if (obj3) {
22552 {
22553 arg4 = &temp4;
22554 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22555 }
22556 }
22557 if (obj4) {
22558 ecode5 = SWIG_AsVal_long(obj4, &val5);
22559 if (!SWIG_IsOK(ecode5)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22561 }
22562 arg5 = static_cast< long >(val5);
22563 }
22564 if (obj5) {
22565 {
22566 arg6 = wxString_in_helper(obj5);
22567 if (arg6 == NULL) SWIG_fail;
22568 temp6 = true;
22569 }
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22578 {
22579 if (temp6)
22580 delete arg6;
22581 }
22582 return resultobj;
22583 fail:
22584 {
22585 if (temp6)
22586 delete arg6;
22587 }
22588 return NULL;
22589 }
22590
22591
22592 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22593 PyObject *resultobj = 0;
22594 wxToolbook *result = 0 ;
22595
22596 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 result = (wxToolbook *)new wxToolbook();
22600 wxPyEndAllowThreads(__tstate);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22604 return resultobj;
22605 fail:
22606 return NULL;
22607 }
22608
22609
22610 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj = 0;
22612 wxToolbook *arg1 = (wxToolbook *) 0 ;
22613 wxWindow *arg2 = (wxWindow *) 0 ;
22614 int arg3 ;
22615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22617 wxSize const &arg5_defvalue = wxDefaultSize ;
22618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22619 long arg6 = (long) 0 ;
22620 wxString const &arg7_defvalue = wxEmptyString ;
22621 wxString *arg7 = (wxString *) &arg7_defvalue ;
22622 bool result;
22623 void *argp1 = 0 ;
22624 int res1 = 0 ;
22625 void *argp2 = 0 ;
22626 int res2 = 0 ;
22627 int val3 ;
22628 int ecode3 = 0 ;
22629 wxPoint temp4 ;
22630 wxSize temp5 ;
22631 long val6 ;
22632 int ecode6 = 0 ;
22633 bool temp7 = false ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 PyObject * obj2 = 0 ;
22637 PyObject * obj3 = 0 ;
22638 PyObject * obj4 = 0 ;
22639 PyObject * obj5 = 0 ;
22640 PyObject * obj6 = 0 ;
22641 char * kwnames[] = {
22642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22643 };
22644
22645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22647 if (!SWIG_IsOK(res1)) {
22648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22649 }
22650 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22651 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22652 if (!SWIG_IsOK(res2)) {
22653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22654 }
22655 arg2 = reinterpret_cast< wxWindow * >(argp2);
22656 ecode3 = SWIG_AsVal_int(obj2, &val3);
22657 if (!SWIG_IsOK(ecode3)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22659 }
22660 arg3 = static_cast< int >(val3);
22661 if (obj3) {
22662 {
22663 arg4 = &temp4;
22664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22665 }
22666 }
22667 if (obj4) {
22668 {
22669 arg5 = &temp5;
22670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22671 }
22672 }
22673 if (obj5) {
22674 ecode6 = SWIG_AsVal_long(obj5, &val6);
22675 if (!SWIG_IsOK(ecode6)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22677 }
22678 arg6 = static_cast< long >(val6);
22679 }
22680 if (obj6) {
22681 {
22682 arg7 = wxString_in_helper(obj6);
22683 if (arg7 == NULL) SWIG_fail;
22684 temp7 = true;
22685 }
22686 }
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 {
22694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22695 }
22696 {
22697 if (temp7)
22698 delete arg7;
22699 }
22700 return resultobj;
22701 fail:
22702 {
22703 if (temp7)
22704 delete arg7;
22705 }
22706 return NULL;
22707 }
22708
22709
22710 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22711 PyObject *resultobj = 0;
22712 wxToolbook *arg1 = (wxToolbook *) 0 ;
22713 wxToolBarBase *result = 0 ;
22714 void *argp1 = 0 ;
22715 int res1 = 0 ;
22716 PyObject *swig_obj[1] ;
22717
22718 if (!args) SWIG_fail;
22719 swig_obj[0] = args;
22720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22721 if (!SWIG_IsOK(res1)) {
22722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22723 }
22724 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 {
22732 resultobj = wxPyMake_wxObject(result, (bool)0);
22733 }
22734 return resultobj;
22735 fail:
22736 return NULL;
22737 }
22738
22739
22740 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22741 PyObject *resultobj = 0;
22742 wxToolbook *arg1 = (wxToolbook *) 0 ;
22743 void *argp1 = 0 ;
22744 int res1 = 0 ;
22745 PyObject *swig_obj[1] ;
22746
22747 if (!args) SWIG_fail;
22748 swig_obj[0] = args;
22749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22750 if (!SWIG_IsOK(res1)) {
22751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22752 }
22753 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 (arg1)->Realize();
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 resultobj = SWIG_Py_Void();
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22768 PyObject *obj;
22769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22770 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22771 return SWIG_Py_Void();
22772 }
22773
22774 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22775 return SWIG_Python_InitShadowInstance(args);
22776 }
22777
22778 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22779 PyObject *resultobj = 0;
22780 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22781 int arg2 = (int) 0 ;
22782 int arg3 = (int) wxNOT_FOUND ;
22783 int arg4 = (int) wxNOT_FOUND ;
22784 wxToolbookEvent *result = 0 ;
22785 int val1 ;
22786 int ecode1 = 0 ;
22787 int val2 ;
22788 int ecode2 = 0 ;
22789 int val3 ;
22790 int ecode3 = 0 ;
22791 int val4 ;
22792 int ecode4 = 0 ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 PyObject * obj2 = 0 ;
22796 PyObject * obj3 = 0 ;
22797 char * kwnames[] = {
22798 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22799 };
22800
22801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22802 if (obj0) {
22803 ecode1 = SWIG_AsVal_int(obj0, &val1);
22804 if (!SWIG_IsOK(ecode1)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22806 }
22807 arg1 = static_cast< wxEventType >(val1);
22808 }
22809 if (obj1) {
22810 ecode2 = SWIG_AsVal_int(obj1, &val2);
22811 if (!SWIG_IsOK(ecode2)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22813 }
22814 arg2 = static_cast< int >(val2);
22815 }
22816 if (obj2) {
22817 ecode3 = SWIG_AsVal_int(obj2, &val3);
22818 if (!SWIG_IsOK(ecode3)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22820 }
22821 arg3 = static_cast< int >(val3);
22822 }
22823 if (obj3) {
22824 ecode4 = SWIG_AsVal_int(obj3, &val4);
22825 if (!SWIG_IsOK(ecode4)) {
22826 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22827 }
22828 arg4 = static_cast< int >(val4);
22829 }
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22844 PyObject *obj;
22845 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22846 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22847 return SWIG_Py_Void();
22848 }
22849
22850 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22851 return SWIG_Python_InitShadowInstance(args);
22852 }
22853
22854 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22855 PyObject *resultobj = 0;
22856 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22857 int result;
22858 void *argp1 = 0 ;
22859 int res1 = 0 ;
22860 PyObject *swig_obj[1] ;
22861
22862 if (!args) SWIG_fail;
22863 swig_obj[0] = args;
22864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22865 if (!SWIG_IsOK(res1)) {
22866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22867 }
22868 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (int)(arg1)->GetId();
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 resultobj = SWIG_From_int(static_cast< int >(result));
22876 return resultobj;
22877 fail:
22878 return NULL;
22879 }
22880
22881
22882 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22883 PyObject *resultobj = 0;
22884 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22885 wxControl *result = 0 ;
22886 void *argp1 = 0 ;
22887 int res1 = 0 ;
22888 PyObject *swig_obj[1] ;
22889
22890 if (!args) SWIG_fail;
22891 swig_obj[0] = args;
22892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22893 if (!SWIG_IsOK(res1)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22895 }
22896 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22897 {
22898 PyThreadState* __tstate = wxPyBeginAllowThreads();
22899 result = (wxControl *)(arg1)->GetControl();
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 {
22904 resultobj = wxPyMake_wxObject(result, 0);
22905 }
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22913 PyObject *resultobj = 0;
22914 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22915 wxToolBarBase *result = 0 ;
22916 void *argp1 = 0 ;
22917 int res1 = 0 ;
22918 PyObject *swig_obj[1] ;
22919
22920 if (!args) SWIG_fail;
22921 swig_obj[0] = args;
22922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22923 if (!SWIG_IsOK(res1)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22925 }
22926 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 result = (wxToolBarBase *)(arg1)->GetToolBar();
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 {
22934 resultobj = wxPyMake_wxObject(result, (bool)0);
22935 }
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22943 PyObject *resultobj = 0;
22944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22945 int result;
22946 void *argp1 = 0 ;
22947 int res1 = 0 ;
22948 PyObject *swig_obj[1] ;
22949
22950 if (!args) SWIG_fail;
22951 swig_obj[0] = args;
22952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22953 if (!SWIG_IsOK(res1)) {
22954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22955 }
22956 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 result = (int)(arg1)->IsButton();
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 resultobj = SWIG_From_int(static_cast< int >(result));
22964 return resultobj;
22965 fail:
22966 return NULL;
22967 }
22968
22969
22970 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22971 PyObject *resultobj = 0;
22972 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22973 int result;
22974 void *argp1 = 0 ;
22975 int res1 = 0 ;
22976 PyObject *swig_obj[1] ;
22977
22978 if (!args) SWIG_fail;
22979 swig_obj[0] = args;
22980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22981 if (!SWIG_IsOK(res1)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22983 }
22984 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22985 {
22986 PyThreadState* __tstate = wxPyBeginAllowThreads();
22987 result = (int)(arg1)->IsControl();
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 resultobj = SWIG_From_int(static_cast< int >(result));
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22999 PyObject *resultobj = 0;
23000 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23001 int result;
23002 void *argp1 = 0 ;
23003 int res1 = 0 ;
23004 PyObject *swig_obj[1] ;
23005
23006 if (!args) SWIG_fail;
23007 swig_obj[0] = args;
23008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23009 if (!SWIG_IsOK(res1)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23011 }
23012 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (int)(arg1)->IsSeparator();
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 resultobj = SWIG_From_int(static_cast< int >(result));
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23027 PyObject *resultobj = 0;
23028 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23029 int result;
23030 void *argp1 = 0 ;
23031 int res1 = 0 ;
23032 PyObject *swig_obj[1] ;
23033
23034 if (!args) SWIG_fail;
23035 swig_obj[0] = args;
23036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23037 if (!SWIG_IsOK(res1)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23039 }
23040 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 result = (int)(arg1)->GetStyle();
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 resultobj = SWIG_From_int(static_cast< int >(result));
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23055 PyObject *resultobj = 0;
23056 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23057 wxItemKind result;
23058 void *argp1 = 0 ;
23059 int res1 = 0 ;
23060 PyObject *swig_obj[1] ;
23061
23062 if (!args) SWIG_fail;
23063 swig_obj[0] = args;
23064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23065 if (!SWIG_IsOK(res1)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23067 }
23068 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 result = (wxItemKind)(arg1)->GetKind();
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 resultobj = SWIG_From_int(static_cast< int >(result));
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23083 PyObject *resultobj = 0;
23084 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23085 bool result;
23086 void *argp1 = 0 ;
23087 int res1 = 0 ;
23088 PyObject *swig_obj[1] ;
23089
23090 if (!args) SWIG_fail;
23091 swig_obj[0] = args;
23092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23093 if (!SWIG_IsOK(res1)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23095 }
23096 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (bool)(arg1)->IsEnabled();
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 {
23104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23105 }
23106 return resultobj;
23107 fail:
23108 return NULL;
23109 }
23110
23111
23112 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23113 PyObject *resultobj = 0;
23114 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23115 bool result;
23116 void *argp1 = 0 ;
23117 int res1 = 0 ;
23118 PyObject *swig_obj[1] ;
23119
23120 if (!args) SWIG_fail;
23121 swig_obj[0] = args;
23122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23123 if (!SWIG_IsOK(res1)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23125 }
23126 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 result = (bool)(arg1)->IsToggled();
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 {
23134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23135 }
23136 return resultobj;
23137 fail:
23138 return NULL;
23139 }
23140
23141
23142 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23143 PyObject *resultobj = 0;
23144 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23145 bool result;
23146 void *argp1 = 0 ;
23147 int res1 = 0 ;
23148 PyObject *swig_obj[1] ;
23149
23150 if (!args) SWIG_fail;
23151 swig_obj[0] = args;
23152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23153 if (!SWIG_IsOK(res1)) {
23154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23155 }
23156 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = (bool)(arg1)->CanBeToggled();
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 {
23164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23165 }
23166 return resultobj;
23167 fail:
23168 return NULL;
23169 }
23170
23171
23172 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23173 PyObject *resultobj = 0;
23174 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23175 wxBitmap *result = 0 ;
23176 void *argp1 = 0 ;
23177 int res1 = 0 ;
23178 PyObject *swig_obj[1] ;
23179
23180 if (!args) SWIG_fail;
23181 swig_obj[0] = args;
23182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23183 if (!SWIG_IsOK(res1)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23185 }
23186 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 {
23190 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23191 result = (wxBitmap *) &_result_ref;
23192 }
23193 wxPyEndAllowThreads(__tstate);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 {
23197 wxBitmap* resultptr = new wxBitmap(*result);
23198 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23199 }
23200 return resultobj;
23201 fail:
23202 return NULL;
23203 }
23204
23205
23206 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23207 PyObject *resultobj = 0;
23208 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23209 wxBitmap *result = 0 ;
23210 void *argp1 = 0 ;
23211 int res1 = 0 ;
23212 PyObject *swig_obj[1] ;
23213
23214 if (!args) SWIG_fail;
23215 swig_obj[0] = args;
23216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23217 if (!SWIG_IsOK(res1)) {
23218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23219 }
23220 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23221 {
23222 PyThreadState* __tstate = wxPyBeginAllowThreads();
23223 {
23224 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23225 result = (wxBitmap *) &_result_ref;
23226 }
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 {
23231 wxBitmap* resultptr = new wxBitmap(*result);
23232 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23233 }
23234 return resultobj;
23235 fail:
23236 return NULL;
23237 }
23238
23239
23240 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23241 PyObject *resultobj = 0;
23242 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23243 wxBitmap result;
23244 void *argp1 = 0 ;
23245 int res1 = 0 ;
23246 PyObject *swig_obj[1] ;
23247
23248 if (!args) SWIG_fail;
23249 swig_obj[0] = args;
23250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23251 if (!SWIG_IsOK(res1)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23253 }
23254 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (arg1)->GetBitmap();
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23269 PyObject *resultobj = 0;
23270 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23271 wxString result;
23272 void *argp1 = 0 ;
23273 int res1 = 0 ;
23274 PyObject *swig_obj[1] ;
23275
23276 if (!args) SWIG_fail;
23277 swig_obj[0] = args;
23278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23279 if (!SWIG_IsOK(res1)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23281 }
23282 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23283 {
23284 PyThreadState* __tstate = wxPyBeginAllowThreads();
23285 result = (arg1)->GetLabel();
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 {
23290 #if wxUSE_UNICODE
23291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23292 #else
23293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23294 #endif
23295 }
23296 return resultobj;
23297 fail:
23298 return NULL;
23299 }
23300
23301
23302 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23303 PyObject *resultobj = 0;
23304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23305 wxString result;
23306 void *argp1 = 0 ;
23307 int res1 = 0 ;
23308 PyObject *swig_obj[1] ;
23309
23310 if (!args) SWIG_fail;
23311 swig_obj[0] = args;
23312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23313 if (!SWIG_IsOK(res1)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23315 }
23316 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 result = (arg1)->GetShortHelp();
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 {
23324 #if wxUSE_UNICODE
23325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23326 #else
23327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23328 #endif
23329 }
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23337 PyObject *resultobj = 0;
23338 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23339 wxString result;
23340 void *argp1 = 0 ;
23341 int res1 = 0 ;
23342 PyObject *swig_obj[1] ;
23343
23344 if (!args) SWIG_fail;
23345 swig_obj[0] = args;
23346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23347 if (!SWIG_IsOK(res1)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23349 }
23350 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 result = (arg1)->GetLongHelp();
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 {
23358 #if wxUSE_UNICODE
23359 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23360 #else
23361 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23362 #endif
23363 }
23364 return resultobj;
23365 fail:
23366 return NULL;
23367 }
23368
23369
23370 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23371 PyObject *resultobj = 0;
23372 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23373 bool arg2 ;
23374 bool result;
23375 void *argp1 = 0 ;
23376 int res1 = 0 ;
23377 bool val2 ;
23378 int ecode2 = 0 ;
23379 PyObject * obj0 = 0 ;
23380 PyObject * obj1 = 0 ;
23381 char * kwnames[] = {
23382 (char *) "self",(char *) "enable", NULL
23383 };
23384
23385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23387 if (!SWIG_IsOK(res1)) {
23388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23389 }
23390 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23391 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23392 if (!SWIG_IsOK(ecode2)) {
23393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23394 }
23395 arg2 = static_cast< bool >(val2);
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 result = (bool)(arg1)->Enable(arg2);
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 {
23403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23404 }
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23412 PyObject *resultobj = 0;
23413 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23414 void *argp1 = 0 ;
23415 int res1 = 0 ;
23416 PyObject *swig_obj[1] ;
23417
23418 if (!args) SWIG_fail;
23419 swig_obj[0] = args;
23420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23421 if (!SWIG_IsOK(res1)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23423 }
23424 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 (arg1)->Toggle();
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = SWIG_Py_Void();
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj = 0;
23440 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23441 bool arg2 ;
23442 bool result;
23443 void *argp1 = 0 ;
23444 int res1 = 0 ;
23445 bool val2 ;
23446 int ecode2 = 0 ;
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj1 = 0 ;
23449 char * kwnames[] = {
23450 (char *) "self",(char *) "toggle", NULL
23451 };
23452
23453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23455 if (!SWIG_IsOK(res1)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23457 }
23458 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23459 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23460 if (!SWIG_IsOK(ecode2)) {
23461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23462 }
23463 arg2 = static_cast< bool >(val2);
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 result = (bool)(arg1)->SetToggle(arg2);
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23472 }
23473 return resultobj;
23474 fail:
23475 return NULL;
23476 }
23477
23478
23479 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj = 0;
23481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23482 wxString *arg2 = 0 ;
23483 bool result;
23484 void *argp1 = 0 ;
23485 int res1 = 0 ;
23486 bool temp2 = false ;
23487 PyObject * obj0 = 0 ;
23488 PyObject * obj1 = 0 ;
23489 char * kwnames[] = {
23490 (char *) "self",(char *) "help", NULL
23491 };
23492
23493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23495 if (!SWIG_IsOK(res1)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23497 }
23498 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23499 {
23500 arg2 = wxString_in_helper(obj1);
23501 if (arg2 == NULL) SWIG_fail;
23502 temp2 = true;
23503 }
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 {
23511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23512 }
23513 {
23514 if (temp2)
23515 delete arg2;
23516 }
23517 return resultobj;
23518 fail:
23519 {
23520 if (temp2)
23521 delete arg2;
23522 }
23523 return NULL;
23524 }
23525
23526
23527 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj = 0;
23529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23530 wxString *arg2 = 0 ;
23531 bool result;
23532 void *argp1 = 0 ;
23533 int res1 = 0 ;
23534 bool temp2 = false ;
23535 PyObject * obj0 = 0 ;
23536 PyObject * obj1 = 0 ;
23537 char * kwnames[] = {
23538 (char *) "self",(char *) "help", NULL
23539 };
23540
23541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23543 if (!SWIG_IsOK(res1)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23545 }
23546 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23547 {
23548 arg2 = wxString_in_helper(obj1);
23549 if (arg2 == NULL) SWIG_fail;
23550 temp2 = true;
23551 }
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 {
23559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23560 }
23561 {
23562 if (temp2)
23563 delete arg2;
23564 }
23565 return resultobj;
23566 fail:
23567 {
23568 if (temp2)
23569 delete arg2;
23570 }
23571 return NULL;
23572 }
23573
23574
23575 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj = 0;
23577 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23578 wxBitmap *arg2 = 0 ;
23579 void *argp1 = 0 ;
23580 int res1 = 0 ;
23581 void *argp2 = 0 ;
23582 int res2 = 0 ;
23583 PyObject * obj0 = 0 ;
23584 PyObject * obj1 = 0 ;
23585 char * kwnames[] = {
23586 (char *) "self",(char *) "bmp", NULL
23587 };
23588
23589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23591 if (!SWIG_IsOK(res1)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23593 }
23594 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23595 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23596 if (!SWIG_IsOK(res2)) {
23597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23598 }
23599 if (!argp2) {
23600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23601 }
23602 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 resultobj = SWIG_Py_Void();
23610 return resultobj;
23611 fail:
23612 return NULL;
23613 }
23614
23615
23616 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23617 PyObject *resultobj = 0;
23618 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23619 wxBitmap *arg2 = 0 ;
23620 void *argp1 = 0 ;
23621 int res1 = 0 ;
23622 void *argp2 = 0 ;
23623 int res2 = 0 ;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char * kwnames[] = {
23627 (char *) "self",(char *) "bmp", NULL
23628 };
23629
23630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23632 if (!SWIG_IsOK(res1)) {
23633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23634 }
23635 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23636 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23637 if (!SWIG_IsOK(res2)) {
23638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23639 }
23640 if (!argp2) {
23641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23642 }
23643 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 resultobj = SWIG_Py_Void();
23651 return resultobj;
23652 fail:
23653 return NULL;
23654 }
23655
23656
23657 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj = 0;
23659 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23660 wxString *arg2 = 0 ;
23661 void *argp1 = 0 ;
23662 int res1 = 0 ;
23663 bool temp2 = false ;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char * kwnames[] = {
23667 (char *) "self",(char *) "label", NULL
23668 };
23669
23670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23672 if (!SWIG_IsOK(res1)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23674 }
23675 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23676 {
23677 arg2 = wxString_in_helper(obj1);
23678 if (arg2 == NULL) SWIG_fail;
23679 temp2 = true;
23680 }
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 (arg1)->SetLabel((wxString const &)*arg2);
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 resultobj = SWIG_Py_Void();
23688 {
23689 if (temp2)
23690 delete arg2;
23691 }
23692 return resultobj;
23693 fail:
23694 {
23695 if (temp2)
23696 delete arg2;
23697 }
23698 return NULL;
23699 }
23700
23701
23702 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23703 PyObject *resultobj = 0;
23704 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23705 void *argp1 = 0 ;
23706 int res1 = 0 ;
23707 PyObject *swig_obj[1] ;
23708
23709 if (!args) SWIG_fail;
23710 swig_obj[0] = args;
23711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23712 if (!SWIG_IsOK(res1)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23714 }
23715 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 (arg1)->Detach();
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 resultobj = SWIG_Py_Void();
23723 return resultobj;
23724 fail:
23725 return NULL;
23726 }
23727
23728
23729 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23730 PyObject *resultobj = 0;
23731 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23732 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23733 void *argp1 = 0 ;
23734 int res1 = 0 ;
23735 void *argp2 = 0 ;
23736 int res2 = 0 ;
23737 PyObject * obj0 = 0 ;
23738 PyObject * obj1 = 0 ;
23739 char * kwnames[] = {
23740 (char *) "self",(char *) "tbar", NULL
23741 };
23742
23743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23745 if (!SWIG_IsOK(res1)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23747 }
23748 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23749 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23750 if (!SWIG_IsOK(res2)) {
23751 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23752 }
23753 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 (arg1)->Attach(arg2);
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 resultobj = SWIG_Py_Void();
23761 return resultobj;
23762 fail:
23763 return NULL;
23764 }
23765
23766
23767 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23768 PyObject *resultobj = 0;
23769 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23770 PyObject *result = 0 ;
23771 void *argp1 = 0 ;
23772 int res1 = 0 ;
23773 PyObject *swig_obj[1] ;
23774
23775 if (!args) SWIG_fail;
23776 swig_obj[0] = args;
23777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23778 if (!SWIG_IsOK(res1)) {
23779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23780 }
23781 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 resultobj = result;
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj = 0;
23797 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23798 PyObject *arg2 = (PyObject *) 0 ;
23799 void *argp1 = 0 ;
23800 int res1 = 0 ;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj1 = 0 ;
23803 char * kwnames[] = {
23804 (char *) "self",(char *) "clientData", NULL
23805 };
23806
23807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23809 if (!SWIG_IsOK(res1)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23811 }
23812 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23813 arg2 = obj1;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 wxToolBarToolBase_SetClientData(arg1,arg2);
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = SWIG_Py_Void();
23821 return resultobj;
23822 fail:
23823 return NULL;
23824 }
23825
23826
23827 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23828 PyObject *obj;
23829 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23830 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23831 return SWIG_Py_Void();
23832 }
23833
23834 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj = 0;
23836 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23837 int arg2 ;
23838 wxString *arg3 = 0 ;
23839 wxBitmap *arg4 = 0 ;
23840 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23841 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23842 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23843 wxString const &arg7_defvalue = wxPyEmptyString ;
23844 wxString *arg7 = (wxString *) &arg7_defvalue ;
23845 wxString const &arg8_defvalue = wxPyEmptyString ;
23846 wxString *arg8 = (wxString *) &arg8_defvalue ;
23847 PyObject *arg9 = (PyObject *) NULL ;
23848 wxToolBarToolBase *result = 0 ;
23849 void *argp1 = 0 ;
23850 int res1 = 0 ;
23851 int val2 ;
23852 int ecode2 = 0 ;
23853 bool temp3 = false ;
23854 void *argp4 = 0 ;
23855 int res4 = 0 ;
23856 void *argp5 = 0 ;
23857 int res5 = 0 ;
23858 int val6 ;
23859 int ecode6 = 0 ;
23860 bool temp7 = false ;
23861 bool temp8 = false ;
23862 PyObject * obj0 = 0 ;
23863 PyObject * obj1 = 0 ;
23864 PyObject * obj2 = 0 ;
23865 PyObject * obj3 = 0 ;
23866 PyObject * obj4 = 0 ;
23867 PyObject * obj5 = 0 ;
23868 PyObject * obj6 = 0 ;
23869 PyObject * obj7 = 0 ;
23870 PyObject * obj8 = 0 ;
23871 char * kwnames[] = {
23872 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23873 };
23874
23875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23877 if (!SWIG_IsOK(res1)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23879 }
23880 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23881 ecode2 = SWIG_AsVal_int(obj1, &val2);
23882 if (!SWIG_IsOK(ecode2)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23884 }
23885 arg2 = static_cast< int >(val2);
23886 {
23887 arg3 = wxString_in_helper(obj2);
23888 if (arg3 == NULL) SWIG_fail;
23889 temp3 = true;
23890 }
23891 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23892 if (!SWIG_IsOK(res4)) {
23893 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23894 }
23895 if (!argp4) {
23896 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23897 }
23898 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23899 if (obj4) {
23900 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23901 if (!SWIG_IsOK(res5)) {
23902 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23903 }
23904 if (!argp5) {
23905 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23906 }
23907 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23908 }
23909 if (obj5) {
23910 ecode6 = SWIG_AsVal_int(obj5, &val6);
23911 if (!SWIG_IsOK(ecode6)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23913 }
23914 arg6 = static_cast< wxItemKind >(val6);
23915 }
23916 if (obj6) {
23917 {
23918 arg7 = wxString_in_helper(obj6);
23919 if (arg7 == NULL) SWIG_fail;
23920 temp7 = true;
23921 }
23922 }
23923 if (obj7) {
23924 {
23925 arg8 = wxString_in_helper(obj7);
23926 if (arg8 == NULL) SWIG_fail;
23927 temp8 = true;
23928 }
23929 }
23930 if (obj8) {
23931 arg9 = obj8;
23932 }
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
23939 {
23940 resultobj = wxPyMake_wxObject(result, (bool)0);
23941 }
23942 {
23943 if (temp3)
23944 delete arg3;
23945 }
23946 {
23947 if (temp7)
23948 delete arg7;
23949 }
23950 {
23951 if (temp8)
23952 delete arg8;
23953 }
23954 return resultobj;
23955 fail:
23956 {
23957 if (temp3)
23958 delete arg3;
23959 }
23960 {
23961 if (temp7)
23962 delete arg7;
23963 }
23964 {
23965 if (temp8)
23966 delete arg8;
23967 }
23968 return NULL;
23969 }
23970
23971
23972 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23973 PyObject *resultobj = 0;
23974 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23975 size_t arg2 ;
23976 int arg3 ;
23977 wxString *arg4 = 0 ;
23978 wxBitmap *arg5 = 0 ;
23979 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23980 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23981 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23982 wxString const &arg8_defvalue = wxPyEmptyString ;
23983 wxString *arg8 = (wxString *) &arg8_defvalue ;
23984 wxString const &arg9_defvalue = wxPyEmptyString ;
23985 wxString *arg9 = (wxString *) &arg9_defvalue ;
23986 PyObject *arg10 = (PyObject *) NULL ;
23987 wxToolBarToolBase *result = 0 ;
23988 void *argp1 = 0 ;
23989 int res1 = 0 ;
23990 size_t val2 ;
23991 int ecode2 = 0 ;
23992 int val3 ;
23993 int ecode3 = 0 ;
23994 bool temp4 = false ;
23995 void *argp5 = 0 ;
23996 int res5 = 0 ;
23997 void *argp6 = 0 ;
23998 int res6 = 0 ;
23999 int val7 ;
24000 int ecode7 = 0 ;
24001 bool temp8 = false ;
24002 bool temp9 = false ;
24003 PyObject * obj0 = 0 ;
24004 PyObject * obj1 = 0 ;
24005 PyObject * obj2 = 0 ;
24006 PyObject * obj3 = 0 ;
24007 PyObject * obj4 = 0 ;
24008 PyObject * obj5 = 0 ;
24009 PyObject * obj6 = 0 ;
24010 PyObject * obj7 = 0 ;
24011 PyObject * obj8 = 0 ;
24012 PyObject * obj9 = 0 ;
24013 char * kwnames[] = {
24014 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24015 };
24016
24017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24019 if (!SWIG_IsOK(res1)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24021 }
24022 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24023 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24024 if (!SWIG_IsOK(ecode2)) {
24025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24026 }
24027 arg2 = static_cast< size_t >(val2);
24028 ecode3 = SWIG_AsVal_int(obj2, &val3);
24029 if (!SWIG_IsOK(ecode3)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24031 }
24032 arg3 = static_cast< int >(val3);
24033 {
24034 arg4 = wxString_in_helper(obj3);
24035 if (arg4 == NULL) SWIG_fail;
24036 temp4 = true;
24037 }
24038 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24039 if (!SWIG_IsOK(res5)) {
24040 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24041 }
24042 if (!argp5) {
24043 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24044 }
24045 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24046 if (obj5) {
24047 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24048 if (!SWIG_IsOK(res6)) {
24049 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24050 }
24051 if (!argp6) {
24052 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24053 }
24054 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24055 }
24056 if (obj6) {
24057 ecode7 = SWIG_AsVal_int(obj6, &val7);
24058 if (!SWIG_IsOK(ecode7)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24060 }
24061 arg7 = static_cast< wxItemKind >(val7);
24062 }
24063 if (obj7) {
24064 {
24065 arg8 = wxString_in_helper(obj7);
24066 if (arg8 == NULL) SWIG_fail;
24067 temp8 = true;
24068 }
24069 }
24070 if (obj8) {
24071 {
24072 arg9 = wxString_in_helper(obj8);
24073 if (arg9 == NULL) SWIG_fail;
24074 temp9 = true;
24075 }
24076 }
24077 if (obj9) {
24078 arg10 = obj9;
24079 }
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 {
24087 resultobj = wxPyMake_wxObject(result, (bool)0);
24088 }
24089 {
24090 if (temp4)
24091 delete arg4;
24092 }
24093 {
24094 if (temp8)
24095 delete arg8;
24096 }
24097 {
24098 if (temp9)
24099 delete arg9;
24100 }
24101 return resultobj;
24102 fail:
24103 {
24104 if (temp4)
24105 delete arg4;
24106 }
24107 {
24108 if (temp8)
24109 delete arg8;
24110 }
24111 {
24112 if (temp9)
24113 delete arg9;
24114 }
24115 return NULL;
24116 }
24117
24118
24119 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj = 0;
24121 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24122 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24123 wxToolBarToolBase *result = 0 ;
24124 void *argp1 = 0 ;
24125 int res1 = 0 ;
24126 void *argp2 = 0 ;
24127 int res2 = 0 ;
24128 PyObject * obj0 = 0 ;
24129 PyObject * obj1 = 0 ;
24130 char * kwnames[] = {
24131 (char *) "self",(char *) "tool", NULL
24132 };
24133
24134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24136 if (!SWIG_IsOK(res1)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24138 }
24139 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24140 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24141 if (!SWIG_IsOK(res2)) {
24142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24143 }
24144 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 {
24152 resultobj = wxPyMake_wxObject(result, (bool)0);
24153 }
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj = 0;
24162 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24163 size_t arg2 ;
24164 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24165 wxToolBarToolBase *result = 0 ;
24166 void *argp1 = 0 ;
24167 int res1 = 0 ;
24168 size_t val2 ;
24169 int ecode2 = 0 ;
24170 void *argp3 = 0 ;
24171 int res3 = 0 ;
24172 PyObject * obj0 = 0 ;
24173 PyObject * obj1 = 0 ;
24174 PyObject * obj2 = 0 ;
24175 char * kwnames[] = {
24176 (char *) "self",(char *) "pos",(char *) "tool", NULL
24177 };
24178
24179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24181 if (!SWIG_IsOK(res1)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24183 }
24184 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24185 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24186 if (!SWIG_IsOK(ecode2)) {
24187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24188 }
24189 arg2 = static_cast< size_t >(val2);
24190 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24191 if (!SWIG_IsOK(res3)) {
24192 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24193 }
24194 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 {
24202 resultobj = wxPyMake_wxObject(result, (bool)0);
24203 }
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj = 0;
24212 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24213 wxControl *arg2 = (wxControl *) 0 ;
24214 wxToolBarToolBase *result = 0 ;
24215 void *argp1 = 0 ;
24216 int res1 = 0 ;
24217 void *argp2 = 0 ;
24218 int res2 = 0 ;
24219 PyObject * obj0 = 0 ;
24220 PyObject * obj1 = 0 ;
24221 char * kwnames[] = {
24222 (char *) "self",(char *) "control", NULL
24223 };
24224
24225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24227 if (!SWIG_IsOK(res1)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24229 }
24230 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24232 if (!SWIG_IsOK(res2)) {
24233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24234 }
24235 arg2 = reinterpret_cast< wxControl * >(argp2);
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24239 wxPyEndAllowThreads(__tstate);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 }
24242 {
24243 resultobj = wxPyMake_wxObject(result, (bool)0);
24244 }
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj = 0;
24253 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24254 size_t arg2 ;
24255 wxControl *arg3 = (wxControl *) 0 ;
24256 wxToolBarToolBase *result = 0 ;
24257 void *argp1 = 0 ;
24258 int res1 = 0 ;
24259 size_t val2 ;
24260 int ecode2 = 0 ;
24261 void *argp3 = 0 ;
24262 int res3 = 0 ;
24263 PyObject * obj0 = 0 ;
24264 PyObject * obj1 = 0 ;
24265 PyObject * obj2 = 0 ;
24266 char * kwnames[] = {
24267 (char *) "self",(char *) "pos",(char *) "control", NULL
24268 };
24269
24270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24272 if (!SWIG_IsOK(res1)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24274 }
24275 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24276 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24277 if (!SWIG_IsOK(ecode2)) {
24278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24279 }
24280 arg2 = static_cast< size_t >(val2);
24281 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24282 if (!SWIG_IsOK(res3)) {
24283 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24284 }
24285 arg3 = reinterpret_cast< wxControl * >(argp3);
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 {
24293 resultobj = wxPyMake_wxObject(result, (bool)0);
24294 }
24295 return resultobj;
24296 fail:
24297 return NULL;
24298 }
24299
24300
24301 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24302 PyObject *resultobj = 0;
24303 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24304 int arg2 ;
24305 wxControl *result = 0 ;
24306 void *argp1 = 0 ;
24307 int res1 = 0 ;
24308 int val2 ;
24309 int ecode2 = 0 ;
24310 PyObject * obj0 = 0 ;
24311 PyObject * obj1 = 0 ;
24312 char * kwnames[] = {
24313 (char *) "self",(char *) "id", NULL
24314 };
24315
24316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24318 if (!SWIG_IsOK(res1)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24320 }
24321 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24322 ecode2 = SWIG_AsVal_int(obj1, &val2);
24323 if (!SWIG_IsOK(ecode2)) {
24324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24325 }
24326 arg2 = static_cast< int >(val2);
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (wxControl *)(arg1)->FindControl(arg2);
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 {
24334 resultobj = wxPyMake_wxObject(result, 0);
24335 }
24336 return resultobj;
24337 fail:
24338 return NULL;
24339 }
24340
24341
24342 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24343 PyObject *resultobj = 0;
24344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24345 wxToolBarToolBase *result = 0 ;
24346 void *argp1 = 0 ;
24347 int res1 = 0 ;
24348 PyObject *swig_obj[1] ;
24349
24350 if (!args) SWIG_fail;
24351 swig_obj[0] = args;
24352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24353 if (!SWIG_IsOK(res1)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24355 }
24356 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 {
24364 resultobj = wxPyMake_wxObject(result, (bool)0);
24365 }
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj = 0;
24374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24375 size_t arg2 ;
24376 wxToolBarToolBase *result = 0 ;
24377 void *argp1 = 0 ;
24378 int res1 = 0 ;
24379 size_t val2 ;
24380 int ecode2 = 0 ;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char * kwnames[] = {
24384 (char *) "self",(char *) "pos", NULL
24385 };
24386
24387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24389 if (!SWIG_IsOK(res1)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24391 }
24392 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24393 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24394 if (!SWIG_IsOK(ecode2)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24396 }
24397 arg2 = static_cast< size_t >(val2);
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 {
24405 resultobj = wxPyMake_wxObject(result, (bool)0);
24406 }
24407 return resultobj;
24408 fail:
24409 return NULL;
24410 }
24411
24412
24413 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24414 PyObject *resultobj = 0;
24415 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24416 int arg2 ;
24417 wxToolBarToolBase *result = 0 ;
24418 void *argp1 = 0 ;
24419 int res1 = 0 ;
24420 int val2 ;
24421 int ecode2 = 0 ;
24422 PyObject * obj0 = 0 ;
24423 PyObject * obj1 = 0 ;
24424 char * kwnames[] = {
24425 (char *) "self",(char *) "id", NULL
24426 };
24427
24428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24430 if (!SWIG_IsOK(res1)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24432 }
24433 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24434 ecode2 = SWIG_AsVal_int(obj1, &val2);
24435 if (!SWIG_IsOK(ecode2)) {
24436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24437 }
24438 arg2 = static_cast< int >(val2);
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24442 wxPyEndAllowThreads(__tstate);
24443 if (PyErr_Occurred()) SWIG_fail;
24444 }
24445 {
24446 resultobj = wxPyMake_wxObject(result, (bool)0);
24447 }
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj = 0;
24456 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24457 size_t arg2 ;
24458 bool result;
24459 void *argp1 = 0 ;
24460 int res1 = 0 ;
24461 size_t val2 ;
24462 int ecode2 = 0 ;
24463 PyObject * obj0 = 0 ;
24464 PyObject * obj1 = 0 ;
24465 char * kwnames[] = {
24466 (char *) "self",(char *) "pos", NULL
24467 };
24468
24469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24471 if (!SWIG_IsOK(res1)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24473 }
24474 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24475 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24476 if (!SWIG_IsOK(ecode2)) {
24477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24478 }
24479 arg2 = static_cast< size_t >(val2);
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 result = (bool)(arg1)->DeleteToolByPos(arg2);
24483 wxPyEndAllowThreads(__tstate);
24484 if (PyErr_Occurred()) SWIG_fail;
24485 }
24486 {
24487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24488 }
24489 return resultobj;
24490 fail:
24491 return NULL;
24492 }
24493
24494
24495 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj = 0;
24497 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24498 int arg2 ;
24499 bool result;
24500 void *argp1 = 0 ;
24501 int res1 = 0 ;
24502 int val2 ;
24503 int ecode2 = 0 ;
24504 PyObject * obj0 = 0 ;
24505 PyObject * obj1 = 0 ;
24506 char * kwnames[] = {
24507 (char *) "self",(char *) "id", NULL
24508 };
24509
24510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24512 if (!SWIG_IsOK(res1)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24514 }
24515 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24516 ecode2 = SWIG_AsVal_int(obj1, &val2);
24517 if (!SWIG_IsOK(ecode2)) {
24518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24519 }
24520 arg2 = static_cast< int >(val2);
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (bool)(arg1)->DeleteTool(arg2);
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
24528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24529 }
24530 return resultobj;
24531 fail:
24532 return NULL;
24533 }
24534
24535
24536 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24537 PyObject *resultobj = 0;
24538 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24539 void *argp1 = 0 ;
24540 int res1 = 0 ;
24541 PyObject *swig_obj[1] ;
24542
24543 if (!args) SWIG_fail;
24544 swig_obj[0] = args;
24545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24546 if (!SWIG_IsOK(res1)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24548 }
24549 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 (arg1)->ClearTools();
24553 wxPyEndAllowThreads(__tstate);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 }
24556 resultobj = SWIG_Py_Void();
24557 return resultobj;
24558 fail:
24559 return NULL;
24560 }
24561
24562
24563 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24564 PyObject *resultobj = 0;
24565 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24566 bool result;
24567 void *argp1 = 0 ;
24568 int res1 = 0 ;
24569 PyObject *swig_obj[1] ;
24570
24571 if (!args) SWIG_fail;
24572 swig_obj[0] = args;
24573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24574 if (!SWIG_IsOK(res1)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24576 }
24577 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 result = (bool)(arg1)->Realize();
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 {
24585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24586 }
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj = 0;
24595 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24596 int arg2 ;
24597 bool arg3 ;
24598 void *argp1 = 0 ;
24599 int res1 = 0 ;
24600 int val2 ;
24601 int ecode2 = 0 ;
24602 bool val3 ;
24603 int ecode3 = 0 ;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 PyObject * obj2 = 0 ;
24607 char * kwnames[] = {
24608 (char *) "self",(char *) "id",(char *) "enable", NULL
24609 };
24610
24611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24613 if (!SWIG_IsOK(res1)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24615 }
24616 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24617 ecode2 = SWIG_AsVal_int(obj1, &val2);
24618 if (!SWIG_IsOK(ecode2)) {
24619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24620 }
24621 arg2 = static_cast< int >(val2);
24622 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24623 if (!SWIG_IsOK(ecode3)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24625 }
24626 arg3 = static_cast< bool >(val3);
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 (arg1)->EnableTool(arg2,arg3);
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 resultobj = SWIG_Py_Void();
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24641 PyObject *resultobj = 0;
24642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24643 int arg2 ;
24644 bool arg3 ;
24645 void *argp1 = 0 ;
24646 int res1 = 0 ;
24647 int val2 ;
24648 int ecode2 = 0 ;
24649 bool val3 ;
24650 int ecode3 = 0 ;
24651 PyObject * obj0 = 0 ;
24652 PyObject * obj1 = 0 ;
24653 PyObject * obj2 = 0 ;
24654 char * kwnames[] = {
24655 (char *) "self",(char *) "id",(char *) "toggle", NULL
24656 };
24657
24658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24660 if (!SWIG_IsOK(res1)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24662 }
24663 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24664 ecode2 = SWIG_AsVal_int(obj1, &val2);
24665 if (!SWIG_IsOK(ecode2)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24667 }
24668 arg2 = static_cast< int >(val2);
24669 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24670 if (!SWIG_IsOK(ecode3)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24672 }
24673 arg3 = static_cast< bool >(val3);
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 (arg1)->ToggleTool(arg2,arg3);
24677 wxPyEndAllowThreads(__tstate);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
24680 resultobj = SWIG_Py_Void();
24681 return resultobj;
24682 fail:
24683 return NULL;
24684 }
24685
24686
24687 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24688 PyObject *resultobj = 0;
24689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24690 int arg2 ;
24691 bool arg3 ;
24692 void *argp1 = 0 ;
24693 int res1 = 0 ;
24694 int val2 ;
24695 int ecode2 = 0 ;
24696 bool val3 ;
24697 int ecode3 = 0 ;
24698 PyObject * obj0 = 0 ;
24699 PyObject * obj1 = 0 ;
24700 PyObject * obj2 = 0 ;
24701 char * kwnames[] = {
24702 (char *) "self",(char *) "id",(char *) "toggle", NULL
24703 };
24704
24705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24707 if (!SWIG_IsOK(res1)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24709 }
24710 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24711 ecode2 = SWIG_AsVal_int(obj1, &val2);
24712 if (!SWIG_IsOK(ecode2)) {
24713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24714 }
24715 arg2 = static_cast< int >(val2);
24716 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24717 if (!SWIG_IsOK(ecode3)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24719 }
24720 arg3 = static_cast< bool >(val3);
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 (arg1)->SetToggle(arg2,arg3);
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 resultobj = SWIG_Py_Void();
24728 return resultobj;
24729 fail:
24730 return NULL;
24731 }
24732
24733
24734 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj = 0;
24736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24737 int arg2 ;
24738 PyObject *result = 0 ;
24739 void *argp1 = 0 ;
24740 int res1 = 0 ;
24741 int val2 ;
24742 int ecode2 = 0 ;
24743 PyObject * obj0 = 0 ;
24744 PyObject * obj1 = 0 ;
24745 char * kwnames[] = {
24746 (char *) "self",(char *) "id", NULL
24747 };
24748
24749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24751 if (!SWIG_IsOK(res1)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24753 }
24754 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24755 ecode2 = SWIG_AsVal_int(obj1, &val2);
24756 if (!SWIG_IsOK(ecode2)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24758 }
24759 arg2 = static_cast< int >(val2);
24760 {
24761 PyThreadState* __tstate = wxPyBeginAllowThreads();
24762 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 resultobj = result;
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj = 0;
24775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24776 int arg2 ;
24777 PyObject *arg3 = (PyObject *) 0 ;
24778 void *argp1 = 0 ;
24779 int res1 = 0 ;
24780 int val2 ;
24781 int ecode2 = 0 ;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 PyObject * obj2 = 0 ;
24785 char * kwnames[] = {
24786 (char *) "self",(char *) "id",(char *) "clientData", NULL
24787 };
24788
24789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24791 if (!SWIG_IsOK(res1)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24793 }
24794 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24795 ecode2 = SWIG_AsVal_int(obj1, &val2);
24796 if (!SWIG_IsOK(ecode2)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24798 }
24799 arg2 = static_cast< int >(val2);
24800 arg3 = obj2;
24801 {
24802 PyThreadState* __tstate = wxPyBeginAllowThreads();
24803 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 resultobj = SWIG_Py_Void();
24808 return resultobj;
24809 fail:
24810 return NULL;
24811 }
24812
24813
24814 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj = 0;
24816 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24817 int arg2 ;
24818 int result;
24819 void *argp1 = 0 ;
24820 int res1 = 0 ;
24821 int val2 ;
24822 int ecode2 = 0 ;
24823 PyObject * obj0 = 0 ;
24824 PyObject * obj1 = 0 ;
24825 char * kwnames[] = {
24826 (char *) "self",(char *) "id", NULL
24827 };
24828
24829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24831 if (!SWIG_IsOK(res1)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24833 }
24834 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24835 ecode2 = SWIG_AsVal_int(obj1, &val2);
24836 if (!SWIG_IsOK(ecode2)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24838 }
24839 arg2 = static_cast< int >(val2);
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24843 wxPyEndAllowThreads(__tstate);
24844 if (PyErr_Occurred()) SWIG_fail;
24845 }
24846 resultobj = SWIG_From_int(static_cast< int >(result));
24847 return resultobj;
24848 fail:
24849 return NULL;
24850 }
24851
24852
24853 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24854 PyObject *resultobj = 0;
24855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24856 int arg2 ;
24857 bool result;
24858 void *argp1 = 0 ;
24859 int res1 = 0 ;
24860 int val2 ;
24861 int ecode2 = 0 ;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char * kwnames[] = {
24865 (char *) "self",(char *) "id", NULL
24866 };
24867
24868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24870 if (!SWIG_IsOK(res1)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 }
24873 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24874 ecode2 = SWIG_AsVal_int(obj1, &val2);
24875 if (!SWIG_IsOK(ecode2)) {
24876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24877 }
24878 arg2 = static_cast< int >(val2);
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = (bool)(arg1)->GetToolState(arg2);
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 {
24886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24887 }
24888 return resultobj;
24889 fail:
24890 return NULL;
24891 }
24892
24893
24894 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj = 0;
24896 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24897 int arg2 ;
24898 bool result;
24899 void *argp1 = 0 ;
24900 int res1 = 0 ;
24901 int val2 ;
24902 int ecode2 = 0 ;
24903 PyObject * obj0 = 0 ;
24904 PyObject * obj1 = 0 ;
24905 char * kwnames[] = {
24906 (char *) "self",(char *) "id", NULL
24907 };
24908
24909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24911 if (!SWIG_IsOK(res1)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24913 }
24914 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24915 ecode2 = SWIG_AsVal_int(obj1, &val2);
24916 if (!SWIG_IsOK(ecode2)) {
24917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24918 }
24919 arg2 = static_cast< int >(val2);
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = (bool)(arg1)->GetToolEnabled(arg2);
24923 wxPyEndAllowThreads(__tstate);
24924 if (PyErr_Occurred()) SWIG_fail;
24925 }
24926 {
24927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24928 }
24929 return resultobj;
24930 fail:
24931 return NULL;
24932 }
24933
24934
24935 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj = 0;
24937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24938 int arg2 ;
24939 wxString *arg3 = 0 ;
24940 void *argp1 = 0 ;
24941 int res1 = 0 ;
24942 int val2 ;
24943 int ecode2 = 0 ;
24944 bool temp3 = false ;
24945 PyObject * obj0 = 0 ;
24946 PyObject * obj1 = 0 ;
24947 PyObject * obj2 = 0 ;
24948 char * kwnames[] = {
24949 (char *) "self",(char *) "id",(char *) "helpString", NULL
24950 };
24951
24952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24954 if (!SWIG_IsOK(res1)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24956 }
24957 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24958 ecode2 = SWIG_AsVal_int(obj1, &val2);
24959 if (!SWIG_IsOK(ecode2)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24961 }
24962 arg2 = static_cast< int >(val2);
24963 {
24964 arg3 = wxString_in_helper(obj2);
24965 if (arg3 == NULL) SWIG_fail;
24966 temp3 = true;
24967 }
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 resultobj = SWIG_Py_Void();
24975 {
24976 if (temp3)
24977 delete arg3;
24978 }
24979 return resultobj;
24980 fail:
24981 {
24982 if (temp3)
24983 delete arg3;
24984 }
24985 return NULL;
24986 }
24987
24988
24989 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj = 0;
24991 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24992 int arg2 ;
24993 wxString result;
24994 void *argp1 = 0 ;
24995 int res1 = 0 ;
24996 int val2 ;
24997 int ecode2 = 0 ;
24998 PyObject * obj0 = 0 ;
24999 PyObject * obj1 = 0 ;
25000 char * kwnames[] = {
25001 (char *) "self",(char *) "id", NULL
25002 };
25003
25004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25006 if (!SWIG_IsOK(res1)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25008 }
25009 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25010 ecode2 = SWIG_AsVal_int(obj1, &val2);
25011 if (!SWIG_IsOK(ecode2)) {
25012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25013 }
25014 arg2 = static_cast< int >(val2);
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = (arg1)->GetToolShortHelp(arg2);
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 {
25022 #if wxUSE_UNICODE
25023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25024 #else
25025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25026 #endif
25027 }
25028 return resultobj;
25029 fail:
25030 return NULL;
25031 }
25032
25033
25034 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25035 PyObject *resultobj = 0;
25036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25037 int arg2 ;
25038 wxString *arg3 = 0 ;
25039 void *argp1 = 0 ;
25040 int res1 = 0 ;
25041 int val2 ;
25042 int ecode2 = 0 ;
25043 bool temp3 = false ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 PyObject * obj2 = 0 ;
25047 char * kwnames[] = {
25048 (char *) "self",(char *) "id",(char *) "helpString", NULL
25049 };
25050
25051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25053 if (!SWIG_IsOK(res1)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25055 }
25056 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25057 ecode2 = SWIG_AsVal_int(obj1, &val2);
25058 if (!SWIG_IsOK(ecode2)) {
25059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25060 }
25061 arg2 = static_cast< int >(val2);
25062 {
25063 arg3 = wxString_in_helper(obj2);
25064 if (arg3 == NULL) SWIG_fail;
25065 temp3 = true;
25066 }
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 resultobj = SWIG_Py_Void();
25074 {
25075 if (temp3)
25076 delete arg3;
25077 }
25078 return resultobj;
25079 fail:
25080 {
25081 if (temp3)
25082 delete arg3;
25083 }
25084 return NULL;
25085 }
25086
25087
25088 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25089 PyObject *resultobj = 0;
25090 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25091 int arg2 ;
25092 wxString result;
25093 void *argp1 = 0 ;
25094 int res1 = 0 ;
25095 int val2 ;
25096 int ecode2 = 0 ;
25097 PyObject * obj0 = 0 ;
25098 PyObject * obj1 = 0 ;
25099 char * kwnames[] = {
25100 (char *) "self",(char *) "id", NULL
25101 };
25102
25103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25105 if (!SWIG_IsOK(res1)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25107 }
25108 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25109 ecode2 = SWIG_AsVal_int(obj1, &val2);
25110 if (!SWIG_IsOK(ecode2)) {
25111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25112 }
25113 arg2 = static_cast< int >(val2);
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 result = (arg1)->GetToolLongHelp(arg2);
25117 wxPyEndAllowThreads(__tstate);
25118 if (PyErr_Occurred()) SWIG_fail;
25119 }
25120 {
25121 #if wxUSE_UNICODE
25122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25123 #else
25124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25125 #endif
25126 }
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj = 0;
25135 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25136 int arg2 ;
25137 int arg3 ;
25138 void *argp1 = 0 ;
25139 int res1 = 0 ;
25140 int val2 ;
25141 int ecode2 = 0 ;
25142 int val3 ;
25143 int ecode3 = 0 ;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 PyObject * obj2 = 0 ;
25147 char * kwnames[] = {
25148 (char *) "self",(char *) "x",(char *) "y", NULL
25149 };
25150
25151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25153 if (!SWIG_IsOK(res1)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25155 }
25156 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25157 ecode2 = SWIG_AsVal_int(obj1, &val2);
25158 if (!SWIG_IsOK(ecode2)) {
25159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25160 }
25161 arg2 = static_cast< int >(val2);
25162 ecode3 = SWIG_AsVal_int(obj2, &val3);
25163 if (!SWIG_IsOK(ecode3)) {
25164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25165 }
25166 arg3 = static_cast< int >(val3);
25167 {
25168 PyThreadState* __tstate = wxPyBeginAllowThreads();
25169 (arg1)->SetMargins(arg2,arg3);
25170 wxPyEndAllowThreads(__tstate);
25171 if (PyErr_Occurred()) SWIG_fail;
25172 }
25173 resultobj = SWIG_Py_Void();
25174 return resultobj;
25175 fail:
25176 return NULL;
25177 }
25178
25179
25180 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25181 PyObject *resultobj = 0;
25182 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25183 wxSize *arg2 = 0 ;
25184 void *argp1 = 0 ;
25185 int res1 = 0 ;
25186 wxSize temp2 ;
25187 PyObject * obj0 = 0 ;
25188 PyObject * obj1 = 0 ;
25189 char * kwnames[] = {
25190 (char *) "self",(char *) "size", NULL
25191 };
25192
25193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25195 if (!SWIG_IsOK(res1)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25197 }
25198 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25199 {
25200 arg2 = &temp2;
25201 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25202 }
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->SetMargins((wxSize const &)*arg2);
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 resultobj = SWIG_Py_Void();
25210 return resultobj;
25211 fail:
25212 return NULL;
25213 }
25214
25215
25216 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25217 PyObject *resultobj = 0;
25218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25219 int arg2 ;
25220 void *argp1 = 0 ;
25221 int res1 = 0 ;
25222 int val2 ;
25223 int ecode2 = 0 ;
25224 PyObject * obj0 = 0 ;
25225 PyObject * obj1 = 0 ;
25226 char * kwnames[] = {
25227 (char *) "self",(char *) "packing", NULL
25228 };
25229
25230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25232 if (!SWIG_IsOK(res1)) {
25233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25234 }
25235 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25236 ecode2 = SWIG_AsVal_int(obj1, &val2);
25237 if (!SWIG_IsOK(ecode2)) {
25238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25239 }
25240 arg2 = static_cast< int >(val2);
25241 {
25242 PyThreadState* __tstate = wxPyBeginAllowThreads();
25243 (arg1)->SetToolPacking(arg2);
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 resultobj = SWIG_Py_Void();
25248 return resultobj;
25249 fail:
25250 return NULL;
25251 }
25252
25253
25254 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25255 PyObject *resultobj = 0;
25256 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25257 int arg2 ;
25258 void *argp1 = 0 ;
25259 int res1 = 0 ;
25260 int val2 ;
25261 int ecode2 = 0 ;
25262 PyObject * obj0 = 0 ;
25263 PyObject * obj1 = 0 ;
25264 char * kwnames[] = {
25265 (char *) "self",(char *) "separation", NULL
25266 };
25267
25268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25270 if (!SWIG_IsOK(res1)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25272 }
25273 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25274 ecode2 = SWIG_AsVal_int(obj1, &val2);
25275 if (!SWIG_IsOK(ecode2)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25277 }
25278 arg2 = static_cast< int >(val2);
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 (arg1)->SetToolSeparation(arg2);
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 resultobj = SWIG_Py_Void();
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25293 PyObject *resultobj = 0;
25294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25295 wxSize result;
25296 void *argp1 = 0 ;
25297 int res1 = 0 ;
25298 PyObject *swig_obj[1] ;
25299
25300 if (!args) SWIG_fail;
25301 swig_obj[0] = args;
25302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25303 if (!SWIG_IsOK(res1)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25305 }
25306 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 result = (arg1)->GetToolMargins();
25310 wxPyEndAllowThreads(__tstate);
25311 if (PyErr_Occurred()) SWIG_fail;
25312 }
25313 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25314 return resultobj;
25315 fail:
25316 return NULL;
25317 }
25318
25319
25320 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25321 PyObject *resultobj = 0;
25322 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25323 wxSize result;
25324 void *argp1 = 0 ;
25325 int res1 = 0 ;
25326 PyObject *swig_obj[1] ;
25327
25328 if (!args) SWIG_fail;
25329 swig_obj[0] = args;
25330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25331 if (!SWIG_IsOK(res1)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25333 }
25334 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 result = (arg1)->GetMargins();
25338 wxPyEndAllowThreads(__tstate);
25339 if (PyErr_Occurred()) SWIG_fail;
25340 }
25341 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25342 return resultobj;
25343 fail:
25344 return NULL;
25345 }
25346
25347
25348 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25349 PyObject *resultobj = 0;
25350 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25351 int result;
25352 void *argp1 = 0 ;
25353 int res1 = 0 ;
25354 PyObject *swig_obj[1] ;
25355
25356 if (!args) SWIG_fail;
25357 swig_obj[0] = args;
25358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25359 if (!SWIG_IsOK(res1)) {
25360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25361 }
25362 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = (int)(arg1)->GetToolPacking();
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 resultobj = SWIG_From_int(static_cast< int >(result));
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25377 PyObject *resultobj = 0;
25378 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25379 int result;
25380 void *argp1 = 0 ;
25381 int res1 = 0 ;
25382 PyObject *swig_obj[1] ;
25383
25384 if (!args) SWIG_fail;
25385 swig_obj[0] = args;
25386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25387 if (!SWIG_IsOK(res1)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25389 }
25390 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 result = (int)(arg1)->GetToolSeparation();
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
25397 resultobj = SWIG_From_int(static_cast< int >(result));
25398 return resultobj;
25399 fail:
25400 return NULL;
25401 }
25402
25403
25404 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25405 PyObject *resultobj = 0;
25406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25407 int arg2 ;
25408 void *argp1 = 0 ;
25409 int res1 = 0 ;
25410 int val2 ;
25411 int ecode2 = 0 ;
25412 PyObject * obj0 = 0 ;
25413 PyObject * obj1 = 0 ;
25414 char * kwnames[] = {
25415 (char *) "self",(char *) "nRows", NULL
25416 };
25417
25418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25420 if (!SWIG_IsOK(res1)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25422 }
25423 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25424 ecode2 = SWIG_AsVal_int(obj1, &val2);
25425 if (!SWIG_IsOK(ecode2)) {
25426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25427 }
25428 arg2 = static_cast< int >(val2);
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 (arg1)->SetRows(arg2);
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 resultobj = SWIG_Py_Void();
25436 return resultobj;
25437 fail:
25438 return NULL;
25439 }
25440
25441
25442 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj = 0;
25444 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25445 int arg2 ;
25446 int arg3 ;
25447 void *argp1 = 0 ;
25448 int res1 = 0 ;
25449 int val2 ;
25450 int ecode2 = 0 ;
25451 int val3 ;
25452 int ecode3 = 0 ;
25453 PyObject * obj0 = 0 ;
25454 PyObject * obj1 = 0 ;
25455 PyObject * obj2 = 0 ;
25456 char * kwnames[] = {
25457 (char *) "self",(char *) "rows",(char *) "cols", NULL
25458 };
25459
25460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25462 if (!SWIG_IsOK(res1)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25464 }
25465 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25466 ecode2 = SWIG_AsVal_int(obj1, &val2);
25467 if (!SWIG_IsOK(ecode2)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25469 }
25470 arg2 = static_cast< int >(val2);
25471 ecode3 = SWIG_AsVal_int(obj2, &val3);
25472 if (!SWIG_IsOK(ecode3)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25474 }
25475 arg3 = static_cast< int >(val3);
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 (arg1)->SetMaxRowsCols(arg2,arg3);
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 resultobj = SWIG_Py_Void();
25483 return resultobj;
25484 fail:
25485 return NULL;
25486 }
25487
25488
25489 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25490 PyObject *resultobj = 0;
25491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25492 int result;
25493 void *argp1 = 0 ;
25494 int res1 = 0 ;
25495 PyObject *swig_obj[1] ;
25496
25497 if (!args) SWIG_fail;
25498 swig_obj[0] = args;
25499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25500 if (!SWIG_IsOK(res1)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25502 }
25503 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25504 {
25505 PyThreadState* __tstate = wxPyBeginAllowThreads();
25506 result = (int)(arg1)->GetMaxRows();
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 resultobj = SWIG_From_int(static_cast< int >(result));
25511 return resultobj;
25512 fail:
25513 return NULL;
25514 }
25515
25516
25517 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25518 PyObject *resultobj = 0;
25519 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25520 int result;
25521 void *argp1 = 0 ;
25522 int res1 = 0 ;
25523 PyObject *swig_obj[1] ;
25524
25525 if (!args) SWIG_fail;
25526 swig_obj[0] = args;
25527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25528 if (!SWIG_IsOK(res1)) {
25529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25530 }
25531 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25532 {
25533 PyThreadState* __tstate = wxPyBeginAllowThreads();
25534 result = (int)(arg1)->GetMaxCols();
25535 wxPyEndAllowThreads(__tstate);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 resultobj = SWIG_From_int(static_cast< int >(result));
25539 return resultobj;
25540 fail:
25541 return NULL;
25542 }
25543
25544
25545 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25546 PyObject *resultobj = 0;
25547 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25548 wxSize *arg2 = 0 ;
25549 void *argp1 = 0 ;
25550 int res1 = 0 ;
25551 wxSize temp2 ;
25552 PyObject * obj0 = 0 ;
25553 PyObject * obj1 = 0 ;
25554 char * kwnames[] = {
25555 (char *) "self",(char *) "size", NULL
25556 };
25557
25558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25560 if (!SWIG_IsOK(res1)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25562 }
25563 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25564 {
25565 arg2 = &temp2;
25566 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25567 }
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 resultobj = SWIG_Py_Void();
25575 return resultobj;
25576 fail:
25577 return NULL;
25578 }
25579
25580
25581 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25582 PyObject *resultobj = 0;
25583 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25584 wxSize result;
25585 void *argp1 = 0 ;
25586 int res1 = 0 ;
25587 PyObject *swig_obj[1] ;
25588
25589 if (!args) SWIG_fail;
25590 swig_obj[0] = args;
25591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25592 if (!SWIG_IsOK(res1)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25594 }
25595 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 result = (arg1)->GetToolBitmapSize();
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25603 return resultobj;
25604 fail:
25605 return NULL;
25606 }
25607
25608
25609 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25610 PyObject *resultobj = 0;
25611 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25612 wxSize result;
25613 void *argp1 = 0 ;
25614 int res1 = 0 ;
25615 PyObject *swig_obj[1] ;
25616
25617 if (!args) SWIG_fail;
25618 swig_obj[0] = args;
25619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25620 if (!SWIG_IsOK(res1)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25622 }
25623 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25624 {
25625 PyThreadState* __tstate = wxPyBeginAllowThreads();
25626 result = (arg1)->GetToolSize();
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25638 PyObject *resultobj = 0;
25639 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25640 int arg2 ;
25641 int arg3 ;
25642 wxToolBarToolBase *result = 0 ;
25643 void *argp1 = 0 ;
25644 int res1 = 0 ;
25645 int val2 ;
25646 int ecode2 = 0 ;
25647 int val3 ;
25648 int ecode3 = 0 ;
25649 PyObject * obj0 = 0 ;
25650 PyObject * obj1 = 0 ;
25651 PyObject * obj2 = 0 ;
25652 char * kwnames[] = {
25653 (char *) "self",(char *) "x",(char *) "y", NULL
25654 };
25655
25656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25658 if (!SWIG_IsOK(res1)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25660 }
25661 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25662 ecode2 = SWIG_AsVal_int(obj1, &val2);
25663 if (!SWIG_IsOK(ecode2)) {
25664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25665 }
25666 arg2 = static_cast< int >(val2);
25667 ecode3 = SWIG_AsVal_int(obj2, &val3);
25668 if (!SWIG_IsOK(ecode3)) {
25669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25670 }
25671 arg3 = static_cast< int >(val3);
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 {
25679 resultobj = wxPyMake_wxObject(result, (bool)0);
25680 }
25681 return resultobj;
25682 fail:
25683 return NULL;
25684 }
25685
25686
25687 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj = 0;
25689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25690 int arg2 ;
25691 wxToolBarToolBase *result = 0 ;
25692 void *argp1 = 0 ;
25693 int res1 = 0 ;
25694 int val2 ;
25695 int ecode2 = 0 ;
25696 PyObject * obj0 = 0 ;
25697 PyObject * obj1 = 0 ;
25698 char * kwnames[] = {
25699 (char *) "self",(char *) "toolid", NULL
25700 };
25701
25702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25704 if (!SWIG_IsOK(res1)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25706 }
25707 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25708 ecode2 = SWIG_AsVal_int(obj1, &val2);
25709 if (!SWIG_IsOK(ecode2)) {
25710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25711 }
25712 arg2 = static_cast< int >(val2);
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 {
25720 resultobj = wxPyMake_wxObject(result, (bool)0);
25721 }
25722 return resultobj;
25723 fail:
25724 return NULL;
25725 }
25726
25727
25728 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25729 PyObject *resultobj = 0;
25730 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25731 bool result;
25732 void *argp1 = 0 ;
25733 int res1 = 0 ;
25734 PyObject *swig_obj[1] ;
25735
25736 if (!args) SWIG_fail;
25737 swig_obj[0] = args;
25738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25739 if (!SWIG_IsOK(res1)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25741 }
25742 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25743 {
25744 PyThreadState* __tstate = wxPyBeginAllowThreads();
25745 result = (bool)(arg1)->IsVertical();
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 {
25750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25751 }
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25759 PyObject *resultobj = 0;
25760 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25761 size_t result;
25762 void *argp1 = 0 ;
25763 int res1 = 0 ;
25764 PyObject *swig_obj[1] ;
25765
25766 if (!args) SWIG_fail;
25767 swig_obj[0] = args;
25768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25769 if (!SWIG_IsOK(res1)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25771 }
25772 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25773 {
25774 PyThreadState* __tstate = wxPyBeginAllowThreads();
25775 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25787 PyObject *obj;
25788 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25789 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25790 return SWIG_Py_Void();
25791 }
25792
25793 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25794 PyObject *resultobj = 0;
25795 wxWindow *arg1 = (wxWindow *) 0 ;
25796 int arg2 = (int) -1 ;
25797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25799 wxSize const &arg4_defvalue = wxDefaultSize ;
25800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25801 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25802 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25803 wxString *arg6 = (wxString *) &arg6_defvalue ;
25804 wxToolBar *result = 0 ;
25805 void *argp1 = 0 ;
25806 int res1 = 0 ;
25807 int val2 ;
25808 int ecode2 = 0 ;
25809 wxPoint temp3 ;
25810 wxSize temp4 ;
25811 long val5 ;
25812 int ecode5 = 0 ;
25813 bool temp6 = false ;
25814 PyObject * obj0 = 0 ;
25815 PyObject * obj1 = 0 ;
25816 PyObject * obj2 = 0 ;
25817 PyObject * obj3 = 0 ;
25818 PyObject * obj4 = 0 ;
25819 PyObject * obj5 = 0 ;
25820 char * kwnames[] = {
25821 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25822 };
25823
25824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25826 if (!SWIG_IsOK(res1)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25828 }
25829 arg1 = reinterpret_cast< wxWindow * >(argp1);
25830 if (obj1) {
25831 ecode2 = SWIG_AsVal_int(obj1, &val2);
25832 if (!SWIG_IsOK(ecode2)) {
25833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25834 }
25835 arg2 = static_cast< int >(val2);
25836 }
25837 if (obj2) {
25838 {
25839 arg3 = &temp3;
25840 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25841 }
25842 }
25843 if (obj3) {
25844 {
25845 arg4 = &temp4;
25846 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25847 }
25848 }
25849 if (obj4) {
25850 ecode5 = SWIG_AsVal_long(obj4, &val5);
25851 if (!SWIG_IsOK(ecode5)) {
25852 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25853 }
25854 arg5 = static_cast< long >(val5);
25855 }
25856 if (obj5) {
25857 {
25858 arg6 = wxString_in_helper(obj5);
25859 if (arg6 == NULL) SWIG_fail;
25860 temp6 = true;
25861 }
25862 }
25863 {
25864 if (!wxPyCheckForApp()) SWIG_fail;
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25871 {
25872 if (temp6)
25873 delete arg6;
25874 }
25875 return resultobj;
25876 fail:
25877 {
25878 if (temp6)
25879 delete arg6;
25880 }
25881 return NULL;
25882 }
25883
25884
25885 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25886 PyObject *resultobj = 0;
25887 wxToolBar *result = 0 ;
25888
25889 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25890 {
25891 if (!wxPyCheckForApp()) SWIG_fail;
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 result = (wxToolBar *)new wxToolBar();
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25905 PyObject *resultobj = 0;
25906 wxToolBar *arg1 = (wxToolBar *) 0 ;
25907 wxWindow *arg2 = (wxWindow *) 0 ;
25908 int arg3 = (int) -1 ;
25909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25911 wxSize const &arg5_defvalue = wxDefaultSize ;
25912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25913 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25914 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25915 wxString *arg7 = (wxString *) &arg7_defvalue ;
25916 bool result;
25917 void *argp1 = 0 ;
25918 int res1 = 0 ;
25919 void *argp2 = 0 ;
25920 int res2 = 0 ;
25921 int val3 ;
25922 int ecode3 = 0 ;
25923 wxPoint temp4 ;
25924 wxSize temp5 ;
25925 long val6 ;
25926 int ecode6 = 0 ;
25927 bool temp7 = false ;
25928 PyObject * obj0 = 0 ;
25929 PyObject * obj1 = 0 ;
25930 PyObject * obj2 = 0 ;
25931 PyObject * obj3 = 0 ;
25932 PyObject * obj4 = 0 ;
25933 PyObject * obj5 = 0 ;
25934 PyObject * obj6 = 0 ;
25935 char * kwnames[] = {
25936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25937 };
25938
25939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25941 if (!SWIG_IsOK(res1)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25943 }
25944 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25945 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25946 if (!SWIG_IsOK(res2)) {
25947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25948 }
25949 arg2 = reinterpret_cast< wxWindow * >(argp2);
25950 if (obj2) {
25951 ecode3 = SWIG_AsVal_int(obj2, &val3);
25952 if (!SWIG_IsOK(ecode3)) {
25953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25954 }
25955 arg3 = static_cast< int >(val3);
25956 }
25957 if (obj3) {
25958 {
25959 arg4 = &temp4;
25960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25961 }
25962 }
25963 if (obj4) {
25964 {
25965 arg5 = &temp5;
25966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25967 }
25968 }
25969 if (obj5) {
25970 ecode6 = SWIG_AsVal_long(obj5, &val6);
25971 if (!SWIG_IsOK(ecode6)) {
25972 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25973 }
25974 arg6 = static_cast< long >(val6);
25975 }
25976 if (obj6) {
25977 {
25978 arg7 = wxString_in_helper(obj6);
25979 if (arg7 == NULL) SWIG_fail;
25980 temp7 = true;
25981 }
25982 }
25983 {
25984 PyThreadState* __tstate = wxPyBeginAllowThreads();
25985 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 {
25990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25991 }
25992 {
25993 if (temp7)
25994 delete arg7;
25995 }
25996 return resultobj;
25997 fail:
25998 {
25999 if (temp7)
26000 delete arg7;
26001 }
26002 return NULL;
26003 }
26004
26005
26006 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26007 PyObject *resultobj = 0;
26008 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26009 SwigValueWrapper<wxVisualAttributes > result;
26010 int val1 ;
26011 int ecode1 = 0 ;
26012 PyObject * obj0 = 0 ;
26013 char * kwnames[] = {
26014 (char *) "variant", NULL
26015 };
26016
26017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26018 if (obj0) {
26019 ecode1 = SWIG_AsVal_int(obj0, &val1);
26020 if (!SWIG_IsOK(ecode1)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26022 }
26023 arg1 = static_cast< wxWindowVariant >(val1);
26024 }
26025 {
26026 if (!wxPyCheckForApp()) SWIG_fail;
26027 PyThreadState* __tstate = wxPyBeginAllowThreads();
26028 result = wxToolBar::GetClassDefaultAttributes(arg1);
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26033 return resultobj;
26034 fail:
26035 return NULL;
26036 }
26037
26038
26039 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26040 PyObject *obj;
26041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26042 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26043 return SWIG_Py_Void();
26044 }
26045
26046 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26047 return SWIG_Python_InitShadowInstance(args);
26048 }
26049
26050 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26051 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26052 return 1;
26053 }
26054
26055
26056 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26057 PyObject *pyobj = 0;
26058
26059 {
26060 #if wxUSE_UNICODE
26061 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26062 #else
26063 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26064 #endif
26065 }
26066 return pyobj;
26067 }
26068
26069
26070 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj = 0;
26072 wxColour const &arg1_defvalue = wxNullColour ;
26073 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26074 wxColour const &arg2_defvalue = wxNullColour ;
26075 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26076 wxFont const &arg3_defvalue = wxNullFont ;
26077 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26078 wxListItemAttr *result = 0 ;
26079 wxColour temp1 ;
26080 wxColour temp2 ;
26081 void *argp3 = 0 ;
26082 int res3 = 0 ;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 PyObject * obj2 = 0 ;
26086 char * kwnames[] = {
26087 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26088 };
26089
26090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26091 if (obj0) {
26092 {
26093 arg1 = &temp1;
26094 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26095 }
26096 }
26097 if (obj1) {
26098 {
26099 arg2 = &temp2;
26100 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26101 }
26102 }
26103 if (obj2) {
26104 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26105 if (!SWIG_IsOK(res3)) {
26106 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26107 }
26108 if (!argp3) {
26109 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26110 }
26111 arg3 = reinterpret_cast< wxFont * >(argp3);
26112 }
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26116 wxPyEndAllowThreads(__tstate);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26120 return resultobj;
26121 fail:
26122 return NULL;
26123 }
26124
26125
26126 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26127 PyObject *resultobj = 0;
26128 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26129 void *argp1 = 0 ;
26130 int res1 = 0 ;
26131 PyObject *swig_obj[1] ;
26132
26133 if (!args) SWIG_fail;
26134 swig_obj[0] = args;
26135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26136 if (!SWIG_IsOK(res1)) {
26137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26138 }
26139 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 delete arg1;
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 resultobj = SWIG_Py_Void();
26148 return resultobj;
26149 fail:
26150 return NULL;
26151 }
26152
26153
26154 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj = 0;
26156 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26157 wxColour *arg2 = 0 ;
26158 void *argp1 = 0 ;
26159 int res1 = 0 ;
26160 wxColour temp2 ;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 char * kwnames[] = {
26164 (char *) "self",(char *) "colText", NULL
26165 };
26166
26167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26169 if (!SWIG_IsOK(res1)) {
26170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26171 }
26172 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26173 {
26174 arg2 = &temp2;
26175 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26176 }
26177 {
26178 PyThreadState* __tstate = wxPyBeginAllowThreads();
26179 (arg1)->SetTextColour((wxColour const &)*arg2);
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 resultobj = SWIG_Py_Void();
26184 return resultobj;
26185 fail:
26186 return NULL;
26187 }
26188
26189
26190 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26191 PyObject *resultobj = 0;
26192 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26193 wxColour *arg2 = 0 ;
26194 void *argp1 = 0 ;
26195 int res1 = 0 ;
26196 wxColour temp2 ;
26197 PyObject * obj0 = 0 ;
26198 PyObject * obj1 = 0 ;
26199 char * kwnames[] = {
26200 (char *) "self",(char *) "colBack", NULL
26201 };
26202
26203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26205 if (!SWIG_IsOK(res1)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26207 }
26208 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26209 {
26210 arg2 = &temp2;
26211 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26212 }
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 resultobj = SWIG_Py_Void();
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj = 0;
26228 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26229 wxFont *arg2 = 0 ;
26230 void *argp1 = 0 ;
26231 int res1 = 0 ;
26232 void *argp2 = 0 ;
26233 int res2 = 0 ;
26234 PyObject * obj0 = 0 ;
26235 PyObject * obj1 = 0 ;
26236 char * kwnames[] = {
26237 (char *) "self",(char *) "font", NULL
26238 };
26239
26240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26242 if (!SWIG_IsOK(res1)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26244 }
26245 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26247 if (!SWIG_IsOK(res2)) {
26248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26249 }
26250 if (!argp2) {
26251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26252 }
26253 arg2 = reinterpret_cast< wxFont * >(argp2);
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 (arg1)->SetFont((wxFont const &)*arg2);
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 resultobj = SWIG_Py_Void();
26261 return resultobj;
26262 fail:
26263 return NULL;
26264 }
26265
26266
26267 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26268 PyObject *resultobj = 0;
26269 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26270 bool result;
26271 void *argp1 = 0 ;
26272 int res1 = 0 ;
26273 PyObject *swig_obj[1] ;
26274
26275 if (!args) SWIG_fail;
26276 swig_obj[0] = args;
26277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26278 if (!SWIG_IsOK(res1)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26280 }
26281 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 result = (bool)(arg1)->HasTextColour();
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 {
26289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26290 }
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26298 PyObject *resultobj = 0;
26299 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26300 bool result;
26301 void *argp1 = 0 ;
26302 int res1 = 0 ;
26303 PyObject *swig_obj[1] ;
26304
26305 if (!args) SWIG_fail;
26306 swig_obj[0] = args;
26307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26310 }
26311 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 result = (bool)(arg1)->HasBackgroundColour();
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 {
26319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26320 }
26321 return resultobj;
26322 fail:
26323 return NULL;
26324 }
26325
26326
26327 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26328 PyObject *resultobj = 0;
26329 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26330 bool result;
26331 void *argp1 = 0 ;
26332 int res1 = 0 ;
26333 PyObject *swig_obj[1] ;
26334
26335 if (!args) SWIG_fail;
26336 swig_obj[0] = args;
26337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26338 if (!SWIG_IsOK(res1)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26340 }
26341 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 result = (bool)(arg1)->HasFont();
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 {
26349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26350 }
26351 return resultobj;
26352 fail:
26353 return NULL;
26354 }
26355
26356
26357 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26358 PyObject *resultobj = 0;
26359 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26360 wxColour result;
26361 void *argp1 = 0 ;
26362 int res1 = 0 ;
26363 PyObject *swig_obj[1] ;
26364
26365 if (!args) SWIG_fail;
26366 swig_obj[0] = args;
26367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26368 if (!SWIG_IsOK(res1)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26370 }
26371 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 result = (arg1)->GetTextColour();
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26379 return resultobj;
26380 fail:
26381 return NULL;
26382 }
26383
26384
26385 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26386 PyObject *resultobj = 0;
26387 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26388 wxColour result;
26389 void *argp1 = 0 ;
26390 int res1 = 0 ;
26391 PyObject *swig_obj[1] ;
26392
26393 if (!args) SWIG_fail;
26394 swig_obj[0] = args;
26395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26396 if (!SWIG_IsOK(res1)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26398 }
26399 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26400 {
26401 PyThreadState* __tstate = wxPyBeginAllowThreads();
26402 result = (arg1)->GetBackgroundColour();
26403 wxPyEndAllowThreads(__tstate);
26404 if (PyErr_Occurred()) SWIG_fail;
26405 }
26406 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26407 return resultobj;
26408 fail:
26409 return NULL;
26410 }
26411
26412
26413 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26414 PyObject *resultobj = 0;
26415 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26416 wxFont result;
26417 void *argp1 = 0 ;
26418 int res1 = 0 ;
26419 PyObject *swig_obj[1] ;
26420
26421 if (!args) SWIG_fail;
26422 swig_obj[0] = args;
26423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26424 if (!SWIG_IsOK(res1)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26426 }
26427 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = (arg1)->GetFont();
26431 wxPyEndAllowThreads(__tstate);
26432 if (PyErr_Occurred()) SWIG_fail;
26433 }
26434 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26435 return resultobj;
26436 fail:
26437 return NULL;
26438 }
26439
26440
26441 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26442 PyObject *resultobj = 0;
26443 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26444 wxListItemAttr *arg2 = 0 ;
26445 void *argp1 = 0 ;
26446 int res1 = 0 ;
26447 void *argp2 = 0 ;
26448 int res2 = 0 ;
26449 PyObject * obj0 = 0 ;
26450 PyObject * obj1 = 0 ;
26451 char * kwnames[] = {
26452 (char *) "self",(char *) "source", NULL
26453 };
26454
26455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26457 if (!SWIG_IsOK(res1)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26459 }
26460 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26461 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26462 if (!SWIG_IsOK(res2)) {
26463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26464 }
26465 if (!argp2) {
26466 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26467 }
26468 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
26475 resultobj = SWIG_Py_Void();
26476 return resultobj;
26477 fail:
26478 return NULL;
26479 }
26480
26481
26482 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26483 PyObject *resultobj = 0;
26484 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26485 void *argp1 = 0 ;
26486 int res1 = 0 ;
26487 PyObject *swig_obj[1] ;
26488
26489 if (!args) SWIG_fail;
26490 swig_obj[0] = args;
26491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26492 if (!SWIG_IsOK(res1)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26494 }
26495 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 wxListItemAttr_Destroy(arg1);
26499 wxPyEndAllowThreads(__tstate);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 resultobj = SWIG_Py_Void();
26503 return resultobj;
26504 fail:
26505 return NULL;
26506 }
26507
26508
26509 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26510 PyObject *obj;
26511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26512 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26513 return SWIG_Py_Void();
26514 }
26515
26516 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26517 return SWIG_Python_InitShadowInstance(args);
26518 }
26519
26520 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26521 PyObject *resultobj = 0;
26522 wxListItem *result = 0 ;
26523
26524 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 result = (wxListItem *)new wxListItem();
26528 wxPyEndAllowThreads(__tstate);
26529 if (PyErr_Occurred()) SWIG_fail;
26530 }
26531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
26532 return resultobj;
26533 fail:
26534 return NULL;
26535 }
26536
26537
26538 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26539 PyObject *resultobj = 0;
26540 wxListItem *arg1 = (wxListItem *) 0 ;
26541 void *argp1 = 0 ;
26542 int res1 = 0 ;
26543 PyObject *swig_obj[1] ;
26544
26545 if (!args) SWIG_fail;
26546 swig_obj[0] = args;
26547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26548 if (!SWIG_IsOK(res1)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26550 }
26551 arg1 = reinterpret_cast< wxListItem * >(argp1);
26552 {
26553 PyThreadState* __tstate = wxPyBeginAllowThreads();
26554 delete arg1;
26555
26556 wxPyEndAllowThreads(__tstate);
26557 if (PyErr_Occurred()) SWIG_fail;
26558 }
26559 resultobj = SWIG_Py_Void();
26560 return resultobj;
26561 fail:
26562 return NULL;
26563 }
26564
26565
26566 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26567 PyObject *resultobj = 0;
26568 wxListItem *arg1 = (wxListItem *) 0 ;
26569 void *argp1 = 0 ;
26570 int res1 = 0 ;
26571 PyObject *swig_obj[1] ;
26572
26573 if (!args) SWIG_fail;
26574 swig_obj[0] = args;
26575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26576 if (!SWIG_IsOK(res1)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26578 }
26579 arg1 = reinterpret_cast< wxListItem * >(argp1);
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->Clear();
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 resultobj = SWIG_Py_Void();
26587 return resultobj;
26588 fail:
26589 return NULL;
26590 }
26591
26592
26593 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26594 PyObject *resultobj = 0;
26595 wxListItem *arg1 = (wxListItem *) 0 ;
26596 void *argp1 = 0 ;
26597 int res1 = 0 ;
26598 PyObject *swig_obj[1] ;
26599
26600 if (!args) SWIG_fail;
26601 swig_obj[0] = args;
26602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26603 if (!SWIG_IsOK(res1)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26605 }
26606 arg1 = reinterpret_cast< wxListItem * >(argp1);
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 (arg1)->ClearAttributes();
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 resultobj = SWIG_Py_Void();
26614 return resultobj;
26615 fail:
26616 return NULL;
26617 }
26618
26619
26620 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj = 0;
26622 wxListItem *arg1 = (wxListItem *) 0 ;
26623 long arg2 ;
26624 void *argp1 = 0 ;
26625 int res1 = 0 ;
26626 long val2 ;
26627 int ecode2 = 0 ;
26628 PyObject * obj0 = 0 ;
26629 PyObject * obj1 = 0 ;
26630 char * kwnames[] = {
26631 (char *) "self",(char *) "mask", NULL
26632 };
26633
26634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26636 if (!SWIG_IsOK(res1)) {
26637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26638 }
26639 arg1 = reinterpret_cast< wxListItem * >(argp1);
26640 ecode2 = SWIG_AsVal_long(obj1, &val2);
26641 if (!SWIG_IsOK(ecode2)) {
26642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26643 }
26644 arg2 = static_cast< long >(val2);
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->SetMask(arg2);
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 resultobj = SWIG_Py_Void();
26652 return resultobj;
26653 fail:
26654 return NULL;
26655 }
26656
26657
26658 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj = 0;
26660 wxListItem *arg1 = (wxListItem *) 0 ;
26661 long arg2 ;
26662 void *argp1 = 0 ;
26663 int res1 = 0 ;
26664 long val2 ;
26665 int ecode2 = 0 ;
26666 PyObject * obj0 = 0 ;
26667 PyObject * obj1 = 0 ;
26668 char * kwnames[] = {
26669 (char *) "self",(char *) "id", NULL
26670 };
26671
26672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26674 if (!SWIG_IsOK(res1)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26676 }
26677 arg1 = reinterpret_cast< wxListItem * >(argp1);
26678 ecode2 = SWIG_AsVal_long(obj1, &val2);
26679 if (!SWIG_IsOK(ecode2)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26681 }
26682 arg2 = static_cast< long >(val2);
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 (arg1)->SetId(arg2);
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_Py_Void();
26690 return resultobj;
26691 fail:
26692 return NULL;
26693 }
26694
26695
26696 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj = 0;
26698 wxListItem *arg1 = (wxListItem *) 0 ;
26699 int arg2 ;
26700 void *argp1 = 0 ;
26701 int res1 = 0 ;
26702 int val2 ;
26703 int ecode2 = 0 ;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char * kwnames[] = {
26707 (char *) "self",(char *) "col", NULL
26708 };
26709
26710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26712 if (!SWIG_IsOK(res1)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26714 }
26715 arg1 = reinterpret_cast< wxListItem * >(argp1);
26716 ecode2 = SWIG_AsVal_int(obj1, &val2);
26717 if (!SWIG_IsOK(ecode2)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26719 }
26720 arg2 = static_cast< int >(val2);
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 (arg1)->SetColumn(arg2);
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 resultobj = SWIG_Py_Void();
26728 return resultobj;
26729 fail:
26730 return NULL;
26731 }
26732
26733
26734 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj = 0;
26736 wxListItem *arg1 = (wxListItem *) 0 ;
26737 long arg2 ;
26738 void *argp1 = 0 ;
26739 int res1 = 0 ;
26740 long val2 ;
26741 int ecode2 = 0 ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char * kwnames[] = {
26745 (char *) "self",(char *) "state", NULL
26746 };
26747
26748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26750 if (!SWIG_IsOK(res1)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26752 }
26753 arg1 = reinterpret_cast< wxListItem * >(argp1);
26754 ecode2 = SWIG_AsVal_long(obj1, &val2);
26755 if (!SWIG_IsOK(ecode2)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26757 }
26758 arg2 = static_cast< long >(val2);
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->SetState(arg2);
26762 wxPyEndAllowThreads(__tstate);
26763 if (PyErr_Occurred()) SWIG_fail;
26764 }
26765 resultobj = SWIG_Py_Void();
26766 return resultobj;
26767 fail:
26768 return NULL;
26769 }
26770
26771
26772 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26773 PyObject *resultobj = 0;
26774 wxListItem *arg1 = (wxListItem *) 0 ;
26775 long arg2 ;
26776 void *argp1 = 0 ;
26777 int res1 = 0 ;
26778 long val2 ;
26779 int ecode2 = 0 ;
26780 PyObject * obj0 = 0 ;
26781 PyObject * obj1 = 0 ;
26782 char * kwnames[] = {
26783 (char *) "self",(char *) "stateMask", NULL
26784 };
26785
26786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26788 if (!SWIG_IsOK(res1)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26790 }
26791 arg1 = reinterpret_cast< wxListItem * >(argp1);
26792 ecode2 = SWIG_AsVal_long(obj1, &val2);
26793 if (!SWIG_IsOK(ecode2)) {
26794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26795 }
26796 arg2 = static_cast< long >(val2);
26797 {
26798 PyThreadState* __tstate = wxPyBeginAllowThreads();
26799 (arg1)->SetStateMask(arg2);
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 resultobj = SWIG_Py_Void();
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj = 0;
26812 wxListItem *arg1 = (wxListItem *) 0 ;
26813 wxString *arg2 = 0 ;
26814 void *argp1 = 0 ;
26815 int res1 = 0 ;
26816 bool temp2 = false ;
26817 PyObject * obj0 = 0 ;
26818 PyObject * obj1 = 0 ;
26819 char * kwnames[] = {
26820 (char *) "self",(char *) "text", NULL
26821 };
26822
26823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26825 if (!SWIG_IsOK(res1)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26827 }
26828 arg1 = reinterpret_cast< wxListItem * >(argp1);
26829 {
26830 arg2 = wxString_in_helper(obj1);
26831 if (arg2 == NULL) SWIG_fail;
26832 temp2 = true;
26833 }
26834 {
26835 PyThreadState* __tstate = wxPyBeginAllowThreads();
26836 (arg1)->SetText((wxString const &)*arg2);
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 resultobj = SWIG_Py_Void();
26841 {
26842 if (temp2)
26843 delete arg2;
26844 }
26845 return resultobj;
26846 fail:
26847 {
26848 if (temp2)
26849 delete arg2;
26850 }
26851 return NULL;
26852 }
26853
26854
26855 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj = 0;
26857 wxListItem *arg1 = (wxListItem *) 0 ;
26858 int arg2 ;
26859 void *argp1 = 0 ;
26860 int res1 = 0 ;
26861 int val2 ;
26862 int ecode2 = 0 ;
26863 PyObject * obj0 = 0 ;
26864 PyObject * obj1 = 0 ;
26865 char * kwnames[] = {
26866 (char *) "self",(char *) "image", NULL
26867 };
26868
26869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26871 if (!SWIG_IsOK(res1)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26873 }
26874 arg1 = reinterpret_cast< wxListItem * >(argp1);
26875 ecode2 = SWIG_AsVal_int(obj1, &val2);
26876 if (!SWIG_IsOK(ecode2)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26878 }
26879 arg2 = static_cast< int >(val2);
26880 {
26881 PyThreadState* __tstate = wxPyBeginAllowThreads();
26882 (arg1)->SetImage(arg2);
26883 wxPyEndAllowThreads(__tstate);
26884 if (PyErr_Occurred()) SWIG_fail;
26885 }
26886 resultobj = SWIG_Py_Void();
26887 return resultobj;
26888 fail:
26889 return NULL;
26890 }
26891
26892
26893 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26894 PyObject *resultobj = 0;
26895 wxListItem *arg1 = (wxListItem *) 0 ;
26896 long arg2 ;
26897 void *argp1 = 0 ;
26898 int res1 = 0 ;
26899 long val2 ;
26900 int ecode2 = 0 ;
26901 PyObject * obj0 = 0 ;
26902 PyObject * obj1 = 0 ;
26903 char * kwnames[] = {
26904 (char *) "self",(char *) "data", NULL
26905 };
26906
26907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26909 if (!SWIG_IsOK(res1)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26911 }
26912 arg1 = reinterpret_cast< wxListItem * >(argp1);
26913 ecode2 = SWIG_AsVal_long(obj1, &val2);
26914 if (!SWIG_IsOK(ecode2)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26916 }
26917 arg2 = static_cast< long >(val2);
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 (arg1)->SetData(arg2);
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 resultobj = SWIG_Py_Void();
26925 return resultobj;
26926 fail:
26927 return NULL;
26928 }
26929
26930
26931 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj = 0;
26933 wxListItem *arg1 = (wxListItem *) 0 ;
26934 int arg2 ;
26935 void *argp1 = 0 ;
26936 int res1 = 0 ;
26937 int val2 ;
26938 int ecode2 = 0 ;
26939 PyObject * obj0 = 0 ;
26940 PyObject * obj1 = 0 ;
26941 char * kwnames[] = {
26942 (char *) "self",(char *) "width", NULL
26943 };
26944
26945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26947 if (!SWIG_IsOK(res1)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26949 }
26950 arg1 = reinterpret_cast< wxListItem * >(argp1);
26951 ecode2 = SWIG_AsVal_int(obj1, &val2);
26952 if (!SWIG_IsOK(ecode2)) {
26953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26954 }
26955 arg2 = static_cast< int >(val2);
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 (arg1)->SetWidth(arg2);
26959 wxPyEndAllowThreads(__tstate);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
26962 resultobj = SWIG_Py_Void();
26963 return resultobj;
26964 fail:
26965 return NULL;
26966 }
26967
26968
26969 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26970 PyObject *resultobj = 0;
26971 wxListItem *arg1 = (wxListItem *) 0 ;
26972 wxListColumnFormat arg2 ;
26973 void *argp1 = 0 ;
26974 int res1 = 0 ;
26975 int val2 ;
26976 int ecode2 = 0 ;
26977 PyObject * obj0 = 0 ;
26978 PyObject * obj1 = 0 ;
26979 char * kwnames[] = {
26980 (char *) "self",(char *) "align", NULL
26981 };
26982
26983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26985 if (!SWIG_IsOK(res1)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26987 }
26988 arg1 = reinterpret_cast< wxListItem * >(argp1);
26989 ecode2 = SWIG_AsVal_int(obj1, &val2);
26990 if (!SWIG_IsOK(ecode2)) {
26991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26992 }
26993 arg2 = static_cast< wxListColumnFormat >(val2);
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 (arg1)->SetAlign(arg2);
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 resultobj = SWIG_Py_Void();
27001 return resultobj;
27002 fail:
27003 return NULL;
27004 }
27005
27006
27007 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27008 PyObject *resultobj = 0;
27009 wxListItem *arg1 = (wxListItem *) 0 ;
27010 wxColour *arg2 = 0 ;
27011 void *argp1 = 0 ;
27012 int res1 = 0 ;
27013 wxColour temp2 ;
27014 PyObject * obj0 = 0 ;
27015 PyObject * obj1 = 0 ;
27016 char * kwnames[] = {
27017 (char *) "self",(char *) "colText", NULL
27018 };
27019
27020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27022 if (!SWIG_IsOK(res1)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27024 }
27025 arg1 = reinterpret_cast< wxListItem * >(argp1);
27026 {
27027 arg2 = &temp2;
27028 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27029 }
27030 {
27031 PyThreadState* __tstate = wxPyBeginAllowThreads();
27032 (arg1)->SetTextColour((wxColour const &)*arg2);
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 resultobj = SWIG_Py_Void();
27037 return resultobj;
27038 fail:
27039 return NULL;
27040 }
27041
27042
27043 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj = 0;
27045 wxListItem *arg1 = (wxListItem *) 0 ;
27046 wxColour *arg2 = 0 ;
27047 void *argp1 = 0 ;
27048 int res1 = 0 ;
27049 wxColour temp2 ;
27050 PyObject * obj0 = 0 ;
27051 PyObject * obj1 = 0 ;
27052 char * kwnames[] = {
27053 (char *) "self",(char *) "colBack", NULL
27054 };
27055
27056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27058 if (!SWIG_IsOK(res1)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27060 }
27061 arg1 = reinterpret_cast< wxListItem * >(argp1);
27062 {
27063 arg2 = &temp2;
27064 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27065 }
27066 {
27067 PyThreadState* __tstate = wxPyBeginAllowThreads();
27068 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27069 wxPyEndAllowThreads(__tstate);
27070 if (PyErr_Occurred()) SWIG_fail;
27071 }
27072 resultobj = SWIG_Py_Void();
27073 return resultobj;
27074 fail:
27075 return NULL;
27076 }
27077
27078
27079 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27080 PyObject *resultobj = 0;
27081 wxListItem *arg1 = (wxListItem *) 0 ;
27082 wxFont *arg2 = 0 ;
27083 void *argp1 = 0 ;
27084 int res1 = 0 ;
27085 void *argp2 = 0 ;
27086 int res2 = 0 ;
27087 PyObject * obj0 = 0 ;
27088 PyObject * obj1 = 0 ;
27089 char * kwnames[] = {
27090 (char *) "self",(char *) "font", NULL
27091 };
27092
27093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27095 if (!SWIG_IsOK(res1)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27097 }
27098 arg1 = reinterpret_cast< wxListItem * >(argp1);
27099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27100 if (!SWIG_IsOK(res2)) {
27101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27102 }
27103 if (!argp2) {
27104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27105 }
27106 arg2 = reinterpret_cast< wxFont * >(argp2);
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 (arg1)->SetFont((wxFont const &)*arg2);
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 resultobj = SWIG_Py_Void();
27114 return resultobj;
27115 fail:
27116 return NULL;
27117 }
27118
27119
27120 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27121 PyObject *resultobj = 0;
27122 wxListItem *arg1 = (wxListItem *) 0 ;
27123 long result;
27124 void *argp1 = 0 ;
27125 int res1 = 0 ;
27126 PyObject *swig_obj[1] ;
27127
27128 if (!args) SWIG_fail;
27129 swig_obj[0] = args;
27130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27131 if (!SWIG_IsOK(res1)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27133 }
27134 arg1 = reinterpret_cast< wxListItem * >(argp1);
27135 {
27136 PyThreadState* __tstate = wxPyBeginAllowThreads();
27137 result = (long)(arg1)->GetMask();
27138 wxPyEndAllowThreads(__tstate);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 resultobj = SWIG_From_long(static_cast< long >(result));
27142 return resultobj;
27143 fail:
27144 return NULL;
27145 }
27146
27147
27148 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27149 PyObject *resultobj = 0;
27150 wxListItem *arg1 = (wxListItem *) 0 ;
27151 long result;
27152 void *argp1 = 0 ;
27153 int res1 = 0 ;
27154 PyObject *swig_obj[1] ;
27155
27156 if (!args) SWIG_fail;
27157 swig_obj[0] = args;
27158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27159 if (!SWIG_IsOK(res1)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27161 }
27162 arg1 = reinterpret_cast< wxListItem * >(argp1);
27163 {
27164 PyThreadState* __tstate = wxPyBeginAllowThreads();
27165 result = (long)(arg1)->GetId();
27166 wxPyEndAllowThreads(__tstate);
27167 if (PyErr_Occurred()) SWIG_fail;
27168 }
27169 resultobj = SWIG_From_long(static_cast< long >(result));
27170 return resultobj;
27171 fail:
27172 return NULL;
27173 }
27174
27175
27176 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27177 PyObject *resultobj = 0;
27178 wxListItem *arg1 = (wxListItem *) 0 ;
27179 int result;
27180 void *argp1 = 0 ;
27181 int res1 = 0 ;
27182 PyObject *swig_obj[1] ;
27183
27184 if (!args) SWIG_fail;
27185 swig_obj[0] = args;
27186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27187 if (!SWIG_IsOK(res1)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27189 }
27190 arg1 = reinterpret_cast< wxListItem * >(argp1);
27191 {
27192 PyThreadState* __tstate = wxPyBeginAllowThreads();
27193 result = (int)(arg1)->GetColumn();
27194 wxPyEndAllowThreads(__tstate);
27195 if (PyErr_Occurred()) SWIG_fail;
27196 }
27197 resultobj = SWIG_From_int(static_cast< int >(result));
27198 return resultobj;
27199 fail:
27200 return NULL;
27201 }
27202
27203
27204 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27205 PyObject *resultobj = 0;
27206 wxListItem *arg1 = (wxListItem *) 0 ;
27207 long result;
27208 void *argp1 = 0 ;
27209 int res1 = 0 ;
27210 PyObject *swig_obj[1] ;
27211
27212 if (!args) SWIG_fail;
27213 swig_obj[0] = args;
27214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27215 if (!SWIG_IsOK(res1)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27217 }
27218 arg1 = reinterpret_cast< wxListItem * >(argp1);
27219 {
27220 PyThreadState* __tstate = wxPyBeginAllowThreads();
27221 result = (long)(arg1)->GetState();
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 resultobj = SWIG_From_long(static_cast< long >(result));
27226 return resultobj;
27227 fail:
27228 return NULL;
27229 }
27230
27231
27232 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27233 PyObject *resultobj = 0;
27234 wxListItem *arg1 = (wxListItem *) 0 ;
27235 wxString *result = 0 ;
27236 void *argp1 = 0 ;
27237 int res1 = 0 ;
27238 PyObject *swig_obj[1] ;
27239
27240 if (!args) SWIG_fail;
27241 swig_obj[0] = args;
27242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27243 if (!SWIG_IsOK(res1)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27245 }
27246 arg1 = reinterpret_cast< wxListItem * >(argp1);
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 {
27250 wxString const &_result_ref = (arg1)->GetText();
27251 result = (wxString *) &_result_ref;
27252 }
27253 wxPyEndAllowThreads(__tstate);
27254 if (PyErr_Occurred()) SWIG_fail;
27255 }
27256 {
27257 #if wxUSE_UNICODE
27258 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27259 #else
27260 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27261 #endif
27262 }
27263 return resultobj;
27264 fail:
27265 return NULL;
27266 }
27267
27268
27269 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27270 PyObject *resultobj = 0;
27271 wxListItem *arg1 = (wxListItem *) 0 ;
27272 int result;
27273 void *argp1 = 0 ;
27274 int res1 = 0 ;
27275 PyObject *swig_obj[1] ;
27276
27277 if (!args) SWIG_fail;
27278 swig_obj[0] = args;
27279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27280 if (!SWIG_IsOK(res1)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27282 }
27283 arg1 = reinterpret_cast< wxListItem * >(argp1);
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (int)(arg1)->GetImage();
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 resultobj = SWIG_From_int(static_cast< int >(result));
27291 return resultobj;
27292 fail:
27293 return NULL;
27294 }
27295
27296
27297 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27298 PyObject *resultobj = 0;
27299 wxListItem *arg1 = (wxListItem *) 0 ;
27300 long result;
27301 void *argp1 = 0 ;
27302 int res1 = 0 ;
27303 PyObject *swig_obj[1] ;
27304
27305 if (!args) SWIG_fail;
27306 swig_obj[0] = args;
27307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27308 if (!SWIG_IsOK(res1)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27310 }
27311 arg1 = reinterpret_cast< wxListItem * >(argp1);
27312 {
27313 PyThreadState* __tstate = wxPyBeginAllowThreads();
27314 result = (long)(arg1)->GetData();
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
27318 resultobj = SWIG_From_long(static_cast< long >(result));
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27326 PyObject *resultobj = 0;
27327 wxListItem *arg1 = (wxListItem *) 0 ;
27328 int result;
27329 void *argp1 = 0 ;
27330 int res1 = 0 ;
27331 PyObject *swig_obj[1] ;
27332
27333 if (!args) SWIG_fail;
27334 swig_obj[0] = args;
27335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27336 if (!SWIG_IsOK(res1)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 }
27339 arg1 = reinterpret_cast< wxListItem * >(argp1);
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 result = (int)(arg1)->GetWidth();
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 resultobj = SWIG_From_int(static_cast< int >(result));
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27354 PyObject *resultobj = 0;
27355 wxListItem *arg1 = (wxListItem *) 0 ;
27356 wxListColumnFormat result;
27357 void *argp1 = 0 ;
27358 int res1 = 0 ;
27359 PyObject *swig_obj[1] ;
27360
27361 if (!args) SWIG_fail;
27362 swig_obj[0] = args;
27363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27364 if (!SWIG_IsOK(res1)) {
27365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27366 }
27367 arg1 = reinterpret_cast< wxListItem * >(argp1);
27368 {
27369 PyThreadState* __tstate = wxPyBeginAllowThreads();
27370 result = (wxListColumnFormat)(arg1)->GetAlign();
27371 wxPyEndAllowThreads(__tstate);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 }
27374 resultobj = SWIG_From_int(static_cast< int >(result));
27375 return resultobj;
27376 fail:
27377 return NULL;
27378 }
27379
27380
27381 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27382 PyObject *resultobj = 0;
27383 wxListItem *arg1 = (wxListItem *) 0 ;
27384 wxListItemAttr *result = 0 ;
27385 void *argp1 = 0 ;
27386 int res1 = 0 ;
27387 PyObject *swig_obj[1] ;
27388
27389 if (!args) SWIG_fail;
27390 swig_obj[0] = args;
27391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27392 if (!SWIG_IsOK(res1)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27394 }
27395 arg1 = reinterpret_cast< wxListItem * >(argp1);
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 result = (wxListItemAttr *)(arg1)->GetAttributes();
27399 wxPyEndAllowThreads(__tstate);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 }
27402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27403 return resultobj;
27404 fail:
27405 return NULL;
27406 }
27407
27408
27409 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27410 PyObject *resultobj = 0;
27411 wxListItem *arg1 = (wxListItem *) 0 ;
27412 bool result;
27413 void *argp1 = 0 ;
27414 int res1 = 0 ;
27415 PyObject *swig_obj[1] ;
27416
27417 if (!args) SWIG_fail;
27418 swig_obj[0] = args;
27419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27420 if (!SWIG_IsOK(res1)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27422 }
27423 arg1 = reinterpret_cast< wxListItem * >(argp1);
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 result = (bool)(arg1)->HasAttributes();
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 {
27431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27432 }
27433 return resultobj;
27434 fail:
27435 return NULL;
27436 }
27437
27438
27439 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27440 PyObject *resultobj = 0;
27441 wxListItem *arg1 = (wxListItem *) 0 ;
27442 wxColour result;
27443 void *argp1 = 0 ;
27444 int res1 = 0 ;
27445 PyObject *swig_obj[1] ;
27446
27447 if (!args) SWIG_fail;
27448 swig_obj[0] = args;
27449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27450 if (!SWIG_IsOK(res1)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27452 }
27453 arg1 = reinterpret_cast< wxListItem * >(argp1);
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 result = ((wxListItem const *)arg1)->GetTextColour();
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27461 return resultobj;
27462 fail:
27463 return NULL;
27464 }
27465
27466
27467 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27468 PyObject *resultobj = 0;
27469 wxListItem *arg1 = (wxListItem *) 0 ;
27470 wxColour result;
27471 void *argp1 = 0 ;
27472 int res1 = 0 ;
27473 PyObject *swig_obj[1] ;
27474
27475 if (!args) SWIG_fail;
27476 swig_obj[0] = args;
27477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27478 if (!SWIG_IsOK(res1)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27480 }
27481 arg1 = reinterpret_cast< wxListItem * >(argp1);
27482 {
27483 PyThreadState* __tstate = wxPyBeginAllowThreads();
27484 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27496 PyObject *resultobj = 0;
27497 wxListItem *arg1 = (wxListItem *) 0 ;
27498 wxFont result;
27499 void *argp1 = 0 ;
27500 int res1 = 0 ;
27501 PyObject *swig_obj[1] ;
27502
27503 if (!args) SWIG_fail;
27504 swig_obj[0] = args;
27505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27506 if (!SWIG_IsOK(res1)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27508 }
27509 arg1 = reinterpret_cast< wxListItem * >(argp1);
27510 {
27511 PyThreadState* __tstate = wxPyBeginAllowThreads();
27512 result = ((wxListItem const *)arg1)->GetFont();
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27517 return resultobj;
27518 fail:
27519 return NULL;
27520 }
27521
27522
27523 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27524 PyObject *resultobj = 0;
27525 wxListItem *arg1 = (wxListItem *) 0 ;
27526 long arg2 ;
27527 void *argp1 = 0 ;
27528 int res1 = 0 ;
27529 long val2 ;
27530 int ecode2 = 0 ;
27531 PyObject *swig_obj[2] ;
27532
27533 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27535 if (!SWIG_IsOK(res1)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27537 }
27538 arg1 = reinterpret_cast< wxListItem * >(argp1);
27539 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27540 if (!SWIG_IsOK(ecode2)) {
27541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27542 }
27543 arg2 = static_cast< long >(val2);
27544 if (arg1) (arg1)->m_mask = arg2;
27545
27546 resultobj = SWIG_Py_Void();
27547 return resultobj;
27548 fail:
27549 return NULL;
27550 }
27551
27552
27553 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27554 PyObject *resultobj = 0;
27555 wxListItem *arg1 = (wxListItem *) 0 ;
27556 long result;
27557 void *argp1 = 0 ;
27558 int res1 = 0 ;
27559 PyObject *swig_obj[1] ;
27560
27561 if (!args) SWIG_fail;
27562 swig_obj[0] = args;
27563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27564 if (!SWIG_IsOK(res1)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27566 }
27567 arg1 = reinterpret_cast< wxListItem * >(argp1);
27568 result = (long) ((arg1)->m_mask);
27569 resultobj = SWIG_From_long(static_cast< long >(result));
27570 return resultobj;
27571 fail:
27572 return NULL;
27573 }
27574
27575
27576 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27577 PyObject *resultobj = 0;
27578 wxListItem *arg1 = (wxListItem *) 0 ;
27579 long arg2 ;
27580 void *argp1 = 0 ;
27581 int res1 = 0 ;
27582 long val2 ;
27583 int ecode2 = 0 ;
27584 PyObject *swig_obj[2] ;
27585
27586 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27588 if (!SWIG_IsOK(res1)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27590 }
27591 arg1 = reinterpret_cast< wxListItem * >(argp1);
27592 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27593 if (!SWIG_IsOK(ecode2)) {
27594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27595 }
27596 arg2 = static_cast< long >(val2);
27597 if (arg1) (arg1)->m_itemId = arg2;
27598
27599 resultobj = SWIG_Py_Void();
27600 return resultobj;
27601 fail:
27602 return NULL;
27603 }
27604
27605
27606 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27607 PyObject *resultobj = 0;
27608 wxListItem *arg1 = (wxListItem *) 0 ;
27609 long result;
27610 void *argp1 = 0 ;
27611 int res1 = 0 ;
27612 PyObject *swig_obj[1] ;
27613
27614 if (!args) SWIG_fail;
27615 swig_obj[0] = args;
27616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27617 if (!SWIG_IsOK(res1)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27619 }
27620 arg1 = reinterpret_cast< wxListItem * >(argp1);
27621 result = (long) ((arg1)->m_itemId);
27622 resultobj = SWIG_From_long(static_cast< long >(result));
27623 return resultobj;
27624 fail:
27625 return NULL;
27626 }
27627
27628
27629 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27630 PyObject *resultobj = 0;
27631 wxListItem *arg1 = (wxListItem *) 0 ;
27632 int arg2 ;
27633 void *argp1 = 0 ;
27634 int res1 = 0 ;
27635 int val2 ;
27636 int ecode2 = 0 ;
27637 PyObject *swig_obj[2] ;
27638
27639 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27641 if (!SWIG_IsOK(res1)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27643 }
27644 arg1 = reinterpret_cast< wxListItem * >(argp1);
27645 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27646 if (!SWIG_IsOK(ecode2)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27648 }
27649 arg2 = static_cast< int >(val2);
27650 if (arg1) (arg1)->m_col = arg2;
27651
27652 resultobj = SWIG_Py_Void();
27653 return resultobj;
27654 fail:
27655 return NULL;
27656 }
27657
27658
27659 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27660 PyObject *resultobj = 0;
27661 wxListItem *arg1 = (wxListItem *) 0 ;
27662 int result;
27663 void *argp1 = 0 ;
27664 int res1 = 0 ;
27665 PyObject *swig_obj[1] ;
27666
27667 if (!args) SWIG_fail;
27668 swig_obj[0] = args;
27669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27670 if (!SWIG_IsOK(res1)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27672 }
27673 arg1 = reinterpret_cast< wxListItem * >(argp1);
27674 result = (int) ((arg1)->m_col);
27675 resultobj = SWIG_From_int(static_cast< int >(result));
27676 return resultobj;
27677 fail:
27678 return NULL;
27679 }
27680
27681
27682 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27683 PyObject *resultobj = 0;
27684 wxListItem *arg1 = (wxListItem *) 0 ;
27685 long arg2 ;
27686 void *argp1 = 0 ;
27687 int res1 = 0 ;
27688 long val2 ;
27689 int ecode2 = 0 ;
27690 PyObject *swig_obj[2] ;
27691
27692 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27694 if (!SWIG_IsOK(res1)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27696 }
27697 arg1 = reinterpret_cast< wxListItem * >(argp1);
27698 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27699 if (!SWIG_IsOK(ecode2)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27701 }
27702 arg2 = static_cast< long >(val2);
27703 if (arg1) (arg1)->m_state = arg2;
27704
27705 resultobj = SWIG_Py_Void();
27706 return resultobj;
27707 fail:
27708 return NULL;
27709 }
27710
27711
27712 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27713 PyObject *resultobj = 0;
27714 wxListItem *arg1 = (wxListItem *) 0 ;
27715 long result;
27716 void *argp1 = 0 ;
27717 int res1 = 0 ;
27718 PyObject *swig_obj[1] ;
27719
27720 if (!args) SWIG_fail;
27721 swig_obj[0] = args;
27722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27723 if (!SWIG_IsOK(res1)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27725 }
27726 arg1 = reinterpret_cast< wxListItem * >(argp1);
27727 result = (long) ((arg1)->m_state);
27728 resultobj = SWIG_From_long(static_cast< long >(result));
27729 return resultobj;
27730 fail:
27731 return NULL;
27732 }
27733
27734
27735 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27736 PyObject *resultobj = 0;
27737 wxListItem *arg1 = (wxListItem *) 0 ;
27738 long arg2 ;
27739 void *argp1 = 0 ;
27740 int res1 = 0 ;
27741 long val2 ;
27742 int ecode2 = 0 ;
27743 PyObject *swig_obj[2] ;
27744
27745 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27747 if (!SWIG_IsOK(res1)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27749 }
27750 arg1 = reinterpret_cast< wxListItem * >(argp1);
27751 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27752 if (!SWIG_IsOK(ecode2)) {
27753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27754 }
27755 arg2 = static_cast< long >(val2);
27756 if (arg1) (arg1)->m_stateMask = arg2;
27757
27758 resultobj = SWIG_Py_Void();
27759 return resultobj;
27760 fail:
27761 return NULL;
27762 }
27763
27764
27765 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27766 PyObject *resultobj = 0;
27767 wxListItem *arg1 = (wxListItem *) 0 ;
27768 long result;
27769 void *argp1 = 0 ;
27770 int res1 = 0 ;
27771 PyObject *swig_obj[1] ;
27772
27773 if (!args) SWIG_fail;
27774 swig_obj[0] = args;
27775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27776 if (!SWIG_IsOK(res1)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27778 }
27779 arg1 = reinterpret_cast< wxListItem * >(argp1);
27780 result = (long) ((arg1)->m_stateMask);
27781 resultobj = SWIG_From_long(static_cast< long >(result));
27782 return resultobj;
27783 fail:
27784 return NULL;
27785 }
27786
27787
27788 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27789 PyObject *resultobj = 0;
27790 wxListItem *arg1 = (wxListItem *) 0 ;
27791 wxString *arg2 = (wxString *) 0 ;
27792 void *argp1 = 0 ;
27793 int res1 = 0 ;
27794 bool temp2 = false ;
27795 PyObject *swig_obj[2] ;
27796
27797 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27799 if (!SWIG_IsOK(res1)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27801 }
27802 arg1 = reinterpret_cast< wxListItem * >(argp1);
27803 {
27804 arg2 = wxString_in_helper(swig_obj[1]);
27805 if (arg2 == NULL) SWIG_fail;
27806 temp2 = true;
27807 }
27808 if (arg1) (arg1)->m_text = *arg2;
27809
27810 resultobj = SWIG_Py_Void();
27811 {
27812 if (temp2)
27813 delete arg2;
27814 }
27815 return resultobj;
27816 fail:
27817 {
27818 if (temp2)
27819 delete arg2;
27820 }
27821 return NULL;
27822 }
27823
27824
27825 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27826 PyObject *resultobj = 0;
27827 wxListItem *arg1 = (wxListItem *) 0 ;
27828 wxString *result = 0 ;
27829 void *argp1 = 0 ;
27830 int res1 = 0 ;
27831 PyObject *swig_obj[1] ;
27832
27833 if (!args) SWIG_fail;
27834 swig_obj[0] = args;
27835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27836 if (!SWIG_IsOK(res1)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27838 }
27839 arg1 = reinterpret_cast< wxListItem * >(argp1);
27840 result = (wxString *)& ((arg1)->m_text);
27841 {
27842 #if wxUSE_UNICODE
27843 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27844 #else
27845 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27846 #endif
27847 }
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27855 PyObject *resultobj = 0;
27856 wxListItem *arg1 = (wxListItem *) 0 ;
27857 int arg2 ;
27858 void *argp1 = 0 ;
27859 int res1 = 0 ;
27860 int val2 ;
27861 int ecode2 = 0 ;
27862 PyObject *swig_obj[2] ;
27863
27864 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27866 if (!SWIG_IsOK(res1)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27868 }
27869 arg1 = reinterpret_cast< wxListItem * >(argp1);
27870 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27871 if (!SWIG_IsOK(ecode2)) {
27872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27873 }
27874 arg2 = static_cast< int >(val2);
27875 if (arg1) (arg1)->m_image = arg2;
27876
27877 resultobj = SWIG_Py_Void();
27878 return resultobj;
27879 fail:
27880 return NULL;
27881 }
27882
27883
27884 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27885 PyObject *resultobj = 0;
27886 wxListItem *arg1 = (wxListItem *) 0 ;
27887 int result;
27888 void *argp1 = 0 ;
27889 int res1 = 0 ;
27890 PyObject *swig_obj[1] ;
27891
27892 if (!args) SWIG_fail;
27893 swig_obj[0] = args;
27894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27895 if (!SWIG_IsOK(res1)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27897 }
27898 arg1 = reinterpret_cast< wxListItem * >(argp1);
27899 result = (int) ((arg1)->m_image);
27900 resultobj = SWIG_From_int(static_cast< int >(result));
27901 return resultobj;
27902 fail:
27903 return NULL;
27904 }
27905
27906
27907 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27908 PyObject *resultobj = 0;
27909 wxListItem *arg1 = (wxListItem *) 0 ;
27910 long arg2 ;
27911 void *argp1 = 0 ;
27912 int res1 = 0 ;
27913 long val2 ;
27914 int ecode2 = 0 ;
27915 PyObject *swig_obj[2] ;
27916
27917 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27919 if (!SWIG_IsOK(res1)) {
27920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27921 }
27922 arg1 = reinterpret_cast< wxListItem * >(argp1);
27923 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27924 if (!SWIG_IsOK(ecode2)) {
27925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27926 }
27927 arg2 = static_cast< long >(val2);
27928 if (arg1) (arg1)->m_data = arg2;
27929
27930 resultobj = SWIG_Py_Void();
27931 return resultobj;
27932 fail:
27933 return NULL;
27934 }
27935
27936
27937 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27938 PyObject *resultobj = 0;
27939 wxListItem *arg1 = (wxListItem *) 0 ;
27940 long result;
27941 void *argp1 = 0 ;
27942 int res1 = 0 ;
27943 PyObject *swig_obj[1] ;
27944
27945 if (!args) SWIG_fail;
27946 swig_obj[0] = args;
27947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27948 if (!SWIG_IsOK(res1)) {
27949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27950 }
27951 arg1 = reinterpret_cast< wxListItem * >(argp1);
27952 result = (long) ((arg1)->m_data);
27953 resultobj = SWIG_From_long(static_cast< long >(result));
27954 return resultobj;
27955 fail:
27956 return NULL;
27957 }
27958
27959
27960 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27961 PyObject *resultobj = 0;
27962 wxListItem *arg1 = (wxListItem *) 0 ;
27963 int arg2 ;
27964 void *argp1 = 0 ;
27965 int res1 = 0 ;
27966 int val2 ;
27967 int ecode2 = 0 ;
27968 PyObject *swig_obj[2] ;
27969
27970 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27972 if (!SWIG_IsOK(res1)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27974 }
27975 arg1 = reinterpret_cast< wxListItem * >(argp1);
27976 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27977 if (!SWIG_IsOK(ecode2)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27979 }
27980 arg2 = static_cast< int >(val2);
27981 if (arg1) (arg1)->m_format = arg2;
27982
27983 resultobj = SWIG_Py_Void();
27984 return resultobj;
27985 fail:
27986 return NULL;
27987 }
27988
27989
27990 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27991 PyObject *resultobj = 0;
27992 wxListItem *arg1 = (wxListItem *) 0 ;
27993 int result;
27994 void *argp1 = 0 ;
27995 int res1 = 0 ;
27996 PyObject *swig_obj[1] ;
27997
27998 if (!args) SWIG_fail;
27999 swig_obj[0] = args;
28000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28001 if (!SWIG_IsOK(res1)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28003 }
28004 arg1 = reinterpret_cast< wxListItem * >(argp1);
28005 result = (int) ((arg1)->m_format);
28006 resultobj = SWIG_From_int(static_cast< int >(result));
28007 return resultobj;
28008 fail:
28009 return NULL;
28010 }
28011
28012
28013 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28014 PyObject *resultobj = 0;
28015 wxListItem *arg1 = (wxListItem *) 0 ;
28016 int arg2 ;
28017 void *argp1 = 0 ;
28018 int res1 = 0 ;
28019 int val2 ;
28020 int ecode2 = 0 ;
28021 PyObject *swig_obj[2] ;
28022
28023 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28025 if (!SWIG_IsOK(res1)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28027 }
28028 arg1 = reinterpret_cast< wxListItem * >(argp1);
28029 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28030 if (!SWIG_IsOK(ecode2)) {
28031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28032 }
28033 arg2 = static_cast< int >(val2);
28034 if (arg1) (arg1)->m_width = arg2;
28035
28036 resultobj = SWIG_Py_Void();
28037 return resultobj;
28038 fail:
28039 return NULL;
28040 }
28041
28042
28043 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28044 PyObject *resultobj = 0;
28045 wxListItem *arg1 = (wxListItem *) 0 ;
28046 int result;
28047 void *argp1 = 0 ;
28048 int res1 = 0 ;
28049 PyObject *swig_obj[1] ;
28050
28051 if (!args) SWIG_fail;
28052 swig_obj[0] = args;
28053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28054 if (!SWIG_IsOK(res1)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28056 }
28057 arg1 = reinterpret_cast< wxListItem * >(argp1);
28058 result = (int) ((arg1)->m_width);
28059 resultobj = SWIG_From_int(static_cast< int >(result));
28060 return resultobj;
28061 fail:
28062 return NULL;
28063 }
28064
28065
28066 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28067 PyObject *obj;
28068 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28069 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28070 return SWIG_Py_Void();
28071 }
28072
28073 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28074 return SWIG_Python_InitShadowInstance(args);
28075 }
28076
28077 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28078 PyObject *resultobj = 0;
28079 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28080 int arg2 = (int) 0 ;
28081 wxListEvent *result = 0 ;
28082 int val1 ;
28083 int ecode1 = 0 ;
28084 int val2 ;
28085 int ecode2 = 0 ;
28086 PyObject * obj0 = 0 ;
28087 PyObject * obj1 = 0 ;
28088 char * kwnames[] = {
28089 (char *) "commandType",(char *) "id", NULL
28090 };
28091
28092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28093 if (obj0) {
28094 ecode1 = SWIG_AsVal_int(obj0, &val1);
28095 if (!SWIG_IsOK(ecode1)) {
28096 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28097 }
28098 arg1 = static_cast< wxEventType >(val1);
28099 }
28100 if (obj1) {
28101 ecode2 = SWIG_AsVal_int(obj1, &val2);
28102 if (!SWIG_IsOK(ecode2)) {
28103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28104 }
28105 arg2 = static_cast< int >(val2);
28106 }
28107 {
28108 PyThreadState* __tstate = wxPyBeginAllowThreads();
28109 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28110 wxPyEndAllowThreads(__tstate);
28111 if (PyErr_Occurred()) SWIG_fail;
28112 }
28113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28114 return resultobj;
28115 fail:
28116 return NULL;
28117 }
28118
28119
28120 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28121 PyObject *resultobj = 0;
28122 wxListEvent *arg1 = (wxListEvent *) 0 ;
28123 int arg2 ;
28124 void *argp1 = 0 ;
28125 int res1 = 0 ;
28126 int val2 ;
28127 int ecode2 = 0 ;
28128 PyObject *swig_obj[2] ;
28129
28130 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28132 if (!SWIG_IsOK(res1)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28134 }
28135 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28136 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28137 if (!SWIG_IsOK(ecode2)) {
28138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28139 }
28140 arg2 = static_cast< int >(val2);
28141 if (arg1) (arg1)->m_code = arg2;
28142
28143 resultobj = SWIG_Py_Void();
28144 return resultobj;
28145 fail:
28146 return NULL;
28147 }
28148
28149
28150 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28151 PyObject *resultobj = 0;
28152 wxListEvent *arg1 = (wxListEvent *) 0 ;
28153 int result;
28154 void *argp1 = 0 ;
28155 int res1 = 0 ;
28156 PyObject *swig_obj[1] ;
28157
28158 if (!args) SWIG_fail;
28159 swig_obj[0] = args;
28160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28161 if (!SWIG_IsOK(res1)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28163 }
28164 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28165 result = (int) ((arg1)->m_code);
28166 resultobj = SWIG_From_int(static_cast< int >(result));
28167 return resultobj;
28168 fail:
28169 return NULL;
28170 }
28171
28172
28173 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28174 PyObject *resultobj = 0;
28175 wxListEvent *arg1 = (wxListEvent *) 0 ;
28176 long arg2 ;
28177 void *argp1 = 0 ;
28178 int res1 = 0 ;
28179 long val2 ;
28180 int ecode2 = 0 ;
28181 PyObject *swig_obj[2] ;
28182
28183 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28185 if (!SWIG_IsOK(res1)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28187 }
28188 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28189 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28190 if (!SWIG_IsOK(ecode2)) {
28191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28192 }
28193 arg2 = static_cast< long >(val2);
28194 if (arg1) (arg1)->m_oldItemIndex = arg2;
28195
28196 resultobj = SWIG_Py_Void();
28197 return resultobj;
28198 fail:
28199 return NULL;
28200 }
28201
28202
28203 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28204 PyObject *resultobj = 0;
28205 wxListEvent *arg1 = (wxListEvent *) 0 ;
28206 long result;
28207 void *argp1 = 0 ;
28208 int res1 = 0 ;
28209 PyObject *swig_obj[1] ;
28210
28211 if (!args) SWIG_fail;
28212 swig_obj[0] = args;
28213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28214 if (!SWIG_IsOK(res1)) {
28215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28216 }
28217 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28218 result = (long) ((arg1)->m_oldItemIndex);
28219 resultobj = SWIG_From_long(static_cast< long >(result));
28220 return resultobj;
28221 fail:
28222 return NULL;
28223 }
28224
28225
28226 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 PyObject *resultobj = 0;
28228 wxListEvent *arg1 = (wxListEvent *) 0 ;
28229 long arg2 ;
28230 void *argp1 = 0 ;
28231 int res1 = 0 ;
28232 long val2 ;
28233 int ecode2 = 0 ;
28234 PyObject *swig_obj[2] ;
28235
28236 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28238 if (!SWIG_IsOK(res1)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28240 }
28241 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28242 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28243 if (!SWIG_IsOK(ecode2)) {
28244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28245 }
28246 arg2 = static_cast< long >(val2);
28247 if (arg1) (arg1)->m_itemIndex = arg2;
28248
28249 resultobj = SWIG_Py_Void();
28250 return resultobj;
28251 fail:
28252 return NULL;
28253 }
28254
28255
28256 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28257 PyObject *resultobj = 0;
28258 wxListEvent *arg1 = (wxListEvent *) 0 ;
28259 long result;
28260 void *argp1 = 0 ;
28261 int res1 = 0 ;
28262 PyObject *swig_obj[1] ;
28263
28264 if (!args) SWIG_fail;
28265 swig_obj[0] = args;
28266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28267 if (!SWIG_IsOK(res1)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28269 }
28270 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28271 result = (long) ((arg1)->m_itemIndex);
28272 resultobj = SWIG_From_long(static_cast< long >(result));
28273 return resultobj;
28274 fail:
28275 return NULL;
28276 }
28277
28278
28279 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28280 PyObject *resultobj = 0;
28281 wxListEvent *arg1 = (wxListEvent *) 0 ;
28282 int arg2 ;
28283 void *argp1 = 0 ;
28284 int res1 = 0 ;
28285 int val2 ;
28286 int ecode2 = 0 ;
28287 PyObject *swig_obj[2] ;
28288
28289 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28291 if (!SWIG_IsOK(res1)) {
28292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28293 }
28294 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28295 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28296 if (!SWIG_IsOK(ecode2)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28298 }
28299 arg2 = static_cast< int >(val2);
28300 if (arg1) (arg1)->m_col = arg2;
28301
28302 resultobj = SWIG_Py_Void();
28303 return resultobj;
28304 fail:
28305 return NULL;
28306 }
28307
28308
28309 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28310 PyObject *resultobj = 0;
28311 wxListEvent *arg1 = (wxListEvent *) 0 ;
28312 int result;
28313 void *argp1 = 0 ;
28314 int res1 = 0 ;
28315 PyObject *swig_obj[1] ;
28316
28317 if (!args) SWIG_fail;
28318 swig_obj[0] = args;
28319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28320 if (!SWIG_IsOK(res1)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 }
28323 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28324 result = (int) ((arg1)->m_col);
28325 resultobj = SWIG_From_int(static_cast< int >(result));
28326 return resultobj;
28327 fail:
28328 return NULL;
28329 }
28330
28331
28332 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28333 PyObject *resultobj = 0;
28334 wxListEvent *arg1 = (wxListEvent *) 0 ;
28335 wxPoint *arg2 = (wxPoint *) 0 ;
28336 void *argp1 = 0 ;
28337 int res1 = 0 ;
28338 void *argp2 = 0 ;
28339 int res2 = 0 ;
28340 PyObject *swig_obj[2] ;
28341
28342 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28344 if (!SWIG_IsOK(res1)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28346 }
28347 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28348 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28349 if (!SWIG_IsOK(res2)) {
28350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28351 }
28352 arg2 = reinterpret_cast< wxPoint * >(argp2);
28353 if (arg1) (arg1)->m_pointDrag = *arg2;
28354
28355 resultobj = SWIG_Py_Void();
28356 return resultobj;
28357 fail:
28358 return NULL;
28359 }
28360
28361
28362 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28363 PyObject *resultobj = 0;
28364 wxListEvent *arg1 = (wxListEvent *) 0 ;
28365 wxPoint *result = 0 ;
28366 void *argp1 = 0 ;
28367 int res1 = 0 ;
28368 PyObject *swig_obj[1] ;
28369
28370 if (!args) SWIG_fail;
28371 swig_obj[0] = args;
28372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28373 if (!SWIG_IsOK(res1)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28375 }
28376 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28377 result = (wxPoint *)& ((arg1)->m_pointDrag);
28378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28379 return resultobj;
28380 fail:
28381 return NULL;
28382 }
28383
28384
28385 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28386 PyObject *resultobj = 0;
28387 wxListEvent *arg1 = (wxListEvent *) 0 ;
28388 wxListItem *result = 0 ;
28389 void *argp1 = 0 ;
28390 int res1 = 0 ;
28391 PyObject *swig_obj[1] ;
28392
28393 if (!args) SWIG_fail;
28394 swig_obj[0] = args;
28395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28396 if (!SWIG_IsOK(res1)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28398 }
28399 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28400 result = (wxListItem *)& ((arg1)->m_item);
28401 {
28402 resultobj = wxPyMake_wxObject(result, 0);
28403 }
28404 return resultobj;
28405 fail:
28406 return NULL;
28407 }
28408
28409
28410 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28411 PyObject *resultobj = 0;
28412 wxListEvent *arg1 = (wxListEvent *) 0 ;
28413 int result;
28414 void *argp1 = 0 ;
28415 int res1 = 0 ;
28416 PyObject *swig_obj[1] ;
28417
28418 if (!args) SWIG_fail;
28419 swig_obj[0] = args;
28420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28421 if (!SWIG_IsOK(res1)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28423 }
28424 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28425 {
28426 PyThreadState* __tstate = wxPyBeginAllowThreads();
28427 result = (int)(arg1)->GetKeyCode();
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 resultobj = SWIG_From_int(static_cast< int >(result));
28432 return resultobj;
28433 fail:
28434 return NULL;
28435 }
28436
28437
28438 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28439 PyObject *resultobj = 0;
28440 wxListEvent *arg1 = (wxListEvent *) 0 ;
28441 long result;
28442 void *argp1 = 0 ;
28443 int res1 = 0 ;
28444 PyObject *swig_obj[1] ;
28445
28446 if (!args) SWIG_fail;
28447 swig_obj[0] = args;
28448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28449 if (!SWIG_IsOK(res1)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28451 }
28452 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28453 {
28454 PyThreadState* __tstate = wxPyBeginAllowThreads();
28455 result = (long)(arg1)->GetIndex();
28456 wxPyEndAllowThreads(__tstate);
28457 if (PyErr_Occurred()) SWIG_fail;
28458 }
28459 resultobj = SWIG_From_long(static_cast< long >(result));
28460 return resultobj;
28461 fail:
28462 return NULL;
28463 }
28464
28465
28466 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28467 PyObject *resultobj = 0;
28468 wxListEvent *arg1 = (wxListEvent *) 0 ;
28469 int result;
28470 void *argp1 = 0 ;
28471 int res1 = 0 ;
28472 PyObject *swig_obj[1] ;
28473
28474 if (!args) SWIG_fail;
28475 swig_obj[0] = args;
28476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28477 if (!SWIG_IsOK(res1)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28479 }
28480 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 result = (int)(arg1)->GetColumn();
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 resultobj = SWIG_From_int(static_cast< int >(result));
28488 return resultobj;
28489 fail:
28490 return NULL;
28491 }
28492
28493
28494 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28495 PyObject *resultobj = 0;
28496 wxListEvent *arg1 = (wxListEvent *) 0 ;
28497 wxPoint result;
28498 void *argp1 = 0 ;
28499 int res1 = 0 ;
28500 PyObject *swig_obj[1] ;
28501
28502 if (!args) SWIG_fail;
28503 swig_obj[0] = args;
28504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28505 if (!SWIG_IsOK(res1)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28507 }
28508 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28509 {
28510 PyThreadState* __tstate = wxPyBeginAllowThreads();
28511 result = (arg1)->GetPoint();
28512 wxPyEndAllowThreads(__tstate);
28513 if (PyErr_Occurred()) SWIG_fail;
28514 }
28515 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28516 return resultobj;
28517 fail:
28518 return NULL;
28519 }
28520
28521
28522 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28523 PyObject *resultobj = 0;
28524 wxListEvent *arg1 = (wxListEvent *) 0 ;
28525 wxString *result = 0 ;
28526 void *argp1 = 0 ;
28527 int res1 = 0 ;
28528 PyObject *swig_obj[1] ;
28529
28530 if (!args) SWIG_fail;
28531 swig_obj[0] = args;
28532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28533 if (!SWIG_IsOK(res1)) {
28534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28535 }
28536 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 {
28540 wxString const &_result_ref = (arg1)->GetLabel();
28541 result = (wxString *) &_result_ref;
28542 }
28543 wxPyEndAllowThreads(__tstate);
28544 if (PyErr_Occurred()) SWIG_fail;
28545 }
28546 {
28547 #if wxUSE_UNICODE
28548 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28549 #else
28550 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28551 #endif
28552 }
28553 return resultobj;
28554 fail:
28555 return NULL;
28556 }
28557
28558
28559 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28560 PyObject *resultobj = 0;
28561 wxListEvent *arg1 = (wxListEvent *) 0 ;
28562 wxString *result = 0 ;
28563 void *argp1 = 0 ;
28564 int res1 = 0 ;
28565 PyObject *swig_obj[1] ;
28566
28567 if (!args) SWIG_fail;
28568 swig_obj[0] = args;
28569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28570 if (!SWIG_IsOK(res1)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28572 }
28573 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28574 {
28575 PyThreadState* __tstate = wxPyBeginAllowThreads();
28576 {
28577 wxString const &_result_ref = (arg1)->GetText();
28578 result = (wxString *) &_result_ref;
28579 }
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 {
28584 #if wxUSE_UNICODE
28585 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28586 #else
28587 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28588 #endif
28589 }
28590 return resultobj;
28591 fail:
28592 return NULL;
28593 }
28594
28595
28596 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28597 PyObject *resultobj = 0;
28598 wxListEvent *arg1 = (wxListEvent *) 0 ;
28599 int result;
28600 void *argp1 = 0 ;
28601 int res1 = 0 ;
28602 PyObject *swig_obj[1] ;
28603
28604 if (!args) SWIG_fail;
28605 swig_obj[0] = args;
28606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28607 if (!SWIG_IsOK(res1)) {
28608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28609 }
28610 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28611 {
28612 PyThreadState* __tstate = wxPyBeginAllowThreads();
28613 result = (int)(arg1)->GetImage();
28614 wxPyEndAllowThreads(__tstate);
28615 if (PyErr_Occurred()) SWIG_fail;
28616 }
28617 resultobj = SWIG_From_int(static_cast< int >(result));
28618 return resultobj;
28619 fail:
28620 return NULL;
28621 }
28622
28623
28624 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28625 PyObject *resultobj = 0;
28626 wxListEvent *arg1 = (wxListEvent *) 0 ;
28627 long result;
28628 void *argp1 = 0 ;
28629 int res1 = 0 ;
28630 PyObject *swig_obj[1] ;
28631
28632 if (!args) SWIG_fail;
28633 swig_obj[0] = args;
28634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28635 if (!SWIG_IsOK(res1)) {
28636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28637 }
28638 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28639 {
28640 PyThreadState* __tstate = wxPyBeginAllowThreads();
28641 result = (long)(arg1)->GetData();
28642 wxPyEndAllowThreads(__tstate);
28643 if (PyErr_Occurred()) SWIG_fail;
28644 }
28645 resultobj = SWIG_From_long(static_cast< long >(result));
28646 return resultobj;
28647 fail:
28648 return NULL;
28649 }
28650
28651
28652 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28653 PyObject *resultobj = 0;
28654 wxListEvent *arg1 = (wxListEvent *) 0 ;
28655 long result;
28656 void *argp1 = 0 ;
28657 int res1 = 0 ;
28658 PyObject *swig_obj[1] ;
28659
28660 if (!args) SWIG_fail;
28661 swig_obj[0] = args;
28662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28663 if (!SWIG_IsOK(res1)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28665 }
28666 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28667 {
28668 PyThreadState* __tstate = wxPyBeginAllowThreads();
28669 result = (long)(arg1)->GetMask();
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 resultobj = SWIG_From_long(static_cast< long >(result));
28674 return resultobj;
28675 fail:
28676 return NULL;
28677 }
28678
28679
28680 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28681 PyObject *resultobj = 0;
28682 wxListEvent *arg1 = (wxListEvent *) 0 ;
28683 wxListItem *result = 0 ;
28684 void *argp1 = 0 ;
28685 int res1 = 0 ;
28686 PyObject *swig_obj[1] ;
28687
28688 if (!args) SWIG_fail;
28689 swig_obj[0] = args;
28690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28691 if (!SWIG_IsOK(res1)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28693 }
28694 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28695 {
28696 PyThreadState* __tstate = wxPyBeginAllowThreads();
28697 {
28698 wxListItem const &_result_ref = (arg1)->GetItem();
28699 result = (wxListItem *) &_result_ref;
28700 }
28701 wxPyEndAllowThreads(__tstate);
28702 if (PyErr_Occurred()) SWIG_fail;
28703 }
28704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28705 return resultobj;
28706 fail:
28707 return NULL;
28708 }
28709
28710
28711 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28712 PyObject *resultobj = 0;
28713 wxListEvent *arg1 = (wxListEvent *) 0 ;
28714 long result;
28715 void *argp1 = 0 ;
28716 int res1 = 0 ;
28717 PyObject *swig_obj[1] ;
28718
28719 if (!args) SWIG_fail;
28720 swig_obj[0] = args;
28721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28722 if (!SWIG_IsOK(res1)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28724 }
28725 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28726 {
28727 PyThreadState* __tstate = wxPyBeginAllowThreads();
28728 result = (long)(arg1)->GetCacheFrom();
28729 wxPyEndAllowThreads(__tstate);
28730 if (PyErr_Occurred()) SWIG_fail;
28731 }
28732 resultobj = SWIG_From_long(static_cast< long >(result));
28733 return resultobj;
28734 fail:
28735 return NULL;
28736 }
28737
28738
28739 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28740 PyObject *resultobj = 0;
28741 wxListEvent *arg1 = (wxListEvent *) 0 ;
28742 long result;
28743 void *argp1 = 0 ;
28744 int res1 = 0 ;
28745 PyObject *swig_obj[1] ;
28746
28747 if (!args) SWIG_fail;
28748 swig_obj[0] = args;
28749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28750 if (!SWIG_IsOK(res1)) {
28751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28752 }
28753 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28754 {
28755 PyThreadState* __tstate = wxPyBeginAllowThreads();
28756 result = (long)(arg1)->GetCacheTo();
28757 wxPyEndAllowThreads(__tstate);
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
28760 resultobj = SWIG_From_long(static_cast< long >(result));
28761 return resultobj;
28762 fail:
28763 return NULL;
28764 }
28765
28766
28767 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28768 PyObject *resultobj = 0;
28769 wxListEvent *arg1 = (wxListEvent *) 0 ;
28770 bool result;
28771 void *argp1 = 0 ;
28772 int res1 = 0 ;
28773 PyObject *swig_obj[1] ;
28774
28775 if (!args) SWIG_fail;
28776 swig_obj[0] = args;
28777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28778 if (!SWIG_IsOK(res1)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28780 }
28781 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 {
28789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28790 }
28791 return resultobj;
28792 fail:
28793 return NULL;
28794 }
28795
28796
28797 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28798 PyObject *resultobj = 0;
28799 wxListEvent *arg1 = (wxListEvent *) 0 ;
28800 bool arg2 ;
28801 void *argp1 = 0 ;
28802 int res1 = 0 ;
28803 bool val2 ;
28804 int ecode2 = 0 ;
28805 PyObject * obj0 = 0 ;
28806 PyObject * obj1 = 0 ;
28807 char * kwnames[] = {
28808 (char *) "self",(char *) "editCancelled", NULL
28809 };
28810
28811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28813 if (!SWIG_IsOK(res1)) {
28814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28815 }
28816 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28817 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28818 if (!SWIG_IsOK(ecode2)) {
28819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28820 }
28821 arg2 = static_cast< bool >(val2);
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 (arg1)->SetEditCanceled(arg2);
28825 wxPyEndAllowThreads(__tstate);
28826 if (PyErr_Occurred()) SWIG_fail;
28827 }
28828 resultobj = SWIG_Py_Void();
28829 return resultobj;
28830 fail:
28831 return NULL;
28832 }
28833
28834
28835 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28836 PyObject *obj;
28837 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28838 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28839 return SWIG_Py_Void();
28840 }
28841
28842 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28843 return SWIG_Python_InitShadowInstance(args);
28844 }
28845
28846 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28847 PyObject *resultobj = 0;
28848 wxWindow *arg1 = (wxWindow *) 0 ;
28849 int arg2 = (int) -1 ;
28850 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28851 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28852 wxSize const &arg4_defvalue = wxDefaultSize ;
28853 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28854 long arg5 = (long) wxLC_ICON ;
28855 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28856 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28857 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28858 wxString *arg7 = (wxString *) &arg7_defvalue ;
28859 wxPyListCtrl *result = 0 ;
28860 void *argp1 = 0 ;
28861 int res1 = 0 ;
28862 int val2 ;
28863 int ecode2 = 0 ;
28864 wxPoint temp3 ;
28865 wxSize temp4 ;
28866 long val5 ;
28867 int ecode5 = 0 ;
28868 void *argp6 = 0 ;
28869 int res6 = 0 ;
28870 bool temp7 = false ;
28871 PyObject * obj0 = 0 ;
28872 PyObject * obj1 = 0 ;
28873 PyObject * obj2 = 0 ;
28874 PyObject * obj3 = 0 ;
28875 PyObject * obj4 = 0 ;
28876 PyObject * obj5 = 0 ;
28877 PyObject * obj6 = 0 ;
28878 char * kwnames[] = {
28879 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28880 };
28881
28882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28884 if (!SWIG_IsOK(res1)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28886 }
28887 arg1 = reinterpret_cast< wxWindow * >(argp1);
28888 if (obj1) {
28889 ecode2 = SWIG_AsVal_int(obj1, &val2);
28890 if (!SWIG_IsOK(ecode2)) {
28891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28892 }
28893 arg2 = static_cast< int >(val2);
28894 }
28895 if (obj2) {
28896 {
28897 arg3 = &temp3;
28898 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28899 }
28900 }
28901 if (obj3) {
28902 {
28903 arg4 = &temp4;
28904 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28905 }
28906 }
28907 if (obj4) {
28908 ecode5 = SWIG_AsVal_long(obj4, &val5);
28909 if (!SWIG_IsOK(ecode5)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28911 }
28912 arg5 = static_cast< long >(val5);
28913 }
28914 if (obj5) {
28915 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28916 if (!SWIG_IsOK(res6)) {
28917 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28918 }
28919 if (!argp6) {
28920 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28921 }
28922 arg6 = reinterpret_cast< wxValidator * >(argp6);
28923 }
28924 if (obj6) {
28925 {
28926 arg7 = wxString_in_helper(obj6);
28927 if (arg7 == NULL) SWIG_fail;
28928 temp7 = true;
28929 }
28930 }
28931 {
28932 if (!wxPyCheckForApp()) SWIG_fail;
28933 PyThreadState* __tstate = wxPyBeginAllowThreads();
28934 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28935 wxPyEndAllowThreads(__tstate);
28936 if (PyErr_Occurred()) SWIG_fail;
28937 }
28938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28939 {
28940 if (temp7)
28941 delete arg7;
28942 }
28943 return resultobj;
28944 fail:
28945 {
28946 if (temp7)
28947 delete arg7;
28948 }
28949 return NULL;
28950 }
28951
28952
28953 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28954 PyObject *resultobj = 0;
28955 wxPyListCtrl *result = 0 ;
28956
28957 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28958 {
28959 if (!wxPyCheckForApp()) SWIG_fail;
28960 PyThreadState* __tstate = wxPyBeginAllowThreads();
28961 result = (wxPyListCtrl *)new wxPyListCtrl();
28962 wxPyEndAllowThreads(__tstate);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28966 return resultobj;
28967 fail:
28968 return NULL;
28969 }
28970
28971
28972 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28973 PyObject *resultobj = 0;
28974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28975 wxWindow *arg2 = (wxWindow *) 0 ;
28976 int arg3 = (int) -1 ;
28977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28979 wxSize const &arg5_defvalue = wxDefaultSize ;
28980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28981 long arg6 = (long) wxLC_ICON ;
28982 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28983 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28984 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28985 wxString *arg8 = (wxString *) &arg8_defvalue ;
28986 bool result;
28987 void *argp1 = 0 ;
28988 int res1 = 0 ;
28989 void *argp2 = 0 ;
28990 int res2 = 0 ;
28991 int val3 ;
28992 int ecode3 = 0 ;
28993 wxPoint temp4 ;
28994 wxSize temp5 ;
28995 long val6 ;
28996 int ecode6 = 0 ;
28997 void *argp7 = 0 ;
28998 int res7 = 0 ;
28999 bool temp8 = false ;
29000 PyObject * obj0 = 0 ;
29001 PyObject * obj1 = 0 ;
29002 PyObject * obj2 = 0 ;
29003 PyObject * obj3 = 0 ;
29004 PyObject * obj4 = 0 ;
29005 PyObject * obj5 = 0 ;
29006 PyObject * obj6 = 0 ;
29007 PyObject * obj7 = 0 ;
29008 char * kwnames[] = {
29009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29010 };
29011
29012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29014 if (!SWIG_IsOK(res1)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29016 }
29017 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29019 if (!SWIG_IsOK(res2)) {
29020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29021 }
29022 arg2 = reinterpret_cast< wxWindow * >(argp2);
29023 if (obj2) {
29024 ecode3 = SWIG_AsVal_int(obj2, &val3);
29025 if (!SWIG_IsOK(ecode3)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29027 }
29028 arg3 = static_cast< int >(val3);
29029 }
29030 if (obj3) {
29031 {
29032 arg4 = &temp4;
29033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29034 }
29035 }
29036 if (obj4) {
29037 {
29038 arg5 = &temp5;
29039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29040 }
29041 }
29042 if (obj5) {
29043 ecode6 = SWIG_AsVal_long(obj5, &val6);
29044 if (!SWIG_IsOK(ecode6)) {
29045 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29046 }
29047 arg6 = static_cast< long >(val6);
29048 }
29049 if (obj6) {
29050 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29051 if (!SWIG_IsOK(res7)) {
29052 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29053 }
29054 if (!argp7) {
29055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29056 }
29057 arg7 = reinterpret_cast< wxValidator * >(argp7);
29058 }
29059 if (obj7) {
29060 {
29061 arg8 = wxString_in_helper(obj7);
29062 if (arg8 == NULL) SWIG_fail;
29063 temp8 = true;
29064 }
29065 }
29066 {
29067 PyThreadState* __tstate = wxPyBeginAllowThreads();
29068 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29069 wxPyEndAllowThreads(__tstate);
29070 if (PyErr_Occurred()) SWIG_fail;
29071 }
29072 {
29073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29074 }
29075 {
29076 if (temp8)
29077 delete arg8;
29078 }
29079 return resultobj;
29080 fail:
29081 {
29082 if (temp8)
29083 delete arg8;
29084 }
29085 return NULL;
29086 }
29087
29088
29089 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29090 PyObject *resultobj = 0;
29091 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29092 PyObject *arg2 = (PyObject *) 0 ;
29093 PyObject *arg3 = (PyObject *) 0 ;
29094 void *argp1 = 0 ;
29095 int res1 = 0 ;
29096 PyObject * obj0 = 0 ;
29097 PyObject * obj1 = 0 ;
29098 PyObject * obj2 = 0 ;
29099 char * kwnames[] = {
29100 (char *) "self",(char *) "self",(char *) "_class", NULL
29101 };
29102
29103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29105 if (!SWIG_IsOK(res1)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29107 }
29108 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29109 arg2 = obj1;
29110 arg3 = obj2;
29111 {
29112 PyThreadState* __tstate = wxPyBeginAllowThreads();
29113 (arg1)->_setCallbackInfo(arg2,arg3);
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 resultobj = SWIG_Py_Void();
29118 return resultobj;
29119 fail:
29120 return NULL;
29121 }
29122
29123
29124 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29125 PyObject *resultobj = 0;
29126 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29127 int arg2 ;
29128 wxListItem *result = 0 ;
29129 void *argp1 = 0 ;
29130 int res1 = 0 ;
29131 int val2 ;
29132 int ecode2 = 0 ;
29133 PyObject * obj0 = 0 ;
29134 PyObject * obj1 = 0 ;
29135 char * kwnames[] = {
29136 (char *) "self",(char *) "col", NULL
29137 };
29138
29139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29141 if (!SWIG_IsOK(res1)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29143 }
29144 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29145 ecode2 = SWIG_AsVal_int(obj1, &val2);
29146 if (!SWIG_IsOK(ecode2)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29148 }
29149 arg2 = static_cast< int >(val2);
29150 {
29151 PyThreadState* __tstate = wxPyBeginAllowThreads();
29152 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29153 wxPyEndAllowThreads(__tstate);
29154 if (PyErr_Occurred()) SWIG_fail;
29155 }
29156 {
29157 resultobj = wxPyMake_wxObject(result, 0);
29158 }
29159 return resultobj;
29160 fail:
29161 return NULL;
29162 }
29163
29164
29165 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29166 PyObject *resultobj = 0;
29167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29168 int arg2 ;
29169 wxListItem *arg3 = 0 ;
29170 bool result;
29171 void *argp1 = 0 ;
29172 int res1 = 0 ;
29173 int val2 ;
29174 int ecode2 = 0 ;
29175 void *argp3 = 0 ;
29176 int res3 = 0 ;
29177 PyObject * obj0 = 0 ;
29178 PyObject * obj1 = 0 ;
29179 PyObject * obj2 = 0 ;
29180 char * kwnames[] = {
29181 (char *) "self",(char *) "col",(char *) "item", NULL
29182 };
29183
29184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29186 if (!SWIG_IsOK(res1)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29188 }
29189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29190 ecode2 = SWIG_AsVal_int(obj1, &val2);
29191 if (!SWIG_IsOK(ecode2)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29193 }
29194 arg2 = static_cast< int >(val2);
29195 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29196 if (!SWIG_IsOK(res3)) {
29197 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29198 }
29199 if (!argp3) {
29200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29201 }
29202 arg3 = reinterpret_cast< wxListItem * >(argp3);
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 {
29210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29211 }
29212 return resultobj;
29213 fail:
29214 return NULL;
29215 }
29216
29217
29218 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29219 PyObject *resultobj = 0;
29220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29221 int arg2 ;
29222 int result;
29223 void *argp1 = 0 ;
29224 int res1 = 0 ;
29225 int val2 ;
29226 int ecode2 = 0 ;
29227 PyObject * obj0 = 0 ;
29228 PyObject * obj1 = 0 ;
29229 char * kwnames[] = {
29230 (char *) "self",(char *) "col", NULL
29231 };
29232
29233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29235 if (!SWIG_IsOK(res1)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29237 }
29238 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29239 ecode2 = SWIG_AsVal_int(obj1, &val2);
29240 if (!SWIG_IsOK(ecode2)) {
29241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29242 }
29243 arg2 = static_cast< int >(val2);
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29247 wxPyEndAllowThreads(__tstate);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 }
29250 resultobj = SWIG_From_int(static_cast< int >(result));
29251 return resultobj;
29252 fail:
29253 return NULL;
29254 }
29255
29256
29257 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29258 PyObject *resultobj = 0;
29259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29260 int arg2 ;
29261 int arg3 ;
29262 bool result;
29263 void *argp1 = 0 ;
29264 int res1 = 0 ;
29265 int val2 ;
29266 int ecode2 = 0 ;
29267 int val3 ;
29268 int ecode3 = 0 ;
29269 PyObject * obj0 = 0 ;
29270 PyObject * obj1 = 0 ;
29271 PyObject * obj2 = 0 ;
29272 char * kwnames[] = {
29273 (char *) "self",(char *) "col",(char *) "width", NULL
29274 };
29275
29276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29278 if (!SWIG_IsOK(res1)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29280 }
29281 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29282 ecode2 = SWIG_AsVal_int(obj1, &val2);
29283 if (!SWIG_IsOK(ecode2)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29285 }
29286 arg2 = static_cast< int >(val2);
29287 ecode3 = SWIG_AsVal_int(obj2, &val3);
29288 if (!SWIG_IsOK(ecode3)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29290 }
29291 arg3 = static_cast< int >(val3);
29292 {
29293 PyThreadState* __tstate = wxPyBeginAllowThreads();
29294 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29295 wxPyEndAllowThreads(__tstate);
29296 if (PyErr_Occurred()) SWIG_fail;
29297 }
29298 {
29299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29300 }
29301 return resultobj;
29302 fail:
29303 return NULL;
29304 }
29305
29306
29307 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29308 PyObject *resultobj = 0;
29309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29310 int result;
29311 void *argp1 = 0 ;
29312 int res1 = 0 ;
29313 PyObject *swig_obj[1] ;
29314
29315 if (!args) SWIG_fail;
29316 swig_obj[0] = args;
29317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29318 if (!SWIG_IsOK(res1)) {
29319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29320 }
29321 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29322 {
29323 PyThreadState* __tstate = wxPyBeginAllowThreads();
29324 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29325 wxPyEndAllowThreads(__tstate);
29326 if (PyErr_Occurred()) SWIG_fail;
29327 }
29328 resultobj = SWIG_From_int(static_cast< int >(result));
29329 return resultobj;
29330 fail:
29331 return NULL;
29332 }
29333
29334
29335 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29336 PyObject *resultobj = 0;
29337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29338 wxRect result;
29339 void *argp1 = 0 ;
29340 int res1 = 0 ;
29341 PyObject *swig_obj[1] ;
29342
29343 if (!args) SWIG_fail;
29344 swig_obj[0] = args;
29345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29346 if (!SWIG_IsOK(res1)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29348 }
29349 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29350 {
29351 PyThreadState* __tstate = wxPyBeginAllowThreads();
29352 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29357 return resultobj;
29358 fail:
29359 return NULL;
29360 }
29361
29362
29363 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29364 PyObject *resultobj = 0;
29365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29366 wxTextCtrl *result = 0 ;
29367 void *argp1 = 0 ;
29368 int res1 = 0 ;
29369 PyObject *swig_obj[1] ;
29370
29371 if (!args) SWIG_fail;
29372 swig_obj[0] = args;
29373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29374 if (!SWIG_IsOK(res1)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29376 }
29377 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29381 wxPyEndAllowThreads(__tstate);
29382 if (PyErr_Occurred()) SWIG_fail;
29383 }
29384 {
29385 resultobj = wxPyMake_wxObject(result, 0);
29386 }
29387 return resultobj;
29388 fail:
29389 return NULL;
29390 }
29391
29392
29393 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29394 PyObject *resultobj = 0;
29395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29396 long arg2 ;
29397 int arg3 = (int) 0 ;
29398 wxListItem *result = 0 ;
29399 void *argp1 = 0 ;
29400 int res1 = 0 ;
29401 long val2 ;
29402 int ecode2 = 0 ;
29403 int val3 ;
29404 int ecode3 = 0 ;
29405 PyObject * obj0 = 0 ;
29406 PyObject * obj1 = 0 ;
29407 PyObject * obj2 = 0 ;
29408 char * kwnames[] = {
29409 (char *) "self",(char *) "itemId",(char *) "col", NULL
29410 };
29411
29412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29414 if (!SWIG_IsOK(res1)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29416 }
29417 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29418 ecode2 = SWIG_AsVal_long(obj1, &val2);
29419 if (!SWIG_IsOK(ecode2)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29421 }
29422 arg2 = static_cast< long >(val2);
29423 if (obj2) {
29424 ecode3 = SWIG_AsVal_int(obj2, &val3);
29425 if (!SWIG_IsOK(ecode3)) {
29426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29427 }
29428 arg3 = static_cast< int >(val3);
29429 }
29430 {
29431 PyThreadState* __tstate = wxPyBeginAllowThreads();
29432 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29433 wxPyEndAllowThreads(__tstate);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
29436 {
29437 resultobj = wxPyMake_wxObject(result, 0);
29438 }
29439 return resultobj;
29440 fail:
29441 return NULL;
29442 }
29443
29444
29445 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29446 PyObject *resultobj = 0;
29447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29448 wxListItem *arg2 = 0 ;
29449 bool result;
29450 void *argp1 = 0 ;
29451 int res1 = 0 ;
29452 void *argp2 = 0 ;
29453 int res2 = 0 ;
29454 PyObject * obj0 = 0 ;
29455 PyObject * obj1 = 0 ;
29456 char * kwnames[] = {
29457 (char *) "self",(char *) "info", NULL
29458 };
29459
29460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29462 if (!SWIG_IsOK(res1)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29464 }
29465 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29466 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29467 if (!SWIG_IsOK(res2)) {
29468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29469 }
29470 if (!argp2) {
29471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29472 }
29473 arg2 = reinterpret_cast< wxListItem * >(argp2);
29474 {
29475 PyThreadState* __tstate = wxPyBeginAllowThreads();
29476 result = (bool)(arg1)->SetItem(*arg2);
29477 wxPyEndAllowThreads(__tstate);
29478 if (PyErr_Occurred()) SWIG_fail;
29479 }
29480 {
29481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29482 }
29483 return resultobj;
29484 fail:
29485 return NULL;
29486 }
29487
29488
29489 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29490 PyObject *resultobj = 0;
29491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29492 long arg2 ;
29493 int arg3 ;
29494 wxString *arg4 = 0 ;
29495 int arg5 = (int) -1 ;
29496 long result;
29497 void *argp1 = 0 ;
29498 int res1 = 0 ;
29499 long val2 ;
29500 int ecode2 = 0 ;
29501 int val3 ;
29502 int ecode3 = 0 ;
29503 bool temp4 = false ;
29504 int val5 ;
29505 int ecode5 = 0 ;
29506 PyObject * obj0 = 0 ;
29507 PyObject * obj1 = 0 ;
29508 PyObject * obj2 = 0 ;
29509 PyObject * obj3 = 0 ;
29510 PyObject * obj4 = 0 ;
29511 char * kwnames[] = {
29512 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29513 };
29514
29515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29517 if (!SWIG_IsOK(res1)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29519 }
29520 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29521 ecode2 = SWIG_AsVal_long(obj1, &val2);
29522 if (!SWIG_IsOK(ecode2)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29524 }
29525 arg2 = static_cast< long >(val2);
29526 ecode3 = SWIG_AsVal_int(obj2, &val3);
29527 if (!SWIG_IsOK(ecode3)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29529 }
29530 arg3 = static_cast< int >(val3);
29531 {
29532 arg4 = wxString_in_helper(obj3);
29533 if (arg4 == NULL) SWIG_fail;
29534 temp4 = true;
29535 }
29536 if (obj4) {
29537 ecode5 = SWIG_AsVal_int(obj4, &val5);
29538 if (!SWIG_IsOK(ecode5)) {
29539 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29540 }
29541 arg5 = static_cast< int >(val5);
29542 }
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
29545 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29546 wxPyEndAllowThreads(__tstate);
29547 if (PyErr_Occurred()) SWIG_fail;
29548 }
29549 resultobj = SWIG_From_long(static_cast< long >(result));
29550 {
29551 if (temp4)
29552 delete arg4;
29553 }
29554 return resultobj;
29555 fail:
29556 {
29557 if (temp4)
29558 delete arg4;
29559 }
29560 return NULL;
29561 }
29562
29563
29564 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29565 PyObject *resultobj = 0;
29566 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29567 long arg2 ;
29568 long arg3 ;
29569 int result;
29570 void *argp1 = 0 ;
29571 int res1 = 0 ;
29572 long val2 ;
29573 int ecode2 = 0 ;
29574 long val3 ;
29575 int ecode3 = 0 ;
29576 PyObject * obj0 = 0 ;
29577 PyObject * obj1 = 0 ;
29578 PyObject * obj2 = 0 ;
29579 char * kwnames[] = {
29580 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29581 };
29582
29583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29585 if (!SWIG_IsOK(res1)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29587 }
29588 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29589 ecode2 = SWIG_AsVal_long(obj1, &val2);
29590 if (!SWIG_IsOK(ecode2)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29592 }
29593 arg2 = static_cast< long >(val2);
29594 ecode3 = SWIG_AsVal_long(obj2, &val3);
29595 if (!SWIG_IsOK(ecode3)) {
29596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29597 }
29598 arg3 = static_cast< long >(val3);
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
29605 resultobj = SWIG_From_int(static_cast< int >(result));
29606 return resultobj;
29607 fail:
29608 return NULL;
29609 }
29610
29611
29612 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj = 0;
29614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29615 long arg2 ;
29616 long arg3 ;
29617 long arg4 ;
29618 bool result;
29619 void *argp1 = 0 ;
29620 int res1 = 0 ;
29621 long val2 ;
29622 int ecode2 = 0 ;
29623 long val3 ;
29624 int ecode3 = 0 ;
29625 long val4 ;
29626 int ecode4 = 0 ;
29627 PyObject * obj0 = 0 ;
29628 PyObject * obj1 = 0 ;
29629 PyObject * obj2 = 0 ;
29630 PyObject * obj3 = 0 ;
29631 char * kwnames[] = {
29632 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29633 };
29634
29635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29637 if (!SWIG_IsOK(res1)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29639 }
29640 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29641 ecode2 = SWIG_AsVal_long(obj1, &val2);
29642 if (!SWIG_IsOK(ecode2)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29644 }
29645 arg2 = static_cast< long >(val2);
29646 ecode3 = SWIG_AsVal_long(obj2, &val3);
29647 if (!SWIG_IsOK(ecode3)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29649 }
29650 arg3 = static_cast< long >(val3);
29651 ecode4 = SWIG_AsVal_long(obj3, &val4);
29652 if (!SWIG_IsOK(ecode4)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29654 }
29655 arg4 = static_cast< long >(val4);
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
29662 {
29663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29664 }
29665 return resultobj;
29666 fail:
29667 return NULL;
29668 }
29669
29670
29671 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29672 PyObject *resultobj = 0;
29673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29674 long arg2 ;
29675 int arg3 ;
29676 int arg4 = (int) -1 ;
29677 bool result;
29678 void *argp1 = 0 ;
29679 int res1 = 0 ;
29680 long val2 ;
29681 int ecode2 = 0 ;
29682 int val3 ;
29683 int ecode3 = 0 ;
29684 int val4 ;
29685 int ecode4 = 0 ;
29686 PyObject * obj0 = 0 ;
29687 PyObject * obj1 = 0 ;
29688 PyObject * obj2 = 0 ;
29689 PyObject * obj3 = 0 ;
29690 char * kwnames[] = {
29691 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29692 };
29693
29694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29696 if (!SWIG_IsOK(res1)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29698 }
29699 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29700 ecode2 = SWIG_AsVal_long(obj1, &val2);
29701 if (!SWIG_IsOK(ecode2)) {
29702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29703 }
29704 arg2 = static_cast< long >(val2);
29705 ecode3 = SWIG_AsVal_int(obj2, &val3);
29706 if (!SWIG_IsOK(ecode3)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29708 }
29709 arg3 = static_cast< int >(val3);
29710 if (obj3) {
29711 ecode4 = SWIG_AsVal_int(obj3, &val4);
29712 if (!SWIG_IsOK(ecode4)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29714 }
29715 arg4 = static_cast< int >(val4);
29716 }
29717 {
29718 PyThreadState* __tstate = wxPyBeginAllowThreads();
29719 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 {
29724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29725 }
29726 return resultobj;
29727 fail:
29728 return NULL;
29729 }
29730
29731
29732 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29733 PyObject *resultobj = 0;
29734 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29735 long arg2 ;
29736 long arg3 ;
29737 int arg4 ;
29738 bool result;
29739 void *argp1 = 0 ;
29740 int res1 = 0 ;
29741 long val2 ;
29742 int ecode2 = 0 ;
29743 long val3 ;
29744 int ecode3 = 0 ;
29745 int val4 ;
29746 int ecode4 = 0 ;
29747 PyObject * obj0 = 0 ;
29748 PyObject * obj1 = 0 ;
29749 PyObject * obj2 = 0 ;
29750 PyObject * obj3 = 0 ;
29751 char * kwnames[] = {
29752 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29753 };
29754
29755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29757 if (!SWIG_IsOK(res1)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29759 }
29760 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29761 ecode2 = SWIG_AsVal_long(obj1, &val2);
29762 if (!SWIG_IsOK(ecode2)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29764 }
29765 arg2 = static_cast< long >(val2);
29766 ecode3 = SWIG_AsVal_long(obj2, &val3);
29767 if (!SWIG_IsOK(ecode3)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29769 }
29770 arg3 = static_cast< long >(val3);
29771 ecode4 = SWIG_AsVal_int(obj3, &val4);
29772 if (!SWIG_IsOK(ecode4)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29774 }
29775 arg4 = static_cast< int >(val4);
29776 {
29777 PyThreadState* __tstate = wxPyBeginAllowThreads();
29778 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
29782 {
29783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29784 }
29785 return resultobj;
29786 fail:
29787 return NULL;
29788 }
29789
29790
29791 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29792 PyObject *resultobj = 0;
29793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29794 long arg2 ;
29795 wxString result;
29796 void *argp1 = 0 ;
29797 int res1 = 0 ;
29798 long val2 ;
29799 int ecode2 = 0 ;
29800 PyObject * obj0 = 0 ;
29801 PyObject * obj1 = 0 ;
29802 char * kwnames[] = {
29803 (char *) "self",(char *) "item", NULL
29804 };
29805
29806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29808 if (!SWIG_IsOK(res1)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29810 }
29811 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29812 ecode2 = SWIG_AsVal_long(obj1, &val2);
29813 if (!SWIG_IsOK(ecode2)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29815 }
29816 arg2 = static_cast< long >(val2);
29817 {
29818 PyThreadState* __tstate = wxPyBeginAllowThreads();
29819 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29820 wxPyEndAllowThreads(__tstate);
29821 if (PyErr_Occurred()) SWIG_fail;
29822 }
29823 {
29824 #if wxUSE_UNICODE
29825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29826 #else
29827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29828 #endif
29829 }
29830 return resultobj;
29831 fail:
29832 return NULL;
29833 }
29834
29835
29836 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29837 PyObject *resultobj = 0;
29838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29839 long arg2 ;
29840 wxString *arg3 = 0 ;
29841 void *argp1 = 0 ;
29842 int res1 = 0 ;
29843 long val2 ;
29844 int ecode2 = 0 ;
29845 bool temp3 = false ;
29846 PyObject * obj0 = 0 ;
29847 PyObject * obj1 = 0 ;
29848 PyObject * obj2 = 0 ;
29849 char * kwnames[] = {
29850 (char *) "self",(char *) "item",(char *) "str", NULL
29851 };
29852
29853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29855 if (!SWIG_IsOK(res1)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29857 }
29858 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29859 ecode2 = SWIG_AsVal_long(obj1, &val2);
29860 if (!SWIG_IsOK(ecode2)) {
29861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29862 }
29863 arg2 = static_cast< long >(val2);
29864 {
29865 arg3 = wxString_in_helper(obj2);
29866 if (arg3 == NULL) SWIG_fail;
29867 temp3 = true;
29868 }
29869 {
29870 PyThreadState* __tstate = wxPyBeginAllowThreads();
29871 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29872 wxPyEndAllowThreads(__tstate);
29873 if (PyErr_Occurred()) SWIG_fail;
29874 }
29875 resultobj = SWIG_Py_Void();
29876 {
29877 if (temp3)
29878 delete arg3;
29879 }
29880 return resultobj;
29881 fail:
29882 {
29883 if (temp3)
29884 delete arg3;
29885 }
29886 return NULL;
29887 }
29888
29889
29890 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29891 PyObject *resultobj = 0;
29892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29893 long arg2 ;
29894 long result;
29895 void *argp1 = 0 ;
29896 int res1 = 0 ;
29897 long val2 ;
29898 int ecode2 = 0 ;
29899 PyObject * obj0 = 0 ;
29900 PyObject * obj1 = 0 ;
29901 char * kwnames[] = {
29902 (char *) "self",(char *) "item", NULL
29903 };
29904
29905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29907 if (!SWIG_IsOK(res1)) {
29908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29909 }
29910 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29911 ecode2 = SWIG_AsVal_long(obj1, &val2);
29912 if (!SWIG_IsOK(ecode2)) {
29913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29914 }
29915 arg2 = static_cast< long >(val2);
29916 {
29917 PyThreadState* __tstate = wxPyBeginAllowThreads();
29918 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29919 wxPyEndAllowThreads(__tstate);
29920 if (PyErr_Occurred()) SWIG_fail;
29921 }
29922 resultobj = SWIG_From_long(static_cast< long >(result));
29923 return resultobj;
29924 fail:
29925 return NULL;
29926 }
29927
29928
29929 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29930 PyObject *resultobj = 0;
29931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29932 long arg2 ;
29933 long arg3 ;
29934 bool result;
29935 void *argp1 = 0 ;
29936 int res1 = 0 ;
29937 long val2 ;
29938 int ecode2 = 0 ;
29939 long val3 ;
29940 int ecode3 = 0 ;
29941 PyObject * obj0 = 0 ;
29942 PyObject * obj1 = 0 ;
29943 PyObject * obj2 = 0 ;
29944 char * kwnames[] = {
29945 (char *) "self",(char *) "item",(char *) "data", NULL
29946 };
29947
29948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29950 if (!SWIG_IsOK(res1)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29952 }
29953 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29954 ecode2 = SWIG_AsVal_long(obj1, &val2);
29955 if (!SWIG_IsOK(ecode2)) {
29956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29957 }
29958 arg2 = static_cast< long >(val2);
29959 ecode3 = SWIG_AsVal_long(obj2, &val3);
29960 if (!SWIG_IsOK(ecode3)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29962 }
29963 arg3 = static_cast< long >(val3);
29964 {
29965 PyThreadState* __tstate = wxPyBeginAllowThreads();
29966 result = (bool)(arg1)->SetItemData(arg2,arg3);
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
29970 {
29971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29972 }
29973 return resultobj;
29974 fail:
29975 return NULL;
29976 }
29977
29978
29979 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29980 PyObject *resultobj = 0;
29981 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29982 long arg2 ;
29983 wxPoint result;
29984 void *argp1 = 0 ;
29985 int res1 = 0 ;
29986 long val2 ;
29987 int ecode2 = 0 ;
29988 PyObject * obj0 = 0 ;
29989 PyObject * obj1 = 0 ;
29990 char * kwnames[] = {
29991 (char *) "self",(char *) "item", NULL
29992 };
29993
29994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29996 if (!SWIG_IsOK(res1)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29998 }
29999 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30000 ecode2 = SWIG_AsVal_long(obj1, &val2);
30001 if (!SWIG_IsOK(ecode2)) {
30002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30003 }
30004 arg2 = static_cast< long >(val2);
30005 {
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
30007 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30008 wxPyEndAllowThreads(__tstate);
30009 if (PyErr_Occurred()) SWIG_fail;
30010 }
30011 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30012 return resultobj;
30013 fail:
30014 return NULL;
30015 }
30016
30017
30018 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30019 PyObject *resultobj = 0;
30020 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30021 long arg2 ;
30022 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30023 wxRect result;
30024 void *argp1 = 0 ;
30025 int res1 = 0 ;
30026 long val2 ;
30027 int ecode2 = 0 ;
30028 int val3 ;
30029 int ecode3 = 0 ;
30030 PyObject * obj0 = 0 ;
30031 PyObject * obj1 = 0 ;
30032 PyObject * obj2 = 0 ;
30033 char * kwnames[] = {
30034 (char *) "self",(char *) "item",(char *) "code", NULL
30035 };
30036
30037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30039 if (!SWIG_IsOK(res1)) {
30040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30041 }
30042 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30043 ecode2 = SWIG_AsVal_long(obj1, &val2);
30044 if (!SWIG_IsOK(ecode2)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30046 }
30047 arg2 = static_cast< long >(val2);
30048 if (obj2) {
30049 ecode3 = SWIG_AsVal_int(obj2, &val3);
30050 if (!SWIG_IsOK(ecode3)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30052 }
30053 arg3 = static_cast< int >(val3);
30054 }
30055 {
30056 PyThreadState* __tstate = wxPyBeginAllowThreads();
30057 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30058 wxPyEndAllowThreads(__tstate);
30059 if (PyErr_Occurred()) SWIG_fail;
30060 }
30061 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30062 return resultobj;
30063 fail:
30064 return NULL;
30065 }
30066
30067
30068 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30069 PyObject *resultobj = 0;
30070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30071 long arg2 ;
30072 wxPoint *arg3 = 0 ;
30073 bool result;
30074 void *argp1 = 0 ;
30075 int res1 = 0 ;
30076 long val2 ;
30077 int ecode2 = 0 ;
30078 wxPoint temp3 ;
30079 PyObject * obj0 = 0 ;
30080 PyObject * obj1 = 0 ;
30081 PyObject * obj2 = 0 ;
30082 char * kwnames[] = {
30083 (char *) "self",(char *) "item",(char *) "pos", NULL
30084 };
30085
30086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30088 if (!SWIG_IsOK(res1)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30090 }
30091 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30092 ecode2 = SWIG_AsVal_long(obj1, &val2);
30093 if (!SWIG_IsOK(ecode2)) {
30094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30095 }
30096 arg2 = static_cast< long >(val2);
30097 {
30098 arg3 = &temp3;
30099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30100 }
30101 {
30102 PyThreadState* __tstate = wxPyBeginAllowThreads();
30103 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30104 wxPyEndAllowThreads(__tstate);
30105 if (PyErr_Occurred()) SWIG_fail;
30106 }
30107 {
30108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30109 }
30110 return resultobj;
30111 fail:
30112 return NULL;
30113 }
30114
30115
30116 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30117 PyObject *resultobj = 0;
30118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30119 int result;
30120 void *argp1 = 0 ;
30121 int res1 = 0 ;
30122 PyObject *swig_obj[1] ;
30123
30124 if (!args) SWIG_fail;
30125 swig_obj[0] = args;
30126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30127 if (!SWIG_IsOK(res1)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30129 }
30130 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30131 {
30132 PyThreadState* __tstate = wxPyBeginAllowThreads();
30133 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30134 wxPyEndAllowThreads(__tstate);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 resultobj = SWIG_From_int(static_cast< int >(result));
30138 return resultobj;
30139 fail:
30140 return NULL;
30141 }
30142
30143
30144 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30145 PyObject *resultobj = 0;
30146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30147 int result;
30148 void *argp1 = 0 ;
30149 int res1 = 0 ;
30150 PyObject *swig_obj[1] ;
30151
30152 if (!args) SWIG_fail;
30153 swig_obj[0] = args;
30154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30155 if (!SWIG_IsOK(res1)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30157 }
30158 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30159 {
30160 PyThreadState* __tstate = wxPyBeginAllowThreads();
30161 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30162 wxPyEndAllowThreads(__tstate);
30163 if (PyErr_Occurred()) SWIG_fail;
30164 }
30165 resultobj = SWIG_From_int(static_cast< int >(result));
30166 return resultobj;
30167 fail:
30168 return NULL;
30169 }
30170
30171
30172 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30173 PyObject *resultobj = 0;
30174 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30175 wxSize result;
30176 void *argp1 = 0 ;
30177 int res1 = 0 ;
30178 PyObject *swig_obj[1] ;
30179
30180 if (!args) SWIG_fail;
30181 swig_obj[0] = args;
30182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30183 if (!SWIG_IsOK(res1)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30185 }
30186 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30187 {
30188 PyThreadState* __tstate = wxPyBeginAllowThreads();
30189 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30190 wxPyEndAllowThreads(__tstate);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 }
30193 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30194 return resultobj;
30195 fail:
30196 return NULL;
30197 }
30198
30199
30200 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30201 PyObject *resultobj = 0;
30202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30203 int arg2 ;
30204 bool arg3 = (bool) false ;
30205 void *argp1 = 0 ;
30206 int res1 = 0 ;
30207 int val2 ;
30208 int ecode2 = 0 ;
30209 bool val3 ;
30210 int ecode3 = 0 ;
30211 PyObject * obj0 = 0 ;
30212 PyObject * obj1 = 0 ;
30213 PyObject * obj2 = 0 ;
30214 char * kwnames[] = {
30215 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30216 };
30217
30218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30220 if (!SWIG_IsOK(res1)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30222 }
30223 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30224 ecode2 = SWIG_AsVal_int(obj1, &val2);
30225 if (!SWIG_IsOK(ecode2)) {
30226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30227 }
30228 arg2 = static_cast< int >(val2);
30229 if (obj2) {
30230 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30231 if (!SWIG_IsOK(ecode3)) {
30232 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30233 }
30234 arg3 = static_cast< bool >(val3);
30235 }
30236 {
30237 PyThreadState* __tstate = wxPyBeginAllowThreads();
30238 (arg1)->SetItemSpacing(arg2,arg3);
30239 wxPyEndAllowThreads(__tstate);
30240 if (PyErr_Occurred()) SWIG_fail;
30241 }
30242 resultobj = SWIG_Py_Void();
30243 return resultobj;
30244 fail:
30245 return NULL;
30246 }
30247
30248
30249 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30250 PyObject *resultobj = 0;
30251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30252 int result;
30253 void *argp1 = 0 ;
30254 int res1 = 0 ;
30255 PyObject *swig_obj[1] ;
30256
30257 if (!args) SWIG_fail;
30258 swig_obj[0] = args;
30259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30260 if (!SWIG_IsOK(res1)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30262 }
30263 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30267 wxPyEndAllowThreads(__tstate);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 }
30270 resultobj = SWIG_From_int(static_cast< int >(result));
30271 return resultobj;
30272 fail:
30273 return NULL;
30274 }
30275
30276
30277 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30278 PyObject *resultobj = 0;
30279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30280 wxColour result;
30281 void *argp1 = 0 ;
30282 int res1 = 0 ;
30283 PyObject *swig_obj[1] ;
30284
30285 if (!args) SWIG_fail;
30286 swig_obj[0] = args;
30287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30288 if (!SWIG_IsOK(res1)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30290 }
30291 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30299 return resultobj;
30300 fail:
30301 return NULL;
30302 }
30303
30304
30305 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj = 0;
30307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30308 wxColour *arg2 = 0 ;
30309 void *argp1 = 0 ;
30310 int res1 = 0 ;
30311 wxColour temp2 ;
30312 PyObject * obj0 = 0 ;
30313 PyObject * obj1 = 0 ;
30314 char * kwnames[] = {
30315 (char *) "self",(char *) "col", NULL
30316 };
30317
30318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30320 if (!SWIG_IsOK(res1)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30322 }
30323 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30324 {
30325 arg2 = &temp2;
30326 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30327 }
30328 {
30329 PyThreadState* __tstate = wxPyBeginAllowThreads();
30330 (arg1)->SetTextColour((wxColour const &)*arg2);
30331 wxPyEndAllowThreads(__tstate);
30332 if (PyErr_Occurred()) SWIG_fail;
30333 }
30334 resultobj = SWIG_Py_Void();
30335 return resultobj;
30336 fail:
30337 return NULL;
30338 }
30339
30340
30341 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30342 PyObject *resultobj = 0;
30343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30344 long result;
30345 void *argp1 = 0 ;
30346 int res1 = 0 ;
30347 PyObject *swig_obj[1] ;
30348
30349 if (!args) SWIG_fail;
30350 swig_obj[0] = args;
30351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30352 if (!SWIG_IsOK(res1)) {
30353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30354 }
30355 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30356 {
30357 PyThreadState* __tstate = wxPyBeginAllowThreads();
30358 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30359 wxPyEndAllowThreads(__tstate);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
30362 resultobj = SWIG_From_long(static_cast< long >(result));
30363 return resultobj;
30364 fail:
30365 return NULL;
30366 }
30367
30368
30369 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30370 PyObject *resultobj = 0;
30371 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30372 long arg2 ;
30373 bool arg3 = (bool) true ;
30374 void *argp1 = 0 ;
30375 int res1 = 0 ;
30376 long val2 ;
30377 int ecode2 = 0 ;
30378 bool val3 ;
30379 int ecode3 = 0 ;
30380 PyObject * obj0 = 0 ;
30381 PyObject * obj1 = 0 ;
30382 PyObject * obj2 = 0 ;
30383 char * kwnames[] = {
30384 (char *) "self",(char *) "style",(char *) "add", NULL
30385 };
30386
30387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30389 if (!SWIG_IsOK(res1)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30391 }
30392 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30393 ecode2 = SWIG_AsVal_long(obj1, &val2);
30394 if (!SWIG_IsOK(ecode2)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30396 }
30397 arg2 = static_cast< long >(val2);
30398 if (obj2) {
30399 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30400 if (!SWIG_IsOK(ecode3)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30402 }
30403 arg3 = static_cast< bool >(val3);
30404 }
30405 {
30406 PyThreadState* __tstate = wxPyBeginAllowThreads();
30407 (arg1)->SetSingleStyle(arg2,arg3);
30408 wxPyEndAllowThreads(__tstate);
30409 if (PyErr_Occurred()) SWIG_fail;
30410 }
30411 resultobj = SWIG_Py_Void();
30412 return resultobj;
30413 fail:
30414 return NULL;
30415 }
30416
30417
30418 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30419 PyObject *resultobj = 0;
30420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30421 long arg2 ;
30422 int arg3 = (int) wxLIST_NEXT_ALL ;
30423 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30424 long result;
30425 void *argp1 = 0 ;
30426 int res1 = 0 ;
30427 long val2 ;
30428 int ecode2 = 0 ;
30429 int val3 ;
30430 int ecode3 = 0 ;
30431 int val4 ;
30432 int ecode4 = 0 ;
30433 PyObject * obj0 = 0 ;
30434 PyObject * obj1 = 0 ;
30435 PyObject * obj2 = 0 ;
30436 PyObject * obj3 = 0 ;
30437 char * kwnames[] = {
30438 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30439 };
30440
30441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30443 if (!SWIG_IsOK(res1)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30445 }
30446 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30447 ecode2 = SWIG_AsVal_long(obj1, &val2);
30448 if (!SWIG_IsOK(ecode2)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30450 }
30451 arg2 = static_cast< long >(val2);
30452 if (obj2) {
30453 ecode3 = SWIG_AsVal_int(obj2, &val3);
30454 if (!SWIG_IsOK(ecode3)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30456 }
30457 arg3 = static_cast< int >(val3);
30458 }
30459 if (obj3) {
30460 ecode4 = SWIG_AsVal_int(obj3, &val4);
30461 if (!SWIG_IsOK(ecode4)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30463 }
30464 arg4 = static_cast< int >(val4);
30465 }
30466 {
30467 PyThreadState* __tstate = wxPyBeginAllowThreads();
30468 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30469 wxPyEndAllowThreads(__tstate);
30470 if (PyErr_Occurred()) SWIG_fail;
30471 }
30472 resultobj = SWIG_From_long(static_cast< long >(result));
30473 return resultobj;
30474 fail:
30475 return NULL;
30476 }
30477
30478
30479 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30480 PyObject *resultobj = 0;
30481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30482 int arg2 ;
30483 wxImageList *result = 0 ;
30484 void *argp1 = 0 ;
30485 int res1 = 0 ;
30486 int val2 ;
30487 int ecode2 = 0 ;
30488 PyObject * obj0 = 0 ;
30489 PyObject * obj1 = 0 ;
30490 char * kwnames[] = {
30491 (char *) "self",(char *) "which", NULL
30492 };
30493
30494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30496 if (!SWIG_IsOK(res1)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30498 }
30499 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30500 ecode2 = SWIG_AsVal_int(obj1, &val2);
30501 if (!SWIG_IsOK(ecode2)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30503 }
30504 arg2 = static_cast< int >(val2);
30505 {
30506 PyThreadState* __tstate = wxPyBeginAllowThreads();
30507 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30508 wxPyEndAllowThreads(__tstate);
30509 if (PyErr_Occurred()) SWIG_fail;
30510 }
30511 {
30512 resultobj = wxPyMake_wxObject(result, (bool)0);
30513 }
30514 return resultobj;
30515 fail:
30516 return NULL;
30517 }
30518
30519
30520 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30521 PyObject *resultobj = 0;
30522 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30523 wxImageList *arg2 = (wxImageList *) 0 ;
30524 int arg3 ;
30525 void *argp1 = 0 ;
30526 int res1 = 0 ;
30527 void *argp2 = 0 ;
30528 int res2 = 0 ;
30529 int val3 ;
30530 int ecode3 = 0 ;
30531 PyObject * obj0 = 0 ;
30532 PyObject * obj1 = 0 ;
30533 PyObject * obj2 = 0 ;
30534 char * kwnames[] = {
30535 (char *) "self",(char *) "imageList",(char *) "which", NULL
30536 };
30537
30538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30540 if (!SWIG_IsOK(res1)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30542 }
30543 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30545 if (!SWIG_IsOK(res2)) {
30546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30547 }
30548 arg2 = reinterpret_cast< wxImageList * >(argp2);
30549 ecode3 = SWIG_AsVal_int(obj2, &val3);
30550 if (!SWIG_IsOK(ecode3)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30552 }
30553 arg3 = static_cast< int >(val3);
30554 {
30555 PyThreadState* __tstate = wxPyBeginAllowThreads();
30556 (arg1)->SetImageList(arg2,arg3);
30557 wxPyEndAllowThreads(__tstate);
30558 if (PyErr_Occurred()) SWIG_fail;
30559 }
30560 resultobj = SWIG_Py_Void();
30561 return resultobj;
30562 fail:
30563 return NULL;
30564 }
30565
30566
30567 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30568 PyObject *resultobj = 0;
30569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30570 wxImageList *arg2 = (wxImageList *) 0 ;
30571 int arg3 ;
30572 void *argp1 = 0 ;
30573 int res1 = 0 ;
30574 int res2 = 0 ;
30575 int val3 ;
30576 int ecode3 = 0 ;
30577 PyObject * obj0 = 0 ;
30578 PyObject * obj1 = 0 ;
30579 PyObject * obj2 = 0 ;
30580 char * kwnames[] = {
30581 (char *) "self",(char *) "imageList",(char *) "which", NULL
30582 };
30583
30584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30586 if (!SWIG_IsOK(res1)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30588 }
30589 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30590 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30591 if (!SWIG_IsOK(res2)) {
30592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30593 }
30594 ecode3 = SWIG_AsVal_int(obj2, &val3);
30595 if (!SWIG_IsOK(ecode3)) {
30596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30597 }
30598 arg3 = static_cast< int >(val3);
30599 {
30600 PyThreadState* __tstate = wxPyBeginAllowThreads();
30601 (arg1)->AssignImageList(arg2,arg3);
30602 wxPyEndAllowThreads(__tstate);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 }
30605 resultobj = SWIG_Py_Void();
30606 return resultobj;
30607 fail:
30608 return NULL;
30609 }
30610
30611
30612 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30613 PyObject *resultobj = 0;
30614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30615 bool result;
30616 void *argp1 = 0 ;
30617 int res1 = 0 ;
30618 PyObject *swig_obj[1] ;
30619
30620 if (!args) SWIG_fail;
30621 swig_obj[0] = args;
30622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30623 if (!SWIG_IsOK(res1)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30625 }
30626 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30627 {
30628 PyThreadState* __tstate = wxPyBeginAllowThreads();
30629 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30630 wxPyEndAllowThreads(__tstate);
30631 if (PyErr_Occurred()) SWIG_fail;
30632 }
30633 {
30634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30635 }
30636 return resultobj;
30637 fail:
30638 return NULL;
30639 }
30640
30641
30642 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30643 PyObject *resultobj = 0;
30644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30645 bool result;
30646 void *argp1 = 0 ;
30647 int res1 = 0 ;
30648 PyObject *swig_obj[1] ;
30649
30650 if (!args) SWIG_fail;
30651 swig_obj[0] = args;
30652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30653 if (!SWIG_IsOK(res1)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30655 }
30656 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30657 {
30658 PyThreadState* __tstate = wxPyBeginAllowThreads();
30659 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30660 wxPyEndAllowThreads(__tstate);
30661 if (PyErr_Occurred()) SWIG_fail;
30662 }
30663 {
30664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30665 }
30666 return resultobj;
30667 fail:
30668 return NULL;
30669 }
30670
30671
30672 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30673 PyObject *resultobj = 0;
30674 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30675 long arg2 ;
30676 void *argp1 = 0 ;
30677 int res1 = 0 ;
30678 long val2 ;
30679 int ecode2 = 0 ;
30680 PyObject * obj0 = 0 ;
30681 PyObject * obj1 = 0 ;
30682 char * kwnames[] = {
30683 (char *) "self",(char *) "item", NULL
30684 };
30685
30686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30688 if (!SWIG_IsOK(res1)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30690 }
30691 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30692 ecode2 = SWIG_AsVal_long(obj1, &val2);
30693 if (!SWIG_IsOK(ecode2)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30695 }
30696 arg2 = static_cast< long >(val2);
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->RefreshItem(arg2);
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 resultobj = SWIG_Py_Void();
30704 return resultobj;
30705 fail:
30706 return NULL;
30707 }
30708
30709
30710 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30711 PyObject *resultobj = 0;
30712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30713 long arg2 ;
30714 long arg3 ;
30715 void *argp1 = 0 ;
30716 int res1 = 0 ;
30717 long val2 ;
30718 int ecode2 = 0 ;
30719 long val3 ;
30720 int ecode3 = 0 ;
30721 PyObject * obj0 = 0 ;
30722 PyObject * obj1 = 0 ;
30723 PyObject * obj2 = 0 ;
30724 char * kwnames[] = {
30725 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30726 };
30727
30728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30730 if (!SWIG_IsOK(res1)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30732 }
30733 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30734 ecode2 = SWIG_AsVal_long(obj1, &val2);
30735 if (!SWIG_IsOK(ecode2)) {
30736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30737 }
30738 arg2 = static_cast< long >(val2);
30739 ecode3 = SWIG_AsVal_long(obj2, &val3);
30740 if (!SWIG_IsOK(ecode3)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30742 }
30743 arg3 = static_cast< long >(val3);
30744 {
30745 PyThreadState* __tstate = wxPyBeginAllowThreads();
30746 (arg1)->RefreshItems(arg2,arg3);
30747 wxPyEndAllowThreads(__tstate);
30748 if (PyErr_Occurred()) SWIG_fail;
30749 }
30750 resultobj = SWIG_Py_Void();
30751 return resultobj;
30752 fail:
30753 return NULL;
30754 }
30755
30756
30757 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30758 PyObject *resultobj = 0;
30759 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30760 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30761 bool result;
30762 void *argp1 = 0 ;
30763 int res1 = 0 ;
30764 int val2 ;
30765 int ecode2 = 0 ;
30766 PyObject * obj0 = 0 ;
30767 PyObject * obj1 = 0 ;
30768 char * kwnames[] = {
30769 (char *) "self",(char *) "flag", NULL
30770 };
30771
30772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30774 if (!SWIG_IsOK(res1)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30776 }
30777 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30778 if (obj1) {
30779 ecode2 = SWIG_AsVal_int(obj1, &val2);
30780 if (!SWIG_IsOK(ecode2)) {
30781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30782 }
30783 arg2 = static_cast< int >(val2);
30784 }
30785 {
30786 PyThreadState* __tstate = wxPyBeginAllowThreads();
30787 result = (bool)(arg1)->Arrange(arg2);
30788 wxPyEndAllowThreads(__tstate);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
30791 {
30792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30793 }
30794 return resultobj;
30795 fail:
30796 return NULL;
30797 }
30798
30799
30800 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30801 PyObject *resultobj = 0;
30802 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30803 long arg2 ;
30804 bool result;
30805 void *argp1 = 0 ;
30806 int res1 = 0 ;
30807 long val2 ;
30808 int ecode2 = 0 ;
30809 PyObject * obj0 = 0 ;
30810 PyObject * obj1 = 0 ;
30811 char * kwnames[] = {
30812 (char *) "self",(char *) "item", NULL
30813 };
30814
30815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30817 if (!SWIG_IsOK(res1)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30819 }
30820 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30821 ecode2 = SWIG_AsVal_long(obj1, &val2);
30822 if (!SWIG_IsOK(ecode2)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30824 }
30825 arg2 = static_cast< long >(val2);
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
30828 result = (bool)(arg1)->DeleteItem(arg2);
30829 wxPyEndAllowThreads(__tstate);
30830 if (PyErr_Occurred()) SWIG_fail;
30831 }
30832 {
30833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30834 }
30835 return resultobj;
30836 fail:
30837 return NULL;
30838 }
30839
30840
30841 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30842 PyObject *resultobj = 0;
30843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30844 bool result;
30845 void *argp1 = 0 ;
30846 int res1 = 0 ;
30847 PyObject *swig_obj[1] ;
30848
30849 if (!args) SWIG_fail;
30850 swig_obj[0] = args;
30851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30852 if (!SWIG_IsOK(res1)) {
30853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30854 }
30855 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 result = (bool)(arg1)->DeleteAllItems();
30859 wxPyEndAllowThreads(__tstate);
30860 if (PyErr_Occurred()) SWIG_fail;
30861 }
30862 {
30863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30864 }
30865 return resultobj;
30866 fail:
30867 return NULL;
30868 }
30869
30870
30871 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30872 PyObject *resultobj = 0;
30873 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30874 int arg2 ;
30875 bool result;
30876 void *argp1 = 0 ;
30877 int res1 = 0 ;
30878 int val2 ;
30879 int ecode2 = 0 ;
30880 PyObject * obj0 = 0 ;
30881 PyObject * obj1 = 0 ;
30882 char * kwnames[] = {
30883 (char *) "self",(char *) "col", NULL
30884 };
30885
30886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30888 if (!SWIG_IsOK(res1)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30890 }
30891 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30892 ecode2 = SWIG_AsVal_int(obj1, &val2);
30893 if (!SWIG_IsOK(ecode2)) {
30894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30895 }
30896 arg2 = static_cast< int >(val2);
30897 {
30898 PyThreadState* __tstate = wxPyBeginAllowThreads();
30899 result = (bool)(arg1)->DeleteColumn(arg2);
30900 wxPyEndAllowThreads(__tstate);
30901 if (PyErr_Occurred()) SWIG_fail;
30902 }
30903 {
30904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30905 }
30906 return resultobj;
30907 fail:
30908 return NULL;
30909 }
30910
30911
30912 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30913 PyObject *resultobj = 0;
30914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30915 bool result;
30916 void *argp1 = 0 ;
30917 int res1 = 0 ;
30918 PyObject *swig_obj[1] ;
30919
30920 if (!args) SWIG_fail;
30921 swig_obj[0] = args;
30922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30923 if (!SWIG_IsOK(res1)) {
30924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30925 }
30926 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30927 {
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = (bool)(arg1)->DeleteAllColumns();
30930 wxPyEndAllowThreads(__tstate);
30931 if (PyErr_Occurred()) SWIG_fail;
30932 }
30933 {
30934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30935 }
30936 return resultobj;
30937 fail:
30938 return NULL;
30939 }
30940
30941
30942 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30943 PyObject *resultobj = 0;
30944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30945 void *argp1 = 0 ;
30946 int res1 = 0 ;
30947 PyObject *swig_obj[1] ;
30948
30949 if (!args) SWIG_fail;
30950 swig_obj[0] = args;
30951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30952 if (!SWIG_IsOK(res1)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30954 }
30955 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30956 {
30957 PyThreadState* __tstate = wxPyBeginAllowThreads();
30958 (arg1)->ClearAll();
30959 wxPyEndAllowThreads(__tstate);
30960 if (PyErr_Occurred()) SWIG_fail;
30961 }
30962 resultobj = SWIG_Py_Void();
30963 return resultobj;
30964 fail:
30965 return NULL;
30966 }
30967
30968
30969 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30970 PyObject *resultobj = 0;
30971 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30972 long arg2 ;
30973 void *argp1 = 0 ;
30974 int res1 = 0 ;
30975 long val2 ;
30976 int ecode2 = 0 ;
30977 PyObject * obj0 = 0 ;
30978 PyObject * obj1 = 0 ;
30979 char * kwnames[] = {
30980 (char *) "self",(char *) "item", NULL
30981 };
30982
30983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30985 if (!SWIG_IsOK(res1)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30987 }
30988 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30989 ecode2 = SWIG_AsVal_long(obj1, &val2);
30990 if (!SWIG_IsOK(ecode2)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30992 }
30993 arg2 = static_cast< long >(val2);
30994 {
30995 PyThreadState* __tstate = wxPyBeginAllowThreads();
30996 (arg1)->EditLabel(arg2);
30997 wxPyEndAllowThreads(__tstate);
30998 if (PyErr_Occurred()) SWIG_fail;
30999 }
31000 resultobj = SWIG_Py_Void();
31001 return resultobj;
31002 fail:
31003 return NULL;
31004 }
31005
31006
31007 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31008 PyObject *resultobj = 0;
31009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31010 long arg2 ;
31011 bool result;
31012 void *argp1 = 0 ;
31013 int res1 = 0 ;
31014 long val2 ;
31015 int ecode2 = 0 ;
31016 PyObject * obj0 = 0 ;
31017 PyObject * obj1 = 0 ;
31018 char * kwnames[] = {
31019 (char *) "self",(char *) "item", NULL
31020 };
31021
31022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31024 if (!SWIG_IsOK(res1)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31026 }
31027 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31028 ecode2 = SWIG_AsVal_long(obj1, &val2);
31029 if (!SWIG_IsOK(ecode2)) {
31030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31031 }
31032 arg2 = static_cast< long >(val2);
31033 {
31034 PyThreadState* __tstate = wxPyBeginAllowThreads();
31035 result = (bool)(arg1)->EnsureVisible(arg2);
31036 wxPyEndAllowThreads(__tstate);
31037 if (PyErr_Occurred()) SWIG_fail;
31038 }
31039 {
31040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31041 }
31042 return resultobj;
31043 fail:
31044 return NULL;
31045 }
31046
31047
31048 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31049 PyObject *resultobj = 0;
31050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31051 long arg2 ;
31052 wxString *arg3 = 0 ;
31053 bool arg4 = (bool) false ;
31054 long result;
31055 void *argp1 = 0 ;
31056 int res1 = 0 ;
31057 long val2 ;
31058 int ecode2 = 0 ;
31059 bool temp3 = false ;
31060 bool val4 ;
31061 int ecode4 = 0 ;
31062 PyObject * obj0 = 0 ;
31063 PyObject * obj1 = 0 ;
31064 PyObject * obj2 = 0 ;
31065 PyObject * obj3 = 0 ;
31066 char * kwnames[] = {
31067 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31068 };
31069
31070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31072 if (!SWIG_IsOK(res1)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31074 }
31075 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31076 ecode2 = SWIG_AsVal_long(obj1, &val2);
31077 if (!SWIG_IsOK(ecode2)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31079 }
31080 arg2 = static_cast< long >(val2);
31081 {
31082 arg3 = wxString_in_helper(obj2);
31083 if (arg3 == NULL) SWIG_fail;
31084 temp3 = true;
31085 }
31086 if (obj3) {
31087 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31088 if (!SWIG_IsOK(ecode4)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31090 }
31091 arg4 = static_cast< bool >(val4);
31092 }
31093 {
31094 PyThreadState* __tstate = wxPyBeginAllowThreads();
31095 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 resultobj = SWIG_From_long(static_cast< long >(result));
31100 {
31101 if (temp3)
31102 delete arg3;
31103 }
31104 return resultobj;
31105 fail:
31106 {
31107 if (temp3)
31108 delete arg3;
31109 }
31110 return NULL;
31111 }
31112
31113
31114 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31115 PyObject *resultobj = 0;
31116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31117 long arg2 ;
31118 long arg3 ;
31119 long result;
31120 void *argp1 = 0 ;
31121 int res1 = 0 ;
31122 long val2 ;
31123 int ecode2 = 0 ;
31124 long val3 ;
31125 int ecode3 = 0 ;
31126 PyObject * obj0 = 0 ;
31127 PyObject * obj1 = 0 ;
31128 PyObject * obj2 = 0 ;
31129 char * kwnames[] = {
31130 (char *) "self",(char *) "start",(char *) "data", NULL
31131 };
31132
31133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31135 if (!SWIG_IsOK(res1)) {
31136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31137 }
31138 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31139 ecode2 = SWIG_AsVal_long(obj1, &val2);
31140 if (!SWIG_IsOK(ecode2)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31142 }
31143 arg2 = static_cast< long >(val2);
31144 ecode3 = SWIG_AsVal_long(obj2, &val3);
31145 if (!SWIG_IsOK(ecode3)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31147 }
31148 arg3 = static_cast< long >(val3);
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = (long)(arg1)->FindItem(arg2,arg3);
31152 wxPyEndAllowThreads(__tstate);
31153 if (PyErr_Occurred()) SWIG_fail;
31154 }
31155 resultobj = SWIG_From_long(static_cast< long >(result));
31156 return resultobj;
31157 fail:
31158 return NULL;
31159 }
31160
31161
31162 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31163 PyObject *resultobj = 0;
31164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31165 long arg2 ;
31166 wxPoint *arg3 = 0 ;
31167 int arg4 ;
31168 long result;
31169 void *argp1 = 0 ;
31170 int res1 = 0 ;
31171 long val2 ;
31172 int ecode2 = 0 ;
31173 wxPoint temp3 ;
31174 int val4 ;
31175 int ecode4 = 0 ;
31176 PyObject * obj0 = 0 ;
31177 PyObject * obj1 = 0 ;
31178 PyObject * obj2 = 0 ;
31179 PyObject * obj3 = 0 ;
31180 char * kwnames[] = {
31181 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31182 };
31183
31184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31186 if (!SWIG_IsOK(res1)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31188 }
31189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31190 ecode2 = SWIG_AsVal_long(obj1, &val2);
31191 if (!SWIG_IsOK(ecode2)) {
31192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31193 }
31194 arg2 = static_cast< long >(val2);
31195 {
31196 arg3 = &temp3;
31197 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31198 }
31199 ecode4 = SWIG_AsVal_int(obj3, &val4);
31200 if (!SWIG_IsOK(ecode4)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31202 }
31203 arg4 = static_cast< int >(val4);
31204 {
31205 PyThreadState* __tstate = wxPyBeginAllowThreads();
31206 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31207 wxPyEndAllowThreads(__tstate);
31208 if (PyErr_Occurred()) SWIG_fail;
31209 }
31210 resultobj = SWIG_From_long(static_cast< long >(result));
31211 return resultobj;
31212 fail:
31213 return NULL;
31214 }
31215
31216
31217 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31218 PyObject *resultobj = 0;
31219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31220 wxPoint *arg2 = 0 ;
31221 int *arg3 = 0 ;
31222 long result;
31223 void *argp1 = 0 ;
31224 int res1 = 0 ;
31225 wxPoint temp2 ;
31226 int temp3 ;
31227 int res3 = SWIG_TMPOBJ ;
31228 PyObject * obj0 = 0 ;
31229 PyObject * obj1 = 0 ;
31230 char * kwnames[] = {
31231 (char *) "self",(char *) "point", NULL
31232 };
31233
31234 arg3 = &temp3;
31235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31237 if (!SWIG_IsOK(res1)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31239 }
31240 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31241 {
31242 arg2 = &temp2;
31243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31244 }
31245 {
31246 PyThreadState* __tstate = wxPyBeginAllowThreads();
31247 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31248 wxPyEndAllowThreads(__tstate);
31249 if (PyErr_Occurred()) SWIG_fail;
31250 }
31251 resultobj = SWIG_From_long(static_cast< long >(result));
31252 if (SWIG_IsTmpObj(res3)) {
31253 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31254 } else {
31255 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31257 }
31258 return resultobj;
31259 fail:
31260 return NULL;
31261 }
31262
31263
31264 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31265 PyObject *resultobj = 0;
31266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31267 wxPoint *arg2 = 0 ;
31268 int *arg3 = 0 ;
31269 long *arg4 = (long *) 0 ;
31270 long result;
31271 void *argp1 = 0 ;
31272 int res1 = 0 ;
31273 wxPoint temp2 ;
31274 int temp3 ;
31275 int res3 = SWIG_TMPOBJ ;
31276 long temp4 ;
31277 int res4 = SWIG_TMPOBJ ;
31278 PyObject * obj0 = 0 ;
31279 PyObject * obj1 = 0 ;
31280 char * kwnames[] = {
31281 (char *) "self",(char *) "point", NULL
31282 };
31283
31284 arg3 = &temp3;
31285 arg4 = &temp4;
31286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31288 if (!SWIG_IsOK(res1)) {
31289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31290 }
31291 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31292 {
31293 arg2 = &temp2;
31294 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31295 }
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 resultobj = SWIG_From_long(static_cast< long >(result));
31303 if (SWIG_IsTmpObj(res3)) {
31304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31305 } else {
31306 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31307 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31308 }
31309 if (SWIG_IsTmpObj(res4)) {
31310 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31311 } else {
31312 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31313 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31314 }
31315 return resultobj;
31316 fail:
31317 return NULL;
31318 }
31319
31320
31321 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31322 PyObject *resultobj = 0;
31323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31324 wxListItem *arg2 = 0 ;
31325 long result;
31326 void *argp1 = 0 ;
31327 int res1 = 0 ;
31328 void *argp2 = 0 ;
31329 int res2 = 0 ;
31330 PyObject * obj0 = 0 ;
31331 PyObject * obj1 = 0 ;
31332 char * kwnames[] = {
31333 (char *) "self",(char *) "info", NULL
31334 };
31335
31336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31338 if (!SWIG_IsOK(res1)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31340 }
31341 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31342 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31343 if (!SWIG_IsOK(res2)) {
31344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31345 }
31346 if (!argp2) {
31347 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31348 }
31349 arg2 = reinterpret_cast< wxListItem * >(argp2);
31350 {
31351 PyThreadState* __tstate = wxPyBeginAllowThreads();
31352 result = (long)(arg1)->InsertItem(*arg2);
31353 wxPyEndAllowThreads(__tstate);
31354 if (PyErr_Occurred()) SWIG_fail;
31355 }
31356 resultobj = SWIG_From_long(static_cast< long >(result));
31357 return resultobj;
31358 fail:
31359 return NULL;
31360 }
31361
31362
31363 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31364 PyObject *resultobj = 0;
31365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31366 long arg2 ;
31367 wxString *arg3 = 0 ;
31368 int arg4 = (int) -1 ;
31369 long result;
31370 void *argp1 = 0 ;
31371 int res1 = 0 ;
31372 long val2 ;
31373 int ecode2 = 0 ;
31374 bool temp3 = false ;
31375 int val4 ;
31376 int ecode4 = 0 ;
31377 PyObject * obj0 = 0 ;
31378 PyObject * obj1 = 0 ;
31379 PyObject * obj2 = 0 ;
31380 PyObject * obj3 = 0 ;
31381 char * kwnames[] = {
31382 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31383 };
31384
31385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31387 if (!SWIG_IsOK(res1)) {
31388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31389 }
31390 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31391 ecode2 = SWIG_AsVal_long(obj1, &val2);
31392 if (!SWIG_IsOK(ecode2)) {
31393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31394 }
31395 arg2 = static_cast< long >(val2);
31396 {
31397 arg3 = wxString_in_helper(obj2);
31398 if (arg3 == NULL) SWIG_fail;
31399 temp3 = true;
31400 }
31401 if (obj3) {
31402 ecode4 = SWIG_AsVal_int(obj3, &val4);
31403 if (!SWIG_IsOK(ecode4)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31405 }
31406 arg4 = static_cast< int >(val4);
31407 }
31408 {
31409 PyThreadState* __tstate = wxPyBeginAllowThreads();
31410 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31411 wxPyEndAllowThreads(__tstate);
31412 if (PyErr_Occurred()) SWIG_fail;
31413 }
31414 resultobj = SWIG_From_long(static_cast< long >(result));
31415 {
31416 if (temp3)
31417 delete arg3;
31418 }
31419 return resultobj;
31420 fail:
31421 {
31422 if (temp3)
31423 delete arg3;
31424 }
31425 return NULL;
31426 }
31427
31428
31429 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31430 PyObject *resultobj = 0;
31431 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31432 long arg2 ;
31433 int arg3 ;
31434 long result;
31435 void *argp1 = 0 ;
31436 int res1 = 0 ;
31437 long val2 ;
31438 int ecode2 = 0 ;
31439 int val3 ;
31440 int ecode3 = 0 ;
31441 PyObject * obj0 = 0 ;
31442 PyObject * obj1 = 0 ;
31443 PyObject * obj2 = 0 ;
31444 char * kwnames[] = {
31445 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31446 };
31447
31448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31450 if (!SWIG_IsOK(res1)) {
31451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31452 }
31453 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31454 ecode2 = SWIG_AsVal_long(obj1, &val2);
31455 if (!SWIG_IsOK(ecode2)) {
31456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31457 }
31458 arg2 = static_cast< long >(val2);
31459 ecode3 = SWIG_AsVal_int(obj2, &val3);
31460 if (!SWIG_IsOK(ecode3)) {
31461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31462 }
31463 arg3 = static_cast< int >(val3);
31464 {
31465 PyThreadState* __tstate = wxPyBeginAllowThreads();
31466 result = (long)(arg1)->InsertItem(arg2,arg3);
31467 wxPyEndAllowThreads(__tstate);
31468 if (PyErr_Occurred()) SWIG_fail;
31469 }
31470 resultobj = SWIG_From_long(static_cast< long >(result));
31471 return resultobj;
31472 fail:
31473 return NULL;
31474 }
31475
31476
31477 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31478 PyObject *resultobj = 0;
31479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31480 long arg2 ;
31481 wxString *arg3 = 0 ;
31482 int arg4 ;
31483 long result;
31484 void *argp1 = 0 ;
31485 int res1 = 0 ;
31486 long val2 ;
31487 int ecode2 = 0 ;
31488 bool temp3 = false ;
31489 int val4 ;
31490 int ecode4 = 0 ;
31491 PyObject * obj0 = 0 ;
31492 PyObject * obj1 = 0 ;
31493 PyObject * obj2 = 0 ;
31494 PyObject * obj3 = 0 ;
31495 char * kwnames[] = {
31496 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31497 };
31498
31499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31501 if (!SWIG_IsOK(res1)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31503 }
31504 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31505 ecode2 = SWIG_AsVal_long(obj1, &val2);
31506 if (!SWIG_IsOK(ecode2)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31508 }
31509 arg2 = static_cast< long >(val2);
31510 {
31511 arg3 = wxString_in_helper(obj2);
31512 if (arg3 == NULL) SWIG_fail;
31513 temp3 = true;
31514 }
31515 ecode4 = SWIG_AsVal_int(obj3, &val4);
31516 if (!SWIG_IsOK(ecode4)) {
31517 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31518 }
31519 arg4 = static_cast< int >(val4);
31520 {
31521 PyThreadState* __tstate = wxPyBeginAllowThreads();
31522 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31523 wxPyEndAllowThreads(__tstate);
31524 if (PyErr_Occurred()) SWIG_fail;
31525 }
31526 resultobj = SWIG_From_long(static_cast< long >(result));
31527 {
31528 if (temp3)
31529 delete arg3;
31530 }
31531 return resultobj;
31532 fail:
31533 {
31534 if (temp3)
31535 delete arg3;
31536 }
31537 return NULL;
31538 }
31539
31540
31541 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31542 PyObject *resultobj = 0;
31543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31544 long arg2 ;
31545 wxListItem *arg3 = 0 ;
31546 long result;
31547 void *argp1 = 0 ;
31548 int res1 = 0 ;
31549 long val2 ;
31550 int ecode2 = 0 ;
31551 void *argp3 = 0 ;
31552 int res3 = 0 ;
31553 PyObject * obj0 = 0 ;
31554 PyObject * obj1 = 0 ;
31555 PyObject * obj2 = 0 ;
31556 char * kwnames[] = {
31557 (char *) "self",(char *) "col",(char *) "info", NULL
31558 };
31559
31560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31562 if (!SWIG_IsOK(res1)) {
31563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31564 }
31565 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31566 ecode2 = SWIG_AsVal_long(obj1, &val2);
31567 if (!SWIG_IsOK(ecode2)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31569 }
31570 arg2 = static_cast< long >(val2);
31571 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31572 if (!SWIG_IsOK(res3)) {
31573 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31574 }
31575 if (!argp3) {
31576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31577 }
31578 arg3 = reinterpret_cast< wxListItem * >(argp3);
31579 {
31580 PyThreadState* __tstate = wxPyBeginAllowThreads();
31581 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31582 wxPyEndAllowThreads(__tstate);
31583 if (PyErr_Occurred()) SWIG_fail;
31584 }
31585 resultobj = SWIG_From_long(static_cast< long >(result));
31586 return resultobj;
31587 fail:
31588 return NULL;
31589 }
31590
31591
31592 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31593 PyObject *resultobj = 0;
31594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31595 long arg2 ;
31596 wxString *arg3 = 0 ;
31597 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31598 int arg5 = (int) -1 ;
31599 long result;
31600 void *argp1 = 0 ;
31601 int res1 = 0 ;
31602 long val2 ;
31603 int ecode2 = 0 ;
31604 bool temp3 = false ;
31605 int val4 ;
31606 int ecode4 = 0 ;
31607 int val5 ;
31608 int ecode5 = 0 ;
31609 PyObject * obj0 = 0 ;
31610 PyObject * obj1 = 0 ;
31611 PyObject * obj2 = 0 ;
31612 PyObject * obj3 = 0 ;
31613 PyObject * obj4 = 0 ;
31614 char * kwnames[] = {
31615 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31616 };
31617
31618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31620 if (!SWIG_IsOK(res1)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31622 }
31623 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31624 ecode2 = SWIG_AsVal_long(obj1, &val2);
31625 if (!SWIG_IsOK(ecode2)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31627 }
31628 arg2 = static_cast< long >(val2);
31629 {
31630 arg3 = wxString_in_helper(obj2);
31631 if (arg3 == NULL) SWIG_fail;
31632 temp3 = true;
31633 }
31634 if (obj3) {
31635 ecode4 = SWIG_AsVal_int(obj3, &val4);
31636 if (!SWIG_IsOK(ecode4)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31638 }
31639 arg4 = static_cast< int >(val4);
31640 }
31641 if (obj4) {
31642 ecode5 = SWIG_AsVal_int(obj4, &val5);
31643 if (!SWIG_IsOK(ecode5)) {
31644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31645 }
31646 arg5 = static_cast< int >(val5);
31647 }
31648 {
31649 PyThreadState* __tstate = wxPyBeginAllowThreads();
31650 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31651 wxPyEndAllowThreads(__tstate);
31652 if (PyErr_Occurred()) SWIG_fail;
31653 }
31654 resultobj = SWIG_From_long(static_cast< long >(result));
31655 {
31656 if (temp3)
31657 delete arg3;
31658 }
31659 return resultobj;
31660 fail:
31661 {
31662 if (temp3)
31663 delete arg3;
31664 }
31665 return NULL;
31666 }
31667
31668
31669 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31670 PyObject *resultobj = 0;
31671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31672 long arg2 ;
31673 void *argp1 = 0 ;
31674 int res1 = 0 ;
31675 long val2 ;
31676 int ecode2 = 0 ;
31677 PyObject * obj0 = 0 ;
31678 PyObject * obj1 = 0 ;
31679 char * kwnames[] = {
31680 (char *) "self",(char *) "count", NULL
31681 };
31682
31683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31685 if (!SWIG_IsOK(res1)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31687 }
31688 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31689 ecode2 = SWIG_AsVal_long(obj1, &val2);
31690 if (!SWIG_IsOK(ecode2)) {
31691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31692 }
31693 arg2 = static_cast< long >(val2);
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 (arg1)->SetItemCount(arg2);
31697 wxPyEndAllowThreads(__tstate);
31698 if (PyErr_Occurred()) SWIG_fail;
31699 }
31700 resultobj = SWIG_Py_Void();
31701 return resultobj;
31702 fail:
31703 return NULL;
31704 }
31705
31706
31707 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31708 PyObject *resultobj = 0;
31709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31710 int arg2 ;
31711 int arg3 ;
31712 bool result;
31713 void *argp1 = 0 ;
31714 int res1 = 0 ;
31715 int val2 ;
31716 int ecode2 = 0 ;
31717 int val3 ;
31718 int ecode3 = 0 ;
31719 PyObject * obj0 = 0 ;
31720 PyObject * obj1 = 0 ;
31721 PyObject * obj2 = 0 ;
31722 char * kwnames[] = {
31723 (char *) "self",(char *) "dx",(char *) "dy", NULL
31724 };
31725
31726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31728 if (!SWIG_IsOK(res1)) {
31729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31730 }
31731 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31732 ecode2 = SWIG_AsVal_int(obj1, &val2);
31733 if (!SWIG_IsOK(ecode2)) {
31734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31735 }
31736 arg2 = static_cast< int >(val2);
31737 ecode3 = SWIG_AsVal_int(obj2, &val3);
31738 if (!SWIG_IsOK(ecode3)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31740 }
31741 arg3 = static_cast< int >(val3);
31742 {
31743 PyThreadState* __tstate = wxPyBeginAllowThreads();
31744 result = (bool)(arg1)->ScrollList(arg2,arg3);
31745 wxPyEndAllowThreads(__tstate);
31746 if (PyErr_Occurred()) SWIG_fail;
31747 }
31748 {
31749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31750 }
31751 return resultobj;
31752 fail:
31753 return NULL;
31754 }
31755
31756
31757 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31758 PyObject *resultobj = 0;
31759 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31760 long arg2 ;
31761 wxColour *arg3 = 0 ;
31762 void *argp1 = 0 ;
31763 int res1 = 0 ;
31764 long val2 ;
31765 int ecode2 = 0 ;
31766 wxColour temp3 ;
31767 PyObject * obj0 = 0 ;
31768 PyObject * obj1 = 0 ;
31769 PyObject * obj2 = 0 ;
31770 char * kwnames[] = {
31771 (char *) "self",(char *) "item",(char *) "col", NULL
31772 };
31773
31774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31776 if (!SWIG_IsOK(res1)) {
31777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31778 }
31779 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31780 ecode2 = SWIG_AsVal_long(obj1, &val2);
31781 if (!SWIG_IsOK(ecode2)) {
31782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31783 }
31784 arg2 = static_cast< long >(val2);
31785 {
31786 arg3 = &temp3;
31787 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31788 }
31789 {
31790 PyThreadState* __tstate = wxPyBeginAllowThreads();
31791 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31792 wxPyEndAllowThreads(__tstate);
31793 if (PyErr_Occurred()) SWIG_fail;
31794 }
31795 resultobj = SWIG_Py_Void();
31796 return resultobj;
31797 fail:
31798 return NULL;
31799 }
31800
31801
31802 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31803 PyObject *resultobj = 0;
31804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31805 long arg2 ;
31806 wxColour result;
31807 void *argp1 = 0 ;
31808 int res1 = 0 ;
31809 long val2 ;
31810 int ecode2 = 0 ;
31811 PyObject * obj0 = 0 ;
31812 PyObject * obj1 = 0 ;
31813 char * kwnames[] = {
31814 (char *) "self",(char *) "item", NULL
31815 };
31816
31817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31819 if (!SWIG_IsOK(res1)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31821 }
31822 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31823 ecode2 = SWIG_AsVal_long(obj1, &val2);
31824 if (!SWIG_IsOK(ecode2)) {
31825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31826 }
31827 arg2 = static_cast< long >(val2);
31828 {
31829 PyThreadState* __tstate = wxPyBeginAllowThreads();
31830 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31831 wxPyEndAllowThreads(__tstate);
31832 if (PyErr_Occurred()) SWIG_fail;
31833 }
31834 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31835 return resultobj;
31836 fail:
31837 return NULL;
31838 }
31839
31840
31841 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31842 PyObject *resultobj = 0;
31843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31844 long arg2 ;
31845 wxColour *arg3 = 0 ;
31846 void *argp1 = 0 ;
31847 int res1 = 0 ;
31848 long val2 ;
31849 int ecode2 = 0 ;
31850 wxColour temp3 ;
31851 PyObject * obj0 = 0 ;
31852 PyObject * obj1 = 0 ;
31853 PyObject * obj2 = 0 ;
31854 char * kwnames[] = {
31855 (char *) "self",(char *) "item",(char *) "col", NULL
31856 };
31857
31858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31860 if (!SWIG_IsOK(res1)) {
31861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31862 }
31863 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31864 ecode2 = SWIG_AsVal_long(obj1, &val2);
31865 if (!SWIG_IsOK(ecode2)) {
31866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31867 }
31868 arg2 = static_cast< long >(val2);
31869 {
31870 arg3 = &temp3;
31871 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31872 }
31873 {
31874 PyThreadState* __tstate = wxPyBeginAllowThreads();
31875 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31876 wxPyEndAllowThreads(__tstate);
31877 if (PyErr_Occurred()) SWIG_fail;
31878 }
31879 resultobj = SWIG_Py_Void();
31880 return resultobj;
31881 fail:
31882 return NULL;
31883 }
31884
31885
31886 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31887 PyObject *resultobj = 0;
31888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31889 long arg2 ;
31890 wxColour result;
31891 void *argp1 = 0 ;
31892 int res1 = 0 ;
31893 long val2 ;
31894 int ecode2 = 0 ;
31895 PyObject * obj0 = 0 ;
31896 PyObject * obj1 = 0 ;
31897 char * kwnames[] = {
31898 (char *) "self",(char *) "item", NULL
31899 };
31900
31901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31903 if (!SWIG_IsOK(res1)) {
31904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31905 }
31906 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31907 ecode2 = SWIG_AsVal_long(obj1, &val2);
31908 if (!SWIG_IsOK(ecode2)) {
31909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31910 }
31911 arg2 = static_cast< long >(val2);
31912 {
31913 PyThreadState* __tstate = wxPyBeginAllowThreads();
31914 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31915 wxPyEndAllowThreads(__tstate);
31916 if (PyErr_Occurred()) SWIG_fail;
31917 }
31918 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31919 return resultobj;
31920 fail:
31921 return NULL;
31922 }
31923
31924
31925 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31926 PyObject *resultobj = 0;
31927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31928 long arg2 ;
31929 wxFont *arg3 = 0 ;
31930 void *argp1 = 0 ;
31931 int res1 = 0 ;
31932 long val2 ;
31933 int ecode2 = 0 ;
31934 void *argp3 = 0 ;
31935 int res3 = 0 ;
31936 PyObject * obj0 = 0 ;
31937 PyObject * obj1 = 0 ;
31938 PyObject * obj2 = 0 ;
31939 char * kwnames[] = {
31940 (char *) "self",(char *) "item",(char *) "f", NULL
31941 };
31942
31943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31945 if (!SWIG_IsOK(res1)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31947 }
31948 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31949 ecode2 = SWIG_AsVal_long(obj1, &val2);
31950 if (!SWIG_IsOK(ecode2)) {
31951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31952 }
31953 arg2 = static_cast< long >(val2);
31954 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31955 if (!SWIG_IsOK(res3)) {
31956 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31957 }
31958 if (!argp3) {
31959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31960 }
31961 arg3 = reinterpret_cast< wxFont * >(argp3);
31962 {
31963 PyThreadState* __tstate = wxPyBeginAllowThreads();
31964 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31965 wxPyEndAllowThreads(__tstate);
31966 if (PyErr_Occurred()) SWIG_fail;
31967 }
31968 resultobj = SWIG_Py_Void();
31969 return resultobj;
31970 fail:
31971 return NULL;
31972 }
31973
31974
31975 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31976 PyObject *resultobj = 0;
31977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31978 long arg2 ;
31979 wxFont result;
31980 void *argp1 = 0 ;
31981 int res1 = 0 ;
31982 long val2 ;
31983 int ecode2 = 0 ;
31984 PyObject * obj0 = 0 ;
31985 PyObject * obj1 = 0 ;
31986 char * kwnames[] = {
31987 (char *) "self",(char *) "item", NULL
31988 };
31989
31990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31992 if (!SWIG_IsOK(res1)) {
31993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31994 }
31995 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31996 ecode2 = SWIG_AsVal_long(obj1, &val2);
31997 if (!SWIG_IsOK(ecode2)) {
31998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31999 }
32000 arg2 = static_cast< long >(val2);
32001 {
32002 PyThreadState* __tstate = wxPyBeginAllowThreads();
32003 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32004 wxPyEndAllowThreads(__tstate);
32005 if (PyErr_Occurred()) SWIG_fail;
32006 }
32007 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32008 return resultobj;
32009 fail:
32010 return NULL;
32011 }
32012
32013
32014 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32015 PyObject *resultobj = 0;
32016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32017 PyObject *arg2 = (PyObject *) 0 ;
32018 bool result;
32019 void *argp1 = 0 ;
32020 int res1 = 0 ;
32021 PyObject * obj0 = 0 ;
32022 PyObject * obj1 = 0 ;
32023 char * kwnames[] = {
32024 (char *) "self",(char *) "func", NULL
32025 };
32026
32027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32029 if (!SWIG_IsOK(res1)) {
32030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32031 }
32032 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32033 arg2 = obj1;
32034 {
32035 PyThreadState* __tstate = wxPyBeginAllowThreads();
32036 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32037 wxPyEndAllowThreads(__tstate);
32038 if (PyErr_Occurred()) SWIG_fail;
32039 }
32040 {
32041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32042 }
32043 return resultobj;
32044 fail:
32045 return NULL;
32046 }
32047
32048
32049 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32050 PyObject *resultobj = 0;
32051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32052 wxWindow *result = 0 ;
32053 void *argp1 = 0 ;
32054 int res1 = 0 ;
32055 PyObject *swig_obj[1] ;
32056
32057 if (!args) SWIG_fail;
32058 swig_obj[0] = args;
32059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32060 if (!SWIG_IsOK(res1)) {
32061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32062 }
32063 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32064 {
32065 PyThreadState* __tstate = wxPyBeginAllowThreads();
32066 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32067 wxPyEndAllowThreads(__tstate);
32068 if (PyErr_Occurred()) SWIG_fail;
32069 }
32070 {
32071 resultobj = wxPyMake_wxObject(result, 0);
32072 }
32073 return resultobj;
32074 fail:
32075 return NULL;
32076 }
32077
32078
32079 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32080 PyObject *resultobj = 0;
32081 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32082 SwigValueWrapper<wxVisualAttributes > result;
32083 int val1 ;
32084 int ecode1 = 0 ;
32085 PyObject * obj0 = 0 ;
32086 char * kwnames[] = {
32087 (char *) "variant", NULL
32088 };
32089
32090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32091 if (obj0) {
32092 ecode1 = SWIG_AsVal_int(obj0, &val1);
32093 if (!SWIG_IsOK(ecode1)) {
32094 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32095 }
32096 arg1 = static_cast< wxWindowVariant >(val1);
32097 }
32098 {
32099 if (!wxPyCheckForApp()) SWIG_fail;
32100 PyThreadState* __tstate = wxPyBeginAllowThreads();
32101 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32102 wxPyEndAllowThreads(__tstate);
32103 if (PyErr_Occurred()) SWIG_fail;
32104 }
32105 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32106 return resultobj;
32107 fail:
32108 return NULL;
32109 }
32110
32111
32112 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32113 PyObject *obj;
32114 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32115 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32116 return SWIG_Py_Void();
32117 }
32118
32119 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32120 return SWIG_Python_InitShadowInstance(args);
32121 }
32122
32123 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32124 PyObject *resultobj = 0;
32125 wxWindow *arg1 = (wxWindow *) 0 ;
32126 int arg2 = (int) -1 ;
32127 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32128 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32129 wxSize const &arg4_defvalue = wxDefaultSize ;
32130 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32131 long arg5 = (long) wxLC_REPORT ;
32132 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32133 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32134 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32135 wxString *arg7 = (wxString *) &arg7_defvalue ;
32136 wxListView *result = 0 ;
32137 void *argp1 = 0 ;
32138 int res1 = 0 ;
32139 int val2 ;
32140 int ecode2 = 0 ;
32141 wxPoint temp3 ;
32142 wxSize temp4 ;
32143 long val5 ;
32144 int ecode5 = 0 ;
32145 void *argp6 = 0 ;
32146 int res6 = 0 ;
32147 bool temp7 = false ;
32148 PyObject * obj0 = 0 ;
32149 PyObject * obj1 = 0 ;
32150 PyObject * obj2 = 0 ;
32151 PyObject * obj3 = 0 ;
32152 PyObject * obj4 = 0 ;
32153 PyObject * obj5 = 0 ;
32154 PyObject * obj6 = 0 ;
32155 char * kwnames[] = {
32156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32157 };
32158
32159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32161 if (!SWIG_IsOK(res1)) {
32162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32163 }
32164 arg1 = reinterpret_cast< wxWindow * >(argp1);
32165 if (obj1) {
32166 ecode2 = SWIG_AsVal_int(obj1, &val2);
32167 if (!SWIG_IsOK(ecode2)) {
32168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32169 }
32170 arg2 = static_cast< int >(val2);
32171 }
32172 if (obj2) {
32173 {
32174 arg3 = &temp3;
32175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32176 }
32177 }
32178 if (obj3) {
32179 {
32180 arg4 = &temp4;
32181 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32182 }
32183 }
32184 if (obj4) {
32185 ecode5 = SWIG_AsVal_long(obj4, &val5);
32186 if (!SWIG_IsOK(ecode5)) {
32187 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32188 }
32189 arg5 = static_cast< long >(val5);
32190 }
32191 if (obj5) {
32192 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32193 if (!SWIG_IsOK(res6)) {
32194 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32195 }
32196 if (!argp6) {
32197 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32198 }
32199 arg6 = reinterpret_cast< wxValidator * >(argp6);
32200 }
32201 if (obj6) {
32202 {
32203 arg7 = wxString_in_helper(obj6);
32204 if (arg7 == NULL) SWIG_fail;
32205 temp7 = true;
32206 }
32207 }
32208 {
32209 if (!wxPyCheckForApp()) SWIG_fail;
32210 PyThreadState* __tstate = wxPyBeginAllowThreads();
32211 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32212 wxPyEndAllowThreads(__tstate);
32213 if (PyErr_Occurred()) SWIG_fail;
32214 }
32215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32216 {
32217 if (temp7)
32218 delete arg7;
32219 }
32220 return resultobj;
32221 fail:
32222 {
32223 if (temp7)
32224 delete arg7;
32225 }
32226 return NULL;
32227 }
32228
32229
32230 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32231 PyObject *resultobj = 0;
32232 wxListView *result = 0 ;
32233
32234 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32235 {
32236 if (!wxPyCheckForApp()) SWIG_fail;
32237 PyThreadState* __tstate = wxPyBeginAllowThreads();
32238 result = (wxListView *)new wxListView();
32239 wxPyEndAllowThreads(__tstate);
32240 if (PyErr_Occurred()) SWIG_fail;
32241 }
32242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32243 return resultobj;
32244 fail:
32245 return NULL;
32246 }
32247
32248
32249 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32250 PyObject *resultobj = 0;
32251 wxListView *arg1 = (wxListView *) 0 ;
32252 wxWindow *arg2 = (wxWindow *) 0 ;
32253 int arg3 = (int) -1 ;
32254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32256 wxSize const &arg5_defvalue = wxDefaultSize ;
32257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32258 long arg6 = (long) wxLC_REPORT ;
32259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32261 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32262 wxString *arg8 = (wxString *) &arg8_defvalue ;
32263 bool result;
32264 void *argp1 = 0 ;
32265 int res1 = 0 ;
32266 void *argp2 = 0 ;
32267 int res2 = 0 ;
32268 int val3 ;
32269 int ecode3 = 0 ;
32270 wxPoint temp4 ;
32271 wxSize temp5 ;
32272 long val6 ;
32273 int ecode6 = 0 ;
32274 void *argp7 = 0 ;
32275 int res7 = 0 ;
32276 bool temp8 = false ;
32277 PyObject * obj0 = 0 ;
32278 PyObject * obj1 = 0 ;
32279 PyObject * obj2 = 0 ;
32280 PyObject * obj3 = 0 ;
32281 PyObject * obj4 = 0 ;
32282 PyObject * obj5 = 0 ;
32283 PyObject * obj6 = 0 ;
32284 PyObject * obj7 = 0 ;
32285 char * kwnames[] = {
32286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32287 };
32288
32289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32291 if (!SWIG_IsOK(res1)) {
32292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32293 }
32294 arg1 = reinterpret_cast< wxListView * >(argp1);
32295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32296 if (!SWIG_IsOK(res2)) {
32297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32298 }
32299 arg2 = reinterpret_cast< wxWindow * >(argp2);
32300 if (obj2) {
32301 ecode3 = SWIG_AsVal_int(obj2, &val3);
32302 if (!SWIG_IsOK(ecode3)) {
32303 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32304 }
32305 arg3 = static_cast< int >(val3);
32306 }
32307 if (obj3) {
32308 {
32309 arg4 = &temp4;
32310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32311 }
32312 }
32313 if (obj4) {
32314 {
32315 arg5 = &temp5;
32316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32317 }
32318 }
32319 if (obj5) {
32320 ecode6 = SWIG_AsVal_long(obj5, &val6);
32321 if (!SWIG_IsOK(ecode6)) {
32322 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32323 }
32324 arg6 = static_cast< long >(val6);
32325 }
32326 if (obj6) {
32327 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32328 if (!SWIG_IsOK(res7)) {
32329 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32330 }
32331 if (!argp7) {
32332 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32333 }
32334 arg7 = reinterpret_cast< wxValidator * >(argp7);
32335 }
32336 if (obj7) {
32337 {
32338 arg8 = wxString_in_helper(obj7);
32339 if (arg8 == NULL) SWIG_fail;
32340 temp8 = true;
32341 }
32342 }
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32346 wxPyEndAllowThreads(__tstate);
32347 if (PyErr_Occurred()) SWIG_fail;
32348 }
32349 {
32350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32351 }
32352 {
32353 if (temp8)
32354 delete arg8;
32355 }
32356 return resultobj;
32357 fail:
32358 {
32359 if (temp8)
32360 delete arg8;
32361 }
32362 return NULL;
32363 }
32364
32365
32366 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32367 PyObject *resultobj = 0;
32368 wxListView *arg1 = (wxListView *) 0 ;
32369 long arg2 ;
32370 bool arg3 = (bool) true ;
32371 void *argp1 = 0 ;
32372 int res1 = 0 ;
32373 long val2 ;
32374 int ecode2 = 0 ;
32375 bool val3 ;
32376 int ecode3 = 0 ;
32377 PyObject * obj0 = 0 ;
32378 PyObject * obj1 = 0 ;
32379 PyObject * obj2 = 0 ;
32380 char * kwnames[] = {
32381 (char *) "self",(char *) "n",(char *) "on", NULL
32382 };
32383
32384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32386 if (!SWIG_IsOK(res1)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32388 }
32389 arg1 = reinterpret_cast< wxListView * >(argp1);
32390 ecode2 = SWIG_AsVal_long(obj1, &val2);
32391 if (!SWIG_IsOK(ecode2)) {
32392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32393 }
32394 arg2 = static_cast< long >(val2);
32395 if (obj2) {
32396 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32397 if (!SWIG_IsOK(ecode3)) {
32398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32399 }
32400 arg3 = static_cast< bool >(val3);
32401 }
32402 {
32403 PyThreadState* __tstate = wxPyBeginAllowThreads();
32404 (arg1)->Select(arg2,arg3);
32405 wxPyEndAllowThreads(__tstate);
32406 if (PyErr_Occurred()) SWIG_fail;
32407 }
32408 resultobj = SWIG_Py_Void();
32409 return resultobj;
32410 fail:
32411 return NULL;
32412 }
32413
32414
32415 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32416 PyObject *resultobj = 0;
32417 wxListView *arg1 = (wxListView *) 0 ;
32418 long arg2 ;
32419 void *argp1 = 0 ;
32420 int res1 = 0 ;
32421 long val2 ;
32422 int ecode2 = 0 ;
32423 PyObject * obj0 = 0 ;
32424 PyObject * obj1 = 0 ;
32425 char * kwnames[] = {
32426 (char *) "self",(char *) "index", NULL
32427 };
32428
32429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32431 if (!SWIG_IsOK(res1)) {
32432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32433 }
32434 arg1 = reinterpret_cast< wxListView * >(argp1);
32435 ecode2 = SWIG_AsVal_long(obj1, &val2);
32436 if (!SWIG_IsOK(ecode2)) {
32437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32438 }
32439 arg2 = static_cast< long >(val2);
32440 {
32441 PyThreadState* __tstate = wxPyBeginAllowThreads();
32442 (arg1)->Focus(arg2);
32443 wxPyEndAllowThreads(__tstate);
32444 if (PyErr_Occurred()) SWIG_fail;
32445 }
32446 resultobj = SWIG_Py_Void();
32447 return resultobj;
32448 fail:
32449 return NULL;
32450 }
32451
32452
32453 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32454 PyObject *resultobj = 0;
32455 wxListView *arg1 = (wxListView *) 0 ;
32456 long result;
32457 void *argp1 = 0 ;
32458 int res1 = 0 ;
32459 PyObject *swig_obj[1] ;
32460
32461 if (!args) SWIG_fail;
32462 swig_obj[0] = args;
32463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32464 if (!SWIG_IsOK(res1)) {
32465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32466 }
32467 arg1 = reinterpret_cast< wxListView * >(argp1);
32468 {
32469 PyThreadState* __tstate = wxPyBeginAllowThreads();
32470 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32471 wxPyEndAllowThreads(__tstate);
32472 if (PyErr_Occurred()) SWIG_fail;
32473 }
32474 resultobj = SWIG_From_long(static_cast< long >(result));
32475 return resultobj;
32476 fail:
32477 return NULL;
32478 }
32479
32480
32481 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32482 PyObject *resultobj = 0;
32483 wxListView *arg1 = (wxListView *) 0 ;
32484 long arg2 ;
32485 long result;
32486 void *argp1 = 0 ;
32487 int res1 = 0 ;
32488 long val2 ;
32489 int ecode2 = 0 ;
32490 PyObject * obj0 = 0 ;
32491 PyObject * obj1 = 0 ;
32492 char * kwnames[] = {
32493 (char *) "self",(char *) "item", NULL
32494 };
32495
32496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32498 if (!SWIG_IsOK(res1)) {
32499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32500 }
32501 arg1 = reinterpret_cast< wxListView * >(argp1);
32502 ecode2 = SWIG_AsVal_long(obj1, &val2);
32503 if (!SWIG_IsOK(ecode2)) {
32504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32505 }
32506 arg2 = static_cast< long >(val2);
32507 {
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32510 wxPyEndAllowThreads(__tstate);
32511 if (PyErr_Occurred()) SWIG_fail;
32512 }
32513 resultobj = SWIG_From_long(static_cast< long >(result));
32514 return resultobj;
32515 fail:
32516 return NULL;
32517 }
32518
32519
32520 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32521 PyObject *resultobj = 0;
32522 wxListView *arg1 = (wxListView *) 0 ;
32523 long result;
32524 void *argp1 = 0 ;
32525 int res1 = 0 ;
32526 PyObject *swig_obj[1] ;
32527
32528 if (!args) SWIG_fail;
32529 swig_obj[0] = args;
32530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32531 if (!SWIG_IsOK(res1)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32533 }
32534 arg1 = reinterpret_cast< wxListView * >(argp1);
32535 {
32536 PyThreadState* __tstate = wxPyBeginAllowThreads();
32537 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32538 wxPyEndAllowThreads(__tstate);
32539 if (PyErr_Occurred()) SWIG_fail;
32540 }
32541 resultobj = SWIG_From_long(static_cast< long >(result));
32542 return resultobj;
32543 fail:
32544 return NULL;
32545 }
32546
32547
32548 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32549 PyObject *resultobj = 0;
32550 wxListView *arg1 = (wxListView *) 0 ;
32551 long arg2 ;
32552 bool result;
32553 void *argp1 = 0 ;
32554 int res1 = 0 ;
32555 long val2 ;
32556 int ecode2 = 0 ;
32557 PyObject * obj0 = 0 ;
32558 PyObject * obj1 = 0 ;
32559 char * kwnames[] = {
32560 (char *) "self",(char *) "index", NULL
32561 };
32562
32563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32565 if (!SWIG_IsOK(res1)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32567 }
32568 arg1 = reinterpret_cast< wxListView * >(argp1);
32569 ecode2 = SWIG_AsVal_long(obj1, &val2);
32570 if (!SWIG_IsOK(ecode2)) {
32571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32572 }
32573 arg2 = static_cast< long >(val2);
32574 {
32575 PyThreadState* __tstate = wxPyBeginAllowThreads();
32576 result = (bool)(arg1)->IsSelected(arg2);
32577 wxPyEndAllowThreads(__tstate);
32578 if (PyErr_Occurred()) SWIG_fail;
32579 }
32580 {
32581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32582 }
32583 return resultobj;
32584 fail:
32585 return NULL;
32586 }
32587
32588
32589 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32590 PyObject *resultobj = 0;
32591 wxListView *arg1 = (wxListView *) 0 ;
32592 int arg2 ;
32593 int arg3 ;
32594 void *argp1 = 0 ;
32595 int res1 = 0 ;
32596 int val2 ;
32597 int ecode2 = 0 ;
32598 int val3 ;
32599 int ecode3 = 0 ;
32600 PyObject * obj0 = 0 ;
32601 PyObject * obj1 = 0 ;
32602 PyObject * obj2 = 0 ;
32603 char * kwnames[] = {
32604 (char *) "self",(char *) "col",(char *) "image", NULL
32605 };
32606
32607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32609 if (!SWIG_IsOK(res1)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32611 }
32612 arg1 = reinterpret_cast< wxListView * >(argp1);
32613 ecode2 = SWIG_AsVal_int(obj1, &val2);
32614 if (!SWIG_IsOK(ecode2)) {
32615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32616 }
32617 arg2 = static_cast< int >(val2);
32618 ecode3 = SWIG_AsVal_int(obj2, &val3);
32619 if (!SWIG_IsOK(ecode3)) {
32620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32621 }
32622 arg3 = static_cast< int >(val3);
32623 {
32624 PyThreadState* __tstate = wxPyBeginAllowThreads();
32625 (arg1)->SetColumnImage(arg2,arg3);
32626 wxPyEndAllowThreads(__tstate);
32627 if (PyErr_Occurred()) SWIG_fail;
32628 }
32629 resultobj = SWIG_Py_Void();
32630 return resultobj;
32631 fail:
32632 return NULL;
32633 }
32634
32635
32636 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32637 PyObject *resultobj = 0;
32638 wxListView *arg1 = (wxListView *) 0 ;
32639 int arg2 ;
32640 void *argp1 = 0 ;
32641 int res1 = 0 ;
32642 int val2 ;
32643 int ecode2 = 0 ;
32644 PyObject * obj0 = 0 ;
32645 PyObject * obj1 = 0 ;
32646 char * kwnames[] = {
32647 (char *) "self",(char *) "col", NULL
32648 };
32649
32650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32652 if (!SWIG_IsOK(res1)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32654 }
32655 arg1 = reinterpret_cast< wxListView * >(argp1);
32656 ecode2 = SWIG_AsVal_int(obj1, &val2);
32657 if (!SWIG_IsOK(ecode2)) {
32658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32659 }
32660 arg2 = static_cast< int >(val2);
32661 {
32662 PyThreadState* __tstate = wxPyBeginAllowThreads();
32663 (arg1)->ClearColumnImage(arg2);
32664 wxPyEndAllowThreads(__tstate);
32665 if (PyErr_Occurred()) SWIG_fail;
32666 }
32667 resultobj = SWIG_Py_Void();
32668 return resultobj;
32669 fail:
32670 return NULL;
32671 }
32672
32673
32674 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32675 PyObject *obj;
32676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32677 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32678 return SWIG_Py_Void();
32679 }
32680
32681 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32682 return SWIG_Python_InitShadowInstance(args);
32683 }
32684
32685 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32686 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32687 return 1;
32688 }
32689
32690
32691 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32692 PyObject *pyobj = 0;
32693
32694 {
32695 #if wxUSE_UNICODE
32696 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32697 #else
32698 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32699 #endif
32700 }
32701 return pyobj;
32702 }
32703
32704
32705 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32706 PyObject *resultobj = 0;
32707 wxTreeItemId *result = 0 ;
32708
32709 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32710 {
32711 PyThreadState* __tstate = wxPyBeginAllowThreads();
32712 result = (wxTreeItemId *)new wxTreeItemId();
32713 wxPyEndAllowThreads(__tstate);
32714 if (PyErr_Occurred()) SWIG_fail;
32715 }
32716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32717 return resultobj;
32718 fail:
32719 return NULL;
32720 }
32721
32722
32723 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32724 PyObject *resultobj = 0;
32725 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32726 void *argp1 = 0 ;
32727 int res1 = 0 ;
32728 PyObject *swig_obj[1] ;
32729
32730 if (!args) SWIG_fail;
32731 swig_obj[0] = args;
32732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32733 if (!SWIG_IsOK(res1)) {
32734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32735 }
32736 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32737 {
32738 PyThreadState* __tstate = wxPyBeginAllowThreads();
32739 delete arg1;
32740
32741 wxPyEndAllowThreads(__tstate);
32742 if (PyErr_Occurred()) SWIG_fail;
32743 }
32744 resultobj = SWIG_Py_Void();
32745 return resultobj;
32746 fail:
32747 return NULL;
32748 }
32749
32750
32751 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32752 PyObject *resultobj = 0;
32753 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32754 bool result;
32755 void *argp1 = 0 ;
32756 int res1 = 0 ;
32757 PyObject *swig_obj[1] ;
32758
32759 if (!args) SWIG_fail;
32760 swig_obj[0] = args;
32761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32762 if (!SWIG_IsOK(res1)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32764 }
32765 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32766 {
32767 PyThreadState* __tstate = wxPyBeginAllowThreads();
32768 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32769 wxPyEndAllowThreads(__tstate);
32770 if (PyErr_Occurred()) SWIG_fail;
32771 }
32772 {
32773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32774 }
32775 return resultobj;
32776 fail:
32777 return NULL;
32778 }
32779
32780
32781 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32782 PyObject *resultobj = 0;
32783 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32784 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32785 bool result;
32786 void *argp1 = 0 ;
32787 int res1 = 0 ;
32788 void *argp2 = 0 ;
32789 int res2 = 0 ;
32790 PyObject * obj0 = 0 ;
32791 PyObject * obj1 = 0 ;
32792 char * kwnames[] = {
32793 (char *) "self",(char *) "other", NULL
32794 };
32795
32796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32798 if (!SWIG_IsOK(res1)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32800 }
32801 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32802 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32803 if (!SWIG_IsOK(res2)) {
32804 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32805 }
32806 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32807 {
32808 PyThreadState* __tstate = wxPyBeginAllowThreads();
32809 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32810 wxPyEndAllowThreads(__tstate);
32811 if (PyErr_Occurred()) SWIG_fail;
32812 }
32813 {
32814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32815 }
32816 return resultobj;
32817 fail:
32818 return NULL;
32819 }
32820
32821
32822 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32823 PyObject *resultobj = 0;
32824 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32825 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32826 bool result;
32827 void *argp1 = 0 ;
32828 int res1 = 0 ;
32829 void *argp2 = 0 ;
32830 int res2 = 0 ;
32831 PyObject * obj0 = 0 ;
32832 PyObject * obj1 = 0 ;
32833 char * kwnames[] = {
32834 (char *) "self",(char *) "other", NULL
32835 };
32836
32837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32839 if (!SWIG_IsOK(res1)) {
32840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32841 }
32842 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32843 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32844 if (!SWIG_IsOK(res2)) {
32845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32846 }
32847 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32848 {
32849 PyThreadState* __tstate = wxPyBeginAllowThreads();
32850 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32851 wxPyEndAllowThreads(__tstate);
32852 if (PyErr_Occurred()) SWIG_fail;
32853 }
32854 {
32855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32856 }
32857 return resultobj;
32858 fail:
32859 return NULL;
32860 }
32861
32862
32863 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32864 PyObject *resultobj = 0;
32865 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32866 void *arg2 = (void *) 0 ;
32867 void *argp1 = 0 ;
32868 int res1 = 0 ;
32869 int res2 ;
32870 PyObject *swig_obj[2] ;
32871
32872 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32874 if (!SWIG_IsOK(res1)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32876 }
32877 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32878 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32879 if (!SWIG_IsOK(res2)) {
32880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32881 }
32882 if (arg1) (arg1)->m_pItem = arg2;
32883
32884 resultobj = SWIG_Py_Void();
32885 return resultobj;
32886 fail:
32887 return NULL;
32888 }
32889
32890
32891 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32892 PyObject *resultobj = 0;
32893 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32894 void *result = 0 ;
32895 void *argp1 = 0 ;
32896 int res1 = 0 ;
32897 PyObject *swig_obj[1] ;
32898
32899 if (!args) SWIG_fail;
32900 swig_obj[0] = args;
32901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32902 if (!SWIG_IsOK(res1)) {
32903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32904 }
32905 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32906 result = (void *) ((arg1)->m_pItem);
32907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32908 return resultobj;
32909 fail:
32910 return NULL;
32911 }
32912
32913
32914 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32915 PyObject *obj;
32916 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32917 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32918 return SWIG_Py_Void();
32919 }
32920
32921 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32922 return SWIG_Python_InitShadowInstance(args);
32923 }
32924
32925 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32926 PyObject *resultobj = 0;
32927 PyObject *arg1 = (PyObject *) NULL ;
32928 wxPyTreeItemData *result = 0 ;
32929 PyObject * obj0 = 0 ;
32930 char * kwnames[] = {
32931 (char *) "obj", NULL
32932 };
32933
32934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32935 if (obj0) {
32936 arg1 = obj0;
32937 }
32938 {
32939 PyThreadState* __tstate = wxPyBeginAllowThreads();
32940 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32941 wxPyEndAllowThreads(__tstate);
32942 if (PyErr_Occurred()) SWIG_fail;
32943 }
32944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32945 return resultobj;
32946 fail:
32947 return NULL;
32948 }
32949
32950
32951 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32952 PyObject *resultobj = 0;
32953 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32954 void *argp1 = 0 ;
32955 int res1 = 0 ;
32956 PyObject *swig_obj[1] ;
32957
32958 if (!args) SWIG_fail;
32959 swig_obj[0] = args;
32960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32961 if (!SWIG_IsOK(res1)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32963 }
32964 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32965 {
32966 PyThreadState* __tstate = wxPyBeginAllowThreads();
32967 delete arg1;
32968
32969 wxPyEndAllowThreads(__tstate);
32970 if (PyErr_Occurred()) SWIG_fail;
32971 }
32972 resultobj = SWIG_Py_Void();
32973 return resultobj;
32974 fail:
32975 return NULL;
32976 }
32977
32978
32979 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32980 PyObject *resultobj = 0;
32981 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32982 PyObject *result = 0 ;
32983 void *argp1 = 0 ;
32984 int res1 = 0 ;
32985 PyObject *swig_obj[1] ;
32986
32987 if (!args) SWIG_fail;
32988 swig_obj[0] = args;
32989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32990 if (!SWIG_IsOK(res1)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32992 }
32993 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32994 {
32995 PyThreadState* __tstate = wxPyBeginAllowThreads();
32996 result = (PyObject *)(arg1)->GetData();
32997 wxPyEndAllowThreads(__tstate);
32998 if (PyErr_Occurred()) SWIG_fail;
32999 }
33000 resultobj = result;
33001 return resultobj;
33002 fail:
33003 return NULL;
33004 }
33005
33006
33007 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33008 PyObject *resultobj = 0;
33009 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33010 PyObject *arg2 = (PyObject *) 0 ;
33011 void *argp1 = 0 ;
33012 int res1 = 0 ;
33013 PyObject * obj0 = 0 ;
33014 PyObject * obj1 = 0 ;
33015 char * kwnames[] = {
33016 (char *) "self",(char *) "obj", NULL
33017 };
33018
33019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33021 if (!SWIG_IsOK(res1)) {
33022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33023 }
33024 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33025 arg2 = obj1;
33026 {
33027 PyThreadState* __tstate = wxPyBeginAllowThreads();
33028 (arg1)->SetData(arg2);
33029 wxPyEndAllowThreads(__tstate);
33030 if (PyErr_Occurred()) SWIG_fail;
33031 }
33032 resultobj = SWIG_Py_Void();
33033 return resultobj;
33034 fail:
33035 return NULL;
33036 }
33037
33038
33039 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33040 PyObject *resultobj = 0;
33041 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33042 wxTreeItemId *result = 0 ;
33043 void *argp1 = 0 ;
33044 int res1 = 0 ;
33045 PyObject *swig_obj[1] ;
33046
33047 if (!args) SWIG_fail;
33048 swig_obj[0] = args;
33049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33050 if (!SWIG_IsOK(res1)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33052 }
33053 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33054 {
33055 PyThreadState* __tstate = wxPyBeginAllowThreads();
33056 {
33057 wxTreeItemId const &_result_ref = (arg1)->GetId();
33058 result = (wxTreeItemId *) &_result_ref;
33059 }
33060 wxPyEndAllowThreads(__tstate);
33061 if (PyErr_Occurred()) SWIG_fail;
33062 }
33063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33064 return resultobj;
33065 fail:
33066 return NULL;
33067 }
33068
33069
33070 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33071 PyObject *resultobj = 0;
33072 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33073 wxTreeItemId *arg2 = 0 ;
33074 void *argp1 = 0 ;
33075 int res1 = 0 ;
33076 void *argp2 = 0 ;
33077 int res2 = 0 ;
33078 PyObject * obj0 = 0 ;
33079 PyObject * obj1 = 0 ;
33080 char * kwnames[] = {
33081 (char *) "self",(char *) "id", NULL
33082 };
33083
33084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33086 if (!SWIG_IsOK(res1)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33088 }
33089 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33090 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33091 if (!SWIG_IsOK(res2)) {
33092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33093 }
33094 if (!argp2) {
33095 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33096 }
33097 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33098 {
33099 PyThreadState* __tstate = wxPyBeginAllowThreads();
33100 (arg1)->SetId((wxTreeItemId const &)*arg2);
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
33104 resultobj = SWIG_Py_Void();
33105 return resultobj;
33106 fail:
33107 return NULL;
33108 }
33109
33110
33111 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33112 PyObject *resultobj = 0;
33113 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33114 void *argp1 = 0 ;
33115 int res1 = 0 ;
33116 PyObject *swig_obj[1] ;
33117
33118 if (!args) SWIG_fail;
33119 swig_obj[0] = args;
33120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33121 if (!SWIG_IsOK(res1)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33123 }
33124 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33125 {
33126 PyThreadState* __tstate = wxPyBeginAllowThreads();
33127 wxPyTreeItemData_Destroy(arg1);
33128 wxPyEndAllowThreads(__tstate);
33129 if (PyErr_Occurred()) SWIG_fail;
33130 }
33131 resultobj = SWIG_Py_Void();
33132 return resultobj;
33133 fail:
33134 return NULL;
33135 }
33136
33137
33138 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33139 PyObject *obj;
33140 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33142 return SWIG_Py_Void();
33143 }
33144
33145 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33146 return SWIG_Python_InitShadowInstance(args);
33147 }
33148
33149 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33150 {
33151 void *argp = 0;
33152 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33153 if (!SWIG_IsOK(res)) {
33154 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33155 }
33156 if (!argp) {
33157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33158 } else {
33159 wxTreeItemId * temp;
33160 temp = reinterpret_cast< wxTreeItemId * >(argp);
33161 wxNullTreeItemId = *temp;
33162 if (SWIG_IsNewObj(res)) delete temp;
33163 }
33164 }
33165 return 0;
33166 fail:
33167 return 1;
33168 }
33169
33170
33171 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33172 PyObject *pyobj = 0;
33173
33174 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33175 return pyobj;
33176 }
33177
33178
33179 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33180 PyObject *resultobj = 0;
33181 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33182 int arg2 = (int) 0 ;
33183 wxTreeEvent *result = 0 ;
33184 int val1 ;
33185 int ecode1 = 0 ;
33186 int val2 ;
33187 int ecode2 = 0 ;
33188
33189 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33190 if (swig_obj[0]) {
33191 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33192 if (!SWIG_IsOK(ecode1)) {
33193 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33194 }
33195 arg1 = static_cast< wxEventType >(val1);
33196 }
33197 if (swig_obj[1]) {
33198 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33199 if (!SWIG_IsOK(ecode2)) {
33200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33201 }
33202 arg2 = static_cast< int >(val2);
33203 }
33204 {
33205 PyThreadState* __tstate = wxPyBeginAllowThreads();
33206 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33207 wxPyEndAllowThreads(__tstate);
33208 if (PyErr_Occurred()) SWIG_fail;
33209 }
33210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33211 return resultobj;
33212 fail:
33213 return NULL;
33214 }
33215
33216
33217 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33218 PyObject *resultobj = 0;
33219 wxEventType arg1 ;
33220 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33221 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33222 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33223 wxTreeEvent *result = 0 ;
33224 int val1 ;
33225 int ecode1 = 0 ;
33226 void *argp2 = 0 ;
33227 int res2 = 0 ;
33228 void *argp3 = 0 ;
33229 int res3 = 0 ;
33230
33231 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33232 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33233 if (!SWIG_IsOK(ecode1)) {
33234 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33235 }
33236 arg1 = static_cast< wxEventType >(val1);
33237 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33238 if (!SWIG_IsOK(res2)) {
33239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33240 }
33241 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33242 if (swig_obj[2]) {
33243 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33244 if (!SWIG_IsOK(res3)) {
33245 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33246 }
33247 if (!argp3) {
33248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33249 }
33250 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33251 }
33252 {
33253 PyThreadState* __tstate = wxPyBeginAllowThreads();
33254 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33255 wxPyEndAllowThreads(__tstate);
33256 if (PyErr_Occurred()) SWIG_fail;
33257 }
33258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33259 return resultobj;
33260 fail:
33261 return NULL;
33262 }
33263
33264
33265 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33266 int argc;
33267 PyObject *argv[4];
33268
33269 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33270 --argc;
33271 if ((argc >= 0) && (argc <= 2)) {
33272 int _v = 0;
33273 if (argc > 1) {
33274 {
33275 {
33276 int res = SWIG_AsVal_int(argv[1], NULL);
33277 _v = SWIG_CheckState(res);
33278 }
33279 }
33280 if (!_v) goto check_1;
33281 }
33282 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33283 }
33284 check_1:
33285
33286 if ((argc >= 2) && (argc <= 3)) {
33287 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33288 }
33289
33290 fail:
33291 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33292 return NULL;
33293 }
33294
33295
33296 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33297 PyObject *resultobj = 0;
33298 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33299 wxTreeItemId result;
33300 void *argp1 = 0 ;
33301 int res1 = 0 ;
33302 PyObject *swig_obj[1] ;
33303
33304 if (!args) SWIG_fail;
33305 swig_obj[0] = args;
33306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33307 if (!SWIG_IsOK(res1)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33309 }
33310 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33311 {
33312 PyThreadState* __tstate = wxPyBeginAllowThreads();
33313 result = ((wxTreeEvent const *)arg1)->GetItem();
33314 wxPyEndAllowThreads(__tstate);
33315 if (PyErr_Occurred()) SWIG_fail;
33316 }
33317 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33318 return resultobj;
33319 fail:
33320 return NULL;
33321 }
33322
33323
33324 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33325 PyObject *resultobj = 0;
33326 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33327 wxTreeItemId *arg2 = 0 ;
33328 void *argp1 = 0 ;
33329 int res1 = 0 ;
33330 void *argp2 = 0 ;
33331 int res2 = 0 ;
33332 PyObject * obj0 = 0 ;
33333 PyObject * obj1 = 0 ;
33334 char * kwnames[] = {
33335 (char *) "self",(char *) "item", NULL
33336 };
33337
33338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33340 if (!SWIG_IsOK(res1)) {
33341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33342 }
33343 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33344 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33345 if (!SWIG_IsOK(res2)) {
33346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33347 }
33348 if (!argp2) {
33349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33350 }
33351 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33352 {
33353 PyThreadState* __tstate = wxPyBeginAllowThreads();
33354 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33355 wxPyEndAllowThreads(__tstate);
33356 if (PyErr_Occurred()) SWIG_fail;
33357 }
33358 resultobj = SWIG_Py_Void();
33359 return resultobj;
33360 fail:
33361 return NULL;
33362 }
33363
33364
33365 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33366 PyObject *resultobj = 0;
33367 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33368 wxTreeItemId result;
33369 void *argp1 = 0 ;
33370 int res1 = 0 ;
33371 PyObject *swig_obj[1] ;
33372
33373 if (!args) SWIG_fail;
33374 swig_obj[0] = args;
33375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33376 if (!SWIG_IsOK(res1)) {
33377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33378 }
33379 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33380 {
33381 PyThreadState* __tstate = wxPyBeginAllowThreads();
33382 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33383 wxPyEndAllowThreads(__tstate);
33384 if (PyErr_Occurred()) SWIG_fail;
33385 }
33386 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33387 return resultobj;
33388 fail:
33389 return NULL;
33390 }
33391
33392
33393 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33394 PyObject *resultobj = 0;
33395 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33396 wxTreeItemId *arg2 = 0 ;
33397 void *argp1 = 0 ;
33398 int res1 = 0 ;
33399 void *argp2 = 0 ;
33400 int res2 = 0 ;
33401 PyObject * obj0 = 0 ;
33402 PyObject * obj1 = 0 ;
33403 char * kwnames[] = {
33404 (char *) "self",(char *) "item", NULL
33405 };
33406
33407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33409 if (!SWIG_IsOK(res1)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33411 }
33412 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33413 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33414 if (!SWIG_IsOK(res2)) {
33415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33416 }
33417 if (!argp2) {
33418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33419 }
33420 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33421 {
33422 PyThreadState* __tstate = wxPyBeginAllowThreads();
33423 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33424 wxPyEndAllowThreads(__tstate);
33425 if (PyErr_Occurred()) SWIG_fail;
33426 }
33427 resultobj = SWIG_Py_Void();
33428 return resultobj;
33429 fail:
33430 return NULL;
33431 }
33432
33433
33434 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33435 PyObject *resultobj = 0;
33436 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33437 wxPoint result;
33438 void *argp1 = 0 ;
33439 int res1 = 0 ;
33440 PyObject *swig_obj[1] ;
33441
33442 if (!args) SWIG_fail;
33443 swig_obj[0] = args;
33444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33445 if (!SWIG_IsOK(res1)) {
33446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33447 }
33448 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33449 {
33450 PyThreadState* __tstate = wxPyBeginAllowThreads();
33451 result = ((wxTreeEvent const *)arg1)->GetPoint();
33452 wxPyEndAllowThreads(__tstate);
33453 if (PyErr_Occurred()) SWIG_fail;
33454 }
33455 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33456 return resultobj;
33457 fail:
33458 return NULL;
33459 }
33460
33461
33462 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33463 PyObject *resultobj = 0;
33464 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33465 wxPoint *arg2 = 0 ;
33466 void *argp1 = 0 ;
33467 int res1 = 0 ;
33468 wxPoint temp2 ;
33469 PyObject * obj0 = 0 ;
33470 PyObject * obj1 = 0 ;
33471 char * kwnames[] = {
33472 (char *) "self",(char *) "pt", NULL
33473 };
33474
33475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33477 if (!SWIG_IsOK(res1)) {
33478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33479 }
33480 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33481 {
33482 arg2 = &temp2;
33483 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33484 }
33485 {
33486 PyThreadState* __tstate = wxPyBeginAllowThreads();
33487 (arg1)->SetPoint((wxPoint const &)*arg2);
33488 wxPyEndAllowThreads(__tstate);
33489 if (PyErr_Occurred()) SWIG_fail;
33490 }
33491 resultobj = SWIG_Py_Void();
33492 return resultobj;
33493 fail:
33494 return NULL;
33495 }
33496
33497
33498 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33499 PyObject *resultobj = 0;
33500 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33501 wxKeyEvent *result = 0 ;
33502 void *argp1 = 0 ;
33503 int res1 = 0 ;
33504 PyObject *swig_obj[1] ;
33505
33506 if (!args) SWIG_fail;
33507 swig_obj[0] = args;
33508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33509 if (!SWIG_IsOK(res1)) {
33510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33511 }
33512 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33513 {
33514 PyThreadState* __tstate = wxPyBeginAllowThreads();
33515 {
33516 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33517 result = (wxKeyEvent *) &_result_ref;
33518 }
33519 wxPyEndAllowThreads(__tstate);
33520 if (PyErr_Occurred()) SWIG_fail;
33521 }
33522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33523 return resultobj;
33524 fail:
33525 return NULL;
33526 }
33527
33528
33529 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33530 PyObject *resultobj = 0;
33531 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33532 int result;
33533 void *argp1 = 0 ;
33534 int res1 = 0 ;
33535 PyObject *swig_obj[1] ;
33536
33537 if (!args) SWIG_fail;
33538 swig_obj[0] = args;
33539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33540 if (!SWIG_IsOK(res1)) {
33541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33542 }
33543 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33544 {
33545 PyThreadState* __tstate = wxPyBeginAllowThreads();
33546 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33547 wxPyEndAllowThreads(__tstate);
33548 if (PyErr_Occurred()) SWIG_fail;
33549 }
33550 resultobj = SWIG_From_int(static_cast< int >(result));
33551 return resultobj;
33552 fail:
33553 return NULL;
33554 }
33555
33556
33557 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33558 PyObject *resultobj = 0;
33559 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33560 wxKeyEvent *arg2 = 0 ;
33561 void *argp1 = 0 ;
33562 int res1 = 0 ;
33563 void *argp2 = 0 ;
33564 int res2 = 0 ;
33565 PyObject * obj0 = 0 ;
33566 PyObject * obj1 = 0 ;
33567 char * kwnames[] = {
33568 (char *) "self",(char *) "evt", NULL
33569 };
33570
33571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33573 if (!SWIG_IsOK(res1)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33575 }
33576 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33577 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33578 if (!SWIG_IsOK(res2)) {
33579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33580 }
33581 if (!argp2) {
33582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33583 }
33584 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33585 {
33586 PyThreadState* __tstate = wxPyBeginAllowThreads();
33587 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33588 wxPyEndAllowThreads(__tstate);
33589 if (PyErr_Occurred()) SWIG_fail;
33590 }
33591 resultobj = SWIG_Py_Void();
33592 return resultobj;
33593 fail:
33594 return NULL;
33595 }
33596
33597
33598 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33599 PyObject *resultobj = 0;
33600 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33601 wxString *result = 0 ;
33602 void *argp1 = 0 ;
33603 int res1 = 0 ;
33604 PyObject *swig_obj[1] ;
33605
33606 if (!args) SWIG_fail;
33607 swig_obj[0] = args;
33608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33609 if (!SWIG_IsOK(res1)) {
33610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33611 }
33612 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33613 {
33614 PyThreadState* __tstate = wxPyBeginAllowThreads();
33615 {
33616 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33617 result = (wxString *) &_result_ref;
33618 }
33619 wxPyEndAllowThreads(__tstate);
33620 if (PyErr_Occurred()) SWIG_fail;
33621 }
33622 {
33623 #if wxUSE_UNICODE
33624 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33625 #else
33626 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33627 #endif
33628 }
33629 return resultobj;
33630 fail:
33631 return NULL;
33632 }
33633
33634
33635 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33636 PyObject *resultobj = 0;
33637 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33638 wxString *arg2 = 0 ;
33639 void *argp1 = 0 ;
33640 int res1 = 0 ;
33641 bool temp2 = false ;
33642 PyObject * obj0 = 0 ;
33643 PyObject * obj1 = 0 ;
33644 char * kwnames[] = {
33645 (char *) "self",(char *) "label", NULL
33646 };
33647
33648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33650 if (!SWIG_IsOK(res1)) {
33651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33652 }
33653 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33654 {
33655 arg2 = wxString_in_helper(obj1);
33656 if (arg2 == NULL) SWIG_fail;
33657 temp2 = true;
33658 }
33659 {
33660 PyThreadState* __tstate = wxPyBeginAllowThreads();
33661 (arg1)->SetLabel((wxString const &)*arg2);
33662 wxPyEndAllowThreads(__tstate);
33663 if (PyErr_Occurred()) SWIG_fail;
33664 }
33665 resultobj = SWIG_Py_Void();
33666 {
33667 if (temp2)
33668 delete arg2;
33669 }
33670 return resultobj;
33671 fail:
33672 {
33673 if (temp2)
33674 delete arg2;
33675 }
33676 return NULL;
33677 }
33678
33679
33680 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33681 PyObject *resultobj = 0;
33682 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33683 bool result;
33684 void *argp1 = 0 ;
33685 int res1 = 0 ;
33686 PyObject *swig_obj[1] ;
33687
33688 if (!args) SWIG_fail;
33689 swig_obj[0] = args;
33690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33691 if (!SWIG_IsOK(res1)) {
33692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33693 }
33694 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33695 {
33696 PyThreadState* __tstate = wxPyBeginAllowThreads();
33697 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33698 wxPyEndAllowThreads(__tstate);
33699 if (PyErr_Occurred()) SWIG_fail;
33700 }
33701 {
33702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33703 }
33704 return resultobj;
33705 fail:
33706 return NULL;
33707 }
33708
33709
33710 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33711 PyObject *resultobj = 0;
33712 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33713 bool arg2 ;
33714 void *argp1 = 0 ;
33715 int res1 = 0 ;
33716 bool val2 ;
33717 int ecode2 = 0 ;
33718 PyObject * obj0 = 0 ;
33719 PyObject * obj1 = 0 ;
33720 char * kwnames[] = {
33721 (char *) "self",(char *) "editCancelled", NULL
33722 };
33723
33724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33726 if (!SWIG_IsOK(res1)) {
33727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33728 }
33729 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33730 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33731 if (!SWIG_IsOK(ecode2)) {
33732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33733 }
33734 arg2 = static_cast< bool >(val2);
33735 {
33736 PyThreadState* __tstate = wxPyBeginAllowThreads();
33737 (arg1)->SetEditCanceled(arg2);
33738 wxPyEndAllowThreads(__tstate);
33739 if (PyErr_Occurred()) SWIG_fail;
33740 }
33741 resultobj = SWIG_Py_Void();
33742 return resultobj;
33743 fail:
33744 return NULL;
33745 }
33746
33747
33748 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33749 PyObject *resultobj = 0;
33750 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33751 wxString *arg2 = 0 ;
33752 void *argp1 = 0 ;
33753 int res1 = 0 ;
33754 bool temp2 = false ;
33755 PyObject * obj0 = 0 ;
33756 PyObject * obj1 = 0 ;
33757 char * kwnames[] = {
33758 (char *) "self",(char *) "toolTip", NULL
33759 };
33760
33761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33763 if (!SWIG_IsOK(res1)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33765 }
33766 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33767 {
33768 arg2 = wxString_in_helper(obj1);
33769 if (arg2 == NULL) SWIG_fail;
33770 temp2 = true;
33771 }
33772 {
33773 PyThreadState* __tstate = wxPyBeginAllowThreads();
33774 (arg1)->SetToolTip((wxString const &)*arg2);
33775 wxPyEndAllowThreads(__tstate);
33776 if (PyErr_Occurred()) SWIG_fail;
33777 }
33778 resultobj = SWIG_Py_Void();
33779 {
33780 if (temp2)
33781 delete arg2;
33782 }
33783 return resultobj;
33784 fail:
33785 {
33786 if (temp2)
33787 delete arg2;
33788 }
33789 return NULL;
33790 }
33791
33792
33793 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33794 PyObject *resultobj = 0;
33795 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33796 wxString result;
33797 void *argp1 = 0 ;
33798 int res1 = 0 ;
33799 PyObject *swig_obj[1] ;
33800
33801 if (!args) SWIG_fail;
33802 swig_obj[0] = args;
33803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33804 if (!SWIG_IsOK(res1)) {
33805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33806 }
33807 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33808 {
33809 PyThreadState* __tstate = wxPyBeginAllowThreads();
33810 result = (arg1)->GetToolTip();
33811 wxPyEndAllowThreads(__tstate);
33812 if (PyErr_Occurred()) SWIG_fail;
33813 }
33814 {
33815 #if wxUSE_UNICODE
33816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33817 #else
33818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33819 #endif
33820 }
33821 return resultobj;
33822 fail:
33823 return NULL;
33824 }
33825
33826
33827 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33828 PyObject *obj;
33829 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33830 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33831 return SWIG_Py_Void();
33832 }
33833
33834 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33835 return SWIG_Python_InitShadowInstance(args);
33836 }
33837
33838 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33839 PyObject *resultobj = 0;
33840 wxWindow *arg1 = (wxWindow *) 0 ;
33841 int arg2 = (int) -1 ;
33842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33844 wxSize const &arg4_defvalue = wxDefaultSize ;
33845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33846 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33847 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33848 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33849 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33850 wxString *arg7 = (wxString *) &arg7_defvalue ;
33851 wxPyTreeCtrl *result = 0 ;
33852 void *argp1 = 0 ;
33853 int res1 = 0 ;
33854 int val2 ;
33855 int ecode2 = 0 ;
33856 wxPoint temp3 ;
33857 wxSize temp4 ;
33858 long val5 ;
33859 int ecode5 = 0 ;
33860 void *argp6 = 0 ;
33861 int res6 = 0 ;
33862 bool temp7 = false ;
33863 PyObject * obj0 = 0 ;
33864 PyObject * obj1 = 0 ;
33865 PyObject * obj2 = 0 ;
33866 PyObject * obj3 = 0 ;
33867 PyObject * obj4 = 0 ;
33868 PyObject * obj5 = 0 ;
33869 PyObject * obj6 = 0 ;
33870 char * kwnames[] = {
33871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33872 };
33873
33874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33876 if (!SWIG_IsOK(res1)) {
33877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33878 }
33879 arg1 = reinterpret_cast< wxWindow * >(argp1);
33880 if (obj1) {
33881 ecode2 = SWIG_AsVal_int(obj1, &val2);
33882 if (!SWIG_IsOK(ecode2)) {
33883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33884 }
33885 arg2 = static_cast< int >(val2);
33886 }
33887 if (obj2) {
33888 {
33889 arg3 = &temp3;
33890 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33891 }
33892 }
33893 if (obj3) {
33894 {
33895 arg4 = &temp4;
33896 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33897 }
33898 }
33899 if (obj4) {
33900 ecode5 = SWIG_AsVal_long(obj4, &val5);
33901 if (!SWIG_IsOK(ecode5)) {
33902 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33903 }
33904 arg5 = static_cast< long >(val5);
33905 }
33906 if (obj5) {
33907 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33908 if (!SWIG_IsOK(res6)) {
33909 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33910 }
33911 if (!argp6) {
33912 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33913 }
33914 arg6 = reinterpret_cast< wxValidator * >(argp6);
33915 }
33916 if (obj6) {
33917 {
33918 arg7 = wxString_in_helper(obj6);
33919 if (arg7 == NULL) SWIG_fail;
33920 temp7 = true;
33921 }
33922 }
33923 {
33924 if (!wxPyCheckForApp()) SWIG_fail;
33925 PyThreadState* __tstate = wxPyBeginAllowThreads();
33926 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33927 wxPyEndAllowThreads(__tstate);
33928 if (PyErr_Occurred()) SWIG_fail;
33929 }
33930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33931 {
33932 if (temp7)
33933 delete arg7;
33934 }
33935 return resultobj;
33936 fail:
33937 {
33938 if (temp7)
33939 delete arg7;
33940 }
33941 return NULL;
33942 }
33943
33944
33945 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33946 PyObject *resultobj = 0;
33947 wxPyTreeCtrl *result = 0 ;
33948
33949 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33950 {
33951 if (!wxPyCheckForApp()) SWIG_fail;
33952 PyThreadState* __tstate = wxPyBeginAllowThreads();
33953 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33954 wxPyEndAllowThreads(__tstate);
33955 if (PyErr_Occurred()) SWIG_fail;
33956 }
33957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33958 return resultobj;
33959 fail:
33960 return NULL;
33961 }
33962
33963
33964 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33965 PyObject *resultobj = 0;
33966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33967 wxWindow *arg2 = (wxWindow *) 0 ;
33968 int arg3 = (int) -1 ;
33969 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33970 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33971 wxSize const &arg5_defvalue = wxDefaultSize ;
33972 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33973 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33974 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33975 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33976 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33977 wxString *arg8 = (wxString *) &arg8_defvalue ;
33978 bool result;
33979 void *argp1 = 0 ;
33980 int res1 = 0 ;
33981 void *argp2 = 0 ;
33982 int res2 = 0 ;
33983 int val3 ;
33984 int ecode3 = 0 ;
33985 wxPoint temp4 ;
33986 wxSize temp5 ;
33987 long val6 ;
33988 int ecode6 = 0 ;
33989 void *argp7 = 0 ;
33990 int res7 = 0 ;
33991 bool temp8 = false ;
33992 PyObject * obj0 = 0 ;
33993 PyObject * obj1 = 0 ;
33994 PyObject * obj2 = 0 ;
33995 PyObject * obj3 = 0 ;
33996 PyObject * obj4 = 0 ;
33997 PyObject * obj5 = 0 ;
33998 PyObject * obj6 = 0 ;
33999 PyObject * obj7 = 0 ;
34000 char * kwnames[] = {
34001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34002 };
34003
34004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34006 if (!SWIG_IsOK(res1)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34008 }
34009 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34011 if (!SWIG_IsOK(res2)) {
34012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34013 }
34014 arg2 = reinterpret_cast< wxWindow * >(argp2);
34015 if (obj2) {
34016 ecode3 = SWIG_AsVal_int(obj2, &val3);
34017 if (!SWIG_IsOK(ecode3)) {
34018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34019 }
34020 arg3 = static_cast< int >(val3);
34021 }
34022 if (obj3) {
34023 {
34024 arg4 = &temp4;
34025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34026 }
34027 }
34028 if (obj4) {
34029 {
34030 arg5 = &temp5;
34031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34032 }
34033 }
34034 if (obj5) {
34035 ecode6 = SWIG_AsVal_long(obj5, &val6);
34036 if (!SWIG_IsOK(ecode6)) {
34037 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34038 }
34039 arg6 = static_cast< long >(val6);
34040 }
34041 if (obj6) {
34042 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34043 if (!SWIG_IsOK(res7)) {
34044 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34045 }
34046 if (!argp7) {
34047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34048 }
34049 arg7 = reinterpret_cast< wxValidator * >(argp7);
34050 }
34051 if (obj7) {
34052 {
34053 arg8 = wxString_in_helper(obj7);
34054 if (arg8 == NULL) SWIG_fail;
34055 temp8 = true;
34056 }
34057 }
34058 {
34059 PyThreadState* __tstate = wxPyBeginAllowThreads();
34060 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34061 wxPyEndAllowThreads(__tstate);
34062 if (PyErr_Occurred()) SWIG_fail;
34063 }
34064 {
34065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34066 }
34067 {
34068 if (temp8)
34069 delete arg8;
34070 }
34071 return resultobj;
34072 fail:
34073 {
34074 if (temp8)
34075 delete arg8;
34076 }
34077 return NULL;
34078 }
34079
34080
34081 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34082 PyObject *resultobj = 0;
34083 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34084 PyObject *arg2 = (PyObject *) 0 ;
34085 PyObject *arg3 = (PyObject *) 0 ;
34086 void *argp1 = 0 ;
34087 int res1 = 0 ;
34088 PyObject * obj0 = 0 ;
34089 PyObject * obj1 = 0 ;
34090 PyObject * obj2 = 0 ;
34091 char * kwnames[] = {
34092 (char *) "self",(char *) "self",(char *) "_class", NULL
34093 };
34094
34095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34097 if (!SWIG_IsOK(res1)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34099 }
34100 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34101 arg2 = obj1;
34102 arg3 = obj2;
34103 {
34104 PyThreadState* __tstate = wxPyBeginAllowThreads();
34105 (arg1)->_setCallbackInfo(arg2,arg3);
34106 wxPyEndAllowThreads(__tstate);
34107 if (PyErr_Occurred()) SWIG_fail;
34108 }
34109 resultobj = SWIG_Py_Void();
34110 return resultobj;
34111 fail:
34112 return NULL;
34113 }
34114
34115
34116 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34117 PyObject *resultobj = 0;
34118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34119 unsigned int result;
34120 void *argp1 = 0 ;
34121 int res1 = 0 ;
34122 PyObject *swig_obj[1] ;
34123
34124 if (!args) SWIG_fail;
34125 swig_obj[0] = args;
34126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34127 if (!SWIG_IsOK(res1)) {
34128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34129 }
34130 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34131 {
34132 PyThreadState* __tstate = wxPyBeginAllowThreads();
34133 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34134 wxPyEndAllowThreads(__tstate);
34135 if (PyErr_Occurred()) SWIG_fail;
34136 }
34137 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34138 return resultobj;
34139 fail:
34140 return NULL;
34141 }
34142
34143
34144 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34145 PyObject *resultobj = 0;
34146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34147 unsigned int result;
34148 void *argp1 = 0 ;
34149 int res1 = 0 ;
34150 PyObject *swig_obj[1] ;
34151
34152 if (!args) SWIG_fail;
34153 swig_obj[0] = args;
34154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34155 if (!SWIG_IsOK(res1)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34157 }
34158 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34159 {
34160 PyThreadState* __tstate = wxPyBeginAllowThreads();
34161 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34162 wxPyEndAllowThreads(__tstate);
34163 if (PyErr_Occurred()) SWIG_fail;
34164 }
34165 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34166 return resultobj;
34167 fail:
34168 return NULL;
34169 }
34170
34171
34172 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34173 PyObject *resultobj = 0;
34174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34175 unsigned int arg2 ;
34176 void *argp1 = 0 ;
34177 int res1 = 0 ;
34178 unsigned int val2 ;
34179 int ecode2 = 0 ;
34180 PyObject * obj0 = 0 ;
34181 PyObject * obj1 = 0 ;
34182 char * kwnames[] = {
34183 (char *) "self",(char *) "indent", NULL
34184 };
34185
34186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34188 if (!SWIG_IsOK(res1)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34190 }
34191 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34192 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34193 if (!SWIG_IsOK(ecode2)) {
34194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34195 }
34196 arg2 = static_cast< unsigned int >(val2);
34197 {
34198 PyThreadState* __tstate = wxPyBeginAllowThreads();
34199 (arg1)->SetIndent(arg2);
34200 wxPyEndAllowThreads(__tstate);
34201 if (PyErr_Occurred()) SWIG_fail;
34202 }
34203 resultobj = SWIG_Py_Void();
34204 return resultobj;
34205 fail:
34206 return NULL;
34207 }
34208
34209
34210 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34211 PyObject *resultobj = 0;
34212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34213 unsigned int result;
34214 void *argp1 = 0 ;
34215 int res1 = 0 ;
34216 PyObject *swig_obj[1] ;
34217
34218 if (!args) SWIG_fail;
34219 swig_obj[0] = args;
34220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34221 if (!SWIG_IsOK(res1)) {
34222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34223 }
34224 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34225 {
34226 PyThreadState* __tstate = wxPyBeginAllowThreads();
34227 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34228 wxPyEndAllowThreads(__tstate);
34229 if (PyErr_Occurred()) SWIG_fail;
34230 }
34231 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34232 return resultobj;
34233 fail:
34234 return NULL;
34235 }
34236
34237
34238 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34239 PyObject *resultobj = 0;
34240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34241 unsigned int arg2 ;
34242 void *argp1 = 0 ;
34243 int res1 = 0 ;
34244 unsigned int val2 ;
34245 int ecode2 = 0 ;
34246 PyObject * obj0 = 0 ;
34247 PyObject * obj1 = 0 ;
34248 char * kwnames[] = {
34249 (char *) "self",(char *) "spacing", NULL
34250 };
34251
34252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34254 if (!SWIG_IsOK(res1)) {
34255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34256 }
34257 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34258 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34259 if (!SWIG_IsOK(ecode2)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34261 }
34262 arg2 = static_cast< unsigned int >(val2);
34263 {
34264 PyThreadState* __tstate = wxPyBeginAllowThreads();
34265 (arg1)->SetSpacing(arg2);
34266 wxPyEndAllowThreads(__tstate);
34267 if (PyErr_Occurred()) SWIG_fail;
34268 }
34269 resultobj = SWIG_Py_Void();
34270 return resultobj;
34271 fail:
34272 return NULL;
34273 }
34274
34275
34276 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34277 PyObject *resultobj = 0;
34278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34279 wxImageList *result = 0 ;
34280 void *argp1 = 0 ;
34281 int res1 = 0 ;
34282 PyObject *swig_obj[1] ;
34283
34284 if (!args) SWIG_fail;
34285 swig_obj[0] = args;
34286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34287 if (!SWIG_IsOK(res1)) {
34288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34289 }
34290 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34291 {
34292 PyThreadState* __tstate = wxPyBeginAllowThreads();
34293 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34294 wxPyEndAllowThreads(__tstate);
34295 if (PyErr_Occurred()) SWIG_fail;
34296 }
34297 {
34298 resultobj = wxPyMake_wxObject(result, (bool)0);
34299 }
34300 return resultobj;
34301 fail:
34302 return NULL;
34303 }
34304
34305
34306 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34307 PyObject *resultobj = 0;
34308 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34309 wxImageList *result = 0 ;
34310 void *argp1 = 0 ;
34311 int res1 = 0 ;
34312 PyObject *swig_obj[1] ;
34313
34314 if (!args) SWIG_fail;
34315 swig_obj[0] = args;
34316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34317 if (!SWIG_IsOK(res1)) {
34318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34319 }
34320 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34321 {
34322 PyThreadState* __tstate = wxPyBeginAllowThreads();
34323 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34324 wxPyEndAllowThreads(__tstate);
34325 if (PyErr_Occurred()) SWIG_fail;
34326 }
34327 {
34328 resultobj = wxPyMake_wxObject(result, (bool)0);
34329 }
34330 return resultobj;
34331 fail:
34332 return NULL;
34333 }
34334
34335
34336 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34337 PyObject *resultobj = 0;
34338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34339 wxImageList *arg2 = (wxImageList *) 0 ;
34340 void *argp1 = 0 ;
34341 int res1 = 0 ;
34342 void *argp2 = 0 ;
34343 int res2 = 0 ;
34344 PyObject * obj0 = 0 ;
34345 PyObject * obj1 = 0 ;
34346 char * kwnames[] = {
34347 (char *) "self",(char *) "imageList", NULL
34348 };
34349
34350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34352 if (!SWIG_IsOK(res1)) {
34353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34354 }
34355 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34357 if (!SWIG_IsOK(res2)) {
34358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34359 }
34360 arg2 = reinterpret_cast< wxImageList * >(argp2);
34361 {
34362 PyThreadState* __tstate = wxPyBeginAllowThreads();
34363 (arg1)->SetImageList(arg2);
34364 wxPyEndAllowThreads(__tstate);
34365 if (PyErr_Occurred()) SWIG_fail;
34366 }
34367 resultobj = SWIG_Py_Void();
34368 return resultobj;
34369 fail:
34370 return NULL;
34371 }
34372
34373
34374 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34375 PyObject *resultobj = 0;
34376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34377 wxImageList *arg2 = (wxImageList *) 0 ;
34378 void *argp1 = 0 ;
34379 int res1 = 0 ;
34380 void *argp2 = 0 ;
34381 int res2 = 0 ;
34382 PyObject * obj0 = 0 ;
34383 PyObject * obj1 = 0 ;
34384 char * kwnames[] = {
34385 (char *) "self",(char *) "imageList", NULL
34386 };
34387
34388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34390 if (!SWIG_IsOK(res1)) {
34391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34392 }
34393 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34395 if (!SWIG_IsOK(res2)) {
34396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34397 }
34398 arg2 = reinterpret_cast< wxImageList * >(argp2);
34399 {
34400 PyThreadState* __tstate = wxPyBeginAllowThreads();
34401 (arg1)->SetStateImageList(arg2);
34402 wxPyEndAllowThreads(__tstate);
34403 if (PyErr_Occurred()) SWIG_fail;
34404 }
34405 resultobj = SWIG_Py_Void();
34406 return resultobj;
34407 fail:
34408 return NULL;
34409 }
34410
34411
34412 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34413 PyObject *resultobj = 0;
34414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34415 wxImageList *arg2 = (wxImageList *) 0 ;
34416 void *argp1 = 0 ;
34417 int res1 = 0 ;
34418 int res2 = 0 ;
34419 PyObject * obj0 = 0 ;
34420 PyObject * obj1 = 0 ;
34421 char * kwnames[] = {
34422 (char *) "self",(char *) "imageList", NULL
34423 };
34424
34425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34427 if (!SWIG_IsOK(res1)) {
34428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34429 }
34430 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34431 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34432 if (!SWIG_IsOK(res2)) {
34433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34434 }
34435 {
34436 PyThreadState* __tstate = wxPyBeginAllowThreads();
34437 (arg1)->AssignImageList(arg2);
34438 wxPyEndAllowThreads(__tstate);
34439 if (PyErr_Occurred()) SWIG_fail;
34440 }
34441 resultobj = SWIG_Py_Void();
34442 return resultobj;
34443 fail:
34444 return NULL;
34445 }
34446
34447
34448 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34449 PyObject *resultobj = 0;
34450 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34451 wxImageList *arg2 = (wxImageList *) 0 ;
34452 void *argp1 = 0 ;
34453 int res1 = 0 ;
34454 int res2 = 0 ;
34455 PyObject * obj0 = 0 ;
34456 PyObject * obj1 = 0 ;
34457 char * kwnames[] = {
34458 (char *) "self",(char *) "imageList", NULL
34459 };
34460
34461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34463 if (!SWIG_IsOK(res1)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34465 }
34466 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34467 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34468 if (!SWIG_IsOK(res2)) {
34469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34470 }
34471 {
34472 PyThreadState* __tstate = wxPyBeginAllowThreads();
34473 (arg1)->AssignStateImageList(arg2);
34474 wxPyEndAllowThreads(__tstate);
34475 if (PyErr_Occurred()) SWIG_fail;
34476 }
34477 resultobj = SWIG_Py_Void();
34478 return resultobj;
34479 fail:
34480 return NULL;
34481 }
34482
34483
34484 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34485 PyObject *resultobj = 0;
34486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34487 wxTreeItemId *arg2 = 0 ;
34488 wxString result;
34489 void *argp1 = 0 ;
34490 int res1 = 0 ;
34491 void *argp2 = 0 ;
34492 int res2 = 0 ;
34493 PyObject * obj0 = 0 ;
34494 PyObject * obj1 = 0 ;
34495 char * kwnames[] = {
34496 (char *) "self",(char *) "item", NULL
34497 };
34498
34499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34501 if (!SWIG_IsOK(res1)) {
34502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34503 }
34504 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34505 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34506 if (!SWIG_IsOK(res2)) {
34507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34508 }
34509 if (!argp2) {
34510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34511 }
34512 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34513 {
34514 PyThreadState* __tstate = wxPyBeginAllowThreads();
34515 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34516 wxPyEndAllowThreads(__tstate);
34517 if (PyErr_Occurred()) SWIG_fail;
34518 }
34519 {
34520 #if wxUSE_UNICODE
34521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34522 #else
34523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34524 #endif
34525 }
34526 return resultobj;
34527 fail:
34528 return NULL;
34529 }
34530
34531
34532 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34533 PyObject *resultobj = 0;
34534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34535 wxTreeItemId *arg2 = 0 ;
34536 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34537 int result;
34538 void *argp1 = 0 ;
34539 int res1 = 0 ;
34540 void *argp2 = 0 ;
34541 int res2 = 0 ;
34542 int val3 ;
34543 int ecode3 = 0 ;
34544 PyObject * obj0 = 0 ;
34545 PyObject * obj1 = 0 ;
34546 PyObject * obj2 = 0 ;
34547 char * kwnames[] = {
34548 (char *) "self",(char *) "item",(char *) "which", NULL
34549 };
34550
34551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34553 if (!SWIG_IsOK(res1)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34555 }
34556 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34557 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34558 if (!SWIG_IsOK(res2)) {
34559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34560 }
34561 if (!argp2) {
34562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34563 }
34564 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34565 if (obj2) {
34566 ecode3 = SWIG_AsVal_int(obj2, &val3);
34567 if (!SWIG_IsOK(ecode3)) {
34568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34569 }
34570 arg3 = static_cast< wxTreeItemIcon >(val3);
34571 }
34572 {
34573 PyThreadState* __tstate = wxPyBeginAllowThreads();
34574 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34575 wxPyEndAllowThreads(__tstate);
34576 if (PyErr_Occurred()) SWIG_fail;
34577 }
34578 resultobj = SWIG_From_int(static_cast< int >(result));
34579 return resultobj;
34580 fail:
34581 return NULL;
34582 }
34583
34584
34585 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34586 PyObject *resultobj = 0;
34587 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34588 wxTreeItemId *arg2 = 0 ;
34589 wxPyTreeItemData *result = 0 ;
34590 void *argp1 = 0 ;
34591 int res1 = 0 ;
34592 void *argp2 = 0 ;
34593 int res2 = 0 ;
34594 PyObject * obj0 = 0 ;
34595 PyObject * obj1 = 0 ;
34596 char * kwnames[] = {
34597 (char *) "self",(char *) "item", NULL
34598 };
34599
34600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34602 if (!SWIG_IsOK(res1)) {
34603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34604 }
34605 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34606 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34607 if (!SWIG_IsOK(res2)) {
34608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34609 }
34610 if (!argp2) {
34611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34612 }
34613 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34614 {
34615 PyThreadState* __tstate = wxPyBeginAllowThreads();
34616 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34617 wxPyEndAllowThreads(__tstate);
34618 if (PyErr_Occurred()) SWIG_fail;
34619 }
34620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34621 return resultobj;
34622 fail:
34623 return NULL;
34624 }
34625
34626
34627 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34628 PyObject *resultobj = 0;
34629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34630 wxTreeItemId *arg2 = 0 ;
34631 PyObject *result = 0 ;
34632 void *argp1 = 0 ;
34633 int res1 = 0 ;
34634 void *argp2 = 0 ;
34635 int res2 = 0 ;
34636 PyObject * obj0 = 0 ;
34637 PyObject * obj1 = 0 ;
34638 char * kwnames[] = {
34639 (char *) "self",(char *) "item", NULL
34640 };
34641
34642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34644 if (!SWIG_IsOK(res1)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34646 }
34647 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34649 if (!SWIG_IsOK(res2)) {
34650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34651 }
34652 if (!argp2) {
34653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34654 }
34655 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34656 {
34657 PyThreadState* __tstate = wxPyBeginAllowThreads();
34658 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34659 wxPyEndAllowThreads(__tstate);
34660 if (PyErr_Occurred()) SWIG_fail;
34661 }
34662 resultobj = result;
34663 return resultobj;
34664 fail:
34665 return NULL;
34666 }
34667
34668
34669 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34670 PyObject *resultobj = 0;
34671 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34672 wxTreeItemId *arg2 = 0 ;
34673 wxColour result;
34674 void *argp1 = 0 ;
34675 int res1 = 0 ;
34676 void *argp2 = 0 ;
34677 int res2 = 0 ;
34678 PyObject * obj0 = 0 ;
34679 PyObject * obj1 = 0 ;
34680 char * kwnames[] = {
34681 (char *) "self",(char *) "item", NULL
34682 };
34683
34684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34686 if (!SWIG_IsOK(res1)) {
34687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34688 }
34689 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34690 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34691 if (!SWIG_IsOK(res2)) {
34692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34693 }
34694 if (!argp2) {
34695 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34696 }
34697 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34698 {
34699 PyThreadState* __tstate = wxPyBeginAllowThreads();
34700 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34701 wxPyEndAllowThreads(__tstate);
34702 if (PyErr_Occurred()) SWIG_fail;
34703 }
34704 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34705 return resultobj;
34706 fail:
34707 return NULL;
34708 }
34709
34710
34711 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34712 PyObject *resultobj = 0;
34713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34714 wxTreeItemId *arg2 = 0 ;
34715 wxColour result;
34716 void *argp1 = 0 ;
34717 int res1 = 0 ;
34718 void *argp2 = 0 ;
34719 int res2 = 0 ;
34720 PyObject * obj0 = 0 ;
34721 PyObject * obj1 = 0 ;
34722 char * kwnames[] = {
34723 (char *) "self",(char *) "item", NULL
34724 };
34725
34726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34728 if (!SWIG_IsOK(res1)) {
34729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34730 }
34731 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34732 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34733 if (!SWIG_IsOK(res2)) {
34734 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34735 }
34736 if (!argp2) {
34737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34738 }
34739 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34740 {
34741 PyThreadState* __tstate = wxPyBeginAllowThreads();
34742 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34743 wxPyEndAllowThreads(__tstate);
34744 if (PyErr_Occurred()) SWIG_fail;
34745 }
34746 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34747 return resultobj;
34748 fail:
34749 return NULL;
34750 }
34751
34752
34753 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34754 PyObject *resultobj = 0;
34755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34756 wxTreeItemId *arg2 = 0 ;
34757 wxFont result;
34758 void *argp1 = 0 ;
34759 int res1 = 0 ;
34760 void *argp2 = 0 ;
34761 int res2 = 0 ;
34762 PyObject * obj0 = 0 ;
34763 PyObject * obj1 = 0 ;
34764 char * kwnames[] = {
34765 (char *) "self",(char *) "item", NULL
34766 };
34767
34768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34770 if (!SWIG_IsOK(res1)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34772 }
34773 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34774 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34775 if (!SWIG_IsOK(res2)) {
34776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34777 }
34778 if (!argp2) {
34779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34780 }
34781 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34782 {
34783 PyThreadState* __tstate = wxPyBeginAllowThreads();
34784 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34785 wxPyEndAllowThreads(__tstate);
34786 if (PyErr_Occurred()) SWIG_fail;
34787 }
34788 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34789 return resultobj;
34790 fail:
34791 return NULL;
34792 }
34793
34794
34795 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34796 PyObject *resultobj = 0;
34797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34798 wxTreeItemId *arg2 = 0 ;
34799 wxString *arg3 = 0 ;
34800 void *argp1 = 0 ;
34801 int res1 = 0 ;
34802 void *argp2 = 0 ;
34803 int res2 = 0 ;
34804 bool temp3 = false ;
34805 PyObject * obj0 = 0 ;
34806 PyObject * obj1 = 0 ;
34807 PyObject * obj2 = 0 ;
34808 char * kwnames[] = {
34809 (char *) "self",(char *) "item",(char *) "text", NULL
34810 };
34811
34812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34814 if (!SWIG_IsOK(res1)) {
34815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34816 }
34817 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34818 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34819 if (!SWIG_IsOK(res2)) {
34820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34821 }
34822 if (!argp2) {
34823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34824 }
34825 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34826 {
34827 arg3 = wxString_in_helper(obj2);
34828 if (arg3 == NULL) SWIG_fail;
34829 temp3 = true;
34830 }
34831 {
34832 PyThreadState* __tstate = wxPyBeginAllowThreads();
34833 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34834 wxPyEndAllowThreads(__tstate);
34835 if (PyErr_Occurred()) SWIG_fail;
34836 }
34837 resultobj = SWIG_Py_Void();
34838 {
34839 if (temp3)
34840 delete arg3;
34841 }
34842 return resultobj;
34843 fail:
34844 {
34845 if (temp3)
34846 delete arg3;
34847 }
34848 return NULL;
34849 }
34850
34851
34852 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34853 PyObject *resultobj = 0;
34854 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34855 wxTreeItemId *arg2 = 0 ;
34856 int arg3 ;
34857 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34858 void *argp1 = 0 ;
34859 int res1 = 0 ;
34860 void *argp2 = 0 ;
34861 int res2 = 0 ;
34862 int val3 ;
34863 int ecode3 = 0 ;
34864 int val4 ;
34865 int ecode4 = 0 ;
34866 PyObject * obj0 = 0 ;
34867 PyObject * obj1 = 0 ;
34868 PyObject * obj2 = 0 ;
34869 PyObject * obj3 = 0 ;
34870 char * kwnames[] = {
34871 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34872 };
34873
34874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34876 if (!SWIG_IsOK(res1)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34878 }
34879 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34880 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34881 if (!SWIG_IsOK(res2)) {
34882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34883 }
34884 if (!argp2) {
34885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34886 }
34887 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34888 ecode3 = SWIG_AsVal_int(obj2, &val3);
34889 if (!SWIG_IsOK(ecode3)) {
34890 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34891 }
34892 arg3 = static_cast< int >(val3);
34893 if (obj3) {
34894 ecode4 = SWIG_AsVal_int(obj3, &val4);
34895 if (!SWIG_IsOK(ecode4)) {
34896 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34897 }
34898 arg4 = static_cast< wxTreeItemIcon >(val4);
34899 }
34900 {
34901 PyThreadState* __tstate = wxPyBeginAllowThreads();
34902 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34903 wxPyEndAllowThreads(__tstate);
34904 if (PyErr_Occurred()) SWIG_fail;
34905 }
34906 resultobj = SWIG_Py_Void();
34907 return resultobj;
34908 fail:
34909 return NULL;
34910 }
34911
34912
34913 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34914 PyObject *resultobj = 0;
34915 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34916 wxTreeItemId *arg2 = 0 ;
34917 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34918 void *argp1 = 0 ;
34919 int res1 = 0 ;
34920 void *argp2 = 0 ;
34921 int res2 = 0 ;
34922 int res3 = 0 ;
34923 PyObject * obj0 = 0 ;
34924 PyObject * obj1 = 0 ;
34925 PyObject * obj2 = 0 ;
34926 char * kwnames[] = {
34927 (char *) "self",(char *) "item",(char *) "data", NULL
34928 };
34929
34930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34932 if (!SWIG_IsOK(res1)) {
34933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34934 }
34935 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34937 if (!SWIG_IsOK(res2)) {
34938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34939 }
34940 if (!argp2) {
34941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34942 }
34943 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34944 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34945 if (!SWIG_IsOK(res3)) {
34946 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34947 }
34948 {
34949 PyThreadState* __tstate = wxPyBeginAllowThreads();
34950 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34951 wxPyEndAllowThreads(__tstate);
34952 if (PyErr_Occurred()) SWIG_fail;
34953 }
34954 resultobj = SWIG_Py_Void();
34955 return resultobj;
34956 fail:
34957 return NULL;
34958 }
34959
34960
34961 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34962 PyObject *resultobj = 0;
34963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34964 wxTreeItemId *arg2 = 0 ;
34965 PyObject *arg3 = (PyObject *) 0 ;
34966 void *argp1 = 0 ;
34967 int res1 = 0 ;
34968 void *argp2 = 0 ;
34969 int res2 = 0 ;
34970 PyObject * obj0 = 0 ;
34971 PyObject * obj1 = 0 ;
34972 PyObject * obj2 = 0 ;
34973 char * kwnames[] = {
34974 (char *) "self",(char *) "item",(char *) "obj", NULL
34975 };
34976
34977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34979 if (!SWIG_IsOK(res1)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34981 }
34982 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34983 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34984 if (!SWIG_IsOK(res2)) {
34985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34986 }
34987 if (!argp2) {
34988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34989 }
34990 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34991 arg3 = obj2;
34992 {
34993 PyThreadState* __tstate = wxPyBeginAllowThreads();
34994 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34995 wxPyEndAllowThreads(__tstate);
34996 if (PyErr_Occurred()) SWIG_fail;
34997 }
34998 resultobj = SWIG_Py_Void();
34999 return resultobj;
35000 fail:
35001 return NULL;
35002 }
35003
35004
35005 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35006 PyObject *resultobj = 0;
35007 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35008 wxTreeItemId *arg2 = 0 ;
35009 bool arg3 = (bool) true ;
35010 void *argp1 = 0 ;
35011 int res1 = 0 ;
35012 void *argp2 = 0 ;
35013 int res2 = 0 ;
35014 bool val3 ;
35015 int ecode3 = 0 ;
35016 PyObject * obj0 = 0 ;
35017 PyObject * obj1 = 0 ;
35018 PyObject * obj2 = 0 ;
35019 char * kwnames[] = {
35020 (char *) "self",(char *) "item",(char *) "has", NULL
35021 };
35022
35023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35025 if (!SWIG_IsOK(res1)) {
35026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35027 }
35028 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35029 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35030 if (!SWIG_IsOK(res2)) {
35031 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35032 }
35033 if (!argp2) {
35034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35035 }
35036 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35037 if (obj2) {
35038 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35039 if (!SWIG_IsOK(ecode3)) {
35040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35041 }
35042 arg3 = static_cast< bool >(val3);
35043 }
35044 {
35045 PyThreadState* __tstate = wxPyBeginAllowThreads();
35046 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35047 wxPyEndAllowThreads(__tstate);
35048 if (PyErr_Occurred()) SWIG_fail;
35049 }
35050 resultobj = SWIG_Py_Void();
35051 return resultobj;
35052 fail:
35053 return NULL;
35054 }
35055
35056
35057 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35058 PyObject *resultobj = 0;
35059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35060 wxTreeItemId *arg2 = 0 ;
35061 bool arg3 = (bool) true ;
35062 void *argp1 = 0 ;
35063 int res1 = 0 ;
35064 void *argp2 = 0 ;
35065 int res2 = 0 ;
35066 bool val3 ;
35067 int ecode3 = 0 ;
35068 PyObject * obj0 = 0 ;
35069 PyObject * obj1 = 0 ;
35070 PyObject * obj2 = 0 ;
35071 char * kwnames[] = {
35072 (char *) "self",(char *) "item",(char *) "bold", NULL
35073 };
35074
35075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35077 if (!SWIG_IsOK(res1)) {
35078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35079 }
35080 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35081 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35082 if (!SWIG_IsOK(res2)) {
35083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35084 }
35085 if (!argp2) {
35086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35087 }
35088 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35089 if (obj2) {
35090 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35091 if (!SWIG_IsOK(ecode3)) {
35092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35093 }
35094 arg3 = static_cast< bool >(val3);
35095 }
35096 {
35097 PyThreadState* __tstate = wxPyBeginAllowThreads();
35098 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35099 wxPyEndAllowThreads(__tstate);
35100 if (PyErr_Occurred()) SWIG_fail;
35101 }
35102 resultobj = SWIG_Py_Void();
35103 return resultobj;
35104 fail:
35105 return NULL;
35106 }
35107
35108
35109 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35110 PyObject *resultobj = 0;
35111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35112 wxTreeItemId *arg2 = 0 ;
35113 bool arg3 = (bool) true ;
35114 void *argp1 = 0 ;
35115 int res1 = 0 ;
35116 void *argp2 = 0 ;
35117 int res2 = 0 ;
35118 bool val3 ;
35119 int ecode3 = 0 ;
35120 PyObject * obj0 = 0 ;
35121 PyObject * obj1 = 0 ;
35122 PyObject * obj2 = 0 ;
35123 char * kwnames[] = {
35124 (char *) "self",(char *) "item",(char *) "highlight", NULL
35125 };
35126
35127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35129 if (!SWIG_IsOK(res1)) {
35130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35131 }
35132 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35134 if (!SWIG_IsOK(res2)) {
35135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35136 }
35137 if (!argp2) {
35138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35139 }
35140 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35141 if (obj2) {
35142 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35143 if (!SWIG_IsOK(ecode3)) {
35144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35145 }
35146 arg3 = static_cast< bool >(val3);
35147 }
35148 {
35149 PyThreadState* __tstate = wxPyBeginAllowThreads();
35150 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35151 wxPyEndAllowThreads(__tstate);
35152 if (PyErr_Occurred()) SWIG_fail;
35153 }
35154 resultobj = SWIG_Py_Void();
35155 return resultobj;
35156 fail:
35157 return NULL;
35158 }
35159
35160
35161 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35162 PyObject *resultobj = 0;
35163 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35164 wxTreeItemId *arg2 = 0 ;
35165 wxColour *arg3 = 0 ;
35166 void *argp1 = 0 ;
35167 int res1 = 0 ;
35168 void *argp2 = 0 ;
35169 int res2 = 0 ;
35170 wxColour temp3 ;
35171 PyObject * obj0 = 0 ;
35172 PyObject * obj1 = 0 ;
35173 PyObject * obj2 = 0 ;
35174 char * kwnames[] = {
35175 (char *) "self",(char *) "item",(char *) "col", NULL
35176 };
35177
35178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35180 if (!SWIG_IsOK(res1)) {
35181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35182 }
35183 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35184 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35185 if (!SWIG_IsOK(res2)) {
35186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35187 }
35188 if (!argp2) {
35189 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35190 }
35191 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35192 {
35193 arg3 = &temp3;
35194 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35195 }
35196 {
35197 PyThreadState* __tstate = wxPyBeginAllowThreads();
35198 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35199 wxPyEndAllowThreads(__tstate);
35200 if (PyErr_Occurred()) SWIG_fail;
35201 }
35202 resultobj = SWIG_Py_Void();
35203 return resultobj;
35204 fail:
35205 return NULL;
35206 }
35207
35208
35209 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35210 PyObject *resultobj = 0;
35211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35212 wxTreeItemId *arg2 = 0 ;
35213 wxColour *arg3 = 0 ;
35214 void *argp1 = 0 ;
35215 int res1 = 0 ;
35216 void *argp2 = 0 ;
35217 int res2 = 0 ;
35218 wxColour temp3 ;
35219 PyObject * obj0 = 0 ;
35220 PyObject * obj1 = 0 ;
35221 PyObject * obj2 = 0 ;
35222 char * kwnames[] = {
35223 (char *) "self",(char *) "item",(char *) "col", NULL
35224 };
35225
35226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35228 if (!SWIG_IsOK(res1)) {
35229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35230 }
35231 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35232 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35233 if (!SWIG_IsOK(res2)) {
35234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35235 }
35236 if (!argp2) {
35237 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35238 }
35239 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35240 {
35241 arg3 = &temp3;
35242 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35243 }
35244 {
35245 PyThreadState* __tstate = wxPyBeginAllowThreads();
35246 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35247 wxPyEndAllowThreads(__tstate);
35248 if (PyErr_Occurred()) SWIG_fail;
35249 }
35250 resultobj = SWIG_Py_Void();
35251 return resultobj;
35252 fail:
35253 return NULL;
35254 }
35255
35256
35257 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35258 PyObject *resultobj = 0;
35259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35260 wxTreeItemId *arg2 = 0 ;
35261 wxFont *arg3 = 0 ;
35262 void *argp1 = 0 ;
35263 int res1 = 0 ;
35264 void *argp2 = 0 ;
35265 int res2 = 0 ;
35266 void *argp3 = 0 ;
35267 int res3 = 0 ;
35268 PyObject * obj0 = 0 ;
35269 PyObject * obj1 = 0 ;
35270 PyObject * obj2 = 0 ;
35271 char * kwnames[] = {
35272 (char *) "self",(char *) "item",(char *) "font", NULL
35273 };
35274
35275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35277 if (!SWIG_IsOK(res1)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35279 }
35280 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35281 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35282 if (!SWIG_IsOK(res2)) {
35283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35284 }
35285 if (!argp2) {
35286 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35287 }
35288 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35289 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35290 if (!SWIG_IsOK(res3)) {
35291 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35292 }
35293 if (!argp3) {
35294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35295 }
35296 arg3 = reinterpret_cast< wxFont * >(argp3);
35297 {
35298 PyThreadState* __tstate = wxPyBeginAllowThreads();
35299 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35300 wxPyEndAllowThreads(__tstate);
35301 if (PyErr_Occurred()) SWIG_fail;
35302 }
35303 resultobj = SWIG_Py_Void();
35304 return resultobj;
35305 fail:
35306 return NULL;
35307 }
35308
35309
35310 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35311 PyObject *resultobj = 0;
35312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35313 wxTreeItemId *arg2 = 0 ;
35314 bool result;
35315 void *argp1 = 0 ;
35316 int res1 = 0 ;
35317 void *argp2 = 0 ;
35318 int res2 = 0 ;
35319 PyObject * obj0 = 0 ;
35320 PyObject * obj1 = 0 ;
35321 char * kwnames[] = {
35322 (char *) "self",(char *) "item", NULL
35323 };
35324
35325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35327 if (!SWIG_IsOK(res1)) {
35328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35329 }
35330 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35332 if (!SWIG_IsOK(res2)) {
35333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35334 }
35335 if (!argp2) {
35336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35337 }
35338 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35339 {
35340 PyThreadState* __tstate = wxPyBeginAllowThreads();
35341 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35342 wxPyEndAllowThreads(__tstate);
35343 if (PyErr_Occurred()) SWIG_fail;
35344 }
35345 {
35346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35347 }
35348 return resultobj;
35349 fail:
35350 return NULL;
35351 }
35352
35353
35354 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35355 PyObject *resultobj = 0;
35356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35357 wxTreeItemId *arg2 = 0 ;
35358 bool result;
35359 void *argp1 = 0 ;
35360 int res1 = 0 ;
35361 void *argp2 = 0 ;
35362 int res2 = 0 ;
35363 PyObject * obj0 = 0 ;
35364 PyObject * obj1 = 0 ;
35365 char * kwnames[] = {
35366 (char *) "self",(char *) "item", NULL
35367 };
35368
35369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35371 if (!SWIG_IsOK(res1)) {
35372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35373 }
35374 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35376 if (!SWIG_IsOK(res2)) {
35377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35378 }
35379 if (!argp2) {
35380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35381 }
35382 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35383 {
35384 PyThreadState* __tstate = wxPyBeginAllowThreads();
35385 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35386 wxPyEndAllowThreads(__tstate);
35387 if (PyErr_Occurred()) SWIG_fail;
35388 }
35389 {
35390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35391 }
35392 return resultobj;
35393 fail:
35394 return NULL;
35395 }
35396
35397
35398 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35399 PyObject *resultobj = 0;
35400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35401 wxTreeItemId *arg2 = 0 ;
35402 bool result;
35403 void *argp1 = 0 ;
35404 int res1 = 0 ;
35405 void *argp2 = 0 ;
35406 int res2 = 0 ;
35407 PyObject * obj0 = 0 ;
35408 PyObject * obj1 = 0 ;
35409 char * kwnames[] = {
35410 (char *) "self",(char *) "item", NULL
35411 };
35412
35413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35415 if (!SWIG_IsOK(res1)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35417 }
35418 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35419 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35420 if (!SWIG_IsOK(res2)) {
35421 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35422 }
35423 if (!argp2) {
35424 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35425 }
35426 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35427 {
35428 PyThreadState* __tstate = wxPyBeginAllowThreads();
35429 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35430 wxPyEndAllowThreads(__tstate);
35431 if (PyErr_Occurred()) SWIG_fail;
35432 }
35433 {
35434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35435 }
35436 return resultobj;
35437 fail:
35438 return NULL;
35439 }
35440
35441
35442 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35443 PyObject *resultobj = 0;
35444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35445 wxTreeItemId *arg2 = 0 ;
35446 bool result;
35447 void *argp1 = 0 ;
35448 int res1 = 0 ;
35449 void *argp2 = 0 ;
35450 int res2 = 0 ;
35451 PyObject * obj0 = 0 ;
35452 PyObject * obj1 = 0 ;
35453 char * kwnames[] = {
35454 (char *) "self",(char *) "item", NULL
35455 };
35456
35457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35459 if (!SWIG_IsOK(res1)) {
35460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35461 }
35462 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35463 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35464 if (!SWIG_IsOK(res2)) {
35465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35466 }
35467 if (!argp2) {
35468 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35469 }
35470 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35471 {
35472 PyThreadState* __tstate = wxPyBeginAllowThreads();
35473 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35474 wxPyEndAllowThreads(__tstate);
35475 if (PyErr_Occurred()) SWIG_fail;
35476 }
35477 {
35478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35479 }
35480 return resultobj;
35481 fail:
35482 return NULL;
35483 }
35484
35485
35486 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35487 PyObject *resultobj = 0;
35488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35489 wxTreeItemId *arg2 = 0 ;
35490 bool result;
35491 void *argp1 = 0 ;
35492 int res1 = 0 ;
35493 void *argp2 = 0 ;
35494 int res2 = 0 ;
35495 PyObject * obj0 = 0 ;
35496 PyObject * obj1 = 0 ;
35497 char * kwnames[] = {
35498 (char *) "self",(char *) "item", NULL
35499 };
35500
35501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35503 if (!SWIG_IsOK(res1)) {
35504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35505 }
35506 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35507 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35508 if (!SWIG_IsOK(res2)) {
35509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35510 }
35511 if (!argp2) {
35512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35513 }
35514 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35515 {
35516 PyThreadState* __tstate = wxPyBeginAllowThreads();
35517 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35518 wxPyEndAllowThreads(__tstate);
35519 if (PyErr_Occurred()) SWIG_fail;
35520 }
35521 {
35522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35523 }
35524 return resultobj;
35525 fail:
35526 return NULL;
35527 }
35528
35529
35530 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35531 PyObject *resultobj = 0;
35532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35533 wxTreeItemId *arg2 = 0 ;
35534 bool arg3 = (bool) true ;
35535 size_t result;
35536 void *argp1 = 0 ;
35537 int res1 = 0 ;
35538 void *argp2 = 0 ;
35539 int res2 = 0 ;
35540 bool val3 ;
35541 int ecode3 = 0 ;
35542 PyObject * obj0 = 0 ;
35543 PyObject * obj1 = 0 ;
35544 PyObject * obj2 = 0 ;
35545 char * kwnames[] = {
35546 (char *) "self",(char *) "item",(char *) "recursively", NULL
35547 };
35548
35549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35551 if (!SWIG_IsOK(res1)) {
35552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35553 }
35554 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35555 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35556 if (!SWIG_IsOK(res2)) {
35557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35558 }
35559 if (!argp2) {
35560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35561 }
35562 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35563 if (obj2) {
35564 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35565 if (!SWIG_IsOK(ecode3)) {
35566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35567 }
35568 arg3 = static_cast< bool >(val3);
35569 }
35570 {
35571 PyThreadState* __tstate = wxPyBeginAllowThreads();
35572 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35573 wxPyEndAllowThreads(__tstate);
35574 if (PyErr_Occurred()) SWIG_fail;
35575 }
35576 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35577 return resultobj;
35578 fail:
35579 return NULL;
35580 }
35581
35582
35583 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35584 PyObject *resultobj = 0;
35585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35586 wxTreeItemId result;
35587 void *argp1 = 0 ;
35588 int res1 = 0 ;
35589 PyObject *swig_obj[1] ;
35590
35591 if (!args) SWIG_fail;
35592 swig_obj[0] = args;
35593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35594 if (!SWIG_IsOK(res1)) {
35595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35596 }
35597 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35598 {
35599 PyThreadState* __tstate = wxPyBeginAllowThreads();
35600 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35601 wxPyEndAllowThreads(__tstate);
35602 if (PyErr_Occurred()) SWIG_fail;
35603 }
35604 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35605 return resultobj;
35606 fail:
35607 return NULL;
35608 }
35609
35610
35611 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35612 PyObject *resultobj = 0;
35613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35614 wxTreeItemId result;
35615 void *argp1 = 0 ;
35616 int res1 = 0 ;
35617 PyObject *swig_obj[1] ;
35618
35619 if (!args) SWIG_fail;
35620 swig_obj[0] = args;
35621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35622 if (!SWIG_IsOK(res1)) {
35623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35624 }
35625 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35626 {
35627 PyThreadState* __tstate = wxPyBeginAllowThreads();
35628 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35629 wxPyEndAllowThreads(__tstate);
35630 if (PyErr_Occurred()) SWIG_fail;
35631 }
35632 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35633 return resultobj;
35634 fail:
35635 return NULL;
35636 }
35637
35638
35639 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35640 PyObject *resultobj = 0;
35641 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35642 PyObject *result = 0 ;
35643 void *argp1 = 0 ;
35644 int res1 = 0 ;
35645 PyObject *swig_obj[1] ;
35646
35647 if (!args) SWIG_fail;
35648 swig_obj[0] = args;
35649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35650 if (!SWIG_IsOK(res1)) {
35651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35652 }
35653 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35654 {
35655 PyThreadState* __tstate = wxPyBeginAllowThreads();
35656 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35657 wxPyEndAllowThreads(__tstate);
35658 if (PyErr_Occurred()) SWIG_fail;
35659 }
35660 resultobj = result;
35661 return resultobj;
35662 fail:
35663 return NULL;
35664 }
35665
35666
35667 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35668 PyObject *resultobj = 0;
35669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35670 wxTreeItemId *arg2 = 0 ;
35671 wxTreeItemId result;
35672 void *argp1 = 0 ;
35673 int res1 = 0 ;
35674 void *argp2 = 0 ;
35675 int res2 = 0 ;
35676 PyObject * obj0 = 0 ;
35677 PyObject * obj1 = 0 ;
35678 char * kwnames[] = {
35679 (char *) "self",(char *) "item", NULL
35680 };
35681
35682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35684 if (!SWIG_IsOK(res1)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35686 }
35687 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35688 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35689 if (!SWIG_IsOK(res2)) {
35690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35691 }
35692 if (!argp2) {
35693 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 }
35695 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35696 {
35697 PyThreadState* __tstate = wxPyBeginAllowThreads();
35698 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35699 wxPyEndAllowThreads(__tstate);
35700 if (PyErr_Occurred()) SWIG_fail;
35701 }
35702 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35703 return resultobj;
35704 fail:
35705 return NULL;
35706 }
35707
35708
35709 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35710 PyObject *resultobj = 0;
35711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35712 wxTreeItemId *arg2 = 0 ;
35713 PyObject *result = 0 ;
35714 void *argp1 = 0 ;
35715 int res1 = 0 ;
35716 void *argp2 = 0 ;
35717 int res2 = 0 ;
35718 PyObject * obj0 = 0 ;
35719 PyObject * obj1 = 0 ;
35720 char * kwnames[] = {
35721 (char *) "self",(char *) "item", NULL
35722 };
35723
35724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35726 if (!SWIG_IsOK(res1)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35728 }
35729 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35730 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35731 if (!SWIG_IsOK(res2)) {
35732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35733 }
35734 if (!argp2) {
35735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35736 }
35737 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35738 {
35739 PyThreadState* __tstate = wxPyBeginAllowThreads();
35740 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35741 wxPyEndAllowThreads(__tstate);
35742 if (PyErr_Occurred()) SWIG_fail;
35743 }
35744 resultobj = result;
35745 return resultobj;
35746 fail:
35747 return NULL;
35748 }
35749
35750
35751 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35752 PyObject *resultobj = 0;
35753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35754 wxTreeItemId *arg2 = 0 ;
35755 void *arg3 = (void *) 0 ;
35756 PyObject *result = 0 ;
35757 void *argp1 = 0 ;
35758 int res1 = 0 ;
35759 void *argp2 = 0 ;
35760 int res2 = 0 ;
35761 int res3 ;
35762 PyObject * obj0 = 0 ;
35763 PyObject * obj1 = 0 ;
35764 PyObject * obj2 = 0 ;
35765 char * kwnames[] = {
35766 (char *) "self",(char *) "item",(char *) "cookie", NULL
35767 };
35768
35769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35771 if (!SWIG_IsOK(res1)) {
35772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35773 }
35774 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35775 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35776 if (!SWIG_IsOK(res2)) {
35777 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35778 }
35779 if (!argp2) {
35780 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35781 }
35782 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35783 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35784 if (!SWIG_IsOK(res3)) {
35785 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35786 }
35787 {
35788 PyThreadState* __tstate = wxPyBeginAllowThreads();
35789 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35790 wxPyEndAllowThreads(__tstate);
35791 if (PyErr_Occurred()) SWIG_fail;
35792 }
35793 resultobj = result;
35794 return resultobj;
35795 fail:
35796 return NULL;
35797 }
35798
35799
35800 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35801 PyObject *resultobj = 0;
35802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35803 wxTreeItemId *arg2 = 0 ;
35804 wxTreeItemId result;
35805 void *argp1 = 0 ;
35806 int res1 = 0 ;
35807 void *argp2 = 0 ;
35808 int res2 = 0 ;
35809 PyObject * obj0 = 0 ;
35810 PyObject * obj1 = 0 ;
35811 char * kwnames[] = {
35812 (char *) "self",(char *) "item", NULL
35813 };
35814
35815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35817 if (!SWIG_IsOK(res1)) {
35818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35819 }
35820 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35822 if (!SWIG_IsOK(res2)) {
35823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35824 }
35825 if (!argp2) {
35826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35827 }
35828 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35829 {
35830 PyThreadState* __tstate = wxPyBeginAllowThreads();
35831 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35832 wxPyEndAllowThreads(__tstate);
35833 if (PyErr_Occurred()) SWIG_fail;
35834 }
35835 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35836 return resultobj;
35837 fail:
35838 return NULL;
35839 }
35840
35841
35842 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35843 PyObject *resultobj = 0;
35844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35845 wxTreeItemId *arg2 = 0 ;
35846 wxTreeItemId result;
35847 void *argp1 = 0 ;
35848 int res1 = 0 ;
35849 void *argp2 = 0 ;
35850 int res2 = 0 ;
35851 PyObject * obj0 = 0 ;
35852 PyObject * obj1 = 0 ;
35853 char * kwnames[] = {
35854 (char *) "self",(char *) "item", NULL
35855 };
35856
35857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35859 if (!SWIG_IsOK(res1)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35861 }
35862 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35863 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35864 if (!SWIG_IsOK(res2)) {
35865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35866 }
35867 if (!argp2) {
35868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35869 }
35870 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35871 {
35872 PyThreadState* __tstate = wxPyBeginAllowThreads();
35873 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35874 wxPyEndAllowThreads(__tstate);
35875 if (PyErr_Occurred()) SWIG_fail;
35876 }
35877 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35878 return resultobj;
35879 fail:
35880 return NULL;
35881 }
35882
35883
35884 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35885 PyObject *resultobj = 0;
35886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35887 wxTreeItemId *arg2 = 0 ;
35888 wxTreeItemId result;
35889 void *argp1 = 0 ;
35890 int res1 = 0 ;
35891 void *argp2 = 0 ;
35892 int res2 = 0 ;
35893 PyObject * obj0 = 0 ;
35894 PyObject * obj1 = 0 ;
35895 char * kwnames[] = {
35896 (char *) "self",(char *) "item", NULL
35897 };
35898
35899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35901 if (!SWIG_IsOK(res1)) {
35902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35903 }
35904 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35905 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35906 if (!SWIG_IsOK(res2)) {
35907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35908 }
35909 if (!argp2) {
35910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35911 }
35912 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35913 {
35914 PyThreadState* __tstate = wxPyBeginAllowThreads();
35915 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35916 wxPyEndAllowThreads(__tstate);
35917 if (PyErr_Occurred()) SWIG_fail;
35918 }
35919 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35920 return resultobj;
35921 fail:
35922 return NULL;
35923 }
35924
35925
35926 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35927 PyObject *resultobj = 0;
35928 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35929 wxTreeItemId result;
35930 void *argp1 = 0 ;
35931 int res1 = 0 ;
35932 PyObject *swig_obj[1] ;
35933
35934 if (!args) SWIG_fail;
35935 swig_obj[0] = args;
35936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35937 if (!SWIG_IsOK(res1)) {
35938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35939 }
35940 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35941 {
35942 PyThreadState* __tstate = wxPyBeginAllowThreads();
35943 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35944 wxPyEndAllowThreads(__tstate);
35945 if (PyErr_Occurred()) SWIG_fail;
35946 }
35947 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35948 return resultobj;
35949 fail:
35950 return NULL;
35951 }
35952
35953
35954 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35955 PyObject *resultobj = 0;
35956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35957 wxTreeItemId *arg2 = 0 ;
35958 wxTreeItemId result;
35959 void *argp1 = 0 ;
35960 int res1 = 0 ;
35961 void *argp2 = 0 ;
35962 int res2 = 0 ;
35963 PyObject * obj0 = 0 ;
35964 PyObject * obj1 = 0 ;
35965 char * kwnames[] = {
35966 (char *) "self",(char *) "item", NULL
35967 };
35968
35969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35971 if (!SWIG_IsOK(res1)) {
35972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35973 }
35974 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35975 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35976 if (!SWIG_IsOK(res2)) {
35977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35978 }
35979 if (!argp2) {
35980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35981 }
35982 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35983 {
35984 PyThreadState* __tstate = wxPyBeginAllowThreads();
35985 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35986 wxPyEndAllowThreads(__tstate);
35987 if (PyErr_Occurred()) SWIG_fail;
35988 }
35989 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35990 return resultobj;
35991 fail:
35992 return NULL;
35993 }
35994
35995
35996 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35997 PyObject *resultobj = 0;
35998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35999 wxTreeItemId *arg2 = 0 ;
36000 wxTreeItemId result;
36001 void *argp1 = 0 ;
36002 int res1 = 0 ;
36003 void *argp2 = 0 ;
36004 int res2 = 0 ;
36005 PyObject * obj0 = 0 ;
36006 PyObject * obj1 = 0 ;
36007 char * kwnames[] = {
36008 (char *) "self",(char *) "item", NULL
36009 };
36010
36011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36013 if (!SWIG_IsOK(res1)) {
36014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36015 }
36016 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36017 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36018 if (!SWIG_IsOK(res2)) {
36019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36020 }
36021 if (!argp2) {
36022 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36023 }
36024 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36025 {
36026 PyThreadState* __tstate = wxPyBeginAllowThreads();
36027 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36028 wxPyEndAllowThreads(__tstate);
36029 if (PyErr_Occurred()) SWIG_fail;
36030 }
36031 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36032 return resultobj;
36033 fail:
36034 return NULL;
36035 }
36036
36037
36038 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36039 PyObject *resultobj = 0;
36040 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36041 wxString *arg2 = 0 ;
36042 int arg3 = (int) -1 ;
36043 int arg4 = (int) -1 ;
36044 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36045 wxTreeItemId result;
36046 void *argp1 = 0 ;
36047 int res1 = 0 ;
36048 bool temp2 = false ;
36049 int val3 ;
36050 int ecode3 = 0 ;
36051 int val4 ;
36052 int ecode4 = 0 ;
36053 int res5 = 0 ;
36054 PyObject * obj0 = 0 ;
36055 PyObject * obj1 = 0 ;
36056 PyObject * obj2 = 0 ;
36057 PyObject * obj3 = 0 ;
36058 PyObject * obj4 = 0 ;
36059 char * kwnames[] = {
36060 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36061 };
36062
36063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36065 if (!SWIG_IsOK(res1)) {
36066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36067 }
36068 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36069 {
36070 arg2 = wxString_in_helper(obj1);
36071 if (arg2 == NULL) SWIG_fail;
36072 temp2 = true;
36073 }
36074 if (obj2) {
36075 ecode3 = SWIG_AsVal_int(obj2, &val3);
36076 if (!SWIG_IsOK(ecode3)) {
36077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36078 }
36079 arg3 = static_cast< int >(val3);
36080 }
36081 if (obj3) {
36082 ecode4 = SWIG_AsVal_int(obj3, &val4);
36083 if (!SWIG_IsOK(ecode4)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36085 }
36086 arg4 = static_cast< int >(val4);
36087 }
36088 if (obj4) {
36089 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36090 if (!SWIG_IsOK(res5)) {
36091 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36092 }
36093 }
36094 {
36095 PyThreadState* __tstate = wxPyBeginAllowThreads();
36096 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36097 wxPyEndAllowThreads(__tstate);
36098 if (PyErr_Occurred()) SWIG_fail;
36099 }
36100 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36101 {
36102 if (temp2)
36103 delete arg2;
36104 }
36105 return resultobj;
36106 fail:
36107 {
36108 if (temp2)
36109 delete arg2;
36110 }
36111 return NULL;
36112 }
36113
36114
36115 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36116 PyObject *resultobj = 0;
36117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36118 wxTreeItemId *arg2 = 0 ;
36119 wxString *arg3 = 0 ;
36120 int arg4 = (int) -1 ;
36121 int arg5 = (int) -1 ;
36122 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36123 wxTreeItemId result;
36124 void *argp1 = 0 ;
36125 int res1 = 0 ;
36126 void *argp2 = 0 ;
36127 int res2 = 0 ;
36128 bool temp3 = false ;
36129 int val4 ;
36130 int ecode4 = 0 ;
36131 int val5 ;
36132 int ecode5 = 0 ;
36133 int res6 = 0 ;
36134 PyObject * obj0 = 0 ;
36135 PyObject * obj1 = 0 ;
36136 PyObject * obj2 = 0 ;
36137 PyObject * obj3 = 0 ;
36138 PyObject * obj4 = 0 ;
36139 PyObject * obj5 = 0 ;
36140 char * kwnames[] = {
36141 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36142 };
36143
36144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36146 if (!SWIG_IsOK(res1)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36148 }
36149 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36150 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36151 if (!SWIG_IsOK(res2)) {
36152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36153 }
36154 if (!argp2) {
36155 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36156 }
36157 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36158 {
36159 arg3 = wxString_in_helper(obj2);
36160 if (arg3 == NULL) SWIG_fail;
36161 temp3 = true;
36162 }
36163 if (obj3) {
36164 ecode4 = SWIG_AsVal_int(obj3, &val4);
36165 if (!SWIG_IsOK(ecode4)) {
36166 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36167 }
36168 arg4 = static_cast< int >(val4);
36169 }
36170 if (obj4) {
36171 ecode5 = SWIG_AsVal_int(obj4, &val5);
36172 if (!SWIG_IsOK(ecode5)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36174 }
36175 arg5 = static_cast< int >(val5);
36176 }
36177 if (obj5) {
36178 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36179 if (!SWIG_IsOK(res6)) {
36180 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36181 }
36182 }
36183 {
36184 PyThreadState* __tstate = wxPyBeginAllowThreads();
36185 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36186 wxPyEndAllowThreads(__tstate);
36187 if (PyErr_Occurred()) SWIG_fail;
36188 }
36189 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36190 {
36191 if (temp3)
36192 delete arg3;
36193 }
36194 return resultobj;
36195 fail:
36196 {
36197 if (temp3)
36198 delete arg3;
36199 }
36200 return NULL;
36201 }
36202
36203
36204 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36205 PyObject *resultobj = 0;
36206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36207 wxTreeItemId *arg2 = 0 ;
36208 wxTreeItemId *arg3 = 0 ;
36209 wxString *arg4 = 0 ;
36210 int arg5 = (int) -1 ;
36211 int arg6 = (int) -1 ;
36212 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36213 wxTreeItemId result;
36214 void *argp1 = 0 ;
36215 int res1 = 0 ;
36216 void *argp2 = 0 ;
36217 int res2 = 0 ;
36218 void *argp3 = 0 ;
36219 int res3 = 0 ;
36220 bool temp4 = false ;
36221 int val5 ;
36222 int ecode5 = 0 ;
36223 int val6 ;
36224 int ecode6 = 0 ;
36225 int res7 = 0 ;
36226 PyObject * obj0 = 0 ;
36227 PyObject * obj1 = 0 ;
36228 PyObject * obj2 = 0 ;
36229 PyObject * obj3 = 0 ;
36230 PyObject * obj4 = 0 ;
36231 PyObject * obj5 = 0 ;
36232 PyObject * obj6 = 0 ;
36233 char * kwnames[] = {
36234 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36235 };
36236
36237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36239 if (!SWIG_IsOK(res1)) {
36240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36241 }
36242 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36243 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36244 if (!SWIG_IsOK(res2)) {
36245 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36246 }
36247 if (!argp2) {
36248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36249 }
36250 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36251 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36252 if (!SWIG_IsOK(res3)) {
36253 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36254 }
36255 if (!argp3) {
36256 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36257 }
36258 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36259 {
36260 arg4 = wxString_in_helper(obj3);
36261 if (arg4 == NULL) SWIG_fail;
36262 temp4 = true;
36263 }
36264 if (obj4) {
36265 ecode5 = SWIG_AsVal_int(obj4, &val5);
36266 if (!SWIG_IsOK(ecode5)) {
36267 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36268 }
36269 arg5 = static_cast< int >(val5);
36270 }
36271 if (obj5) {
36272 ecode6 = SWIG_AsVal_int(obj5, &val6);
36273 if (!SWIG_IsOK(ecode6)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36275 }
36276 arg6 = static_cast< int >(val6);
36277 }
36278 if (obj6) {
36279 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36280 if (!SWIG_IsOK(res7)) {
36281 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36282 }
36283 }
36284 {
36285 PyThreadState* __tstate = wxPyBeginAllowThreads();
36286 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36287 wxPyEndAllowThreads(__tstate);
36288 if (PyErr_Occurred()) SWIG_fail;
36289 }
36290 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36291 {
36292 if (temp4)
36293 delete arg4;
36294 }
36295 return resultobj;
36296 fail:
36297 {
36298 if (temp4)
36299 delete arg4;
36300 }
36301 return NULL;
36302 }
36303
36304
36305 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36306 PyObject *resultobj = 0;
36307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36308 wxTreeItemId *arg2 = 0 ;
36309 size_t arg3 ;
36310 wxString *arg4 = 0 ;
36311 int arg5 = (int) -1 ;
36312 int arg6 = (int) -1 ;
36313 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36314 wxTreeItemId result;
36315 void *argp1 = 0 ;
36316 int res1 = 0 ;
36317 void *argp2 = 0 ;
36318 int res2 = 0 ;
36319 size_t val3 ;
36320 int ecode3 = 0 ;
36321 bool temp4 = false ;
36322 int val5 ;
36323 int ecode5 = 0 ;
36324 int val6 ;
36325 int ecode6 = 0 ;
36326 int res7 = 0 ;
36327 PyObject * obj0 = 0 ;
36328 PyObject * obj1 = 0 ;
36329 PyObject * obj2 = 0 ;
36330 PyObject * obj3 = 0 ;
36331 PyObject * obj4 = 0 ;
36332 PyObject * obj5 = 0 ;
36333 PyObject * obj6 = 0 ;
36334 char * kwnames[] = {
36335 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36336 };
36337
36338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36340 if (!SWIG_IsOK(res1)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36342 }
36343 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36344 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36345 if (!SWIG_IsOK(res2)) {
36346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36347 }
36348 if (!argp2) {
36349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36350 }
36351 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36352 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36353 if (!SWIG_IsOK(ecode3)) {
36354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36355 }
36356 arg3 = static_cast< size_t >(val3);
36357 {
36358 arg4 = wxString_in_helper(obj3);
36359 if (arg4 == NULL) SWIG_fail;
36360 temp4 = true;
36361 }
36362 if (obj4) {
36363 ecode5 = SWIG_AsVal_int(obj4, &val5);
36364 if (!SWIG_IsOK(ecode5)) {
36365 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36366 }
36367 arg5 = static_cast< int >(val5);
36368 }
36369 if (obj5) {
36370 ecode6 = SWIG_AsVal_int(obj5, &val6);
36371 if (!SWIG_IsOK(ecode6)) {
36372 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36373 }
36374 arg6 = static_cast< int >(val6);
36375 }
36376 if (obj6) {
36377 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36378 if (!SWIG_IsOK(res7)) {
36379 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36380 }
36381 }
36382 {
36383 PyThreadState* __tstate = wxPyBeginAllowThreads();
36384 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36385 wxPyEndAllowThreads(__tstate);
36386 if (PyErr_Occurred()) SWIG_fail;
36387 }
36388 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36389 {
36390 if (temp4)
36391 delete arg4;
36392 }
36393 return resultobj;
36394 fail:
36395 {
36396 if (temp4)
36397 delete arg4;
36398 }
36399 return NULL;
36400 }
36401
36402
36403 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36404 PyObject *resultobj = 0;
36405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36406 wxTreeItemId *arg2 = 0 ;
36407 wxString *arg3 = 0 ;
36408 int arg4 = (int) -1 ;
36409 int arg5 = (int) -1 ;
36410 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36411 wxTreeItemId result;
36412 void *argp1 = 0 ;
36413 int res1 = 0 ;
36414 void *argp2 = 0 ;
36415 int res2 = 0 ;
36416 bool temp3 = false ;
36417 int val4 ;
36418 int ecode4 = 0 ;
36419 int val5 ;
36420 int ecode5 = 0 ;
36421 int res6 = 0 ;
36422 PyObject * obj0 = 0 ;
36423 PyObject * obj1 = 0 ;
36424 PyObject * obj2 = 0 ;
36425 PyObject * obj3 = 0 ;
36426 PyObject * obj4 = 0 ;
36427 PyObject * obj5 = 0 ;
36428 char * kwnames[] = {
36429 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36430 };
36431
36432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36434 if (!SWIG_IsOK(res1)) {
36435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36436 }
36437 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36438 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36439 if (!SWIG_IsOK(res2)) {
36440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36441 }
36442 if (!argp2) {
36443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36444 }
36445 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36446 {
36447 arg3 = wxString_in_helper(obj2);
36448 if (arg3 == NULL) SWIG_fail;
36449 temp3 = true;
36450 }
36451 if (obj3) {
36452 ecode4 = SWIG_AsVal_int(obj3, &val4);
36453 if (!SWIG_IsOK(ecode4)) {
36454 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36455 }
36456 arg4 = static_cast< int >(val4);
36457 }
36458 if (obj4) {
36459 ecode5 = SWIG_AsVal_int(obj4, &val5);
36460 if (!SWIG_IsOK(ecode5)) {
36461 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36462 }
36463 arg5 = static_cast< int >(val5);
36464 }
36465 if (obj5) {
36466 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36467 if (!SWIG_IsOK(res6)) {
36468 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36469 }
36470 }
36471 {
36472 PyThreadState* __tstate = wxPyBeginAllowThreads();
36473 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36474 wxPyEndAllowThreads(__tstate);
36475 if (PyErr_Occurred()) SWIG_fail;
36476 }
36477 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36478 {
36479 if (temp3)
36480 delete arg3;
36481 }
36482 return resultobj;
36483 fail:
36484 {
36485 if (temp3)
36486 delete arg3;
36487 }
36488 return NULL;
36489 }
36490
36491
36492 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36493 PyObject *resultobj = 0;
36494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36495 wxTreeItemId *arg2 = 0 ;
36496 void *argp1 = 0 ;
36497 int res1 = 0 ;
36498 void *argp2 = 0 ;
36499 int res2 = 0 ;
36500 PyObject * obj0 = 0 ;
36501 PyObject * obj1 = 0 ;
36502 char * kwnames[] = {
36503 (char *) "self",(char *) "item", NULL
36504 };
36505
36506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36508 if (!SWIG_IsOK(res1)) {
36509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36510 }
36511 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36513 if (!SWIG_IsOK(res2)) {
36514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36515 }
36516 if (!argp2) {
36517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36518 }
36519 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36520 {
36521 PyThreadState* __tstate = wxPyBeginAllowThreads();
36522 (arg1)->Delete((wxTreeItemId const &)*arg2);
36523 wxPyEndAllowThreads(__tstate);
36524 if (PyErr_Occurred()) SWIG_fail;
36525 }
36526 resultobj = SWIG_Py_Void();
36527 return resultobj;
36528 fail:
36529 return NULL;
36530 }
36531
36532
36533 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36534 PyObject *resultobj = 0;
36535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36536 wxTreeItemId *arg2 = 0 ;
36537 void *argp1 = 0 ;
36538 int res1 = 0 ;
36539 void *argp2 = 0 ;
36540 int res2 = 0 ;
36541 PyObject * obj0 = 0 ;
36542 PyObject * obj1 = 0 ;
36543 char * kwnames[] = {
36544 (char *) "self",(char *) "item", NULL
36545 };
36546
36547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36549 if (!SWIG_IsOK(res1)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36551 }
36552 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36554 if (!SWIG_IsOK(res2)) {
36555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36556 }
36557 if (!argp2) {
36558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36559 }
36560 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36561 {
36562 PyThreadState* __tstate = wxPyBeginAllowThreads();
36563 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36564 wxPyEndAllowThreads(__tstate);
36565 if (PyErr_Occurred()) SWIG_fail;
36566 }
36567 resultobj = SWIG_Py_Void();
36568 return resultobj;
36569 fail:
36570 return NULL;
36571 }
36572
36573
36574 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36575 PyObject *resultobj = 0;
36576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36577 void *argp1 = 0 ;
36578 int res1 = 0 ;
36579 PyObject *swig_obj[1] ;
36580
36581 if (!args) SWIG_fail;
36582 swig_obj[0] = args;
36583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36584 if (!SWIG_IsOK(res1)) {
36585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36586 }
36587 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36588 {
36589 PyThreadState* __tstate = wxPyBeginAllowThreads();
36590 (arg1)->DeleteAllItems();
36591 wxPyEndAllowThreads(__tstate);
36592 if (PyErr_Occurred()) SWIG_fail;
36593 }
36594 resultobj = SWIG_Py_Void();
36595 return resultobj;
36596 fail:
36597 return NULL;
36598 }
36599
36600
36601 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36602 PyObject *resultobj = 0;
36603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36604 wxTreeItemId *arg2 = 0 ;
36605 void *argp1 = 0 ;
36606 int res1 = 0 ;
36607 void *argp2 = 0 ;
36608 int res2 = 0 ;
36609 PyObject * obj0 = 0 ;
36610 PyObject * obj1 = 0 ;
36611 char * kwnames[] = {
36612 (char *) "self",(char *) "item", NULL
36613 };
36614
36615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36617 if (!SWIG_IsOK(res1)) {
36618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36619 }
36620 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36621 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36622 if (!SWIG_IsOK(res2)) {
36623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36624 }
36625 if (!argp2) {
36626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36627 }
36628 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36629 {
36630 PyThreadState* __tstate = wxPyBeginAllowThreads();
36631 (arg1)->Expand((wxTreeItemId const &)*arg2);
36632 wxPyEndAllowThreads(__tstate);
36633 if (PyErr_Occurred()) SWIG_fail;
36634 }
36635 resultobj = SWIG_Py_Void();
36636 return resultobj;
36637 fail:
36638 return NULL;
36639 }
36640
36641
36642 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36643 PyObject *resultobj = 0;
36644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36645 wxTreeItemId *arg2 = 0 ;
36646 void *argp1 = 0 ;
36647 int res1 = 0 ;
36648 void *argp2 = 0 ;
36649 int res2 = 0 ;
36650 PyObject * obj0 = 0 ;
36651 PyObject * obj1 = 0 ;
36652 char * kwnames[] = {
36653 (char *) "self",(char *) "item", NULL
36654 };
36655
36656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36658 if (!SWIG_IsOK(res1)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36660 }
36661 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36662 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36663 if (!SWIG_IsOK(res2)) {
36664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36665 }
36666 if (!argp2) {
36667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36668 }
36669 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36670 {
36671 PyThreadState* __tstate = wxPyBeginAllowThreads();
36672 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36673 wxPyEndAllowThreads(__tstate);
36674 if (PyErr_Occurred()) SWIG_fail;
36675 }
36676 resultobj = SWIG_Py_Void();
36677 return resultobj;
36678 fail:
36679 return NULL;
36680 }
36681
36682
36683 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36684 PyObject *resultobj = 0;
36685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36686 void *argp1 = 0 ;
36687 int res1 = 0 ;
36688 PyObject *swig_obj[1] ;
36689
36690 if (!args) SWIG_fail;
36691 swig_obj[0] = args;
36692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36693 if (!SWIG_IsOK(res1)) {
36694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36695 }
36696 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36697 {
36698 PyThreadState* __tstate = wxPyBeginAllowThreads();
36699 (arg1)->ExpandAll();
36700 wxPyEndAllowThreads(__tstate);
36701 if (PyErr_Occurred()) SWIG_fail;
36702 }
36703 resultobj = SWIG_Py_Void();
36704 return resultobj;
36705 fail:
36706 return NULL;
36707 }
36708
36709
36710 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36711 PyObject *resultobj = 0;
36712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36713 wxTreeItemId *arg2 = 0 ;
36714 void *argp1 = 0 ;
36715 int res1 = 0 ;
36716 void *argp2 = 0 ;
36717 int res2 = 0 ;
36718 PyObject * obj0 = 0 ;
36719 PyObject * obj1 = 0 ;
36720 char * kwnames[] = {
36721 (char *) "self",(char *) "item", NULL
36722 };
36723
36724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36726 if (!SWIG_IsOK(res1)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36728 }
36729 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36730 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36731 if (!SWIG_IsOK(res2)) {
36732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36733 }
36734 if (!argp2) {
36735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36736 }
36737 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36738 {
36739 PyThreadState* __tstate = wxPyBeginAllowThreads();
36740 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36741 wxPyEndAllowThreads(__tstate);
36742 if (PyErr_Occurred()) SWIG_fail;
36743 }
36744 resultobj = SWIG_Py_Void();
36745 return resultobj;
36746 fail:
36747 return NULL;
36748 }
36749
36750
36751 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36752 PyObject *resultobj = 0;
36753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36754 wxTreeItemId *arg2 = 0 ;
36755 void *argp1 = 0 ;
36756 int res1 = 0 ;
36757 void *argp2 = 0 ;
36758 int res2 = 0 ;
36759 PyObject * obj0 = 0 ;
36760 PyObject * obj1 = 0 ;
36761 char * kwnames[] = {
36762 (char *) "self",(char *) "item", NULL
36763 };
36764
36765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36767 if (!SWIG_IsOK(res1)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36769 }
36770 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36771 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36772 if (!SWIG_IsOK(res2)) {
36773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36774 }
36775 if (!argp2) {
36776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36777 }
36778 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36779 {
36780 PyThreadState* __tstate = wxPyBeginAllowThreads();
36781 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36782 wxPyEndAllowThreads(__tstate);
36783 if (PyErr_Occurred()) SWIG_fail;
36784 }
36785 resultobj = SWIG_Py_Void();
36786 return resultobj;
36787 fail:
36788 return NULL;
36789 }
36790
36791
36792 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36793 PyObject *resultobj = 0;
36794 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36795 wxTreeItemId *arg2 = 0 ;
36796 void *argp1 = 0 ;
36797 int res1 = 0 ;
36798 void *argp2 = 0 ;
36799 int res2 = 0 ;
36800 PyObject * obj0 = 0 ;
36801 PyObject * obj1 = 0 ;
36802 char * kwnames[] = {
36803 (char *) "self",(char *) "item", NULL
36804 };
36805
36806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36808 if (!SWIG_IsOK(res1)) {
36809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36810 }
36811 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36812 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36813 if (!SWIG_IsOK(res2)) {
36814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36815 }
36816 if (!argp2) {
36817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36818 }
36819 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36820 {
36821 PyThreadState* __tstate = wxPyBeginAllowThreads();
36822 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36823 wxPyEndAllowThreads(__tstate);
36824 if (PyErr_Occurred()) SWIG_fail;
36825 }
36826 resultobj = SWIG_Py_Void();
36827 return resultobj;
36828 fail:
36829 return NULL;
36830 }
36831
36832
36833 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36834 PyObject *resultobj = 0;
36835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36836 void *argp1 = 0 ;
36837 int res1 = 0 ;
36838 PyObject *swig_obj[1] ;
36839
36840 if (!args) SWIG_fail;
36841 swig_obj[0] = args;
36842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36843 if (!SWIG_IsOK(res1)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36845 }
36846 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36847 {
36848 PyThreadState* __tstate = wxPyBeginAllowThreads();
36849 (arg1)->Unselect();
36850 wxPyEndAllowThreads(__tstate);
36851 if (PyErr_Occurred()) SWIG_fail;
36852 }
36853 resultobj = SWIG_Py_Void();
36854 return resultobj;
36855 fail:
36856 return NULL;
36857 }
36858
36859
36860 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36861 PyObject *resultobj = 0;
36862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36863 wxTreeItemId *arg2 = 0 ;
36864 void *argp1 = 0 ;
36865 int res1 = 0 ;
36866 void *argp2 = 0 ;
36867 int res2 = 0 ;
36868 PyObject * obj0 = 0 ;
36869 PyObject * obj1 = 0 ;
36870 char * kwnames[] = {
36871 (char *) "self",(char *) "item", NULL
36872 };
36873
36874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36876 if (!SWIG_IsOK(res1)) {
36877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36878 }
36879 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36880 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36881 if (!SWIG_IsOK(res2)) {
36882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36883 }
36884 if (!argp2) {
36885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36886 }
36887 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36888 {
36889 PyThreadState* __tstate = wxPyBeginAllowThreads();
36890 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36891 wxPyEndAllowThreads(__tstate);
36892 if (PyErr_Occurred()) SWIG_fail;
36893 }
36894 resultobj = SWIG_Py_Void();
36895 return resultobj;
36896 fail:
36897 return NULL;
36898 }
36899
36900
36901 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36902 PyObject *resultobj = 0;
36903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36904 void *argp1 = 0 ;
36905 int res1 = 0 ;
36906 PyObject *swig_obj[1] ;
36907
36908 if (!args) SWIG_fail;
36909 swig_obj[0] = args;
36910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36911 if (!SWIG_IsOK(res1)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36913 }
36914 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36915 {
36916 PyThreadState* __tstate = wxPyBeginAllowThreads();
36917 (arg1)->UnselectAll();
36918 wxPyEndAllowThreads(__tstate);
36919 if (PyErr_Occurred()) SWIG_fail;
36920 }
36921 resultobj = SWIG_Py_Void();
36922 return resultobj;
36923 fail:
36924 return NULL;
36925 }
36926
36927
36928 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36929 PyObject *resultobj = 0;
36930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36931 wxTreeItemId *arg2 = 0 ;
36932 bool arg3 = (bool) true ;
36933 void *argp1 = 0 ;
36934 int res1 = 0 ;
36935 void *argp2 = 0 ;
36936 int res2 = 0 ;
36937 bool val3 ;
36938 int ecode3 = 0 ;
36939 PyObject * obj0 = 0 ;
36940 PyObject * obj1 = 0 ;
36941 PyObject * obj2 = 0 ;
36942 char * kwnames[] = {
36943 (char *) "self",(char *) "item",(char *) "select", NULL
36944 };
36945
36946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36948 if (!SWIG_IsOK(res1)) {
36949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36950 }
36951 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36952 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36953 if (!SWIG_IsOK(res2)) {
36954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36955 }
36956 if (!argp2) {
36957 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36958 }
36959 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36960 if (obj2) {
36961 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36962 if (!SWIG_IsOK(ecode3)) {
36963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36964 }
36965 arg3 = static_cast< bool >(val3);
36966 }
36967 {
36968 PyThreadState* __tstate = wxPyBeginAllowThreads();
36969 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36970 wxPyEndAllowThreads(__tstate);
36971 if (PyErr_Occurred()) SWIG_fail;
36972 }
36973 resultobj = SWIG_Py_Void();
36974 return resultobj;
36975 fail:
36976 return NULL;
36977 }
36978
36979
36980 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36981 PyObject *resultobj = 0;
36982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36983 wxTreeItemId *arg2 = 0 ;
36984 void *argp1 = 0 ;
36985 int res1 = 0 ;
36986 void *argp2 = 0 ;
36987 int res2 = 0 ;
36988 PyObject * obj0 = 0 ;
36989 PyObject * obj1 = 0 ;
36990 char * kwnames[] = {
36991 (char *) "self",(char *) "item", NULL
36992 };
36993
36994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36996 if (!SWIG_IsOK(res1)) {
36997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36998 }
36999 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37000 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37001 if (!SWIG_IsOK(res2)) {
37002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37003 }
37004 if (!argp2) {
37005 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37006 }
37007 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37008 {
37009 PyThreadState* __tstate = wxPyBeginAllowThreads();
37010 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37011 wxPyEndAllowThreads(__tstate);
37012 if (PyErr_Occurred()) SWIG_fail;
37013 }
37014 resultobj = SWIG_Py_Void();
37015 return resultobj;
37016 fail:
37017 return NULL;
37018 }
37019
37020
37021 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37022 PyObject *resultobj = 0;
37023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37024 wxTreeItemId *arg2 = 0 ;
37025 void *argp1 = 0 ;
37026 int res1 = 0 ;
37027 void *argp2 = 0 ;
37028 int res2 = 0 ;
37029 PyObject * obj0 = 0 ;
37030 PyObject * obj1 = 0 ;
37031 char * kwnames[] = {
37032 (char *) "self",(char *) "item", NULL
37033 };
37034
37035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37037 if (!SWIG_IsOK(res1)) {
37038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37039 }
37040 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37042 if (!SWIG_IsOK(res2)) {
37043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37044 }
37045 if (!argp2) {
37046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37047 }
37048 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37049 {
37050 PyThreadState* __tstate = wxPyBeginAllowThreads();
37051 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37052 wxPyEndAllowThreads(__tstate);
37053 if (PyErr_Occurred()) SWIG_fail;
37054 }
37055 resultobj = SWIG_Py_Void();
37056 return resultobj;
37057 fail:
37058 return NULL;
37059 }
37060
37061
37062 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37063 PyObject *resultobj = 0;
37064 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37065 wxTreeItemId *arg2 = 0 ;
37066 void *argp1 = 0 ;
37067 int res1 = 0 ;
37068 void *argp2 = 0 ;
37069 int res2 = 0 ;
37070 PyObject * obj0 = 0 ;
37071 PyObject * obj1 = 0 ;
37072 char * kwnames[] = {
37073 (char *) "self",(char *) "item", NULL
37074 };
37075
37076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37078 if (!SWIG_IsOK(res1)) {
37079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37080 }
37081 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37082 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37083 if (!SWIG_IsOK(res2)) {
37084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37085 }
37086 if (!argp2) {
37087 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37088 }
37089 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37090 {
37091 PyThreadState* __tstate = wxPyBeginAllowThreads();
37092 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37093 wxPyEndAllowThreads(__tstate);
37094 if (PyErr_Occurred()) SWIG_fail;
37095 }
37096 resultobj = SWIG_Py_Void();
37097 return resultobj;
37098 fail:
37099 return NULL;
37100 }
37101
37102
37103 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37104 PyObject *resultobj = 0;
37105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37106 wxTreeItemId *arg2 = 0 ;
37107 void *argp1 = 0 ;
37108 int res1 = 0 ;
37109 void *argp2 = 0 ;
37110 int res2 = 0 ;
37111 PyObject * obj0 = 0 ;
37112 PyObject * obj1 = 0 ;
37113 char * kwnames[] = {
37114 (char *) "self",(char *) "item", NULL
37115 };
37116
37117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37119 if (!SWIG_IsOK(res1)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37121 }
37122 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37123 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37124 if (!SWIG_IsOK(res2)) {
37125 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37126 }
37127 if (!argp2) {
37128 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37129 }
37130 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37131 {
37132 PyThreadState* __tstate = wxPyBeginAllowThreads();
37133 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37134 wxPyEndAllowThreads(__tstate);
37135 if (PyErr_Occurred()) SWIG_fail;
37136 }
37137 resultobj = SWIG_Py_Void();
37138 return resultobj;
37139 fail:
37140 return NULL;
37141 }
37142
37143
37144 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37145 PyObject *resultobj = 0;
37146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37147 wxTextCtrl *result = 0 ;
37148 void *argp1 = 0 ;
37149 int res1 = 0 ;
37150 PyObject *swig_obj[1] ;
37151
37152 if (!args) SWIG_fail;
37153 swig_obj[0] = args;
37154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37155 if (!SWIG_IsOK(res1)) {
37156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37157 }
37158 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37159 {
37160 PyThreadState* __tstate = wxPyBeginAllowThreads();
37161 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37162 wxPyEndAllowThreads(__tstate);
37163 if (PyErr_Occurred()) SWIG_fail;
37164 }
37165 {
37166 resultobj = wxPyMake_wxObject(result, 0);
37167 }
37168 return resultobj;
37169 fail:
37170 return NULL;
37171 }
37172
37173
37174 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37175 PyObject *resultobj = 0;
37176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37177 wxTreeItemId *arg2 = 0 ;
37178 void *argp1 = 0 ;
37179 int res1 = 0 ;
37180 void *argp2 = 0 ;
37181 int res2 = 0 ;
37182 PyObject * obj0 = 0 ;
37183 PyObject * obj1 = 0 ;
37184 char * kwnames[] = {
37185 (char *) "self",(char *) "item", NULL
37186 };
37187
37188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37190 if (!SWIG_IsOK(res1)) {
37191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37192 }
37193 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37194 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37195 if (!SWIG_IsOK(res2)) {
37196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37197 }
37198 if (!argp2) {
37199 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37200 }
37201 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37202 {
37203 PyThreadState* __tstate = wxPyBeginAllowThreads();
37204 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37205 wxPyEndAllowThreads(__tstate);
37206 if (PyErr_Occurred()) SWIG_fail;
37207 }
37208 resultobj = SWIG_Py_Void();
37209 return resultobj;
37210 fail:
37211 return NULL;
37212 }
37213
37214
37215 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37216 PyObject *resultobj = 0;
37217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37218 wxPoint *arg2 = 0 ;
37219 int *arg3 = 0 ;
37220 wxTreeItemId result;
37221 void *argp1 = 0 ;
37222 int res1 = 0 ;
37223 wxPoint temp2 ;
37224 int temp3 ;
37225 int res3 = SWIG_TMPOBJ ;
37226 PyObject * obj0 = 0 ;
37227 PyObject * obj1 = 0 ;
37228 char * kwnames[] = {
37229 (char *) "self",(char *) "point", NULL
37230 };
37231
37232 arg3 = &temp3;
37233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37235 if (!SWIG_IsOK(res1)) {
37236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37237 }
37238 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37239 {
37240 arg2 = &temp2;
37241 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37242 }
37243 {
37244 PyThreadState* __tstate = wxPyBeginAllowThreads();
37245 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37246 wxPyEndAllowThreads(__tstate);
37247 if (PyErr_Occurred()) SWIG_fail;
37248 }
37249 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37250 if (SWIG_IsTmpObj(res3)) {
37251 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37252 } else {
37253 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37254 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37255 }
37256 return resultobj;
37257 fail:
37258 return NULL;
37259 }
37260
37261
37262 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37263 PyObject *resultobj = 0;
37264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37265 wxTreeItemId *arg2 = 0 ;
37266 bool arg3 = (bool) false ;
37267 PyObject *result = 0 ;
37268 void *argp1 = 0 ;
37269 int res1 = 0 ;
37270 void *argp2 = 0 ;
37271 int res2 = 0 ;
37272 bool val3 ;
37273 int ecode3 = 0 ;
37274 PyObject * obj0 = 0 ;
37275 PyObject * obj1 = 0 ;
37276 PyObject * obj2 = 0 ;
37277 char * kwnames[] = {
37278 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37279 };
37280
37281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37283 if (!SWIG_IsOK(res1)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37285 }
37286 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37287 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37288 if (!SWIG_IsOK(res2)) {
37289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37290 }
37291 if (!argp2) {
37292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37293 }
37294 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37295 if (obj2) {
37296 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37297 if (!SWIG_IsOK(ecode3)) {
37298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37299 }
37300 arg3 = static_cast< bool >(val3);
37301 }
37302 {
37303 PyThreadState* __tstate = wxPyBeginAllowThreads();
37304 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37305 wxPyEndAllowThreads(__tstate);
37306 if (PyErr_Occurred()) SWIG_fail;
37307 }
37308 resultobj = result;
37309 return resultobj;
37310 fail:
37311 return NULL;
37312 }
37313
37314
37315 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37316 PyObject *resultobj = 0;
37317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37318 SwigValueWrapper<wxVisualAttributes > result;
37319 int val1 ;
37320 int ecode1 = 0 ;
37321 PyObject * obj0 = 0 ;
37322 char * kwnames[] = {
37323 (char *) "variant", NULL
37324 };
37325
37326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37327 if (obj0) {
37328 ecode1 = SWIG_AsVal_int(obj0, &val1);
37329 if (!SWIG_IsOK(ecode1)) {
37330 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37331 }
37332 arg1 = static_cast< wxWindowVariant >(val1);
37333 }
37334 {
37335 if (!wxPyCheckForApp()) SWIG_fail;
37336 PyThreadState* __tstate = wxPyBeginAllowThreads();
37337 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37338 wxPyEndAllowThreads(__tstate);
37339 if (PyErr_Occurred()) SWIG_fail;
37340 }
37341 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37342 return resultobj;
37343 fail:
37344 return NULL;
37345 }
37346
37347
37348 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37349 PyObject *resultobj = 0;
37350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37351 bool arg2 ;
37352 void *argp1 = 0 ;
37353 int res1 = 0 ;
37354 bool val2 ;
37355 int ecode2 = 0 ;
37356 PyObject * obj0 = 0 ;
37357 PyObject * obj1 = 0 ;
37358 char * kwnames[] = {
37359 (char *) "self",(char *) "q", NULL
37360 };
37361
37362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37364 if (!SWIG_IsOK(res1)) {
37365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37366 }
37367 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37368 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37369 if (!SWIG_IsOK(ecode2)) {
37370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37371 }
37372 arg2 = static_cast< bool >(val2);
37373 {
37374 PyThreadState* __tstate = wxPyBeginAllowThreads();
37375 (arg1)->SetQuickBestSize(arg2);
37376 wxPyEndAllowThreads(__tstate);
37377 if (PyErr_Occurred()) SWIG_fail;
37378 }
37379 resultobj = SWIG_Py_Void();
37380 return resultobj;
37381 fail:
37382 return NULL;
37383 }
37384
37385
37386 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37387 PyObject *resultobj = 0;
37388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37389 bool result;
37390 void *argp1 = 0 ;
37391 int res1 = 0 ;
37392 PyObject *swig_obj[1] ;
37393
37394 if (!args) SWIG_fail;
37395 swig_obj[0] = args;
37396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37397 if (!SWIG_IsOK(res1)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37399 }
37400 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37401 {
37402 PyThreadState* __tstate = wxPyBeginAllowThreads();
37403 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37404 wxPyEndAllowThreads(__tstate);
37405 if (PyErr_Occurred()) SWIG_fail;
37406 }
37407 {
37408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37409 }
37410 return resultobj;
37411 fail:
37412 return NULL;
37413 }
37414
37415
37416 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37417 PyObject *obj;
37418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37420 return SWIG_Py_Void();
37421 }
37422
37423 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37424 return SWIG_Python_InitShadowInstance(args);
37425 }
37426
37427 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37428 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37429 return 1;
37430 }
37431
37432
37433 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37434 PyObject *pyobj = 0;
37435
37436 {
37437 #if wxUSE_UNICODE
37438 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37439 #else
37440 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37441 #endif
37442 }
37443 return pyobj;
37444 }
37445
37446
37447 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37448 PyObject *resultobj = 0;
37449 wxWindow *arg1 = (wxWindow *) 0 ;
37450 int arg2 = (int) (int)-1 ;
37451 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37452 wxString *arg3 = (wxString *) &arg3_defvalue ;
37453 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37454 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37455 wxSize const &arg5_defvalue = wxDefaultSize ;
37456 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37457 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37458 wxString const &arg7_defvalue = wxPyEmptyString ;
37459 wxString *arg7 = (wxString *) &arg7_defvalue ;
37460 int arg8 = (int) 0 ;
37461 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37462 wxString *arg9 = (wxString *) &arg9_defvalue ;
37463 wxGenericDirCtrl *result = 0 ;
37464 void *argp1 = 0 ;
37465 int res1 = 0 ;
37466 int val2 ;
37467 int ecode2 = 0 ;
37468 bool temp3 = false ;
37469 wxPoint temp4 ;
37470 wxSize temp5 ;
37471 long val6 ;
37472 int ecode6 = 0 ;
37473 bool temp7 = false ;
37474 int val8 ;
37475 int ecode8 = 0 ;
37476 bool temp9 = false ;
37477 PyObject * obj0 = 0 ;
37478 PyObject * obj1 = 0 ;
37479 PyObject * obj2 = 0 ;
37480 PyObject * obj3 = 0 ;
37481 PyObject * obj4 = 0 ;
37482 PyObject * obj5 = 0 ;
37483 PyObject * obj6 = 0 ;
37484 PyObject * obj7 = 0 ;
37485 PyObject * obj8 = 0 ;
37486 char * kwnames[] = {
37487 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37488 };
37489
37490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37492 if (!SWIG_IsOK(res1)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37494 }
37495 arg1 = reinterpret_cast< wxWindow * >(argp1);
37496 if (obj1) {
37497 ecode2 = SWIG_AsVal_int(obj1, &val2);
37498 if (!SWIG_IsOK(ecode2)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37500 }
37501 arg2 = static_cast< int >(val2);
37502 }
37503 if (obj2) {
37504 {
37505 arg3 = wxString_in_helper(obj2);
37506 if (arg3 == NULL) SWIG_fail;
37507 temp3 = true;
37508 }
37509 }
37510 if (obj3) {
37511 {
37512 arg4 = &temp4;
37513 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37514 }
37515 }
37516 if (obj4) {
37517 {
37518 arg5 = &temp5;
37519 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37520 }
37521 }
37522 if (obj5) {
37523 ecode6 = SWIG_AsVal_long(obj5, &val6);
37524 if (!SWIG_IsOK(ecode6)) {
37525 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37526 }
37527 arg6 = static_cast< long >(val6);
37528 }
37529 if (obj6) {
37530 {
37531 arg7 = wxString_in_helper(obj6);
37532 if (arg7 == NULL) SWIG_fail;
37533 temp7 = true;
37534 }
37535 }
37536 if (obj7) {
37537 ecode8 = SWIG_AsVal_int(obj7, &val8);
37538 if (!SWIG_IsOK(ecode8)) {
37539 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37540 }
37541 arg8 = static_cast< int >(val8);
37542 }
37543 if (obj8) {
37544 {
37545 arg9 = wxString_in_helper(obj8);
37546 if (arg9 == NULL) SWIG_fail;
37547 temp9 = true;
37548 }
37549 }
37550 {
37551 if (!wxPyCheckForApp()) SWIG_fail;
37552 PyThreadState* __tstate = wxPyBeginAllowThreads();
37553 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37554 wxPyEndAllowThreads(__tstate);
37555 if (PyErr_Occurred()) SWIG_fail;
37556 }
37557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37558 {
37559 if (temp3)
37560 delete arg3;
37561 }
37562 {
37563 if (temp7)
37564 delete arg7;
37565 }
37566 {
37567 if (temp9)
37568 delete arg9;
37569 }
37570 return resultobj;
37571 fail:
37572 {
37573 if (temp3)
37574 delete arg3;
37575 }
37576 {
37577 if (temp7)
37578 delete arg7;
37579 }
37580 {
37581 if (temp9)
37582 delete arg9;
37583 }
37584 return NULL;
37585 }
37586
37587
37588 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37589 PyObject *resultobj = 0;
37590 wxGenericDirCtrl *result = 0 ;
37591
37592 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37593 {
37594 if (!wxPyCheckForApp()) SWIG_fail;
37595 PyThreadState* __tstate = wxPyBeginAllowThreads();
37596 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37597 wxPyEndAllowThreads(__tstate);
37598 if (PyErr_Occurred()) SWIG_fail;
37599 }
37600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37601 return resultobj;
37602 fail:
37603 return NULL;
37604 }
37605
37606
37607 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37608 PyObject *resultobj = 0;
37609 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37610 wxWindow *arg2 = (wxWindow *) 0 ;
37611 int arg3 = (int) (int)-1 ;
37612 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37613 wxString *arg4 = (wxString *) &arg4_defvalue ;
37614 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37615 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37616 wxSize const &arg6_defvalue = wxDefaultSize ;
37617 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37618 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37619 wxString const &arg8_defvalue = wxPyEmptyString ;
37620 wxString *arg8 = (wxString *) &arg8_defvalue ;
37621 int arg9 = (int) 0 ;
37622 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37623 wxString *arg10 = (wxString *) &arg10_defvalue ;
37624 bool result;
37625 void *argp1 = 0 ;
37626 int res1 = 0 ;
37627 void *argp2 = 0 ;
37628 int res2 = 0 ;
37629 int val3 ;
37630 int ecode3 = 0 ;
37631 bool temp4 = false ;
37632 wxPoint temp5 ;
37633 wxSize temp6 ;
37634 long val7 ;
37635 int ecode7 = 0 ;
37636 bool temp8 = false ;
37637 int val9 ;
37638 int ecode9 = 0 ;
37639 bool temp10 = false ;
37640 PyObject * obj0 = 0 ;
37641 PyObject * obj1 = 0 ;
37642 PyObject * obj2 = 0 ;
37643 PyObject * obj3 = 0 ;
37644 PyObject * obj4 = 0 ;
37645 PyObject * obj5 = 0 ;
37646 PyObject * obj6 = 0 ;
37647 PyObject * obj7 = 0 ;
37648 PyObject * obj8 = 0 ;
37649 PyObject * obj9 = 0 ;
37650 char * kwnames[] = {
37651 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37652 };
37653
37654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37656 if (!SWIG_IsOK(res1)) {
37657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37658 }
37659 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37660 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37661 if (!SWIG_IsOK(res2)) {
37662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37663 }
37664 arg2 = reinterpret_cast< wxWindow * >(argp2);
37665 if (obj2) {
37666 ecode3 = SWIG_AsVal_int(obj2, &val3);
37667 if (!SWIG_IsOK(ecode3)) {
37668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37669 }
37670 arg3 = static_cast< int >(val3);
37671 }
37672 if (obj3) {
37673 {
37674 arg4 = wxString_in_helper(obj3);
37675 if (arg4 == NULL) SWIG_fail;
37676 temp4 = true;
37677 }
37678 }
37679 if (obj4) {
37680 {
37681 arg5 = &temp5;
37682 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
37683 }
37684 }
37685 if (obj5) {
37686 {
37687 arg6 = &temp6;
37688 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
37689 }
37690 }
37691 if (obj6) {
37692 ecode7 = SWIG_AsVal_long(obj6, &val7);
37693 if (!SWIG_IsOK(ecode7)) {
37694 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37695 }
37696 arg7 = static_cast< long >(val7);
37697 }
37698 if (obj7) {
37699 {
37700 arg8 = wxString_in_helper(obj7);
37701 if (arg8 == NULL) SWIG_fail;
37702 temp8 = true;
37703 }
37704 }
37705 if (obj8) {
37706 ecode9 = SWIG_AsVal_int(obj8, &val9);
37707 if (!SWIG_IsOK(ecode9)) {
37708 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37709 }
37710 arg9 = static_cast< int >(val9);
37711 }
37712 if (obj9) {
37713 {
37714 arg10 = wxString_in_helper(obj9);
37715 if (arg10 == NULL) SWIG_fail;
37716 temp10 = true;
37717 }
37718 }
37719 {
37720 PyThreadState* __tstate = wxPyBeginAllowThreads();
37721 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37722 wxPyEndAllowThreads(__tstate);
37723 if (PyErr_Occurred()) SWIG_fail;
37724 }
37725 {
37726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37727 }
37728 {
37729 if (temp4)
37730 delete arg4;
37731 }
37732 {
37733 if (temp8)
37734 delete arg8;
37735 }
37736 {
37737 if (temp10)
37738 delete arg10;
37739 }
37740 return resultobj;
37741 fail:
37742 {
37743 if (temp4)
37744 delete arg4;
37745 }
37746 {
37747 if (temp8)
37748 delete arg8;
37749 }
37750 {
37751 if (temp10)
37752 delete arg10;
37753 }
37754 return NULL;
37755 }
37756
37757
37758 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37759 PyObject *resultobj = 0;
37760 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37761 wxString *arg2 = 0 ;
37762 bool result;
37763 void *argp1 = 0 ;
37764 int res1 = 0 ;
37765 bool temp2 = false ;
37766 PyObject * obj0 = 0 ;
37767 PyObject * obj1 = 0 ;
37768 char * kwnames[] = {
37769 (char *) "self",(char *) "path", NULL
37770 };
37771
37772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37774 if (!SWIG_IsOK(res1)) {
37775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37776 }
37777 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37778 {
37779 arg2 = wxString_in_helper(obj1);
37780 if (arg2 == NULL) SWIG_fail;
37781 temp2 = true;
37782 }
37783 {
37784 PyThreadState* __tstate = wxPyBeginAllowThreads();
37785 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37786 wxPyEndAllowThreads(__tstate);
37787 if (PyErr_Occurred()) SWIG_fail;
37788 }
37789 {
37790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37791 }
37792 {
37793 if (temp2)
37794 delete arg2;
37795 }
37796 return resultobj;
37797 fail:
37798 {
37799 if (temp2)
37800 delete arg2;
37801 }
37802 return NULL;
37803 }
37804
37805
37806 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37807 PyObject *resultobj = 0;
37808 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37809 wxString *arg2 = 0 ;
37810 bool result;
37811 void *argp1 = 0 ;
37812 int res1 = 0 ;
37813 bool temp2 = false ;
37814 PyObject * obj0 = 0 ;
37815 PyObject * obj1 = 0 ;
37816 char * kwnames[] = {
37817 (char *) "self",(char *) "path", NULL
37818 };
37819
37820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37822 if (!SWIG_IsOK(res1)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37824 }
37825 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37826 {
37827 arg2 = wxString_in_helper(obj1);
37828 if (arg2 == NULL) SWIG_fail;
37829 temp2 = true;
37830 }
37831 {
37832 PyThreadState* __tstate = wxPyBeginAllowThreads();
37833 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37834 wxPyEndAllowThreads(__tstate);
37835 if (PyErr_Occurred()) SWIG_fail;
37836 }
37837 {
37838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37839 }
37840 {
37841 if (temp2)
37842 delete arg2;
37843 }
37844 return resultobj;
37845 fail:
37846 {
37847 if (temp2)
37848 delete arg2;
37849 }
37850 return NULL;
37851 }
37852
37853
37854 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37855 PyObject *resultobj = 0;
37856 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37857 wxString result;
37858 void *argp1 = 0 ;
37859 int res1 = 0 ;
37860 PyObject *swig_obj[1] ;
37861
37862 if (!args) SWIG_fail;
37863 swig_obj[0] = args;
37864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37865 if (!SWIG_IsOK(res1)) {
37866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37867 }
37868 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37869 {
37870 PyThreadState* __tstate = wxPyBeginAllowThreads();
37871 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37872 wxPyEndAllowThreads(__tstate);
37873 if (PyErr_Occurred()) SWIG_fail;
37874 }
37875 {
37876 #if wxUSE_UNICODE
37877 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37878 #else
37879 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37880 #endif
37881 }
37882 return resultobj;
37883 fail:
37884 return NULL;
37885 }
37886
37887
37888 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37889 PyObject *resultobj = 0;
37890 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37891 wxString *arg2 = 0 ;
37892 void *argp1 = 0 ;
37893 int res1 = 0 ;
37894 bool temp2 = false ;
37895 PyObject * obj0 = 0 ;
37896 PyObject * obj1 = 0 ;
37897 char * kwnames[] = {
37898 (char *) "self",(char *) "path", NULL
37899 };
37900
37901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37903 if (!SWIG_IsOK(res1)) {
37904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37905 }
37906 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37907 {
37908 arg2 = wxString_in_helper(obj1);
37909 if (arg2 == NULL) SWIG_fail;
37910 temp2 = true;
37911 }
37912 {
37913 PyThreadState* __tstate = wxPyBeginAllowThreads();
37914 (arg1)->SetDefaultPath((wxString const &)*arg2);
37915 wxPyEndAllowThreads(__tstate);
37916 if (PyErr_Occurred()) SWIG_fail;
37917 }
37918 resultobj = SWIG_Py_Void();
37919 {
37920 if (temp2)
37921 delete arg2;
37922 }
37923 return resultobj;
37924 fail:
37925 {
37926 if (temp2)
37927 delete arg2;
37928 }
37929 return NULL;
37930 }
37931
37932
37933 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37934 PyObject *resultobj = 0;
37935 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37936 wxString result;
37937 void *argp1 = 0 ;
37938 int res1 = 0 ;
37939 PyObject *swig_obj[1] ;
37940
37941 if (!args) SWIG_fail;
37942 swig_obj[0] = args;
37943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37944 if (!SWIG_IsOK(res1)) {
37945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37946 }
37947 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37948 {
37949 PyThreadState* __tstate = wxPyBeginAllowThreads();
37950 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37951 wxPyEndAllowThreads(__tstate);
37952 if (PyErr_Occurred()) SWIG_fail;
37953 }
37954 {
37955 #if wxUSE_UNICODE
37956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37957 #else
37958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37959 #endif
37960 }
37961 return resultobj;
37962 fail:
37963 return NULL;
37964 }
37965
37966
37967 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37968 PyObject *resultobj = 0;
37969 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37970 wxString result;
37971 void *argp1 = 0 ;
37972 int res1 = 0 ;
37973 PyObject *swig_obj[1] ;
37974
37975 if (!args) SWIG_fail;
37976 swig_obj[0] = args;
37977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37978 if (!SWIG_IsOK(res1)) {
37979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37980 }
37981 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37982 {
37983 PyThreadState* __tstate = wxPyBeginAllowThreads();
37984 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37985 wxPyEndAllowThreads(__tstate);
37986 if (PyErr_Occurred()) SWIG_fail;
37987 }
37988 {
37989 #if wxUSE_UNICODE
37990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37991 #else
37992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37993 #endif
37994 }
37995 return resultobj;
37996 fail:
37997 return NULL;
37998 }
37999
38000
38001 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38002 PyObject *resultobj = 0;
38003 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38004 wxString *arg2 = 0 ;
38005 void *argp1 = 0 ;
38006 int res1 = 0 ;
38007 bool temp2 = false ;
38008 PyObject * obj0 = 0 ;
38009 PyObject * obj1 = 0 ;
38010 char * kwnames[] = {
38011 (char *) "self",(char *) "path", NULL
38012 };
38013
38014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38016 if (!SWIG_IsOK(res1)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38018 }
38019 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38020 {
38021 arg2 = wxString_in_helper(obj1);
38022 if (arg2 == NULL) SWIG_fail;
38023 temp2 = true;
38024 }
38025 {
38026 PyThreadState* __tstate = wxPyBeginAllowThreads();
38027 (arg1)->SetPath((wxString const &)*arg2);
38028 wxPyEndAllowThreads(__tstate);
38029 if (PyErr_Occurred()) SWIG_fail;
38030 }
38031 resultobj = SWIG_Py_Void();
38032 {
38033 if (temp2)
38034 delete arg2;
38035 }
38036 return resultobj;
38037 fail:
38038 {
38039 if (temp2)
38040 delete arg2;
38041 }
38042 return NULL;
38043 }
38044
38045
38046 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38047 PyObject *resultobj = 0;
38048 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38049 bool arg2 ;
38050 void *argp1 = 0 ;
38051 int res1 = 0 ;
38052 bool val2 ;
38053 int ecode2 = 0 ;
38054 PyObject * obj0 = 0 ;
38055 PyObject * obj1 = 0 ;
38056 char * kwnames[] = {
38057 (char *) "self",(char *) "show", NULL
38058 };
38059
38060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38062 if (!SWIG_IsOK(res1)) {
38063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38064 }
38065 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38066 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38067 if (!SWIG_IsOK(ecode2)) {
38068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38069 }
38070 arg2 = static_cast< bool >(val2);
38071 {
38072 PyThreadState* __tstate = wxPyBeginAllowThreads();
38073 (arg1)->ShowHidden(arg2);
38074 wxPyEndAllowThreads(__tstate);
38075 if (PyErr_Occurred()) SWIG_fail;
38076 }
38077 resultobj = SWIG_Py_Void();
38078 return resultobj;
38079 fail:
38080 return NULL;
38081 }
38082
38083
38084 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38085 PyObject *resultobj = 0;
38086 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38087 bool result;
38088 void *argp1 = 0 ;
38089 int res1 = 0 ;
38090 PyObject *swig_obj[1] ;
38091
38092 if (!args) SWIG_fail;
38093 swig_obj[0] = args;
38094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38095 if (!SWIG_IsOK(res1)) {
38096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38097 }
38098 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38099 {
38100 PyThreadState* __tstate = wxPyBeginAllowThreads();
38101 result = (bool)(arg1)->GetShowHidden();
38102 wxPyEndAllowThreads(__tstate);
38103 if (PyErr_Occurred()) SWIG_fail;
38104 }
38105 {
38106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38107 }
38108 return resultobj;
38109 fail:
38110 return NULL;
38111 }
38112
38113
38114 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38115 PyObject *resultobj = 0;
38116 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38117 wxString result;
38118 void *argp1 = 0 ;
38119 int res1 = 0 ;
38120 PyObject *swig_obj[1] ;
38121
38122 if (!args) SWIG_fail;
38123 swig_obj[0] = args;
38124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38125 if (!SWIG_IsOK(res1)) {
38126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38127 }
38128 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38129 {
38130 PyThreadState* __tstate = wxPyBeginAllowThreads();
38131 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38132 wxPyEndAllowThreads(__tstate);
38133 if (PyErr_Occurred()) SWIG_fail;
38134 }
38135 {
38136 #if wxUSE_UNICODE
38137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38138 #else
38139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38140 #endif
38141 }
38142 return resultobj;
38143 fail:
38144 return NULL;
38145 }
38146
38147
38148 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38149 PyObject *resultobj = 0;
38150 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38151 wxString *arg2 = 0 ;
38152 void *argp1 = 0 ;
38153 int res1 = 0 ;
38154 bool temp2 = false ;
38155 PyObject * obj0 = 0 ;
38156 PyObject * obj1 = 0 ;
38157 char * kwnames[] = {
38158 (char *) "self",(char *) "filter", NULL
38159 };
38160
38161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38163 if (!SWIG_IsOK(res1)) {
38164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38165 }
38166 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38167 {
38168 arg2 = wxString_in_helper(obj1);
38169 if (arg2 == NULL) SWIG_fail;
38170 temp2 = true;
38171 }
38172 {
38173 PyThreadState* __tstate = wxPyBeginAllowThreads();
38174 (arg1)->SetFilter((wxString const &)*arg2);
38175 wxPyEndAllowThreads(__tstate);
38176 if (PyErr_Occurred()) SWIG_fail;
38177 }
38178 resultobj = SWIG_Py_Void();
38179 {
38180 if (temp2)
38181 delete arg2;
38182 }
38183 return resultobj;
38184 fail:
38185 {
38186 if (temp2)
38187 delete arg2;
38188 }
38189 return NULL;
38190 }
38191
38192
38193 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38194 PyObject *resultobj = 0;
38195 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38196 int result;
38197 void *argp1 = 0 ;
38198 int res1 = 0 ;
38199 PyObject *swig_obj[1] ;
38200
38201 if (!args) SWIG_fail;
38202 swig_obj[0] = args;
38203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38204 if (!SWIG_IsOK(res1)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38206 }
38207 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38208 {
38209 PyThreadState* __tstate = wxPyBeginAllowThreads();
38210 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38211 wxPyEndAllowThreads(__tstate);
38212 if (PyErr_Occurred()) SWIG_fail;
38213 }
38214 resultobj = SWIG_From_int(static_cast< int >(result));
38215 return resultobj;
38216 fail:
38217 return NULL;
38218 }
38219
38220
38221 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38222 PyObject *resultobj = 0;
38223 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38224 int arg2 ;
38225 void *argp1 = 0 ;
38226 int res1 = 0 ;
38227 int val2 ;
38228 int ecode2 = 0 ;
38229 PyObject * obj0 = 0 ;
38230 PyObject * obj1 = 0 ;
38231 char * kwnames[] = {
38232 (char *) "self",(char *) "n", NULL
38233 };
38234
38235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38237 if (!SWIG_IsOK(res1)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38239 }
38240 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38241 ecode2 = SWIG_AsVal_int(obj1, &val2);
38242 if (!SWIG_IsOK(ecode2)) {
38243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38244 }
38245 arg2 = static_cast< int >(val2);
38246 {
38247 PyThreadState* __tstate = wxPyBeginAllowThreads();
38248 (arg1)->SetFilterIndex(arg2);
38249 wxPyEndAllowThreads(__tstate);
38250 if (PyErr_Occurred()) SWIG_fail;
38251 }
38252 resultobj = SWIG_Py_Void();
38253 return resultobj;
38254 fail:
38255 return NULL;
38256 }
38257
38258
38259 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38260 PyObject *resultobj = 0;
38261 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38262 wxTreeItemId result;
38263 void *argp1 = 0 ;
38264 int res1 = 0 ;
38265 PyObject *swig_obj[1] ;
38266
38267 if (!args) SWIG_fail;
38268 swig_obj[0] = args;
38269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38270 if (!SWIG_IsOK(res1)) {
38271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38272 }
38273 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38274 {
38275 PyThreadState* __tstate = wxPyBeginAllowThreads();
38276 result = (arg1)->GetRootId();
38277 wxPyEndAllowThreads(__tstate);
38278 if (PyErr_Occurred()) SWIG_fail;
38279 }
38280 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38281 return resultobj;
38282 fail:
38283 return NULL;
38284 }
38285
38286
38287 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38288 PyObject *resultobj = 0;
38289 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38290 wxPyTreeCtrl *result = 0 ;
38291 void *argp1 = 0 ;
38292 int res1 = 0 ;
38293 PyObject *swig_obj[1] ;
38294
38295 if (!args) SWIG_fail;
38296 swig_obj[0] = args;
38297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38298 if (!SWIG_IsOK(res1)) {
38299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38300 }
38301 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38302 {
38303 PyThreadState* __tstate = wxPyBeginAllowThreads();
38304 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38305 wxPyEndAllowThreads(__tstate);
38306 if (PyErr_Occurred()) SWIG_fail;
38307 }
38308 {
38309 resultobj = wxPyMake_wxObject(result, 0);
38310 }
38311 return resultobj;
38312 fail:
38313 return NULL;
38314 }
38315
38316
38317 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38318 PyObject *resultobj = 0;
38319 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38320 wxDirFilterListCtrl *result = 0 ;
38321 void *argp1 = 0 ;
38322 int res1 = 0 ;
38323 PyObject *swig_obj[1] ;
38324
38325 if (!args) SWIG_fail;
38326 swig_obj[0] = args;
38327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38328 if (!SWIG_IsOK(res1)) {
38329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38330 }
38331 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38332 {
38333 PyThreadState* __tstate = wxPyBeginAllowThreads();
38334 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38335 wxPyEndAllowThreads(__tstate);
38336 if (PyErr_Occurred()) SWIG_fail;
38337 }
38338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38339 return resultobj;
38340 fail:
38341 return NULL;
38342 }
38343
38344
38345 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38346 PyObject *resultobj = 0;
38347 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38348 wxTreeItemId arg2 ;
38349 wxString *arg3 = 0 ;
38350 bool *arg4 = 0 ;
38351 wxTreeItemId result;
38352 void *argp1 = 0 ;
38353 int res1 = 0 ;
38354 void *argp2 ;
38355 int res2 = 0 ;
38356 bool temp3 = false ;
38357 bool temp4 ;
38358 int res4 = SWIG_TMPOBJ ;
38359 PyObject * obj0 = 0 ;
38360 PyObject * obj1 = 0 ;
38361 PyObject * obj2 = 0 ;
38362 char * kwnames[] = {
38363 (char *) "self",(char *) "parentId",(char *) "path", NULL
38364 };
38365
38366 arg4 = &temp4;
38367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38369 if (!SWIG_IsOK(res1)) {
38370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38371 }
38372 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38373 {
38374 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38375 if (!SWIG_IsOK(res2)) {
38376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38377 }
38378 if (!argp2) {
38379 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38380 } else {
38381 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38382 arg2 = *temp;
38383 if (SWIG_IsNewObj(res2)) delete temp;
38384 }
38385 }
38386 {
38387 arg3 = wxString_in_helper(obj2);
38388 if (arg3 == NULL) SWIG_fail;
38389 temp3 = true;
38390 }
38391 {
38392 PyThreadState* __tstate = wxPyBeginAllowThreads();
38393 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38394 wxPyEndAllowThreads(__tstate);
38395 if (PyErr_Occurred()) SWIG_fail;
38396 }
38397 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38398 if (SWIG_IsTmpObj(res4)) {
38399 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38400 } else {
38401 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38403 }
38404 {
38405 if (temp3)
38406 delete arg3;
38407 }
38408 return resultobj;
38409 fail:
38410 {
38411 if (temp3)
38412 delete arg3;
38413 }
38414 return NULL;
38415 }
38416
38417
38418 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38419 PyObject *resultobj = 0;
38420 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38421 void *argp1 = 0 ;
38422 int res1 = 0 ;
38423 PyObject *swig_obj[1] ;
38424
38425 if (!args) SWIG_fail;
38426 swig_obj[0] = args;
38427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38428 if (!SWIG_IsOK(res1)) {
38429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38430 }
38431 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38432 {
38433 PyThreadState* __tstate = wxPyBeginAllowThreads();
38434 (arg1)->DoResize();
38435 wxPyEndAllowThreads(__tstate);
38436 if (PyErr_Occurred()) SWIG_fail;
38437 }
38438 resultobj = SWIG_Py_Void();
38439 return resultobj;
38440 fail:
38441 return NULL;
38442 }
38443
38444
38445 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38446 PyObject *resultobj = 0;
38447 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38448 void *argp1 = 0 ;
38449 int res1 = 0 ;
38450 PyObject *swig_obj[1] ;
38451
38452 if (!args) SWIG_fail;
38453 swig_obj[0] = args;
38454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38455 if (!SWIG_IsOK(res1)) {
38456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38457 }
38458 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38459 {
38460 PyThreadState* __tstate = wxPyBeginAllowThreads();
38461 (arg1)->ReCreateTree();
38462 wxPyEndAllowThreads(__tstate);
38463 if (PyErr_Occurred()) SWIG_fail;
38464 }
38465 resultobj = SWIG_Py_Void();
38466 return resultobj;
38467 fail:
38468 return NULL;
38469 }
38470
38471
38472 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38473 PyObject *obj;
38474 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38475 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38476 return SWIG_Py_Void();
38477 }
38478
38479 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38480 return SWIG_Python_InitShadowInstance(args);
38481 }
38482
38483 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38484 PyObject *resultobj = 0;
38485 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38486 int arg2 = (int) (int)-1 ;
38487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38489 wxSize const &arg4_defvalue = wxDefaultSize ;
38490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38491 long arg5 = (long) 0 ;
38492 wxDirFilterListCtrl *result = 0 ;
38493 void *argp1 = 0 ;
38494 int res1 = 0 ;
38495 int val2 ;
38496 int ecode2 = 0 ;
38497 wxPoint temp3 ;
38498 wxSize temp4 ;
38499 long val5 ;
38500 int ecode5 = 0 ;
38501 PyObject * obj0 = 0 ;
38502 PyObject * obj1 = 0 ;
38503 PyObject * obj2 = 0 ;
38504 PyObject * obj3 = 0 ;
38505 PyObject * obj4 = 0 ;
38506 char * kwnames[] = {
38507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38508 };
38509
38510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38512 if (!SWIG_IsOK(res1)) {
38513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38514 }
38515 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38516 if (obj1) {
38517 ecode2 = SWIG_AsVal_int(obj1, &val2);
38518 if (!SWIG_IsOK(ecode2)) {
38519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38520 }
38521 arg2 = static_cast< int >(val2);
38522 }
38523 if (obj2) {
38524 {
38525 arg3 = &temp3;
38526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38527 }
38528 }
38529 if (obj3) {
38530 {
38531 arg4 = &temp4;
38532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38533 }
38534 }
38535 if (obj4) {
38536 ecode5 = SWIG_AsVal_long(obj4, &val5);
38537 if (!SWIG_IsOK(ecode5)) {
38538 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38539 }
38540 arg5 = static_cast< long >(val5);
38541 }
38542 {
38543 if (!wxPyCheckForApp()) SWIG_fail;
38544 PyThreadState* __tstate = wxPyBeginAllowThreads();
38545 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38546 wxPyEndAllowThreads(__tstate);
38547 if (PyErr_Occurred()) SWIG_fail;
38548 }
38549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38550 return resultobj;
38551 fail:
38552 return NULL;
38553 }
38554
38555
38556 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38557 PyObject *resultobj = 0;
38558 wxDirFilterListCtrl *result = 0 ;
38559
38560 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38561 {
38562 if (!wxPyCheckForApp()) SWIG_fail;
38563 PyThreadState* __tstate = wxPyBeginAllowThreads();
38564 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38565 wxPyEndAllowThreads(__tstate);
38566 if (PyErr_Occurred()) SWIG_fail;
38567 }
38568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38569 return resultobj;
38570 fail:
38571 return NULL;
38572 }
38573
38574
38575 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38576 PyObject *resultobj = 0;
38577 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38578 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38579 int arg3 = (int) (int)-1 ;
38580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38582 wxSize const &arg5_defvalue = wxDefaultSize ;
38583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38584 long arg6 = (long) 0 ;
38585 bool result;
38586 void *argp1 = 0 ;
38587 int res1 = 0 ;
38588 void *argp2 = 0 ;
38589 int res2 = 0 ;
38590 int val3 ;
38591 int ecode3 = 0 ;
38592 wxPoint temp4 ;
38593 wxSize temp5 ;
38594 long val6 ;
38595 int ecode6 = 0 ;
38596 PyObject * obj0 = 0 ;
38597 PyObject * obj1 = 0 ;
38598 PyObject * obj2 = 0 ;
38599 PyObject * obj3 = 0 ;
38600 PyObject * obj4 = 0 ;
38601 PyObject * obj5 = 0 ;
38602 char * kwnames[] = {
38603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38604 };
38605
38606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38608 if (!SWIG_IsOK(res1)) {
38609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38610 }
38611 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38612 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38613 if (!SWIG_IsOK(res2)) {
38614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38615 }
38616 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38617 if (obj2) {
38618 ecode3 = SWIG_AsVal_int(obj2, &val3);
38619 if (!SWIG_IsOK(ecode3)) {
38620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38621 }
38622 arg3 = static_cast< int >(val3);
38623 }
38624 if (obj3) {
38625 {
38626 arg4 = &temp4;
38627 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38628 }
38629 }
38630 if (obj4) {
38631 {
38632 arg5 = &temp5;
38633 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38634 }
38635 }
38636 if (obj5) {
38637 ecode6 = SWIG_AsVal_long(obj5, &val6);
38638 if (!SWIG_IsOK(ecode6)) {
38639 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38640 }
38641 arg6 = static_cast< long >(val6);
38642 }
38643 {
38644 PyThreadState* __tstate = wxPyBeginAllowThreads();
38645 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38646 wxPyEndAllowThreads(__tstate);
38647 if (PyErr_Occurred()) SWIG_fail;
38648 }
38649 {
38650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38651 }
38652 return resultobj;
38653 fail:
38654 return NULL;
38655 }
38656
38657
38658 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38659 PyObject *resultobj = 0;
38660 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38661 wxString *arg2 = 0 ;
38662 int arg3 ;
38663 void *argp1 = 0 ;
38664 int res1 = 0 ;
38665 bool temp2 = false ;
38666 int val3 ;
38667 int ecode3 = 0 ;
38668 PyObject * obj0 = 0 ;
38669 PyObject * obj1 = 0 ;
38670 PyObject * obj2 = 0 ;
38671 char * kwnames[] = {
38672 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38673 };
38674
38675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38677 if (!SWIG_IsOK(res1)) {
38678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38679 }
38680 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38681 {
38682 arg2 = wxString_in_helper(obj1);
38683 if (arg2 == NULL) SWIG_fail;
38684 temp2 = true;
38685 }
38686 ecode3 = SWIG_AsVal_int(obj2, &val3);
38687 if (!SWIG_IsOK(ecode3)) {
38688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38689 }
38690 arg3 = static_cast< int >(val3);
38691 {
38692 PyThreadState* __tstate = wxPyBeginAllowThreads();
38693 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38694 wxPyEndAllowThreads(__tstate);
38695 if (PyErr_Occurred()) SWIG_fail;
38696 }
38697 resultobj = SWIG_Py_Void();
38698 {
38699 if (temp2)
38700 delete arg2;
38701 }
38702 return resultobj;
38703 fail:
38704 {
38705 if (temp2)
38706 delete arg2;
38707 }
38708 return NULL;
38709 }
38710
38711
38712 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38713 PyObject *obj;
38714 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38715 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38716 return SWIG_Py_Void();
38717 }
38718
38719 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38720 return SWIG_Python_InitShadowInstance(args);
38721 }
38722
38723 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38724 PyObject *resultobj = 0;
38725 wxWindow *arg1 = (wxWindow *) 0 ;
38726 int arg2 = (int) (int)-1 ;
38727 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38728 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38729 wxSize const &arg4_defvalue = wxDefaultSize ;
38730 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38731 long arg5 = (long) 0 ;
38732 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38733 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38734 wxString const &arg7_defvalue = wxPyControlNameStr ;
38735 wxString *arg7 = (wxString *) &arg7_defvalue ;
38736 wxPyControl *result = 0 ;
38737 void *argp1 = 0 ;
38738 int res1 = 0 ;
38739 int val2 ;
38740 int ecode2 = 0 ;
38741 wxPoint temp3 ;
38742 wxSize temp4 ;
38743 long val5 ;
38744 int ecode5 = 0 ;
38745 void *argp6 = 0 ;
38746 int res6 = 0 ;
38747 bool temp7 = false ;
38748 PyObject * obj0 = 0 ;
38749 PyObject * obj1 = 0 ;
38750 PyObject * obj2 = 0 ;
38751 PyObject * obj3 = 0 ;
38752 PyObject * obj4 = 0 ;
38753 PyObject * obj5 = 0 ;
38754 PyObject * obj6 = 0 ;
38755 char * kwnames[] = {
38756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38757 };
38758
38759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38761 if (!SWIG_IsOK(res1)) {
38762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38763 }
38764 arg1 = reinterpret_cast< wxWindow * >(argp1);
38765 if (obj1) {
38766 ecode2 = SWIG_AsVal_int(obj1, &val2);
38767 if (!SWIG_IsOK(ecode2)) {
38768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38769 }
38770 arg2 = static_cast< int >(val2);
38771 }
38772 if (obj2) {
38773 {
38774 arg3 = &temp3;
38775 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38776 }
38777 }
38778 if (obj3) {
38779 {
38780 arg4 = &temp4;
38781 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38782 }
38783 }
38784 if (obj4) {
38785 ecode5 = SWIG_AsVal_long(obj4, &val5);
38786 if (!SWIG_IsOK(ecode5)) {
38787 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38788 }
38789 arg5 = static_cast< long >(val5);
38790 }
38791 if (obj5) {
38792 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38793 if (!SWIG_IsOK(res6)) {
38794 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38795 }
38796 if (!argp6) {
38797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38798 }
38799 arg6 = reinterpret_cast< wxValidator * >(argp6);
38800 }
38801 if (obj6) {
38802 {
38803 arg7 = wxString_in_helper(obj6);
38804 if (arg7 == NULL) SWIG_fail;
38805 temp7 = true;
38806 }
38807 }
38808 {
38809 if (!wxPyCheckForApp()) SWIG_fail;
38810 PyThreadState* __tstate = wxPyBeginAllowThreads();
38811 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38812 wxPyEndAllowThreads(__tstate);
38813 if (PyErr_Occurred()) SWIG_fail;
38814 }
38815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38816 {
38817 if (temp7)
38818 delete arg7;
38819 }
38820 return resultobj;
38821 fail:
38822 {
38823 if (temp7)
38824 delete arg7;
38825 }
38826 return NULL;
38827 }
38828
38829
38830 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38831 PyObject *resultobj = 0;
38832 wxPyControl *result = 0 ;
38833
38834 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38835 {
38836 if (!wxPyCheckForApp()) SWIG_fail;
38837 PyThreadState* __tstate = wxPyBeginAllowThreads();
38838 result = (wxPyControl *)new wxPyControl();
38839 wxPyEndAllowThreads(__tstate);
38840 if (PyErr_Occurred()) SWIG_fail;
38841 }
38842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38843 return resultobj;
38844 fail:
38845 return NULL;
38846 }
38847
38848
38849 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38850 PyObject *resultobj = 0;
38851 wxPyControl *arg1 = (wxPyControl *) 0 ;
38852 PyObject *arg2 = (PyObject *) 0 ;
38853 PyObject *arg3 = (PyObject *) 0 ;
38854 void *argp1 = 0 ;
38855 int res1 = 0 ;
38856 PyObject * obj0 = 0 ;
38857 PyObject * obj1 = 0 ;
38858 PyObject * obj2 = 0 ;
38859 char * kwnames[] = {
38860 (char *) "self",(char *) "self",(char *) "_class", NULL
38861 };
38862
38863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38865 if (!SWIG_IsOK(res1)) {
38866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38867 }
38868 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38869 arg2 = obj1;
38870 arg3 = obj2;
38871 {
38872 PyThreadState* __tstate = wxPyBeginAllowThreads();
38873 (arg1)->_setCallbackInfo(arg2,arg3);
38874 wxPyEndAllowThreads(__tstate);
38875 if (PyErr_Occurred()) SWIG_fail;
38876 }
38877 resultobj = SWIG_Py_Void();
38878 return resultobj;
38879 fail:
38880 return NULL;
38881 }
38882
38883
38884 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38885 PyObject *resultobj = 0;
38886 wxPyControl *arg1 = (wxPyControl *) 0 ;
38887 wxDC *arg2 = (wxDC *) 0 ;
38888 bool result;
38889 void *argp1 = 0 ;
38890 int res1 = 0 ;
38891 void *argp2 = 0 ;
38892 int res2 = 0 ;
38893 PyObject * obj0 = 0 ;
38894 PyObject * obj1 = 0 ;
38895 char * kwnames[] = {
38896 (char *) "self",(char *) "dc", NULL
38897 };
38898
38899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38901 if (!SWIG_IsOK(res1)) {
38902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38903 }
38904 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38905 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38906 if (!SWIG_IsOK(res2)) {
38907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38908 }
38909 arg2 = reinterpret_cast< wxDC * >(argp2);
38910 {
38911 PyThreadState* __tstate = wxPyBeginAllowThreads();
38912 result = (bool)(arg1)->DoEraseBackground(arg2);
38913 wxPyEndAllowThreads(__tstate);
38914 if (PyErr_Occurred()) SWIG_fail;
38915 }
38916 {
38917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38918 }
38919 return resultobj;
38920 fail:
38921 return NULL;
38922 }
38923
38924
38925 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38926 PyObject *resultobj = 0;
38927 wxPyControl *arg1 = (wxPyControl *) 0 ;
38928 int arg2 ;
38929 int arg3 ;
38930 int arg4 ;
38931 int arg5 ;
38932 void *argp1 = 0 ;
38933 int res1 = 0 ;
38934 int val2 ;
38935 int ecode2 = 0 ;
38936 int val3 ;
38937 int ecode3 = 0 ;
38938 int val4 ;
38939 int ecode4 = 0 ;
38940 int val5 ;
38941 int ecode5 = 0 ;
38942 PyObject * obj0 = 0 ;
38943 PyObject * obj1 = 0 ;
38944 PyObject * obj2 = 0 ;
38945 PyObject * obj3 = 0 ;
38946 PyObject * obj4 = 0 ;
38947 char * kwnames[] = {
38948 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38949 };
38950
38951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38953 if (!SWIG_IsOK(res1)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38955 }
38956 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38957 ecode2 = SWIG_AsVal_int(obj1, &val2);
38958 if (!SWIG_IsOK(ecode2)) {
38959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38960 }
38961 arg2 = static_cast< int >(val2);
38962 ecode3 = SWIG_AsVal_int(obj2, &val3);
38963 if (!SWIG_IsOK(ecode3)) {
38964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38965 }
38966 arg3 = static_cast< int >(val3);
38967 ecode4 = SWIG_AsVal_int(obj3, &val4);
38968 if (!SWIG_IsOK(ecode4)) {
38969 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38970 }
38971 arg4 = static_cast< int >(val4);
38972 ecode5 = SWIG_AsVal_int(obj4, &val5);
38973 if (!SWIG_IsOK(ecode5)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38975 }
38976 arg5 = static_cast< int >(val5);
38977 {
38978 PyThreadState* __tstate = wxPyBeginAllowThreads();
38979 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38980 wxPyEndAllowThreads(__tstate);
38981 if (PyErr_Occurred()) SWIG_fail;
38982 }
38983 resultobj = SWIG_Py_Void();
38984 return resultobj;
38985 fail:
38986 return NULL;
38987 }
38988
38989
38990 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38991 PyObject *resultobj = 0;
38992 wxPyControl *arg1 = (wxPyControl *) 0 ;
38993 int arg2 ;
38994 int arg3 ;
38995 int arg4 ;
38996 int arg5 ;
38997 int arg6 = (int) wxSIZE_AUTO ;
38998 void *argp1 = 0 ;
38999 int res1 = 0 ;
39000 int val2 ;
39001 int ecode2 = 0 ;
39002 int val3 ;
39003 int ecode3 = 0 ;
39004 int val4 ;
39005 int ecode4 = 0 ;
39006 int val5 ;
39007 int ecode5 = 0 ;
39008 int val6 ;
39009 int ecode6 = 0 ;
39010 PyObject * obj0 = 0 ;
39011 PyObject * obj1 = 0 ;
39012 PyObject * obj2 = 0 ;
39013 PyObject * obj3 = 0 ;
39014 PyObject * obj4 = 0 ;
39015 PyObject * obj5 = 0 ;
39016 char * kwnames[] = {
39017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39018 };
39019
39020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39022 if (!SWIG_IsOK(res1)) {
39023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39024 }
39025 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39026 ecode2 = SWIG_AsVal_int(obj1, &val2);
39027 if (!SWIG_IsOK(ecode2)) {
39028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39029 }
39030 arg2 = static_cast< int >(val2);
39031 ecode3 = SWIG_AsVal_int(obj2, &val3);
39032 if (!SWIG_IsOK(ecode3)) {
39033 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39034 }
39035 arg3 = static_cast< int >(val3);
39036 ecode4 = SWIG_AsVal_int(obj3, &val4);
39037 if (!SWIG_IsOK(ecode4)) {
39038 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39039 }
39040 arg4 = static_cast< int >(val4);
39041 ecode5 = SWIG_AsVal_int(obj4, &val5);
39042 if (!SWIG_IsOK(ecode5)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39044 }
39045 arg5 = static_cast< int >(val5);
39046 if (obj5) {
39047 ecode6 = SWIG_AsVal_int(obj5, &val6);
39048 if (!SWIG_IsOK(ecode6)) {
39049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39050 }
39051 arg6 = static_cast< int >(val6);
39052 }
39053 {
39054 PyThreadState* __tstate = wxPyBeginAllowThreads();
39055 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39056 wxPyEndAllowThreads(__tstate);
39057 if (PyErr_Occurred()) SWIG_fail;
39058 }
39059 resultobj = SWIG_Py_Void();
39060 return resultobj;
39061 fail:
39062 return NULL;
39063 }
39064
39065
39066 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39067 PyObject *resultobj = 0;
39068 wxPyControl *arg1 = (wxPyControl *) 0 ;
39069 int arg2 ;
39070 int arg3 ;
39071 void *argp1 = 0 ;
39072 int res1 = 0 ;
39073 int val2 ;
39074 int ecode2 = 0 ;
39075 int val3 ;
39076 int ecode3 = 0 ;
39077 PyObject * obj0 = 0 ;
39078 PyObject * obj1 = 0 ;
39079 PyObject * obj2 = 0 ;
39080 char * kwnames[] = {
39081 (char *) "self",(char *) "width",(char *) "height", NULL
39082 };
39083
39084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39086 if (!SWIG_IsOK(res1)) {
39087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39088 }
39089 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39090 ecode2 = SWIG_AsVal_int(obj1, &val2);
39091 if (!SWIG_IsOK(ecode2)) {
39092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39093 }
39094 arg2 = static_cast< int >(val2);
39095 ecode3 = SWIG_AsVal_int(obj2, &val3);
39096 if (!SWIG_IsOK(ecode3)) {
39097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39098 }
39099 arg3 = static_cast< int >(val3);
39100 {
39101 PyThreadState* __tstate = wxPyBeginAllowThreads();
39102 (arg1)->DoSetClientSize(arg2,arg3);
39103 wxPyEndAllowThreads(__tstate);
39104 if (PyErr_Occurred()) SWIG_fail;
39105 }
39106 resultobj = SWIG_Py_Void();
39107 return resultobj;
39108 fail:
39109 return NULL;
39110 }
39111
39112
39113 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39114 PyObject *resultobj = 0;
39115 wxPyControl *arg1 = (wxPyControl *) 0 ;
39116 int arg2 ;
39117 int arg3 ;
39118 void *argp1 = 0 ;
39119 int res1 = 0 ;
39120 int val2 ;
39121 int ecode2 = 0 ;
39122 int val3 ;
39123 int ecode3 = 0 ;
39124 PyObject * obj0 = 0 ;
39125 PyObject * obj1 = 0 ;
39126 PyObject * obj2 = 0 ;
39127 char * kwnames[] = {
39128 (char *) "self",(char *) "x",(char *) "y", NULL
39129 };
39130
39131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39133 if (!SWIG_IsOK(res1)) {
39134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39135 }
39136 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39137 ecode2 = SWIG_AsVal_int(obj1, &val2);
39138 if (!SWIG_IsOK(ecode2)) {
39139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39140 }
39141 arg2 = static_cast< int >(val2);
39142 ecode3 = SWIG_AsVal_int(obj2, &val3);
39143 if (!SWIG_IsOK(ecode3)) {
39144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39145 }
39146 arg3 = static_cast< int >(val3);
39147 {
39148 PyThreadState* __tstate = wxPyBeginAllowThreads();
39149 (arg1)->DoSetVirtualSize(arg2,arg3);
39150 wxPyEndAllowThreads(__tstate);
39151 if (PyErr_Occurred()) SWIG_fail;
39152 }
39153 resultobj = SWIG_Py_Void();
39154 return resultobj;
39155 fail:
39156 return NULL;
39157 }
39158
39159
39160 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39161 PyObject *resultobj = 0;
39162 wxPyControl *arg1 = (wxPyControl *) 0 ;
39163 int *arg2 = (int *) 0 ;
39164 int *arg3 = (int *) 0 ;
39165 void *argp1 = 0 ;
39166 int res1 = 0 ;
39167 int temp2 ;
39168 int res2 = SWIG_TMPOBJ ;
39169 int temp3 ;
39170 int res3 = SWIG_TMPOBJ ;
39171 PyObject *swig_obj[1] ;
39172
39173 arg2 = &temp2;
39174 arg3 = &temp3;
39175 if (!args) SWIG_fail;
39176 swig_obj[0] = args;
39177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39178 if (!SWIG_IsOK(res1)) {
39179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39180 }
39181 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39182 {
39183 PyThreadState* __tstate = wxPyBeginAllowThreads();
39184 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39185 wxPyEndAllowThreads(__tstate);
39186 if (PyErr_Occurred()) SWIG_fail;
39187 }
39188 resultobj = SWIG_Py_Void();
39189 if (SWIG_IsTmpObj(res2)) {
39190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39191 } else {
39192 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39193 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39194 }
39195 if (SWIG_IsTmpObj(res3)) {
39196 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39197 } else {
39198 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39199 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39200 }
39201 return resultobj;
39202 fail:
39203 return NULL;
39204 }
39205
39206
39207 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39208 PyObject *resultobj = 0;
39209 wxPyControl *arg1 = (wxPyControl *) 0 ;
39210 int *arg2 = (int *) 0 ;
39211 int *arg3 = (int *) 0 ;
39212 void *argp1 = 0 ;
39213 int res1 = 0 ;
39214 int temp2 ;
39215 int res2 = SWIG_TMPOBJ ;
39216 int temp3 ;
39217 int res3 = SWIG_TMPOBJ ;
39218 PyObject *swig_obj[1] ;
39219
39220 arg2 = &temp2;
39221 arg3 = &temp3;
39222 if (!args) SWIG_fail;
39223 swig_obj[0] = args;
39224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39225 if (!SWIG_IsOK(res1)) {
39226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39227 }
39228 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39229 {
39230 PyThreadState* __tstate = wxPyBeginAllowThreads();
39231 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39232 wxPyEndAllowThreads(__tstate);
39233 if (PyErr_Occurred()) SWIG_fail;
39234 }
39235 resultobj = SWIG_Py_Void();
39236 if (SWIG_IsTmpObj(res2)) {
39237 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39238 } else {
39239 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39240 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39241 }
39242 if (SWIG_IsTmpObj(res3)) {
39243 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39244 } else {
39245 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39246 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39247 }
39248 return resultobj;
39249 fail:
39250 return NULL;
39251 }
39252
39253
39254 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39255 PyObject *resultobj = 0;
39256 wxPyControl *arg1 = (wxPyControl *) 0 ;
39257 int *arg2 = (int *) 0 ;
39258 int *arg3 = (int *) 0 ;
39259 void *argp1 = 0 ;
39260 int res1 = 0 ;
39261 int temp2 ;
39262 int res2 = SWIG_TMPOBJ ;
39263 int temp3 ;
39264 int res3 = SWIG_TMPOBJ ;
39265 PyObject *swig_obj[1] ;
39266
39267 arg2 = &temp2;
39268 arg3 = &temp3;
39269 if (!args) SWIG_fail;
39270 swig_obj[0] = args;
39271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39272 if (!SWIG_IsOK(res1)) {
39273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39274 }
39275 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39276 {
39277 PyThreadState* __tstate = wxPyBeginAllowThreads();
39278 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39279 wxPyEndAllowThreads(__tstate);
39280 if (PyErr_Occurred()) SWIG_fail;
39281 }
39282 resultobj = SWIG_Py_Void();
39283 if (SWIG_IsTmpObj(res2)) {
39284 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39285 } else {
39286 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39287 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39288 }
39289 if (SWIG_IsTmpObj(res3)) {
39290 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39291 } else {
39292 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39293 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39294 }
39295 return resultobj;
39296 fail:
39297 return NULL;
39298 }
39299
39300
39301 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39302 PyObject *resultobj = 0;
39303 wxPyControl *arg1 = (wxPyControl *) 0 ;
39304 wxSize result;
39305 void *argp1 = 0 ;
39306 int res1 = 0 ;
39307 PyObject *swig_obj[1] ;
39308
39309 if (!args) SWIG_fail;
39310 swig_obj[0] = args;
39311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39312 if (!SWIG_IsOK(res1)) {
39313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39314 }
39315 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39316 {
39317 PyThreadState* __tstate = wxPyBeginAllowThreads();
39318 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39319 wxPyEndAllowThreads(__tstate);
39320 if (PyErr_Occurred()) SWIG_fail;
39321 }
39322 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39323 return resultobj;
39324 fail:
39325 return NULL;
39326 }
39327
39328
39329 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39330 PyObject *resultobj = 0;
39331 wxPyControl *arg1 = (wxPyControl *) 0 ;
39332 wxSize result;
39333 void *argp1 = 0 ;
39334 int res1 = 0 ;
39335 PyObject *swig_obj[1] ;
39336
39337 if (!args) SWIG_fail;
39338 swig_obj[0] = args;
39339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39340 if (!SWIG_IsOK(res1)) {
39341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39342 }
39343 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39344 {
39345 PyThreadState* __tstate = wxPyBeginAllowThreads();
39346 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39347 wxPyEndAllowThreads(__tstate);
39348 if (PyErr_Occurred()) SWIG_fail;
39349 }
39350 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39351 return resultobj;
39352 fail:
39353 return NULL;
39354 }
39355
39356
39357 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39358 PyObject *resultobj = 0;
39359 wxPyControl *arg1 = (wxPyControl *) 0 ;
39360 SwigValueWrapper<wxVisualAttributes > result;
39361 void *argp1 = 0 ;
39362 int res1 = 0 ;
39363 PyObject *swig_obj[1] ;
39364
39365 if (!args) SWIG_fail;
39366 swig_obj[0] = args;
39367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39368 if (!SWIG_IsOK(res1)) {
39369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39370 }
39371 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39372 {
39373 PyThreadState* __tstate = wxPyBeginAllowThreads();
39374 result = (arg1)->GetDefaultAttributes();
39375 wxPyEndAllowThreads(__tstate);
39376 if (PyErr_Occurred()) SWIG_fail;
39377 }
39378 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39379 return resultobj;
39380 fail:
39381 return NULL;
39382 }
39383
39384
39385 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39386 PyObject *resultobj = 0;
39387 wxPyControl *arg1 = (wxPyControl *) 0 ;
39388 void *argp1 = 0 ;
39389 int res1 = 0 ;
39390 PyObject *swig_obj[1] ;
39391
39392 if (!args) SWIG_fail;
39393 swig_obj[0] = args;
39394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39395 if (!SWIG_IsOK(res1)) {
39396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39397 }
39398 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39399 {
39400 PyThreadState* __tstate = wxPyBeginAllowThreads();
39401 (arg1)->OnInternalIdle();
39402 wxPyEndAllowThreads(__tstate);
39403 if (PyErr_Occurred()) SWIG_fail;
39404 }
39405 resultobj = SWIG_Py_Void();
39406 return resultobj;
39407 fail:
39408 return NULL;
39409 }
39410
39411
39412 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39413 PyObject *obj;
39414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39416 return SWIG_Py_Void();
39417 }
39418
39419 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39420 return SWIG_Python_InitShadowInstance(args);
39421 }
39422
39423 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39424 PyObject *resultobj = 0;
39425 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39426 int arg2 = (int) 0 ;
39427 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39428 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39429 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39430 wxHelpEvent *result = 0 ;
39431 int val1 ;
39432 int ecode1 = 0 ;
39433 int val2 ;
39434 int ecode2 = 0 ;
39435 wxPoint temp3 ;
39436 int val4 ;
39437 int ecode4 = 0 ;
39438 PyObject * obj0 = 0 ;
39439 PyObject * obj1 = 0 ;
39440 PyObject * obj2 = 0 ;
39441 PyObject * obj3 = 0 ;
39442 char * kwnames[] = {
39443 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39444 };
39445
39446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39447 if (obj0) {
39448 ecode1 = SWIG_AsVal_int(obj0, &val1);
39449 if (!SWIG_IsOK(ecode1)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39451 }
39452 arg1 = static_cast< wxEventType >(val1);
39453 }
39454 if (obj1) {
39455 ecode2 = SWIG_AsVal_int(obj1, &val2);
39456 if (!SWIG_IsOK(ecode2)) {
39457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39458 }
39459 arg2 = static_cast< int >(val2);
39460 }
39461 if (obj2) {
39462 {
39463 arg3 = &temp3;
39464 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39465 }
39466 }
39467 if (obj3) {
39468 ecode4 = SWIG_AsVal_int(obj3, &val4);
39469 if (!SWIG_IsOK(ecode4)) {
39470 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39471 }
39472 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39473 }
39474 {
39475 PyThreadState* __tstate = wxPyBeginAllowThreads();
39476 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39477 wxPyEndAllowThreads(__tstate);
39478 if (PyErr_Occurred()) SWIG_fail;
39479 }
39480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39481 return resultobj;
39482 fail:
39483 return NULL;
39484 }
39485
39486
39487 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39488 PyObject *resultobj = 0;
39489 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39490 wxPoint result;
39491 void *argp1 = 0 ;
39492 int res1 = 0 ;
39493 PyObject *swig_obj[1] ;
39494
39495 if (!args) SWIG_fail;
39496 swig_obj[0] = args;
39497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39498 if (!SWIG_IsOK(res1)) {
39499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39500 }
39501 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39502 {
39503 PyThreadState* __tstate = wxPyBeginAllowThreads();
39504 result = ((wxHelpEvent const *)arg1)->GetPosition();
39505 wxPyEndAllowThreads(__tstate);
39506 if (PyErr_Occurred()) SWIG_fail;
39507 }
39508 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39509 return resultobj;
39510 fail:
39511 return NULL;
39512 }
39513
39514
39515 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39516 PyObject *resultobj = 0;
39517 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39518 wxPoint *arg2 = 0 ;
39519 void *argp1 = 0 ;
39520 int res1 = 0 ;
39521 wxPoint temp2 ;
39522 PyObject * obj0 = 0 ;
39523 PyObject * obj1 = 0 ;
39524 char * kwnames[] = {
39525 (char *) "self",(char *) "pos", NULL
39526 };
39527
39528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39530 if (!SWIG_IsOK(res1)) {
39531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39532 }
39533 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39534 {
39535 arg2 = &temp2;
39536 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39537 }
39538 {
39539 PyThreadState* __tstate = wxPyBeginAllowThreads();
39540 (arg1)->SetPosition((wxPoint const &)*arg2);
39541 wxPyEndAllowThreads(__tstate);
39542 if (PyErr_Occurred()) SWIG_fail;
39543 }
39544 resultobj = SWIG_Py_Void();
39545 return resultobj;
39546 fail:
39547 return NULL;
39548 }
39549
39550
39551 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39552 PyObject *resultobj = 0;
39553 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39554 wxString *result = 0 ;
39555 void *argp1 = 0 ;
39556 int res1 = 0 ;
39557 PyObject *swig_obj[1] ;
39558
39559 if (!args) SWIG_fail;
39560 swig_obj[0] = args;
39561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39562 if (!SWIG_IsOK(res1)) {
39563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39564 }
39565 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39566 {
39567 PyThreadState* __tstate = wxPyBeginAllowThreads();
39568 {
39569 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39570 result = (wxString *) &_result_ref;
39571 }
39572 wxPyEndAllowThreads(__tstate);
39573 if (PyErr_Occurred()) SWIG_fail;
39574 }
39575 {
39576 #if wxUSE_UNICODE
39577 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39578 #else
39579 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39580 #endif
39581 }
39582 return resultobj;
39583 fail:
39584 return NULL;
39585 }
39586
39587
39588 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39589 PyObject *resultobj = 0;
39590 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39591 wxString *arg2 = 0 ;
39592 void *argp1 = 0 ;
39593 int res1 = 0 ;
39594 bool temp2 = false ;
39595 PyObject * obj0 = 0 ;
39596 PyObject * obj1 = 0 ;
39597 char * kwnames[] = {
39598 (char *) "self",(char *) "link", NULL
39599 };
39600
39601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39603 if (!SWIG_IsOK(res1)) {
39604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39605 }
39606 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39607 {
39608 arg2 = wxString_in_helper(obj1);
39609 if (arg2 == NULL) SWIG_fail;
39610 temp2 = true;
39611 }
39612 {
39613 PyThreadState* __tstate = wxPyBeginAllowThreads();
39614 (arg1)->SetLink((wxString const &)*arg2);
39615 wxPyEndAllowThreads(__tstate);
39616 if (PyErr_Occurred()) SWIG_fail;
39617 }
39618 resultobj = SWIG_Py_Void();
39619 {
39620 if (temp2)
39621 delete arg2;
39622 }
39623 return resultobj;
39624 fail:
39625 {
39626 if (temp2)
39627 delete arg2;
39628 }
39629 return NULL;
39630 }
39631
39632
39633 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39634 PyObject *resultobj = 0;
39635 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39636 wxString *result = 0 ;
39637 void *argp1 = 0 ;
39638 int res1 = 0 ;
39639 PyObject *swig_obj[1] ;
39640
39641 if (!args) SWIG_fail;
39642 swig_obj[0] = args;
39643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39644 if (!SWIG_IsOK(res1)) {
39645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39646 }
39647 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39648 {
39649 PyThreadState* __tstate = wxPyBeginAllowThreads();
39650 {
39651 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39652 result = (wxString *) &_result_ref;
39653 }
39654 wxPyEndAllowThreads(__tstate);
39655 if (PyErr_Occurred()) SWIG_fail;
39656 }
39657 {
39658 #if wxUSE_UNICODE
39659 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39660 #else
39661 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39662 #endif
39663 }
39664 return resultobj;
39665 fail:
39666 return NULL;
39667 }
39668
39669
39670 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39671 PyObject *resultobj = 0;
39672 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39673 wxString *arg2 = 0 ;
39674 void *argp1 = 0 ;
39675 int res1 = 0 ;
39676 bool temp2 = false ;
39677 PyObject * obj0 = 0 ;
39678 PyObject * obj1 = 0 ;
39679 char * kwnames[] = {
39680 (char *) "self",(char *) "target", NULL
39681 };
39682
39683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39685 if (!SWIG_IsOK(res1)) {
39686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39687 }
39688 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39689 {
39690 arg2 = wxString_in_helper(obj1);
39691 if (arg2 == NULL) SWIG_fail;
39692 temp2 = true;
39693 }
39694 {
39695 PyThreadState* __tstate = wxPyBeginAllowThreads();
39696 (arg1)->SetTarget((wxString const &)*arg2);
39697 wxPyEndAllowThreads(__tstate);
39698 if (PyErr_Occurred()) SWIG_fail;
39699 }
39700 resultobj = SWIG_Py_Void();
39701 {
39702 if (temp2)
39703 delete arg2;
39704 }
39705 return resultobj;
39706 fail:
39707 {
39708 if (temp2)
39709 delete arg2;
39710 }
39711 return NULL;
39712 }
39713
39714
39715 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39716 PyObject *resultobj = 0;
39717 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39718 wxHelpEvent::Origin result;
39719 void *argp1 = 0 ;
39720 int res1 = 0 ;
39721 PyObject *swig_obj[1] ;
39722
39723 if (!args) SWIG_fail;
39724 swig_obj[0] = args;
39725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39726 if (!SWIG_IsOK(res1)) {
39727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39728 }
39729 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39730 {
39731 PyThreadState* __tstate = wxPyBeginAllowThreads();
39732 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39733 wxPyEndAllowThreads(__tstate);
39734 if (PyErr_Occurred()) SWIG_fail;
39735 }
39736 resultobj = SWIG_From_int(static_cast< int >(result));
39737 return resultobj;
39738 fail:
39739 return NULL;
39740 }
39741
39742
39743 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39744 PyObject *resultobj = 0;
39745 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39746 wxHelpEvent::Origin arg2 ;
39747 void *argp1 = 0 ;
39748 int res1 = 0 ;
39749 int val2 ;
39750 int ecode2 = 0 ;
39751 PyObject * obj0 = 0 ;
39752 PyObject * obj1 = 0 ;
39753 char * kwnames[] = {
39754 (char *) "self",(char *) "origin", NULL
39755 };
39756
39757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39759 if (!SWIG_IsOK(res1)) {
39760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39761 }
39762 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39763 ecode2 = SWIG_AsVal_int(obj1, &val2);
39764 if (!SWIG_IsOK(ecode2)) {
39765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39766 }
39767 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39768 {
39769 PyThreadState* __tstate = wxPyBeginAllowThreads();
39770 (arg1)->SetOrigin(arg2);
39771 wxPyEndAllowThreads(__tstate);
39772 if (PyErr_Occurred()) SWIG_fail;
39773 }
39774 resultobj = SWIG_Py_Void();
39775 return resultobj;
39776 fail:
39777 return NULL;
39778 }
39779
39780
39781 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39782 PyObject *obj;
39783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39784 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39785 return SWIG_Py_Void();
39786 }
39787
39788 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39789 return SWIG_Python_InitShadowInstance(args);
39790 }
39791
39792 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39793 PyObject *resultobj = 0;
39794 wxWindow *arg1 = (wxWindow *) NULL ;
39795 bool arg2 = (bool) true ;
39796 wxContextHelp *result = 0 ;
39797 void *argp1 = 0 ;
39798 int res1 = 0 ;
39799 bool val2 ;
39800 int ecode2 = 0 ;
39801 PyObject * obj0 = 0 ;
39802 PyObject * obj1 = 0 ;
39803 char * kwnames[] = {
39804 (char *) "window",(char *) "doNow", NULL
39805 };
39806
39807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39808 if (obj0) {
39809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39810 if (!SWIG_IsOK(res1)) {
39811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39812 }
39813 arg1 = reinterpret_cast< wxWindow * >(argp1);
39814 }
39815 if (obj1) {
39816 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39817 if (!SWIG_IsOK(ecode2)) {
39818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39819 }
39820 arg2 = static_cast< bool >(val2);
39821 }
39822 {
39823 if (!wxPyCheckForApp()) SWIG_fail;
39824 PyThreadState* __tstate = wxPyBeginAllowThreads();
39825 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39826 wxPyEndAllowThreads(__tstate);
39827 if (PyErr_Occurred()) SWIG_fail;
39828 }
39829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39830 return resultobj;
39831 fail:
39832 return NULL;
39833 }
39834
39835
39836 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39837 PyObject *resultobj = 0;
39838 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39839 void *argp1 = 0 ;
39840 int res1 = 0 ;
39841 PyObject *swig_obj[1] ;
39842
39843 if (!args) SWIG_fail;
39844 swig_obj[0] = args;
39845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39846 if (!SWIG_IsOK(res1)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39848 }
39849 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39850 {
39851 PyThreadState* __tstate = wxPyBeginAllowThreads();
39852 delete arg1;
39853
39854 wxPyEndAllowThreads(__tstate);
39855 if (PyErr_Occurred()) SWIG_fail;
39856 }
39857 resultobj = SWIG_Py_Void();
39858 return resultobj;
39859 fail:
39860 return NULL;
39861 }
39862
39863
39864 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39865 PyObject *resultobj = 0;
39866 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39867 wxWindow *arg2 = (wxWindow *) NULL ;
39868 bool result;
39869 void *argp1 = 0 ;
39870 int res1 = 0 ;
39871 void *argp2 = 0 ;
39872 int res2 = 0 ;
39873 PyObject * obj0 = 0 ;
39874 PyObject * obj1 = 0 ;
39875 char * kwnames[] = {
39876 (char *) "self",(char *) "window", NULL
39877 };
39878
39879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39881 if (!SWIG_IsOK(res1)) {
39882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39883 }
39884 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39885 if (obj1) {
39886 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39887 if (!SWIG_IsOK(res2)) {
39888 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39889 }
39890 arg2 = reinterpret_cast< wxWindow * >(argp2);
39891 }
39892 {
39893 PyThreadState* __tstate = wxPyBeginAllowThreads();
39894 result = (bool)(arg1)->BeginContextHelp(arg2);
39895 wxPyEndAllowThreads(__tstate);
39896 if (PyErr_Occurred()) SWIG_fail;
39897 }
39898 {
39899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39900 }
39901 return resultobj;
39902 fail:
39903 return NULL;
39904 }
39905
39906
39907 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39908 PyObject *resultobj = 0;
39909 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39910 bool result;
39911 void *argp1 = 0 ;
39912 int res1 = 0 ;
39913 PyObject *swig_obj[1] ;
39914
39915 if (!args) SWIG_fail;
39916 swig_obj[0] = args;
39917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39918 if (!SWIG_IsOK(res1)) {
39919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39920 }
39921 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39922 {
39923 PyThreadState* __tstate = wxPyBeginAllowThreads();
39924 result = (bool)(arg1)->EndContextHelp();
39925 wxPyEndAllowThreads(__tstate);
39926 if (PyErr_Occurred()) SWIG_fail;
39927 }
39928 {
39929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39930 }
39931 return resultobj;
39932 fail:
39933 return NULL;
39934 }
39935
39936
39937 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39938 PyObject *obj;
39939 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39940 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39941 return SWIG_Py_Void();
39942 }
39943
39944 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39945 return SWIG_Python_InitShadowInstance(args);
39946 }
39947
39948 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39949 PyObject *resultobj = 0;
39950 wxWindow *arg1 = (wxWindow *) 0 ;
39951 int arg2 = (int) wxID_CONTEXT_HELP ;
39952 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39953 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39954 wxSize const &arg4_defvalue = wxDefaultSize ;
39955 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39956 long arg5 = (long) wxBU_AUTODRAW ;
39957 wxContextHelpButton *result = 0 ;
39958 void *argp1 = 0 ;
39959 int res1 = 0 ;
39960 int val2 ;
39961 int ecode2 = 0 ;
39962 wxPoint temp3 ;
39963 wxSize temp4 ;
39964 long val5 ;
39965 int ecode5 = 0 ;
39966 PyObject * obj0 = 0 ;
39967 PyObject * obj1 = 0 ;
39968 PyObject * obj2 = 0 ;
39969 PyObject * obj3 = 0 ;
39970 PyObject * obj4 = 0 ;
39971 char * kwnames[] = {
39972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39973 };
39974
39975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39977 if (!SWIG_IsOK(res1)) {
39978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39979 }
39980 arg1 = reinterpret_cast< wxWindow * >(argp1);
39981 if (obj1) {
39982 ecode2 = SWIG_AsVal_int(obj1, &val2);
39983 if (!SWIG_IsOK(ecode2)) {
39984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39985 }
39986 arg2 = static_cast< int >(val2);
39987 }
39988 if (obj2) {
39989 {
39990 arg3 = &temp3;
39991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39992 }
39993 }
39994 if (obj3) {
39995 {
39996 arg4 = &temp4;
39997 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
39998 }
39999 }
40000 if (obj4) {
40001 ecode5 = SWIG_AsVal_long(obj4, &val5);
40002 if (!SWIG_IsOK(ecode5)) {
40003 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40004 }
40005 arg5 = static_cast< long >(val5);
40006 }
40007 {
40008 if (!wxPyCheckForApp()) SWIG_fail;
40009 PyThreadState* __tstate = wxPyBeginAllowThreads();
40010 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40011 wxPyEndAllowThreads(__tstate);
40012 if (PyErr_Occurred()) SWIG_fail;
40013 }
40014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40015 return resultobj;
40016 fail:
40017 return NULL;
40018 }
40019
40020
40021 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40022 PyObject *obj;
40023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40024 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40025 return SWIG_Py_Void();
40026 }
40027
40028 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40029 return SWIG_Python_InitShadowInstance(args);
40030 }
40031
40032 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40033 PyObject *resultobj = 0;
40034 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40035 void *argp1 = 0 ;
40036 int res1 = 0 ;
40037 PyObject *swig_obj[1] ;
40038
40039 if (!args) SWIG_fail;
40040 swig_obj[0] = args;
40041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40042 if (!SWIG_IsOK(res1)) {
40043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40044 }
40045 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40046 {
40047 PyThreadState* __tstate = wxPyBeginAllowThreads();
40048 delete arg1;
40049
40050 wxPyEndAllowThreads(__tstate);
40051 if (PyErr_Occurred()) SWIG_fail;
40052 }
40053 resultobj = SWIG_Py_Void();
40054 return resultobj;
40055 fail:
40056 return NULL;
40057 }
40058
40059
40060 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40061 PyObject *resultobj = 0;
40062 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40063 wxHelpProvider *result = 0 ;
40064 int res1 = 0 ;
40065 PyObject * obj0 = 0 ;
40066 char * kwnames[] = {
40067 (char *) "helpProvider", NULL
40068 };
40069
40070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40071 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40072 if (!SWIG_IsOK(res1)) {
40073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40074 }
40075 {
40076 PyThreadState* __tstate = wxPyBeginAllowThreads();
40077 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40078 wxPyEndAllowThreads(__tstate);
40079 if (PyErr_Occurred()) SWIG_fail;
40080 }
40081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40082 return resultobj;
40083 fail:
40084 return NULL;
40085 }
40086
40087
40088 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40089 PyObject *resultobj = 0;
40090 wxHelpProvider *result = 0 ;
40091
40092 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40093 {
40094 PyThreadState* __tstate = wxPyBeginAllowThreads();
40095 result = (wxHelpProvider *)wxHelpProvider::Get();
40096 wxPyEndAllowThreads(__tstate);
40097 if (PyErr_Occurred()) SWIG_fail;
40098 }
40099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40100 return resultobj;
40101 fail:
40102 return NULL;
40103 }
40104
40105
40106 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40107 PyObject *resultobj = 0;
40108 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40109 wxWindow *arg2 = (wxWindow *) 0 ;
40110 wxString result;
40111 void *argp1 = 0 ;
40112 int res1 = 0 ;
40113 void *argp2 = 0 ;
40114 int res2 = 0 ;
40115 PyObject * obj0 = 0 ;
40116 PyObject * obj1 = 0 ;
40117 char * kwnames[] = {
40118 (char *) "self",(char *) "window", NULL
40119 };
40120
40121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40123 if (!SWIG_IsOK(res1)) {
40124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40125 }
40126 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40127 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40128 if (!SWIG_IsOK(res2)) {
40129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40130 }
40131 arg2 = reinterpret_cast< wxWindow * >(argp2);
40132 {
40133 PyThreadState* __tstate = wxPyBeginAllowThreads();
40134 result = (arg1)->GetHelp((wxWindow const *)arg2);
40135 wxPyEndAllowThreads(__tstate);
40136 if (PyErr_Occurred()) SWIG_fail;
40137 }
40138 {
40139 #if wxUSE_UNICODE
40140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40141 #else
40142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40143 #endif
40144 }
40145 return resultobj;
40146 fail:
40147 return NULL;
40148 }
40149
40150
40151 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40152 PyObject *resultobj = 0;
40153 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40154 wxWindow *arg2 = (wxWindow *) 0 ;
40155 bool result;
40156 void *argp1 = 0 ;
40157 int res1 = 0 ;
40158 void *argp2 = 0 ;
40159 int res2 = 0 ;
40160 PyObject * obj0 = 0 ;
40161 PyObject * obj1 = 0 ;
40162 char * kwnames[] = {
40163 (char *) "self",(char *) "window", NULL
40164 };
40165
40166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40168 if (!SWIG_IsOK(res1)) {
40169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40170 }
40171 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40173 if (!SWIG_IsOK(res2)) {
40174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40175 }
40176 arg2 = reinterpret_cast< wxWindow * >(argp2);
40177 {
40178 PyThreadState* __tstate = wxPyBeginAllowThreads();
40179 result = (bool)(arg1)->ShowHelp(arg2);
40180 wxPyEndAllowThreads(__tstate);
40181 if (PyErr_Occurred()) SWIG_fail;
40182 }
40183 {
40184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40185 }
40186 return resultobj;
40187 fail:
40188 return NULL;
40189 }
40190
40191
40192 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40193 PyObject *resultobj = 0;
40194 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40195 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40196 wxPoint *arg3 = 0 ;
40197 wxHelpEvent::Origin arg4 ;
40198 bool result;
40199 void *argp1 = 0 ;
40200 int res1 = 0 ;
40201 void *argp2 = 0 ;
40202 int res2 = 0 ;
40203 wxPoint temp3 ;
40204 int val4 ;
40205 int ecode4 = 0 ;
40206 PyObject * obj0 = 0 ;
40207 PyObject * obj1 = 0 ;
40208 PyObject * obj2 = 0 ;
40209 PyObject * obj3 = 0 ;
40210 char * kwnames[] = {
40211 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40212 };
40213
40214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40216 if (!SWIG_IsOK(res1)) {
40217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40218 }
40219 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40221 if (!SWIG_IsOK(res2)) {
40222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40223 }
40224 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40225 {
40226 arg3 = &temp3;
40227 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40228 }
40229 ecode4 = SWIG_AsVal_int(obj3, &val4);
40230 if (!SWIG_IsOK(ecode4)) {
40231 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40232 }
40233 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40234 {
40235 PyThreadState* __tstate = wxPyBeginAllowThreads();
40236 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40237 wxPyEndAllowThreads(__tstate);
40238 if (PyErr_Occurred()) SWIG_fail;
40239 }
40240 {
40241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40242 }
40243 return resultobj;
40244 fail:
40245 return NULL;
40246 }
40247
40248
40249 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40250 PyObject *resultobj = 0;
40251 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40252 wxWindow *arg2 = (wxWindow *) 0 ;
40253 wxString *arg3 = 0 ;
40254 void *argp1 = 0 ;
40255 int res1 = 0 ;
40256 void *argp2 = 0 ;
40257 int res2 = 0 ;
40258 bool temp3 = false ;
40259 PyObject * obj0 = 0 ;
40260 PyObject * obj1 = 0 ;
40261 PyObject * obj2 = 0 ;
40262 char * kwnames[] = {
40263 (char *) "self",(char *) "window",(char *) "text", NULL
40264 };
40265
40266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40268 if (!SWIG_IsOK(res1)) {
40269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40270 }
40271 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40273 if (!SWIG_IsOK(res2)) {
40274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40275 }
40276 arg2 = reinterpret_cast< wxWindow * >(argp2);
40277 {
40278 arg3 = wxString_in_helper(obj2);
40279 if (arg3 == NULL) SWIG_fail;
40280 temp3 = true;
40281 }
40282 {
40283 PyThreadState* __tstate = wxPyBeginAllowThreads();
40284 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40285 wxPyEndAllowThreads(__tstate);
40286 if (PyErr_Occurred()) SWIG_fail;
40287 }
40288 resultobj = SWIG_Py_Void();
40289 {
40290 if (temp3)
40291 delete arg3;
40292 }
40293 return resultobj;
40294 fail:
40295 {
40296 if (temp3)
40297 delete arg3;
40298 }
40299 return NULL;
40300 }
40301
40302
40303 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40304 PyObject *resultobj = 0;
40305 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40306 int arg2 ;
40307 wxString *arg3 = 0 ;
40308 void *argp1 = 0 ;
40309 int res1 = 0 ;
40310 int val2 ;
40311 int ecode2 = 0 ;
40312 bool temp3 = false ;
40313 PyObject * obj0 = 0 ;
40314 PyObject * obj1 = 0 ;
40315 PyObject * obj2 = 0 ;
40316 char * kwnames[] = {
40317 (char *) "self",(char *) "id",(char *) "text", NULL
40318 };
40319
40320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40322 if (!SWIG_IsOK(res1)) {
40323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40324 }
40325 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40326 ecode2 = SWIG_AsVal_int(obj1, &val2);
40327 if (!SWIG_IsOK(ecode2)) {
40328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40329 }
40330 arg2 = static_cast< int >(val2);
40331 {
40332 arg3 = wxString_in_helper(obj2);
40333 if (arg3 == NULL) SWIG_fail;
40334 temp3 = true;
40335 }
40336 {
40337 PyThreadState* __tstate = wxPyBeginAllowThreads();
40338 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40339 wxPyEndAllowThreads(__tstate);
40340 if (PyErr_Occurred()) SWIG_fail;
40341 }
40342 resultobj = SWIG_Py_Void();
40343 {
40344 if (temp3)
40345 delete arg3;
40346 }
40347 return resultobj;
40348 fail:
40349 {
40350 if (temp3)
40351 delete arg3;
40352 }
40353 return NULL;
40354 }
40355
40356
40357 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40358 PyObject *resultobj = 0;
40359 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40360 wxWindow *arg2 = (wxWindow *) 0 ;
40361 void *argp1 = 0 ;
40362 int res1 = 0 ;
40363 void *argp2 = 0 ;
40364 int res2 = 0 ;
40365 PyObject * obj0 = 0 ;
40366 PyObject * obj1 = 0 ;
40367 char * kwnames[] = {
40368 (char *) "self",(char *) "window", NULL
40369 };
40370
40371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40373 if (!SWIG_IsOK(res1)) {
40374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40375 }
40376 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40378 if (!SWIG_IsOK(res2)) {
40379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40380 }
40381 arg2 = reinterpret_cast< wxWindow * >(argp2);
40382 {
40383 PyThreadState* __tstate = wxPyBeginAllowThreads();
40384 (arg1)->RemoveHelp(arg2);
40385 wxPyEndAllowThreads(__tstate);
40386 if (PyErr_Occurred()) SWIG_fail;
40387 }
40388 resultobj = SWIG_Py_Void();
40389 return resultobj;
40390 fail:
40391 return NULL;
40392 }
40393
40394
40395 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40396 PyObject *resultobj = 0;
40397 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40398 void *argp1 = 0 ;
40399 int res1 = 0 ;
40400 PyObject *swig_obj[1] ;
40401
40402 if (!args) SWIG_fail;
40403 swig_obj[0] = args;
40404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40405 if (!SWIG_IsOK(res1)) {
40406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40407 }
40408 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40409 {
40410 PyThreadState* __tstate = wxPyBeginAllowThreads();
40411 wxHelpProvider_Destroy(arg1);
40412 wxPyEndAllowThreads(__tstate);
40413 if (PyErr_Occurred()) SWIG_fail;
40414 }
40415 resultobj = SWIG_Py_Void();
40416 return resultobj;
40417 fail:
40418 return NULL;
40419 }
40420
40421
40422 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40423 PyObject *obj;
40424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40425 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40426 return SWIG_Py_Void();
40427 }
40428
40429 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40430 PyObject *resultobj = 0;
40431 wxSimpleHelpProvider *result = 0 ;
40432
40433 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40434 {
40435 PyThreadState* __tstate = wxPyBeginAllowThreads();
40436 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40437 wxPyEndAllowThreads(__tstate);
40438 if (PyErr_Occurred()) SWIG_fail;
40439 }
40440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40441 return resultobj;
40442 fail:
40443 return NULL;
40444 }
40445
40446
40447 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40448 PyObject *obj;
40449 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40450 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40451 return SWIG_Py_Void();
40452 }
40453
40454 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40455 return SWIG_Python_InitShadowInstance(args);
40456 }
40457
40458 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40459 PyObject *resultobj = 0;
40460 wxBitmap *arg1 = 0 ;
40461 wxCursor const &arg2_defvalue = wxNullCursor ;
40462 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40463 wxGenericDragImage *result = 0 ;
40464 void *argp1 = 0 ;
40465 int res1 = 0 ;
40466 void *argp2 = 0 ;
40467 int res2 = 0 ;
40468 PyObject * obj0 = 0 ;
40469 PyObject * obj1 = 0 ;
40470 char * kwnames[] = {
40471 (char *) "image",(char *) "cursor", NULL
40472 };
40473
40474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40475 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40476 if (!SWIG_IsOK(res1)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40478 }
40479 if (!argp1) {
40480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40481 }
40482 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40483 if (obj1) {
40484 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40485 if (!SWIG_IsOK(res2)) {
40486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40487 }
40488 if (!argp2) {
40489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40490 }
40491 arg2 = reinterpret_cast< wxCursor * >(argp2);
40492 }
40493 {
40494 if (!wxPyCheckForApp()) SWIG_fail;
40495 PyThreadState* __tstate = wxPyBeginAllowThreads();
40496 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40497 wxPyEndAllowThreads(__tstate);
40498 if (PyErr_Occurred()) SWIG_fail;
40499 }
40500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40501 return resultobj;
40502 fail:
40503 return NULL;
40504 }
40505
40506
40507 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40508 PyObject *resultobj = 0;
40509 wxIcon *arg1 = 0 ;
40510 wxCursor const &arg2_defvalue = wxNullCursor ;
40511 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40512 wxGenericDragImage *result = 0 ;
40513 void *argp1 = 0 ;
40514 int res1 = 0 ;
40515 void *argp2 = 0 ;
40516 int res2 = 0 ;
40517 PyObject * obj0 = 0 ;
40518 PyObject * obj1 = 0 ;
40519 char * kwnames[] = {
40520 (char *) "image",(char *) "cursor", NULL
40521 };
40522
40523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40524 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40525 if (!SWIG_IsOK(res1)) {
40526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40527 }
40528 if (!argp1) {
40529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40530 }
40531 arg1 = reinterpret_cast< wxIcon * >(argp1);
40532 if (obj1) {
40533 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40534 if (!SWIG_IsOK(res2)) {
40535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40536 }
40537 if (!argp2) {
40538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40539 }
40540 arg2 = reinterpret_cast< wxCursor * >(argp2);
40541 }
40542 {
40543 if (!wxPyCheckForApp()) SWIG_fail;
40544 PyThreadState* __tstate = wxPyBeginAllowThreads();
40545 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40546 wxPyEndAllowThreads(__tstate);
40547 if (PyErr_Occurred()) SWIG_fail;
40548 }
40549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40550 return resultobj;
40551 fail:
40552 return NULL;
40553 }
40554
40555
40556 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40557 PyObject *resultobj = 0;
40558 wxString *arg1 = 0 ;
40559 wxCursor const &arg2_defvalue = wxNullCursor ;
40560 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40561 wxGenericDragImage *result = 0 ;
40562 bool temp1 = false ;
40563 void *argp2 = 0 ;
40564 int res2 = 0 ;
40565 PyObject * obj0 = 0 ;
40566 PyObject * obj1 = 0 ;
40567 char * kwnames[] = {
40568 (char *) "str",(char *) "cursor", NULL
40569 };
40570
40571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40572 {
40573 arg1 = wxString_in_helper(obj0);
40574 if (arg1 == NULL) SWIG_fail;
40575 temp1 = true;
40576 }
40577 if (obj1) {
40578 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40579 if (!SWIG_IsOK(res2)) {
40580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40581 }
40582 if (!argp2) {
40583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40584 }
40585 arg2 = reinterpret_cast< wxCursor * >(argp2);
40586 }
40587 {
40588 if (!wxPyCheckForApp()) SWIG_fail;
40589 PyThreadState* __tstate = wxPyBeginAllowThreads();
40590 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40591 wxPyEndAllowThreads(__tstate);
40592 if (PyErr_Occurred()) SWIG_fail;
40593 }
40594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40595 {
40596 if (temp1)
40597 delete arg1;
40598 }
40599 return resultobj;
40600 fail:
40601 {
40602 if (temp1)
40603 delete arg1;
40604 }
40605 return NULL;
40606 }
40607
40608
40609 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40610 PyObject *resultobj = 0;
40611 wxPyTreeCtrl *arg1 = 0 ;
40612 wxTreeItemId *arg2 = 0 ;
40613 wxGenericDragImage *result = 0 ;
40614 void *argp1 = 0 ;
40615 int res1 = 0 ;
40616 void *argp2 = 0 ;
40617 int res2 = 0 ;
40618 PyObject * obj0 = 0 ;
40619 PyObject * obj1 = 0 ;
40620 char * kwnames[] = {
40621 (char *) "treeCtrl",(char *) "id", NULL
40622 };
40623
40624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40625 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40626 if (!SWIG_IsOK(res1)) {
40627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40628 }
40629 if (!argp1) {
40630 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40631 }
40632 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40634 if (!SWIG_IsOK(res2)) {
40635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40636 }
40637 if (!argp2) {
40638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40639 }
40640 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40641 {
40642 if (!wxPyCheckForApp()) SWIG_fail;
40643 PyThreadState* __tstate = wxPyBeginAllowThreads();
40644 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40645 wxPyEndAllowThreads(__tstate);
40646 if (PyErr_Occurred()) SWIG_fail;
40647 }
40648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40649 return resultobj;
40650 fail:
40651 return NULL;
40652 }
40653
40654
40655 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40656 PyObject *resultobj = 0;
40657 wxPyListCtrl *arg1 = 0 ;
40658 long arg2 ;
40659 wxGenericDragImage *result = 0 ;
40660 void *argp1 = 0 ;
40661 int res1 = 0 ;
40662 long val2 ;
40663 int ecode2 = 0 ;
40664 PyObject * obj0 = 0 ;
40665 PyObject * obj1 = 0 ;
40666 char * kwnames[] = {
40667 (char *) "listCtrl",(char *) "id", NULL
40668 };
40669
40670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40671 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40672 if (!SWIG_IsOK(res1)) {
40673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40674 }
40675 if (!argp1) {
40676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40677 }
40678 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40679 ecode2 = SWIG_AsVal_long(obj1, &val2);
40680 if (!SWIG_IsOK(ecode2)) {
40681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40682 }
40683 arg2 = static_cast< long >(val2);
40684 {
40685 if (!wxPyCheckForApp()) SWIG_fail;
40686 PyThreadState* __tstate = wxPyBeginAllowThreads();
40687 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40688 wxPyEndAllowThreads(__tstate);
40689 if (PyErr_Occurred()) SWIG_fail;
40690 }
40691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40692 return resultobj;
40693 fail:
40694 return NULL;
40695 }
40696
40697
40698 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40699 PyObject *resultobj = 0;
40700 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40701 void *argp1 = 0 ;
40702 int res1 = 0 ;
40703 PyObject *swig_obj[1] ;
40704
40705 if (!args) SWIG_fail;
40706 swig_obj[0] = args;
40707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40708 if (!SWIG_IsOK(res1)) {
40709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40710 }
40711 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40712 {
40713 PyThreadState* __tstate = wxPyBeginAllowThreads();
40714 delete arg1;
40715
40716 wxPyEndAllowThreads(__tstate);
40717 if (PyErr_Occurred()) SWIG_fail;
40718 }
40719 resultobj = SWIG_Py_Void();
40720 return resultobj;
40721 fail:
40722 return NULL;
40723 }
40724
40725
40726 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40727 PyObject *resultobj = 0;
40728 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40729 wxBitmap *arg2 = (wxBitmap *) 0 ;
40730 void *argp1 = 0 ;
40731 int res1 = 0 ;
40732 void *argp2 = 0 ;
40733 int res2 = 0 ;
40734 PyObject * obj0 = 0 ;
40735 PyObject * obj1 = 0 ;
40736 char * kwnames[] = {
40737 (char *) "self",(char *) "bitmap", NULL
40738 };
40739
40740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40742 if (!SWIG_IsOK(res1)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40744 }
40745 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40747 if (!SWIG_IsOK(res2)) {
40748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40749 }
40750 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40751 {
40752 PyThreadState* __tstate = wxPyBeginAllowThreads();
40753 (arg1)->SetBackingBitmap(arg2);
40754 wxPyEndAllowThreads(__tstate);
40755 if (PyErr_Occurred()) SWIG_fail;
40756 }
40757 resultobj = SWIG_Py_Void();
40758 return resultobj;
40759 fail:
40760 return NULL;
40761 }
40762
40763
40764 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40765 PyObject *resultobj = 0;
40766 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40767 wxPoint *arg2 = 0 ;
40768 wxWindow *arg3 = (wxWindow *) 0 ;
40769 bool arg4 = (bool) false ;
40770 wxRect *arg5 = (wxRect *) NULL ;
40771 bool result;
40772 void *argp1 = 0 ;
40773 int res1 = 0 ;
40774 wxPoint temp2 ;
40775 void *argp3 = 0 ;
40776 int res3 = 0 ;
40777 bool val4 ;
40778 int ecode4 = 0 ;
40779 void *argp5 = 0 ;
40780 int res5 = 0 ;
40781 PyObject * obj0 = 0 ;
40782 PyObject * obj1 = 0 ;
40783 PyObject * obj2 = 0 ;
40784 PyObject * obj3 = 0 ;
40785 PyObject * obj4 = 0 ;
40786 char * kwnames[] = {
40787 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40788 };
40789
40790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40792 if (!SWIG_IsOK(res1)) {
40793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40794 }
40795 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40796 {
40797 arg2 = &temp2;
40798 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40799 }
40800 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40801 if (!SWIG_IsOK(res3)) {
40802 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40803 }
40804 arg3 = reinterpret_cast< wxWindow * >(argp3);
40805 if (obj3) {
40806 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40807 if (!SWIG_IsOK(ecode4)) {
40808 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40809 }
40810 arg4 = static_cast< bool >(val4);
40811 }
40812 if (obj4) {
40813 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40814 if (!SWIG_IsOK(res5)) {
40815 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40816 }
40817 arg5 = reinterpret_cast< wxRect * >(argp5);
40818 }
40819 {
40820 PyThreadState* __tstate = wxPyBeginAllowThreads();
40821 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40822 wxPyEndAllowThreads(__tstate);
40823 if (PyErr_Occurred()) SWIG_fail;
40824 }
40825 {
40826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40827 }
40828 return resultobj;
40829 fail:
40830 return NULL;
40831 }
40832
40833
40834 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40835 PyObject *resultobj = 0;
40836 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40837 wxPoint *arg2 = 0 ;
40838 wxWindow *arg3 = (wxWindow *) 0 ;
40839 wxWindow *arg4 = (wxWindow *) 0 ;
40840 bool result;
40841 void *argp1 = 0 ;
40842 int res1 = 0 ;
40843 wxPoint temp2 ;
40844 void *argp3 = 0 ;
40845 int res3 = 0 ;
40846 void *argp4 = 0 ;
40847 int res4 = 0 ;
40848 PyObject * obj0 = 0 ;
40849 PyObject * obj1 = 0 ;
40850 PyObject * obj2 = 0 ;
40851 PyObject * obj3 = 0 ;
40852 char * kwnames[] = {
40853 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40854 };
40855
40856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40858 if (!SWIG_IsOK(res1)) {
40859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40860 }
40861 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40862 {
40863 arg2 = &temp2;
40864 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40865 }
40866 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40867 if (!SWIG_IsOK(res3)) {
40868 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40869 }
40870 arg3 = reinterpret_cast< wxWindow * >(argp3);
40871 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40872 if (!SWIG_IsOK(res4)) {
40873 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40874 }
40875 arg4 = reinterpret_cast< wxWindow * >(argp4);
40876 {
40877 PyThreadState* __tstate = wxPyBeginAllowThreads();
40878 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40879 wxPyEndAllowThreads(__tstate);
40880 if (PyErr_Occurred()) SWIG_fail;
40881 }
40882 {
40883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40884 }
40885 return resultobj;
40886 fail:
40887 return NULL;
40888 }
40889
40890
40891 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40892 PyObject *resultobj = 0;
40893 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40894 bool result;
40895 void *argp1 = 0 ;
40896 int res1 = 0 ;
40897 PyObject *swig_obj[1] ;
40898
40899 if (!args) SWIG_fail;
40900 swig_obj[0] = args;
40901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40902 if (!SWIG_IsOK(res1)) {
40903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40904 }
40905 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40906 {
40907 PyThreadState* __tstate = wxPyBeginAllowThreads();
40908 result = (bool)(arg1)->EndDrag();
40909 wxPyEndAllowThreads(__tstate);
40910 if (PyErr_Occurred()) SWIG_fail;
40911 }
40912 {
40913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40914 }
40915 return resultobj;
40916 fail:
40917 return NULL;
40918 }
40919
40920
40921 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40922 PyObject *resultobj = 0;
40923 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40924 wxPoint *arg2 = 0 ;
40925 bool result;
40926 void *argp1 = 0 ;
40927 int res1 = 0 ;
40928 wxPoint temp2 ;
40929 PyObject * obj0 = 0 ;
40930 PyObject * obj1 = 0 ;
40931 char * kwnames[] = {
40932 (char *) "self",(char *) "pt", NULL
40933 };
40934
40935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40937 if (!SWIG_IsOK(res1)) {
40938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40939 }
40940 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40941 {
40942 arg2 = &temp2;
40943 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40944 }
40945 {
40946 PyThreadState* __tstate = wxPyBeginAllowThreads();
40947 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40948 wxPyEndAllowThreads(__tstate);
40949 if (PyErr_Occurred()) SWIG_fail;
40950 }
40951 {
40952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40953 }
40954 return resultobj;
40955 fail:
40956 return NULL;
40957 }
40958
40959
40960 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40961 PyObject *resultobj = 0;
40962 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40963 bool result;
40964 void *argp1 = 0 ;
40965 int res1 = 0 ;
40966 PyObject *swig_obj[1] ;
40967
40968 if (!args) SWIG_fail;
40969 swig_obj[0] = args;
40970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40971 if (!SWIG_IsOK(res1)) {
40972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40973 }
40974 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40975 {
40976 PyThreadState* __tstate = wxPyBeginAllowThreads();
40977 result = (bool)(arg1)->Show();
40978 wxPyEndAllowThreads(__tstate);
40979 if (PyErr_Occurred()) SWIG_fail;
40980 }
40981 {
40982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40983 }
40984 return resultobj;
40985 fail:
40986 return NULL;
40987 }
40988
40989
40990 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40991 PyObject *resultobj = 0;
40992 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40993 bool result;
40994 void *argp1 = 0 ;
40995 int res1 = 0 ;
40996 PyObject *swig_obj[1] ;
40997
40998 if (!args) SWIG_fail;
40999 swig_obj[0] = args;
41000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41001 if (!SWIG_IsOK(res1)) {
41002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41003 }
41004 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41005 {
41006 PyThreadState* __tstate = wxPyBeginAllowThreads();
41007 result = (bool)(arg1)->Hide();
41008 wxPyEndAllowThreads(__tstate);
41009 if (PyErr_Occurred()) SWIG_fail;
41010 }
41011 {
41012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41013 }
41014 return resultobj;
41015 fail:
41016 return NULL;
41017 }
41018
41019
41020 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41021 PyObject *resultobj = 0;
41022 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41023 wxPoint *arg2 = 0 ;
41024 wxRect result;
41025 void *argp1 = 0 ;
41026 int res1 = 0 ;
41027 wxPoint temp2 ;
41028 PyObject * obj0 = 0 ;
41029 PyObject * obj1 = 0 ;
41030 char * kwnames[] = {
41031 (char *) "self",(char *) "pos", NULL
41032 };
41033
41034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41036 if (!SWIG_IsOK(res1)) {
41037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41038 }
41039 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41040 {
41041 arg2 = &temp2;
41042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41043 }
41044 {
41045 PyThreadState* __tstate = wxPyBeginAllowThreads();
41046 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41047 wxPyEndAllowThreads(__tstate);
41048 if (PyErr_Occurred()) SWIG_fail;
41049 }
41050 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41051 return resultobj;
41052 fail:
41053 return NULL;
41054 }
41055
41056
41057 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41058 PyObject *resultobj = 0;
41059 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41060 wxDC *arg2 = 0 ;
41061 wxPoint *arg3 = 0 ;
41062 bool result;
41063 void *argp1 = 0 ;
41064 int res1 = 0 ;
41065 void *argp2 = 0 ;
41066 int res2 = 0 ;
41067 wxPoint temp3 ;
41068 PyObject * obj0 = 0 ;
41069 PyObject * obj1 = 0 ;
41070 PyObject * obj2 = 0 ;
41071 char * kwnames[] = {
41072 (char *) "self",(char *) "dc",(char *) "pos", NULL
41073 };
41074
41075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41077 if (!SWIG_IsOK(res1)) {
41078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41079 }
41080 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41081 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41082 if (!SWIG_IsOK(res2)) {
41083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41084 }
41085 if (!argp2) {
41086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41087 }
41088 arg2 = reinterpret_cast< wxDC * >(argp2);
41089 {
41090 arg3 = &temp3;
41091 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41092 }
41093 {
41094 PyThreadState* __tstate = wxPyBeginAllowThreads();
41095 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41096 wxPyEndAllowThreads(__tstate);
41097 if (PyErr_Occurred()) SWIG_fail;
41098 }
41099 {
41100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41101 }
41102 return resultobj;
41103 fail:
41104 return NULL;
41105 }
41106
41107
41108 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41109 PyObject *resultobj = 0;
41110 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41111 wxDC *arg2 = 0 ;
41112 wxMemoryDC *arg3 = 0 ;
41113 wxRect *arg4 = 0 ;
41114 wxRect *arg5 = 0 ;
41115 bool result;
41116 void *argp1 = 0 ;
41117 int res1 = 0 ;
41118 void *argp2 = 0 ;
41119 int res2 = 0 ;
41120 void *argp3 = 0 ;
41121 int res3 = 0 ;
41122 wxRect temp4 ;
41123 wxRect temp5 ;
41124 PyObject * obj0 = 0 ;
41125 PyObject * obj1 = 0 ;
41126 PyObject * obj2 = 0 ;
41127 PyObject * obj3 = 0 ;
41128 PyObject * obj4 = 0 ;
41129 char * kwnames[] = {
41130 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41131 };
41132
41133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41135 if (!SWIG_IsOK(res1)) {
41136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41137 }
41138 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41139 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41140 if (!SWIG_IsOK(res2)) {
41141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41142 }
41143 if (!argp2) {
41144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41145 }
41146 arg2 = reinterpret_cast< wxDC * >(argp2);
41147 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41148 if (!SWIG_IsOK(res3)) {
41149 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41150 }
41151 if (!argp3) {
41152 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41153 }
41154 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41155 {
41156 arg4 = &temp4;
41157 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41158 }
41159 {
41160 arg5 = &temp5;
41161 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41162 }
41163 {
41164 PyThreadState* __tstate = wxPyBeginAllowThreads();
41165 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41166 wxPyEndAllowThreads(__tstate);
41167 if (PyErr_Occurred()) SWIG_fail;
41168 }
41169 {
41170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41171 }
41172 return resultobj;
41173 fail:
41174 return NULL;
41175 }
41176
41177
41178 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41179 PyObject *resultobj = 0;
41180 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41181 wxPoint *arg2 = 0 ;
41182 wxPoint *arg3 = 0 ;
41183 bool arg4 ;
41184 bool arg5 ;
41185 bool result;
41186 void *argp1 = 0 ;
41187 int res1 = 0 ;
41188 wxPoint temp2 ;
41189 wxPoint temp3 ;
41190 bool val4 ;
41191 int ecode4 = 0 ;
41192 bool val5 ;
41193 int ecode5 = 0 ;
41194 PyObject * obj0 = 0 ;
41195 PyObject * obj1 = 0 ;
41196 PyObject * obj2 = 0 ;
41197 PyObject * obj3 = 0 ;
41198 PyObject * obj4 = 0 ;
41199 char * kwnames[] = {
41200 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41201 };
41202
41203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41205 if (!SWIG_IsOK(res1)) {
41206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41207 }
41208 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41209 {
41210 arg2 = &temp2;
41211 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41212 }
41213 {
41214 arg3 = &temp3;
41215 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41216 }
41217 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41218 if (!SWIG_IsOK(ecode4)) {
41219 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41220 }
41221 arg4 = static_cast< bool >(val4);
41222 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41223 if (!SWIG_IsOK(ecode5)) {
41224 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41225 }
41226 arg5 = static_cast< bool >(val5);
41227 {
41228 PyThreadState* __tstate = wxPyBeginAllowThreads();
41229 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41230 wxPyEndAllowThreads(__tstate);
41231 if (PyErr_Occurred()) SWIG_fail;
41232 }
41233 {
41234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41235 }
41236 return resultobj;
41237 fail:
41238 return NULL;
41239 }
41240
41241
41242 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41243 PyObject *obj;
41244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41245 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41246 return SWIG_Py_Void();
41247 }
41248
41249 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41250 return SWIG_Python_InitShadowInstance(args);
41251 }
41252
41253 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41254 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41255 return 1;
41256 }
41257
41258
41259 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41260 PyObject *pyobj = 0;
41261
41262 {
41263 #if wxUSE_UNICODE
41264 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41265 #else
41266 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41267 #endif
41268 }
41269 return pyobj;
41270 }
41271
41272
41273 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41274 PyObject *resultobj = 0;
41275 wxWindow *arg1 = (wxWindow *) 0 ;
41276 int arg2 = (int) -1 ;
41277 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41278 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41281 wxSize const &arg5_defvalue = wxDefaultSize ;
41282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41283 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41284 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41285 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41286 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41287 wxString *arg8 = (wxString *) &arg8_defvalue ;
41288 wxDatePickerCtrl *result = 0 ;
41289 void *argp1 = 0 ;
41290 int res1 = 0 ;
41291 int val2 ;
41292 int ecode2 = 0 ;
41293 void *argp3 = 0 ;
41294 int res3 = 0 ;
41295 wxPoint temp4 ;
41296 wxSize temp5 ;
41297 long val6 ;
41298 int ecode6 = 0 ;
41299 void *argp7 = 0 ;
41300 int res7 = 0 ;
41301 bool temp8 = false ;
41302 PyObject * obj0 = 0 ;
41303 PyObject * obj1 = 0 ;
41304 PyObject * obj2 = 0 ;
41305 PyObject * obj3 = 0 ;
41306 PyObject * obj4 = 0 ;
41307 PyObject * obj5 = 0 ;
41308 PyObject * obj6 = 0 ;
41309 PyObject * obj7 = 0 ;
41310 char * kwnames[] = {
41311 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41312 };
41313
41314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41316 if (!SWIG_IsOK(res1)) {
41317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41318 }
41319 arg1 = reinterpret_cast< wxWindow * >(argp1);
41320 if (obj1) {
41321 ecode2 = SWIG_AsVal_int(obj1, &val2);
41322 if (!SWIG_IsOK(ecode2)) {
41323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41324 }
41325 arg2 = static_cast< int >(val2);
41326 }
41327 if (obj2) {
41328 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41329 if (!SWIG_IsOK(res3)) {
41330 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41331 }
41332 if (!argp3) {
41333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41334 }
41335 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41336 }
41337 if (obj3) {
41338 {
41339 arg4 = &temp4;
41340 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41341 }
41342 }
41343 if (obj4) {
41344 {
41345 arg5 = &temp5;
41346 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41347 }
41348 }
41349 if (obj5) {
41350 ecode6 = SWIG_AsVal_long(obj5, &val6);
41351 if (!SWIG_IsOK(ecode6)) {
41352 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41353 }
41354 arg6 = static_cast< long >(val6);
41355 }
41356 if (obj6) {
41357 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41358 if (!SWIG_IsOK(res7)) {
41359 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41360 }
41361 if (!argp7) {
41362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41363 }
41364 arg7 = reinterpret_cast< wxValidator * >(argp7);
41365 }
41366 if (obj7) {
41367 {
41368 arg8 = wxString_in_helper(obj7);
41369 if (arg8 == NULL) SWIG_fail;
41370 temp8 = true;
41371 }
41372 }
41373 {
41374 if (!wxPyCheckForApp()) SWIG_fail;
41375 PyThreadState* __tstate = wxPyBeginAllowThreads();
41376 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41377 wxPyEndAllowThreads(__tstate);
41378 if (PyErr_Occurred()) SWIG_fail;
41379 }
41380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41381 {
41382 if (temp8)
41383 delete arg8;
41384 }
41385 return resultobj;
41386 fail:
41387 {
41388 if (temp8)
41389 delete arg8;
41390 }
41391 return NULL;
41392 }
41393
41394
41395 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41396 PyObject *resultobj = 0;
41397 wxDatePickerCtrl *result = 0 ;
41398
41399 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41400 {
41401 if (!wxPyCheckForApp()) SWIG_fail;
41402 PyThreadState* __tstate = wxPyBeginAllowThreads();
41403 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41404 wxPyEndAllowThreads(__tstate);
41405 if (PyErr_Occurred()) SWIG_fail;
41406 }
41407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41408 return resultobj;
41409 fail:
41410 return NULL;
41411 }
41412
41413
41414 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41415 PyObject *resultobj = 0;
41416 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41417 wxWindow *arg2 = (wxWindow *) 0 ;
41418 int arg3 = (int) -1 ;
41419 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41420 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41421 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41422 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41423 wxSize const &arg6_defvalue = wxDefaultSize ;
41424 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41425 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41426 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41427 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41428 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41429 wxString *arg9 = (wxString *) &arg9_defvalue ;
41430 bool result;
41431 void *argp1 = 0 ;
41432 int res1 = 0 ;
41433 void *argp2 = 0 ;
41434 int res2 = 0 ;
41435 int val3 ;
41436 int ecode3 = 0 ;
41437 void *argp4 = 0 ;
41438 int res4 = 0 ;
41439 wxPoint temp5 ;
41440 wxSize temp6 ;
41441 long val7 ;
41442 int ecode7 = 0 ;
41443 void *argp8 = 0 ;
41444 int res8 = 0 ;
41445 bool temp9 = false ;
41446 PyObject * obj0 = 0 ;
41447 PyObject * obj1 = 0 ;
41448 PyObject * obj2 = 0 ;
41449 PyObject * obj3 = 0 ;
41450 PyObject * obj4 = 0 ;
41451 PyObject * obj5 = 0 ;
41452 PyObject * obj6 = 0 ;
41453 PyObject * obj7 = 0 ;
41454 PyObject * obj8 = 0 ;
41455 char * kwnames[] = {
41456 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41457 };
41458
41459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41461 if (!SWIG_IsOK(res1)) {
41462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41463 }
41464 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41466 if (!SWIG_IsOK(res2)) {
41467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41468 }
41469 arg2 = reinterpret_cast< wxWindow * >(argp2);
41470 if (obj2) {
41471 ecode3 = SWIG_AsVal_int(obj2, &val3);
41472 if (!SWIG_IsOK(ecode3)) {
41473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41474 }
41475 arg3 = static_cast< int >(val3);
41476 }
41477 if (obj3) {
41478 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41479 if (!SWIG_IsOK(res4)) {
41480 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41481 }
41482 if (!argp4) {
41483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41484 }
41485 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41486 }
41487 if (obj4) {
41488 {
41489 arg5 = &temp5;
41490 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41491 }
41492 }
41493 if (obj5) {
41494 {
41495 arg6 = &temp6;
41496 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41497 }
41498 }
41499 if (obj6) {
41500 ecode7 = SWIG_AsVal_long(obj6, &val7);
41501 if (!SWIG_IsOK(ecode7)) {
41502 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41503 }
41504 arg7 = static_cast< long >(val7);
41505 }
41506 if (obj7) {
41507 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41508 if (!SWIG_IsOK(res8)) {
41509 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41510 }
41511 if (!argp8) {
41512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41513 }
41514 arg8 = reinterpret_cast< wxValidator * >(argp8);
41515 }
41516 if (obj8) {
41517 {
41518 arg9 = wxString_in_helper(obj8);
41519 if (arg9 == NULL) SWIG_fail;
41520 temp9 = true;
41521 }
41522 }
41523 {
41524 PyThreadState* __tstate = wxPyBeginAllowThreads();
41525 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41526 wxPyEndAllowThreads(__tstate);
41527 if (PyErr_Occurred()) SWIG_fail;
41528 }
41529 {
41530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41531 }
41532 {
41533 if (temp9)
41534 delete arg9;
41535 }
41536 return resultobj;
41537 fail:
41538 {
41539 if (temp9)
41540 delete arg9;
41541 }
41542 return NULL;
41543 }
41544
41545
41546 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41547 PyObject *resultobj = 0;
41548 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41549 wxDateTime *arg2 = 0 ;
41550 void *argp1 = 0 ;
41551 int res1 = 0 ;
41552 void *argp2 = 0 ;
41553 int res2 = 0 ;
41554 PyObject * obj0 = 0 ;
41555 PyObject * obj1 = 0 ;
41556 char * kwnames[] = {
41557 (char *) "self",(char *) "dt", NULL
41558 };
41559
41560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41562 if (!SWIG_IsOK(res1)) {
41563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41564 }
41565 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41566 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41567 if (!SWIG_IsOK(res2)) {
41568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41569 }
41570 if (!argp2) {
41571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41572 }
41573 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41574 {
41575 PyThreadState* __tstate = wxPyBeginAllowThreads();
41576 (arg1)->SetValue((wxDateTime const &)*arg2);
41577 wxPyEndAllowThreads(__tstate);
41578 if (PyErr_Occurred()) SWIG_fail;
41579 }
41580 resultobj = SWIG_Py_Void();
41581 return resultobj;
41582 fail:
41583 return NULL;
41584 }
41585
41586
41587 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41588 PyObject *resultobj = 0;
41589 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41590 wxDateTime result;
41591 void *argp1 = 0 ;
41592 int res1 = 0 ;
41593 PyObject *swig_obj[1] ;
41594
41595 if (!args) SWIG_fail;
41596 swig_obj[0] = args;
41597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41598 if (!SWIG_IsOK(res1)) {
41599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41600 }
41601 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41602 {
41603 PyThreadState* __tstate = wxPyBeginAllowThreads();
41604 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41605 wxPyEndAllowThreads(__tstate);
41606 if (PyErr_Occurred()) SWIG_fail;
41607 }
41608 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41609 return resultobj;
41610 fail:
41611 return NULL;
41612 }
41613
41614
41615 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41616 PyObject *resultobj = 0;
41617 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41618 wxDateTime *arg2 = 0 ;
41619 wxDateTime *arg3 = 0 ;
41620 void *argp1 = 0 ;
41621 int res1 = 0 ;
41622 void *argp2 = 0 ;
41623 int res2 = 0 ;
41624 void *argp3 = 0 ;
41625 int res3 = 0 ;
41626 PyObject * obj0 = 0 ;
41627 PyObject * obj1 = 0 ;
41628 PyObject * obj2 = 0 ;
41629 char * kwnames[] = {
41630 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41631 };
41632
41633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41635 if (!SWIG_IsOK(res1)) {
41636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41637 }
41638 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41639 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41640 if (!SWIG_IsOK(res2)) {
41641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41642 }
41643 if (!argp2) {
41644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41645 }
41646 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41647 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41648 if (!SWIG_IsOK(res3)) {
41649 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41650 }
41651 if (!argp3) {
41652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41653 }
41654 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41655 {
41656 PyThreadState* __tstate = wxPyBeginAllowThreads();
41657 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41658 wxPyEndAllowThreads(__tstate);
41659 if (PyErr_Occurred()) SWIG_fail;
41660 }
41661 resultobj = SWIG_Py_Void();
41662 return resultobj;
41663 fail:
41664 return NULL;
41665 }
41666
41667
41668 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41669 PyObject *resultobj = 0;
41670 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41671 wxDateTime result;
41672 void *argp1 = 0 ;
41673 int res1 = 0 ;
41674 PyObject *swig_obj[1] ;
41675
41676 if (!args) SWIG_fail;
41677 swig_obj[0] = args;
41678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41679 if (!SWIG_IsOK(res1)) {
41680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41681 }
41682 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41683 {
41684 PyThreadState* __tstate = wxPyBeginAllowThreads();
41685 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41686 wxPyEndAllowThreads(__tstate);
41687 if (PyErr_Occurred()) SWIG_fail;
41688 }
41689 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41690 return resultobj;
41691 fail:
41692 return NULL;
41693 }
41694
41695
41696 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41697 PyObject *resultobj = 0;
41698 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41699 wxDateTime result;
41700 void *argp1 = 0 ;
41701 int res1 = 0 ;
41702 PyObject *swig_obj[1] ;
41703
41704 if (!args) SWIG_fail;
41705 swig_obj[0] = args;
41706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41707 if (!SWIG_IsOK(res1)) {
41708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41709 }
41710 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41711 {
41712 PyThreadState* __tstate = wxPyBeginAllowThreads();
41713 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41714 wxPyEndAllowThreads(__tstate);
41715 if (PyErr_Occurred()) SWIG_fail;
41716 }
41717 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41718 return resultobj;
41719 fail:
41720 return NULL;
41721 }
41722
41723
41724 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41725 PyObject *obj;
41726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41727 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41728 return SWIG_Py_Void();
41729 }
41730
41731 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41732 return SWIG_Python_InitShadowInstance(args);
41733 }
41734
41735 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41736 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41737 return 1;
41738 }
41739
41740
41741 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41742 PyObject *pyobj = 0;
41743
41744 {
41745 #if wxUSE_UNICODE
41746 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41747 #else
41748 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41749 #endif
41750 }
41751 return pyobj;
41752 }
41753
41754
41755 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41756 PyObject *resultobj = 0;
41757 wxWindow *arg1 = (wxWindow *) 0 ;
41758 int arg2 ;
41759 wxString *arg3 = 0 ;
41760 wxString *arg4 = 0 ;
41761 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41762 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41763 wxSize const &arg6_defvalue = wxDefaultSize ;
41764 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41765 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41766 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41767 wxString *arg8 = (wxString *) &arg8_defvalue ;
41768 wxHyperlinkCtrl *result = 0 ;
41769 void *argp1 = 0 ;
41770 int res1 = 0 ;
41771 int val2 ;
41772 int ecode2 = 0 ;
41773 bool temp3 = false ;
41774 bool temp4 = false ;
41775 wxPoint temp5 ;
41776 wxSize temp6 ;
41777 long val7 ;
41778 int ecode7 = 0 ;
41779 bool temp8 = false ;
41780 PyObject * obj0 = 0 ;
41781 PyObject * obj1 = 0 ;
41782 PyObject * obj2 = 0 ;
41783 PyObject * obj3 = 0 ;
41784 PyObject * obj4 = 0 ;
41785 PyObject * obj5 = 0 ;
41786 PyObject * obj6 = 0 ;
41787 PyObject * obj7 = 0 ;
41788 char * kwnames[] = {
41789 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41790 };
41791
41792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41794 if (!SWIG_IsOK(res1)) {
41795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41796 }
41797 arg1 = reinterpret_cast< wxWindow * >(argp1);
41798 ecode2 = SWIG_AsVal_int(obj1, &val2);
41799 if (!SWIG_IsOK(ecode2)) {
41800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41801 }
41802 arg2 = static_cast< int >(val2);
41803 {
41804 arg3 = wxString_in_helper(obj2);
41805 if (arg3 == NULL) SWIG_fail;
41806 temp3 = true;
41807 }
41808 {
41809 arg4 = wxString_in_helper(obj3);
41810 if (arg4 == NULL) SWIG_fail;
41811 temp4 = true;
41812 }
41813 if (obj4) {
41814 {
41815 arg5 = &temp5;
41816 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41817 }
41818 }
41819 if (obj5) {
41820 {
41821 arg6 = &temp6;
41822 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41823 }
41824 }
41825 if (obj6) {
41826 ecode7 = SWIG_AsVal_long(obj6, &val7);
41827 if (!SWIG_IsOK(ecode7)) {
41828 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41829 }
41830 arg7 = static_cast< long >(val7);
41831 }
41832 if (obj7) {
41833 {
41834 arg8 = wxString_in_helper(obj7);
41835 if (arg8 == NULL) SWIG_fail;
41836 temp8 = true;
41837 }
41838 }
41839 {
41840 if (!wxPyCheckForApp()) SWIG_fail;
41841 PyThreadState* __tstate = wxPyBeginAllowThreads();
41842 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41843 wxPyEndAllowThreads(__tstate);
41844 if (PyErr_Occurred()) SWIG_fail;
41845 }
41846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41847 {
41848 if (temp3)
41849 delete arg3;
41850 }
41851 {
41852 if (temp4)
41853 delete arg4;
41854 }
41855 {
41856 if (temp8)
41857 delete arg8;
41858 }
41859 return resultobj;
41860 fail:
41861 {
41862 if (temp3)
41863 delete arg3;
41864 }
41865 {
41866 if (temp4)
41867 delete arg4;
41868 }
41869 {
41870 if (temp8)
41871 delete arg8;
41872 }
41873 return NULL;
41874 }
41875
41876
41877 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41878 PyObject *resultobj = 0;
41879 wxHyperlinkCtrl *result = 0 ;
41880
41881 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41882 {
41883 if (!wxPyCheckForApp()) SWIG_fail;
41884 PyThreadState* __tstate = wxPyBeginAllowThreads();
41885 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41886 wxPyEndAllowThreads(__tstate);
41887 if (PyErr_Occurred()) SWIG_fail;
41888 }
41889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41890 return resultobj;
41891 fail:
41892 return NULL;
41893 }
41894
41895
41896 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41897 PyObject *resultobj = 0;
41898 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41899 wxWindow *arg2 = (wxWindow *) 0 ;
41900 int arg3 ;
41901 wxString *arg4 = 0 ;
41902 wxString *arg5 = 0 ;
41903 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41904 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41905 wxSize const &arg7_defvalue = wxDefaultSize ;
41906 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41907 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41908 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41909 wxString *arg9 = (wxString *) &arg9_defvalue ;
41910 bool result;
41911 void *argp1 = 0 ;
41912 int res1 = 0 ;
41913 void *argp2 = 0 ;
41914 int res2 = 0 ;
41915 int val3 ;
41916 int ecode3 = 0 ;
41917 bool temp4 = false ;
41918 bool temp5 = false ;
41919 wxPoint temp6 ;
41920 wxSize temp7 ;
41921 long val8 ;
41922 int ecode8 = 0 ;
41923 bool temp9 = false ;
41924 PyObject * obj0 = 0 ;
41925 PyObject * obj1 = 0 ;
41926 PyObject * obj2 = 0 ;
41927 PyObject * obj3 = 0 ;
41928 PyObject * obj4 = 0 ;
41929 PyObject * obj5 = 0 ;
41930 PyObject * obj6 = 0 ;
41931 PyObject * obj7 = 0 ;
41932 PyObject * obj8 = 0 ;
41933 char * kwnames[] = {
41934 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41935 };
41936
41937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41939 if (!SWIG_IsOK(res1)) {
41940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41941 }
41942 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41944 if (!SWIG_IsOK(res2)) {
41945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41946 }
41947 arg2 = reinterpret_cast< wxWindow * >(argp2);
41948 ecode3 = SWIG_AsVal_int(obj2, &val3);
41949 if (!SWIG_IsOK(ecode3)) {
41950 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41951 }
41952 arg3 = static_cast< int >(val3);
41953 {
41954 arg4 = wxString_in_helper(obj3);
41955 if (arg4 == NULL) SWIG_fail;
41956 temp4 = true;
41957 }
41958 {
41959 arg5 = wxString_in_helper(obj4);
41960 if (arg5 == NULL) SWIG_fail;
41961 temp5 = true;
41962 }
41963 if (obj5) {
41964 {
41965 arg6 = &temp6;
41966 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41967 }
41968 }
41969 if (obj6) {
41970 {
41971 arg7 = &temp7;
41972 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41973 }
41974 }
41975 if (obj7) {
41976 ecode8 = SWIG_AsVal_long(obj7, &val8);
41977 if (!SWIG_IsOK(ecode8)) {
41978 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41979 }
41980 arg8 = static_cast< long >(val8);
41981 }
41982 if (obj8) {
41983 {
41984 arg9 = wxString_in_helper(obj8);
41985 if (arg9 == NULL) SWIG_fail;
41986 temp9 = true;
41987 }
41988 }
41989 {
41990 PyThreadState* __tstate = wxPyBeginAllowThreads();
41991 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41992 wxPyEndAllowThreads(__tstate);
41993 if (PyErr_Occurred()) SWIG_fail;
41994 }
41995 {
41996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41997 }
41998 {
41999 if (temp4)
42000 delete arg4;
42001 }
42002 {
42003 if (temp5)
42004 delete arg5;
42005 }
42006 {
42007 if (temp9)
42008 delete arg9;
42009 }
42010 return resultobj;
42011 fail:
42012 {
42013 if (temp4)
42014 delete arg4;
42015 }
42016 {
42017 if (temp5)
42018 delete arg5;
42019 }
42020 {
42021 if (temp9)
42022 delete arg9;
42023 }
42024 return NULL;
42025 }
42026
42027
42028 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42029 PyObject *resultobj = 0;
42030 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42031 wxColour result;
42032 void *argp1 = 0 ;
42033 int res1 = 0 ;
42034 PyObject *swig_obj[1] ;
42035
42036 if (!args) SWIG_fail;
42037 swig_obj[0] = args;
42038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42039 if (!SWIG_IsOK(res1)) {
42040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42041 }
42042 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42043 {
42044 PyThreadState* __tstate = wxPyBeginAllowThreads();
42045 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42046 wxPyEndAllowThreads(__tstate);
42047 if (PyErr_Occurred()) SWIG_fail;
42048 }
42049 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42050 return resultobj;
42051 fail:
42052 return NULL;
42053 }
42054
42055
42056 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42057 PyObject *resultobj = 0;
42058 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42059 wxColour *arg2 = 0 ;
42060 void *argp1 = 0 ;
42061 int res1 = 0 ;
42062 wxColour temp2 ;
42063 PyObject * obj0 = 0 ;
42064 PyObject * obj1 = 0 ;
42065 char * kwnames[] = {
42066 (char *) "self",(char *) "colour", NULL
42067 };
42068
42069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42071 if (!SWIG_IsOK(res1)) {
42072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42073 }
42074 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42075 {
42076 arg2 = &temp2;
42077 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42078 }
42079 {
42080 PyThreadState* __tstate = wxPyBeginAllowThreads();
42081 (arg1)->SetHoverColour((wxColour const &)*arg2);
42082 wxPyEndAllowThreads(__tstate);
42083 if (PyErr_Occurred()) SWIG_fail;
42084 }
42085 resultobj = SWIG_Py_Void();
42086 return resultobj;
42087 fail:
42088 return NULL;
42089 }
42090
42091
42092 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42093 PyObject *resultobj = 0;
42094 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42095 wxColour result;
42096 void *argp1 = 0 ;
42097 int res1 = 0 ;
42098 PyObject *swig_obj[1] ;
42099
42100 if (!args) SWIG_fail;
42101 swig_obj[0] = args;
42102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42103 if (!SWIG_IsOK(res1)) {
42104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42105 }
42106 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42107 {
42108 PyThreadState* __tstate = wxPyBeginAllowThreads();
42109 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42110 wxPyEndAllowThreads(__tstate);
42111 if (PyErr_Occurred()) SWIG_fail;
42112 }
42113 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42114 return resultobj;
42115 fail:
42116 return NULL;
42117 }
42118
42119
42120 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42121 PyObject *resultobj = 0;
42122 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42123 wxColour *arg2 = 0 ;
42124 void *argp1 = 0 ;
42125 int res1 = 0 ;
42126 wxColour temp2 ;
42127 PyObject * obj0 = 0 ;
42128 PyObject * obj1 = 0 ;
42129 char * kwnames[] = {
42130 (char *) "self",(char *) "colour", NULL
42131 };
42132
42133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42135 if (!SWIG_IsOK(res1)) {
42136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42137 }
42138 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42139 {
42140 arg2 = &temp2;
42141 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42142 }
42143 {
42144 PyThreadState* __tstate = wxPyBeginAllowThreads();
42145 (arg1)->SetNormalColour((wxColour const &)*arg2);
42146 wxPyEndAllowThreads(__tstate);
42147 if (PyErr_Occurred()) SWIG_fail;
42148 }
42149 resultobj = SWIG_Py_Void();
42150 return resultobj;
42151 fail:
42152 return NULL;
42153 }
42154
42155
42156 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42157 PyObject *resultobj = 0;
42158 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42159 wxColour result;
42160 void *argp1 = 0 ;
42161 int res1 = 0 ;
42162 PyObject *swig_obj[1] ;
42163
42164 if (!args) SWIG_fail;
42165 swig_obj[0] = args;
42166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42167 if (!SWIG_IsOK(res1)) {
42168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42169 }
42170 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42171 {
42172 PyThreadState* __tstate = wxPyBeginAllowThreads();
42173 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42174 wxPyEndAllowThreads(__tstate);
42175 if (PyErr_Occurred()) SWIG_fail;
42176 }
42177 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42178 return resultobj;
42179 fail:
42180 return NULL;
42181 }
42182
42183
42184 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42185 PyObject *resultobj = 0;
42186 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42187 wxColour *arg2 = 0 ;
42188 void *argp1 = 0 ;
42189 int res1 = 0 ;
42190 wxColour temp2 ;
42191 PyObject * obj0 = 0 ;
42192 PyObject * obj1 = 0 ;
42193 char * kwnames[] = {
42194 (char *) "self",(char *) "colour", NULL
42195 };
42196
42197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42199 if (!SWIG_IsOK(res1)) {
42200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42201 }
42202 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42203 {
42204 arg2 = &temp2;
42205 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42206 }
42207 {
42208 PyThreadState* __tstate = wxPyBeginAllowThreads();
42209 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42210 wxPyEndAllowThreads(__tstate);
42211 if (PyErr_Occurred()) SWIG_fail;
42212 }
42213 resultobj = SWIG_Py_Void();
42214 return resultobj;
42215 fail:
42216 return NULL;
42217 }
42218
42219
42220 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42221 PyObject *resultobj = 0;
42222 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42223 wxString result;
42224 void *argp1 = 0 ;
42225 int res1 = 0 ;
42226 PyObject *swig_obj[1] ;
42227
42228 if (!args) SWIG_fail;
42229 swig_obj[0] = args;
42230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42231 if (!SWIG_IsOK(res1)) {
42232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42233 }
42234 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42235 {
42236 PyThreadState* __tstate = wxPyBeginAllowThreads();
42237 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42238 wxPyEndAllowThreads(__tstate);
42239 if (PyErr_Occurred()) SWIG_fail;
42240 }
42241 {
42242 #if wxUSE_UNICODE
42243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42244 #else
42245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42246 #endif
42247 }
42248 return resultobj;
42249 fail:
42250 return NULL;
42251 }
42252
42253
42254 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42255 PyObject *resultobj = 0;
42256 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42257 wxString *arg2 = 0 ;
42258 void *argp1 = 0 ;
42259 int res1 = 0 ;
42260 bool temp2 = false ;
42261 PyObject * obj0 = 0 ;
42262 PyObject * obj1 = 0 ;
42263 char * kwnames[] = {
42264 (char *) "self",(char *) "url", NULL
42265 };
42266
42267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42269 if (!SWIG_IsOK(res1)) {
42270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42271 }
42272 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42273 {
42274 arg2 = wxString_in_helper(obj1);
42275 if (arg2 == NULL) SWIG_fail;
42276 temp2 = true;
42277 }
42278 {
42279 PyThreadState* __tstate = wxPyBeginAllowThreads();
42280 (arg1)->SetURL((wxString const &)*arg2);
42281 wxPyEndAllowThreads(__tstate);
42282 if (PyErr_Occurred()) SWIG_fail;
42283 }
42284 resultobj = SWIG_Py_Void();
42285 {
42286 if (temp2)
42287 delete arg2;
42288 }
42289 return resultobj;
42290 fail:
42291 {
42292 if (temp2)
42293 delete arg2;
42294 }
42295 return NULL;
42296 }
42297
42298
42299 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42300 PyObject *resultobj = 0;
42301 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42302 bool arg2 = (bool) true ;
42303 void *argp1 = 0 ;
42304 int res1 = 0 ;
42305 bool val2 ;
42306 int ecode2 = 0 ;
42307 PyObject * obj0 = 0 ;
42308 PyObject * obj1 = 0 ;
42309 char * kwnames[] = {
42310 (char *) "self",(char *) "visited", NULL
42311 };
42312
42313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42315 if (!SWIG_IsOK(res1)) {
42316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42317 }
42318 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42319 if (obj1) {
42320 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42321 if (!SWIG_IsOK(ecode2)) {
42322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42323 }
42324 arg2 = static_cast< bool >(val2);
42325 }
42326 {
42327 PyThreadState* __tstate = wxPyBeginAllowThreads();
42328 (arg1)->SetVisited(arg2);
42329 wxPyEndAllowThreads(__tstate);
42330 if (PyErr_Occurred()) SWIG_fail;
42331 }
42332 resultobj = SWIG_Py_Void();
42333 return resultobj;
42334 fail:
42335 return NULL;
42336 }
42337
42338
42339 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42340 PyObject *resultobj = 0;
42341 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42342 bool result;
42343 void *argp1 = 0 ;
42344 int res1 = 0 ;
42345 PyObject *swig_obj[1] ;
42346
42347 if (!args) SWIG_fail;
42348 swig_obj[0] = args;
42349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42350 if (!SWIG_IsOK(res1)) {
42351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42352 }
42353 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42354 {
42355 PyThreadState* __tstate = wxPyBeginAllowThreads();
42356 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42357 wxPyEndAllowThreads(__tstate);
42358 if (PyErr_Occurred()) SWIG_fail;
42359 }
42360 {
42361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42362 }
42363 return resultobj;
42364 fail:
42365 return NULL;
42366 }
42367
42368
42369 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42370 PyObject *obj;
42371 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42372 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42373 return SWIG_Py_Void();
42374 }
42375
42376 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42377 return SWIG_Python_InitShadowInstance(args);
42378 }
42379
42380 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42381 PyObject *resultobj = 0;
42382 wxObject *arg1 = (wxObject *) 0 ;
42383 int arg2 ;
42384 wxString *arg3 = 0 ;
42385 wxHyperlinkEvent *result = 0 ;
42386 void *argp1 = 0 ;
42387 int res1 = 0 ;
42388 int val2 ;
42389 int ecode2 = 0 ;
42390 bool temp3 = false ;
42391 PyObject * obj0 = 0 ;
42392 PyObject * obj1 = 0 ;
42393 PyObject * obj2 = 0 ;
42394 char * kwnames[] = {
42395 (char *) "generator",(char *) "id",(char *) "url", NULL
42396 };
42397
42398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42400 if (!SWIG_IsOK(res1)) {
42401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42402 }
42403 arg1 = reinterpret_cast< wxObject * >(argp1);
42404 ecode2 = SWIG_AsVal_int(obj1, &val2);
42405 if (!SWIG_IsOK(ecode2)) {
42406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42407 }
42408 arg2 = static_cast< int >(val2);
42409 {
42410 arg3 = wxString_in_helper(obj2);
42411 if (arg3 == NULL) SWIG_fail;
42412 temp3 = true;
42413 }
42414 {
42415 PyThreadState* __tstate = wxPyBeginAllowThreads();
42416 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42417 wxPyEndAllowThreads(__tstate);
42418 if (PyErr_Occurred()) SWIG_fail;
42419 }
42420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42421 {
42422 if (temp3)
42423 delete arg3;
42424 }
42425 return resultobj;
42426 fail:
42427 {
42428 if (temp3)
42429 delete arg3;
42430 }
42431 return NULL;
42432 }
42433
42434
42435 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42436 PyObject *resultobj = 0;
42437 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42438 wxString result;
42439 void *argp1 = 0 ;
42440 int res1 = 0 ;
42441 PyObject *swig_obj[1] ;
42442
42443 if (!args) SWIG_fail;
42444 swig_obj[0] = args;
42445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42446 if (!SWIG_IsOK(res1)) {
42447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42448 }
42449 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42450 {
42451 PyThreadState* __tstate = wxPyBeginAllowThreads();
42452 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42453 wxPyEndAllowThreads(__tstate);
42454 if (PyErr_Occurred()) SWIG_fail;
42455 }
42456 {
42457 #if wxUSE_UNICODE
42458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42459 #else
42460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42461 #endif
42462 }
42463 return resultobj;
42464 fail:
42465 return NULL;
42466 }
42467
42468
42469 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42470 PyObject *resultobj = 0;
42471 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42472 wxString *arg2 = 0 ;
42473 void *argp1 = 0 ;
42474 int res1 = 0 ;
42475 bool temp2 = false ;
42476 PyObject * obj0 = 0 ;
42477 PyObject * obj1 = 0 ;
42478 char * kwnames[] = {
42479 (char *) "self",(char *) "url", NULL
42480 };
42481
42482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42484 if (!SWIG_IsOK(res1)) {
42485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42486 }
42487 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42488 {
42489 arg2 = wxString_in_helper(obj1);
42490 if (arg2 == NULL) SWIG_fail;
42491 temp2 = true;
42492 }
42493 {
42494 PyThreadState* __tstate = wxPyBeginAllowThreads();
42495 (arg1)->SetURL((wxString const &)*arg2);
42496 wxPyEndAllowThreads(__tstate);
42497 if (PyErr_Occurred()) SWIG_fail;
42498 }
42499 resultobj = SWIG_Py_Void();
42500 {
42501 if (temp2)
42502 delete arg2;
42503 }
42504 return resultobj;
42505 fail:
42506 {
42507 if (temp2)
42508 delete arg2;
42509 }
42510 return NULL;
42511 }
42512
42513
42514 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42515 PyObject *obj;
42516 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42517 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42518 return SWIG_Py_Void();
42519 }
42520
42521 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42522 return SWIG_Python_InitShadowInstance(args);
42523 }
42524
42525 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42526 PyObject *resultobj = 0;
42527 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42528 wxWindow *arg2 = (wxWindow *) 0 ;
42529 int arg3 ;
42530 wxString const &arg4_defvalue = wxEmptyString ;
42531 wxString *arg4 = (wxString *) &arg4_defvalue ;
42532 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42533 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42534 wxSize const &arg6_defvalue = wxDefaultSize ;
42535 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42536 long arg7 = (long) 0 ;
42537 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42538 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42539 wxString const &arg9_defvalue = wxButtonNameStr ;
42540 wxString *arg9 = (wxString *) &arg9_defvalue ;
42541 bool result;
42542 void *argp1 = 0 ;
42543 int res1 = 0 ;
42544 void *argp2 = 0 ;
42545 int res2 = 0 ;
42546 int val3 ;
42547 int ecode3 = 0 ;
42548 bool temp4 = false ;
42549 wxPoint temp5 ;
42550 wxSize temp6 ;
42551 long val7 ;
42552 int ecode7 = 0 ;
42553 void *argp8 = 0 ;
42554 int res8 = 0 ;
42555 bool temp9 = false ;
42556 PyObject * obj0 = 0 ;
42557 PyObject * obj1 = 0 ;
42558 PyObject * obj2 = 0 ;
42559 PyObject * obj3 = 0 ;
42560 PyObject * obj4 = 0 ;
42561 PyObject * obj5 = 0 ;
42562 PyObject * obj6 = 0 ;
42563 PyObject * obj7 = 0 ;
42564 PyObject * obj8 = 0 ;
42565 char * kwnames[] = {
42566 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42567 };
42568
42569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42571 if (!SWIG_IsOK(res1)) {
42572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42573 }
42574 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42576 if (!SWIG_IsOK(res2)) {
42577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42578 }
42579 arg2 = reinterpret_cast< wxWindow * >(argp2);
42580 ecode3 = SWIG_AsVal_int(obj2, &val3);
42581 if (!SWIG_IsOK(ecode3)) {
42582 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42583 }
42584 arg3 = static_cast< int >(val3);
42585 if (obj3) {
42586 {
42587 arg4 = wxString_in_helper(obj3);
42588 if (arg4 == NULL) SWIG_fail;
42589 temp4 = true;
42590 }
42591 }
42592 if (obj4) {
42593 {
42594 arg5 = &temp5;
42595 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42596 }
42597 }
42598 if (obj5) {
42599 {
42600 arg6 = &temp6;
42601 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42602 }
42603 }
42604 if (obj6) {
42605 ecode7 = SWIG_AsVal_long(obj6, &val7);
42606 if (!SWIG_IsOK(ecode7)) {
42607 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42608 }
42609 arg7 = static_cast< long >(val7);
42610 }
42611 if (obj7) {
42612 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42613 if (!SWIG_IsOK(res8)) {
42614 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42615 }
42616 if (!argp8) {
42617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42618 }
42619 arg8 = reinterpret_cast< wxValidator * >(argp8);
42620 }
42621 if (obj8) {
42622 {
42623 arg9 = wxString_in_helper(obj8);
42624 if (arg9 == NULL) SWIG_fail;
42625 temp9 = true;
42626 }
42627 }
42628 {
42629 PyThreadState* __tstate = wxPyBeginAllowThreads();
42630 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42631 wxPyEndAllowThreads(__tstate);
42632 if (PyErr_Occurred()) SWIG_fail;
42633 }
42634 {
42635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42636 }
42637 {
42638 if (temp4)
42639 delete arg4;
42640 }
42641 {
42642 if (temp9)
42643 delete arg9;
42644 }
42645 return resultobj;
42646 fail:
42647 {
42648 if (temp4)
42649 delete arg4;
42650 }
42651 {
42652 if (temp9)
42653 delete arg9;
42654 }
42655 return NULL;
42656 }
42657
42658
42659 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42660 PyObject *resultobj = 0;
42661 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42662 int arg2 ;
42663 void *argp1 = 0 ;
42664 int res1 = 0 ;
42665 int val2 ;
42666 int ecode2 = 0 ;
42667 PyObject * obj0 = 0 ;
42668 PyObject * obj1 = 0 ;
42669 char * kwnames[] = {
42670 (char *) "self",(char *) "newmargin", NULL
42671 };
42672
42673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42675 if (!SWIG_IsOK(res1)) {
42676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42677 }
42678 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42679 ecode2 = SWIG_AsVal_int(obj1, &val2);
42680 if (!SWIG_IsOK(ecode2)) {
42681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42682 }
42683 arg2 = static_cast< int >(val2);
42684 {
42685 PyThreadState* __tstate = wxPyBeginAllowThreads();
42686 (arg1)->SetInternalMargin(arg2);
42687 wxPyEndAllowThreads(__tstate);
42688 if (PyErr_Occurred()) SWIG_fail;
42689 }
42690 resultobj = SWIG_Py_Void();
42691 return resultobj;
42692 fail:
42693 return NULL;
42694 }
42695
42696
42697 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42698 PyObject *resultobj = 0;
42699 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42700 int result;
42701 void *argp1 = 0 ;
42702 int res1 = 0 ;
42703 PyObject *swig_obj[1] ;
42704
42705 if (!args) SWIG_fail;
42706 swig_obj[0] = args;
42707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42708 if (!SWIG_IsOK(res1)) {
42709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42710 }
42711 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42712 {
42713 PyThreadState* __tstate = wxPyBeginAllowThreads();
42714 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42715 wxPyEndAllowThreads(__tstate);
42716 if (PyErr_Occurred()) SWIG_fail;
42717 }
42718 resultobj = SWIG_From_int(static_cast< int >(result));
42719 return resultobj;
42720 fail:
42721 return NULL;
42722 }
42723
42724
42725 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42726 PyObject *resultobj = 0;
42727 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42728 int arg2 ;
42729 void *argp1 = 0 ;
42730 int res1 = 0 ;
42731 int val2 ;
42732 int ecode2 = 0 ;
42733 PyObject * obj0 = 0 ;
42734 PyObject * obj1 = 0 ;
42735 char * kwnames[] = {
42736 (char *) "self",(char *) "prop", NULL
42737 };
42738
42739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42741 if (!SWIG_IsOK(res1)) {
42742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42743 }
42744 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42745 ecode2 = SWIG_AsVal_int(obj1, &val2);
42746 if (!SWIG_IsOK(ecode2)) {
42747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42748 }
42749 arg2 = static_cast< int >(val2);
42750 {
42751 PyThreadState* __tstate = wxPyBeginAllowThreads();
42752 (arg1)->SetTextCtrlProportion(arg2);
42753 wxPyEndAllowThreads(__tstate);
42754 if (PyErr_Occurred()) SWIG_fail;
42755 }
42756 resultobj = SWIG_Py_Void();
42757 return resultobj;
42758 fail:
42759 return NULL;
42760 }
42761
42762
42763 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42764 PyObject *resultobj = 0;
42765 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42766 int result;
42767 void *argp1 = 0 ;
42768 int res1 = 0 ;
42769 PyObject *swig_obj[1] ;
42770
42771 if (!args) SWIG_fail;
42772 swig_obj[0] = args;
42773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42774 if (!SWIG_IsOK(res1)) {
42775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42776 }
42777 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42778 {
42779 PyThreadState* __tstate = wxPyBeginAllowThreads();
42780 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42781 wxPyEndAllowThreads(__tstate);
42782 if (PyErr_Occurred()) SWIG_fail;
42783 }
42784 resultobj = SWIG_From_int(static_cast< int >(result));
42785 return resultobj;
42786 fail:
42787 return NULL;
42788 }
42789
42790
42791 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42792 PyObject *resultobj = 0;
42793 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42794 int arg2 ;
42795 void *argp1 = 0 ;
42796 int res1 = 0 ;
42797 int val2 ;
42798 int ecode2 = 0 ;
42799 PyObject * obj0 = 0 ;
42800 PyObject * obj1 = 0 ;
42801 char * kwnames[] = {
42802 (char *) "self",(char *) "prop", NULL
42803 };
42804
42805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42807 if (!SWIG_IsOK(res1)) {
42808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42809 }
42810 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42811 ecode2 = SWIG_AsVal_int(obj1, &val2);
42812 if (!SWIG_IsOK(ecode2)) {
42813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42814 }
42815 arg2 = static_cast< int >(val2);
42816 {
42817 PyThreadState* __tstate = wxPyBeginAllowThreads();
42818 (arg1)->SetPickerCtrlProportion(arg2);
42819 wxPyEndAllowThreads(__tstate);
42820 if (PyErr_Occurred()) SWIG_fail;
42821 }
42822 resultobj = SWIG_Py_Void();
42823 return resultobj;
42824 fail:
42825 return NULL;
42826 }
42827
42828
42829 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42830 PyObject *resultobj = 0;
42831 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42832 int result;
42833 void *argp1 = 0 ;
42834 int res1 = 0 ;
42835 PyObject *swig_obj[1] ;
42836
42837 if (!args) SWIG_fail;
42838 swig_obj[0] = args;
42839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42840 if (!SWIG_IsOK(res1)) {
42841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42842 }
42843 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42844 {
42845 PyThreadState* __tstate = wxPyBeginAllowThreads();
42846 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42847 wxPyEndAllowThreads(__tstate);
42848 if (PyErr_Occurred()) SWIG_fail;
42849 }
42850 resultobj = SWIG_From_int(static_cast< int >(result));
42851 return resultobj;
42852 fail:
42853 return NULL;
42854 }
42855
42856
42857 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42858 PyObject *resultobj = 0;
42859 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42860 bool result;
42861 void *argp1 = 0 ;
42862 int res1 = 0 ;
42863 PyObject *swig_obj[1] ;
42864
42865 if (!args) SWIG_fail;
42866 swig_obj[0] = args;
42867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42868 if (!SWIG_IsOK(res1)) {
42869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42870 }
42871 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42872 {
42873 PyThreadState* __tstate = wxPyBeginAllowThreads();
42874 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
42875 wxPyEndAllowThreads(__tstate);
42876 if (PyErr_Occurred()) SWIG_fail;
42877 }
42878 {
42879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42880 }
42881 return resultobj;
42882 fail:
42883 return NULL;
42884 }
42885
42886
42887 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42888 PyObject *resultobj = 0;
42889 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42890 bool arg2 = (bool) true ;
42891 void *argp1 = 0 ;
42892 int res1 = 0 ;
42893 bool val2 ;
42894 int ecode2 = 0 ;
42895 PyObject * obj0 = 0 ;
42896 PyObject * obj1 = 0 ;
42897 char * kwnames[] = {
42898 (char *) "self",(char *) "grow", NULL
42899 };
42900
42901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42903 if (!SWIG_IsOK(res1)) {
42904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42905 }
42906 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42907 if (obj1) {
42908 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42909 if (!SWIG_IsOK(ecode2)) {
42910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42911 }
42912 arg2 = static_cast< bool >(val2);
42913 }
42914 {
42915 PyThreadState* __tstate = wxPyBeginAllowThreads();
42916 (arg1)->SetTextCtrlGrowable(arg2);
42917 wxPyEndAllowThreads(__tstate);
42918 if (PyErr_Occurred()) SWIG_fail;
42919 }
42920 resultobj = SWIG_Py_Void();
42921 return resultobj;
42922 fail:
42923 return NULL;
42924 }
42925
42926
42927 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42928 PyObject *resultobj = 0;
42929 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42930 bool result;
42931 void *argp1 = 0 ;
42932 int res1 = 0 ;
42933 PyObject *swig_obj[1] ;
42934
42935 if (!args) SWIG_fail;
42936 swig_obj[0] = args;
42937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42938 if (!SWIG_IsOK(res1)) {
42939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42940 }
42941 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42942 {
42943 PyThreadState* __tstate = wxPyBeginAllowThreads();
42944 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
42945 wxPyEndAllowThreads(__tstate);
42946 if (PyErr_Occurred()) SWIG_fail;
42947 }
42948 {
42949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42950 }
42951 return resultobj;
42952 fail:
42953 return NULL;
42954 }
42955
42956
42957 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42958 PyObject *resultobj = 0;
42959 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42960 bool arg2 = (bool) true ;
42961 void *argp1 = 0 ;
42962 int res1 = 0 ;
42963 bool val2 ;
42964 int ecode2 = 0 ;
42965 PyObject * obj0 = 0 ;
42966 PyObject * obj1 = 0 ;
42967 char * kwnames[] = {
42968 (char *) "self",(char *) "grow", NULL
42969 };
42970
42971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42973 if (!SWIG_IsOK(res1)) {
42974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42975 }
42976 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42977 if (obj1) {
42978 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42979 if (!SWIG_IsOK(ecode2)) {
42980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42981 }
42982 arg2 = static_cast< bool >(val2);
42983 }
42984 {
42985 PyThreadState* __tstate = wxPyBeginAllowThreads();
42986 (arg1)->SetPickerCtrlGrowable(arg2);
42987 wxPyEndAllowThreads(__tstate);
42988 if (PyErr_Occurred()) SWIG_fail;
42989 }
42990 resultobj = SWIG_Py_Void();
42991 return resultobj;
42992 fail:
42993 return NULL;
42994 }
42995
42996
42997 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42998 PyObject *resultobj = 0;
42999 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43000 bool result;
43001 void *argp1 = 0 ;
43002 int res1 = 0 ;
43003 PyObject *swig_obj[1] ;
43004
43005 if (!args) SWIG_fail;
43006 swig_obj[0] = args;
43007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43008 if (!SWIG_IsOK(res1)) {
43009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43010 }
43011 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43012 {
43013 PyThreadState* __tstate = wxPyBeginAllowThreads();
43014 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43015 wxPyEndAllowThreads(__tstate);
43016 if (PyErr_Occurred()) SWIG_fail;
43017 }
43018 {
43019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43020 }
43021 return resultobj;
43022 fail:
43023 return NULL;
43024 }
43025
43026
43027 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43028 PyObject *resultobj = 0;
43029 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43030 wxTextCtrl *result = 0 ;
43031 void *argp1 = 0 ;
43032 int res1 = 0 ;
43033 PyObject *swig_obj[1] ;
43034
43035 if (!args) SWIG_fail;
43036 swig_obj[0] = args;
43037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43038 if (!SWIG_IsOK(res1)) {
43039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43040 }
43041 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43042 {
43043 PyThreadState* __tstate = wxPyBeginAllowThreads();
43044 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43045 wxPyEndAllowThreads(__tstate);
43046 if (PyErr_Occurred()) SWIG_fail;
43047 }
43048 {
43049 resultobj = wxPyMake_wxObject(result, 0);
43050 }
43051 return resultobj;
43052 fail:
43053 return NULL;
43054 }
43055
43056
43057 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43058 PyObject *resultobj = 0;
43059 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43060 wxControl *result = 0 ;
43061 void *argp1 = 0 ;
43062 int res1 = 0 ;
43063 PyObject *swig_obj[1] ;
43064
43065 if (!args) SWIG_fail;
43066 swig_obj[0] = args;
43067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43068 if (!SWIG_IsOK(res1)) {
43069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43070 }
43071 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43072 {
43073 PyThreadState* __tstate = wxPyBeginAllowThreads();
43074 result = (wxControl *)(arg1)->GetPickerCtrl();
43075 wxPyEndAllowThreads(__tstate);
43076 if (PyErr_Occurred()) SWIG_fail;
43077 }
43078 {
43079 resultobj = wxPyMake_wxObject(result, 0);
43080 }
43081 return resultobj;
43082 fail:
43083 return NULL;
43084 }
43085
43086
43087 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43088 PyObject *obj;
43089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43090 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43091 return SWIG_Py_Void();
43092 }
43093
43094 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43095 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43096 return 1;
43097 }
43098
43099
43100 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43101 PyObject *pyobj = 0;
43102
43103 {
43104 #if wxUSE_UNICODE
43105 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43106 #else
43107 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43108 #endif
43109 }
43110 return pyobj;
43111 }
43112
43113
43114 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43115 PyObject *resultobj = 0;
43116 wxWindow *arg1 = (wxWindow *) 0 ;
43117 int arg2 = (int) -1 ;
43118 wxColour const &arg3_defvalue = *wxBLACK ;
43119 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43122 wxSize const &arg5_defvalue = wxDefaultSize ;
43123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43124 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43125 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43126 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43127 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43128 wxString *arg8 = (wxString *) &arg8_defvalue ;
43129 wxColourPickerCtrl *result = 0 ;
43130 void *argp1 = 0 ;
43131 int res1 = 0 ;
43132 int val2 ;
43133 int ecode2 = 0 ;
43134 wxColour temp3 ;
43135 wxPoint temp4 ;
43136 wxSize temp5 ;
43137 long val6 ;
43138 int ecode6 = 0 ;
43139 void *argp7 = 0 ;
43140 int res7 = 0 ;
43141 bool temp8 = false ;
43142 PyObject * obj0 = 0 ;
43143 PyObject * obj1 = 0 ;
43144 PyObject * obj2 = 0 ;
43145 PyObject * obj3 = 0 ;
43146 PyObject * obj4 = 0 ;
43147 PyObject * obj5 = 0 ;
43148 PyObject * obj6 = 0 ;
43149 PyObject * obj7 = 0 ;
43150 char * kwnames[] = {
43151 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43152 };
43153
43154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43156 if (!SWIG_IsOK(res1)) {
43157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43158 }
43159 arg1 = reinterpret_cast< wxWindow * >(argp1);
43160 if (obj1) {
43161 ecode2 = SWIG_AsVal_int(obj1, &val2);
43162 if (!SWIG_IsOK(ecode2)) {
43163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43164 }
43165 arg2 = static_cast< int >(val2);
43166 }
43167 if (obj2) {
43168 {
43169 arg3 = &temp3;
43170 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43171 }
43172 }
43173 if (obj3) {
43174 {
43175 arg4 = &temp4;
43176 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43177 }
43178 }
43179 if (obj4) {
43180 {
43181 arg5 = &temp5;
43182 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43183 }
43184 }
43185 if (obj5) {
43186 ecode6 = SWIG_AsVal_long(obj5, &val6);
43187 if (!SWIG_IsOK(ecode6)) {
43188 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43189 }
43190 arg6 = static_cast< long >(val6);
43191 }
43192 if (obj6) {
43193 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43194 if (!SWIG_IsOK(res7)) {
43195 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43196 }
43197 if (!argp7) {
43198 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43199 }
43200 arg7 = reinterpret_cast< wxValidator * >(argp7);
43201 }
43202 if (obj7) {
43203 {
43204 arg8 = wxString_in_helper(obj7);
43205 if (arg8 == NULL) SWIG_fail;
43206 temp8 = true;
43207 }
43208 }
43209 {
43210 if (!wxPyCheckForApp()) SWIG_fail;
43211 PyThreadState* __tstate = wxPyBeginAllowThreads();
43212 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43213 wxPyEndAllowThreads(__tstate);
43214 if (PyErr_Occurred()) SWIG_fail;
43215 }
43216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43217 {
43218 if (temp8)
43219 delete arg8;
43220 }
43221 return resultobj;
43222 fail:
43223 {
43224 if (temp8)
43225 delete arg8;
43226 }
43227 return NULL;
43228 }
43229
43230
43231 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43232 PyObject *resultobj = 0;
43233 wxColourPickerCtrl *result = 0 ;
43234
43235 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43236 {
43237 if (!wxPyCheckForApp()) SWIG_fail;
43238 PyThreadState* __tstate = wxPyBeginAllowThreads();
43239 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43240 wxPyEndAllowThreads(__tstate);
43241 if (PyErr_Occurred()) SWIG_fail;
43242 }
43243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43244 return resultobj;
43245 fail:
43246 return NULL;
43247 }
43248
43249
43250 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43251 PyObject *resultobj = 0;
43252 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43253 wxWindow *arg2 = (wxWindow *) 0 ;
43254 int arg3 ;
43255 wxColour const &arg4_defvalue = *wxBLACK ;
43256 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43257 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43258 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43259 wxSize const &arg6_defvalue = wxDefaultSize ;
43260 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43261 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43262 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43263 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43264 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43265 wxString *arg9 = (wxString *) &arg9_defvalue ;
43266 bool result;
43267 void *argp1 = 0 ;
43268 int res1 = 0 ;
43269 void *argp2 = 0 ;
43270 int res2 = 0 ;
43271 int val3 ;
43272 int ecode3 = 0 ;
43273 wxColour temp4 ;
43274 wxPoint temp5 ;
43275 wxSize temp6 ;
43276 long val7 ;
43277 int ecode7 = 0 ;
43278 void *argp8 = 0 ;
43279 int res8 = 0 ;
43280 bool temp9 = false ;
43281 PyObject * obj0 = 0 ;
43282 PyObject * obj1 = 0 ;
43283 PyObject * obj2 = 0 ;
43284 PyObject * obj3 = 0 ;
43285 PyObject * obj4 = 0 ;
43286 PyObject * obj5 = 0 ;
43287 PyObject * obj6 = 0 ;
43288 PyObject * obj7 = 0 ;
43289 PyObject * obj8 = 0 ;
43290 char * kwnames[] = {
43291 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43292 };
43293
43294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43296 if (!SWIG_IsOK(res1)) {
43297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43298 }
43299 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43301 if (!SWIG_IsOK(res2)) {
43302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43303 }
43304 arg2 = reinterpret_cast< wxWindow * >(argp2);
43305 ecode3 = SWIG_AsVal_int(obj2, &val3);
43306 if (!SWIG_IsOK(ecode3)) {
43307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43308 }
43309 arg3 = static_cast< int >(val3);
43310 if (obj3) {
43311 {
43312 arg4 = &temp4;
43313 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43314 }
43315 }
43316 if (obj4) {
43317 {
43318 arg5 = &temp5;
43319 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43320 }
43321 }
43322 if (obj5) {
43323 {
43324 arg6 = &temp6;
43325 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43326 }
43327 }
43328 if (obj6) {
43329 ecode7 = SWIG_AsVal_long(obj6, &val7);
43330 if (!SWIG_IsOK(ecode7)) {
43331 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43332 }
43333 arg7 = static_cast< long >(val7);
43334 }
43335 if (obj7) {
43336 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43337 if (!SWIG_IsOK(res8)) {
43338 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43339 }
43340 if (!argp8) {
43341 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43342 }
43343 arg8 = reinterpret_cast< wxValidator * >(argp8);
43344 }
43345 if (obj8) {
43346 {
43347 arg9 = wxString_in_helper(obj8);
43348 if (arg9 == NULL) SWIG_fail;
43349 temp9 = true;
43350 }
43351 }
43352 {
43353 PyThreadState* __tstate = wxPyBeginAllowThreads();
43354 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43355 wxPyEndAllowThreads(__tstate);
43356 if (PyErr_Occurred()) SWIG_fail;
43357 }
43358 {
43359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43360 }
43361 {
43362 if (temp9)
43363 delete arg9;
43364 }
43365 return resultobj;
43366 fail:
43367 {
43368 if (temp9)
43369 delete arg9;
43370 }
43371 return NULL;
43372 }
43373
43374
43375 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43376 PyObject *resultobj = 0;
43377 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43378 wxColour result;
43379 void *argp1 = 0 ;
43380 int res1 = 0 ;
43381 PyObject *swig_obj[1] ;
43382
43383 if (!args) SWIG_fail;
43384 swig_obj[0] = args;
43385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43386 if (!SWIG_IsOK(res1)) {
43387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43388 }
43389 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43390 {
43391 PyThreadState* __tstate = wxPyBeginAllowThreads();
43392 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43393 wxPyEndAllowThreads(__tstate);
43394 if (PyErr_Occurred()) SWIG_fail;
43395 }
43396 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43397 return resultobj;
43398 fail:
43399 return NULL;
43400 }
43401
43402
43403 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43404 PyObject *resultobj = 0;
43405 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43406 wxColour *arg2 = 0 ;
43407 void *argp1 = 0 ;
43408 int res1 = 0 ;
43409 wxColour temp2 ;
43410 PyObject * obj0 = 0 ;
43411 PyObject * obj1 = 0 ;
43412 char * kwnames[] = {
43413 (char *) "self",(char *) "col", NULL
43414 };
43415
43416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43418 if (!SWIG_IsOK(res1)) {
43419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43420 }
43421 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43422 {
43423 arg2 = &temp2;
43424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43425 }
43426 {
43427 PyThreadState* __tstate = wxPyBeginAllowThreads();
43428 (arg1)->SetColour((wxColour const &)*arg2);
43429 wxPyEndAllowThreads(__tstate);
43430 if (PyErr_Occurred()) SWIG_fail;
43431 }
43432 resultobj = SWIG_Py_Void();
43433 return resultobj;
43434 fail:
43435 return NULL;
43436 }
43437
43438
43439 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43440 PyObject *obj;
43441 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43442 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43443 return SWIG_Py_Void();
43444 }
43445
43446 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43447 return SWIG_Python_InitShadowInstance(args);
43448 }
43449
43450 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43451 PyObject *resultobj = 0;
43452 wxObject *arg1 = (wxObject *) 0 ;
43453 int arg2 ;
43454 wxColour *arg3 = 0 ;
43455 wxColourPickerEvent *result = 0 ;
43456 void *argp1 = 0 ;
43457 int res1 = 0 ;
43458 int val2 ;
43459 int ecode2 = 0 ;
43460 wxColour temp3 ;
43461 PyObject * obj0 = 0 ;
43462 PyObject * obj1 = 0 ;
43463 PyObject * obj2 = 0 ;
43464 char * kwnames[] = {
43465 (char *) "generator",(char *) "id",(char *) "col", NULL
43466 };
43467
43468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43470 if (!SWIG_IsOK(res1)) {
43471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43472 }
43473 arg1 = reinterpret_cast< wxObject * >(argp1);
43474 ecode2 = SWIG_AsVal_int(obj1, &val2);
43475 if (!SWIG_IsOK(ecode2)) {
43476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43477 }
43478 arg2 = static_cast< int >(val2);
43479 {
43480 arg3 = &temp3;
43481 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43482 }
43483 {
43484 PyThreadState* __tstate = wxPyBeginAllowThreads();
43485 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43486 wxPyEndAllowThreads(__tstate);
43487 if (PyErr_Occurred()) SWIG_fail;
43488 }
43489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43490 return resultobj;
43491 fail:
43492 return NULL;
43493 }
43494
43495
43496 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43497 PyObject *resultobj = 0;
43498 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43499 wxColour result;
43500 void *argp1 = 0 ;
43501 int res1 = 0 ;
43502 PyObject *swig_obj[1] ;
43503
43504 if (!args) SWIG_fail;
43505 swig_obj[0] = args;
43506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43507 if (!SWIG_IsOK(res1)) {
43508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43509 }
43510 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43511 {
43512 PyThreadState* __tstate = wxPyBeginAllowThreads();
43513 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43514 wxPyEndAllowThreads(__tstate);
43515 if (PyErr_Occurred()) SWIG_fail;
43516 }
43517 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43518 return resultobj;
43519 fail:
43520 return NULL;
43521 }
43522
43523
43524 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43525 PyObject *resultobj = 0;
43526 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43527 wxColour *arg2 = 0 ;
43528 void *argp1 = 0 ;
43529 int res1 = 0 ;
43530 wxColour temp2 ;
43531 PyObject * obj0 = 0 ;
43532 PyObject * obj1 = 0 ;
43533 char * kwnames[] = {
43534 (char *) "self",(char *) "c", NULL
43535 };
43536
43537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43539 if (!SWIG_IsOK(res1)) {
43540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43541 }
43542 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43543 {
43544 arg2 = &temp2;
43545 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43546 }
43547 {
43548 PyThreadState* __tstate = wxPyBeginAllowThreads();
43549 (arg1)->SetColour((wxColour const &)*arg2);
43550 wxPyEndAllowThreads(__tstate);
43551 if (PyErr_Occurred()) SWIG_fail;
43552 }
43553 resultobj = SWIG_Py_Void();
43554 return resultobj;
43555 fail:
43556 return NULL;
43557 }
43558
43559
43560 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43561 PyObject *obj;
43562 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43564 return SWIG_Py_Void();
43565 }
43566
43567 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43568 return SWIG_Python_InitShadowInstance(args);
43569 }
43570
43571 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43572 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43573 return 1;
43574 }
43575
43576
43577 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43578 PyObject *pyobj = 0;
43579
43580 {
43581 #if wxUSE_UNICODE
43582 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43583 #else
43584 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43585 #endif
43586 }
43587 return pyobj;
43588 }
43589
43590
43591 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43592 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43593 return 1;
43594 }
43595
43596
43597 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43598 PyObject *pyobj = 0;
43599
43600 {
43601 #if wxUSE_UNICODE
43602 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43603 #else
43604 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43605 #endif
43606 }
43607 return pyobj;
43608 }
43609
43610
43611 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43612 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43613 return 1;
43614 }
43615
43616
43617 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43618 PyObject *pyobj = 0;
43619
43620 {
43621 #if wxUSE_UNICODE
43622 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43623 #else
43624 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43625 #endif
43626 }
43627 return pyobj;
43628 }
43629
43630
43631 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43632 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43633 return 1;
43634 }
43635
43636
43637 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43638 PyObject *pyobj = 0;
43639
43640 {
43641 #if wxUSE_UNICODE
43642 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43643 #else
43644 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43645 #endif
43646 }
43647 return pyobj;
43648 }
43649
43650
43651 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43652 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43653 return 1;
43654 }
43655
43656
43657 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43658 PyObject *pyobj = 0;
43659
43660 {
43661 #if wxUSE_UNICODE
43662 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43663 #else
43664 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43665 #endif
43666 }
43667 return pyobj;
43668 }
43669
43670
43671 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43672 PyObject *resultobj = 0;
43673 wxWindow *arg1 = (wxWindow *) 0 ;
43674 int arg2 = (int) -1 ;
43675 wxString const &arg3_defvalue = wxPyEmptyString ;
43676 wxString *arg3 = (wxString *) &arg3_defvalue ;
43677 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43678 wxString *arg4 = (wxString *) &arg4_defvalue ;
43679 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43680 wxString *arg5 = (wxString *) &arg5_defvalue ;
43681 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43682 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43683 wxSize const &arg7_defvalue = wxDefaultSize ;
43684 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43685 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43686 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43687 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43688 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43689 wxString *arg10 = (wxString *) &arg10_defvalue ;
43690 wxFilePickerCtrl *result = 0 ;
43691 void *argp1 = 0 ;
43692 int res1 = 0 ;
43693 int val2 ;
43694 int ecode2 = 0 ;
43695 bool temp3 = false ;
43696 bool temp4 = false ;
43697 bool temp5 = false ;
43698 wxPoint temp6 ;
43699 wxSize temp7 ;
43700 long val8 ;
43701 int ecode8 = 0 ;
43702 void *argp9 = 0 ;
43703 int res9 = 0 ;
43704 bool temp10 = false ;
43705 PyObject * obj0 = 0 ;
43706 PyObject * obj1 = 0 ;
43707 PyObject * obj2 = 0 ;
43708 PyObject * obj3 = 0 ;
43709 PyObject * obj4 = 0 ;
43710 PyObject * obj5 = 0 ;
43711 PyObject * obj6 = 0 ;
43712 PyObject * obj7 = 0 ;
43713 PyObject * obj8 = 0 ;
43714 PyObject * obj9 = 0 ;
43715 char * kwnames[] = {
43716 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43717 };
43718
43719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43721 if (!SWIG_IsOK(res1)) {
43722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43723 }
43724 arg1 = reinterpret_cast< wxWindow * >(argp1);
43725 if (obj1) {
43726 ecode2 = SWIG_AsVal_int(obj1, &val2);
43727 if (!SWIG_IsOK(ecode2)) {
43728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43729 }
43730 arg2 = static_cast< int >(val2);
43731 }
43732 if (obj2) {
43733 {
43734 arg3 = wxString_in_helper(obj2);
43735 if (arg3 == NULL) SWIG_fail;
43736 temp3 = true;
43737 }
43738 }
43739 if (obj3) {
43740 {
43741 arg4 = wxString_in_helper(obj3);
43742 if (arg4 == NULL) SWIG_fail;
43743 temp4 = true;
43744 }
43745 }
43746 if (obj4) {
43747 {
43748 arg5 = wxString_in_helper(obj4);
43749 if (arg5 == NULL) SWIG_fail;
43750 temp5 = true;
43751 }
43752 }
43753 if (obj5) {
43754 {
43755 arg6 = &temp6;
43756 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43757 }
43758 }
43759 if (obj6) {
43760 {
43761 arg7 = &temp7;
43762 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43763 }
43764 }
43765 if (obj7) {
43766 ecode8 = SWIG_AsVal_long(obj7, &val8);
43767 if (!SWIG_IsOK(ecode8)) {
43768 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43769 }
43770 arg8 = static_cast< long >(val8);
43771 }
43772 if (obj8) {
43773 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43774 if (!SWIG_IsOK(res9)) {
43775 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43776 }
43777 if (!argp9) {
43778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43779 }
43780 arg9 = reinterpret_cast< wxValidator * >(argp9);
43781 }
43782 if (obj9) {
43783 {
43784 arg10 = wxString_in_helper(obj9);
43785 if (arg10 == NULL) SWIG_fail;
43786 temp10 = true;
43787 }
43788 }
43789 {
43790 if (!wxPyCheckForApp()) SWIG_fail;
43791 PyThreadState* __tstate = wxPyBeginAllowThreads();
43792 result = (wxFilePickerCtrl *)new wxFilePickerCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
43793 wxPyEndAllowThreads(__tstate);
43794 if (PyErr_Occurred()) SWIG_fail;
43795 }
43796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43797 {
43798 if (temp3)
43799 delete arg3;
43800 }
43801 {
43802 if (temp4)
43803 delete arg4;
43804 }
43805 {
43806 if (temp5)
43807 delete arg5;
43808 }
43809 {
43810 if (temp10)
43811 delete arg10;
43812 }
43813 return resultobj;
43814 fail:
43815 {
43816 if (temp3)
43817 delete arg3;
43818 }
43819 {
43820 if (temp4)
43821 delete arg4;
43822 }
43823 {
43824 if (temp5)
43825 delete arg5;
43826 }
43827 {
43828 if (temp10)
43829 delete arg10;
43830 }
43831 return NULL;
43832 }
43833
43834
43835 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43836 PyObject *resultobj = 0;
43837 wxFilePickerCtrl *result = 0 ;
43838
43839 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43840 {
43841 if (!wxPyCheckForApp()) SWIG_fail;
43842 PyThreadState* __tstate = wxPyBeginAllowThreads();
43843 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43844 wxPyEndAllowThreads(__tstate);
43845 if (PyErr_Occurred()) SWIG_fail;
43846 }
43847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43848 return resultobj;
43849 fail:
43850 return NULL;
43851 }
43852
43853
43854 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43855 PyObject *resultobj = 0;
43856 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43857 wxWindow *arg2 = (wxWindow *) 0 ;
43858 int arg3 = (int) -1 ;
43859 wxString const &arg4_defvalue = wxPyEmptyString ;
43860 wxString *arg4 = (wxString *) &arg4_defvalue ;
43861 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43862 wxString *arg5 = (wxString *) &arg5_defvalue ;
43863 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43864 wxString *arg6 = (wxString *) &arg6_defvalue ;
43865 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43866 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43867 wxSize const &arg8_defvalue = wxDefaultSize ;
43868 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43869 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43870 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43871 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43872 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43873 wxString *arg11 = (wxString *) &arg11_defvalue ;
43874 bool result;
43875 void *argp1 = 0 ;
43876 int res1 = 0 ;
43877 void *argp2 = 0 ;
43878 int res2 = 0 ;
43879 int val3 ;
43880 int ecode3 = 0 ;
43881 bool temp4 = false ;
43882 bool temp5 = false ;
43883 bool temp6 = false ;
43884 wxPoint temp7 ;
43885 wxSize temp8 ;
43886 long val9 ;
43887 int ecode9 = 0 ;
43888 void *argp10 = 0 ;
43889 int res10 = 0 ;
43890 bool temp11 = false ;
43891 PyObject * obj0 = 0 ;
43892 PyObject * obj1 = 0 ;
43893 PyObject * obj2 = 0 ;
43894 PyObject * obj3 = 0 ;
43895 PyObject * obj4 = 0 ;
43896 PyObject * obj5 = 0 ;
43897 PyObject * obj6 = 0 ;
43898 PyObject * obj7 = 0 ;
43899 PyObject * obj8 = 0 ;
43900 PyObject * obj9 = 0 ;
43901 PyObject * obj10 = 0 ;
43902 char * kwnames[] = {
43903 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43904 };
43905
43906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43908 if (!SWIG_IsOK(res1)) {
43909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43910 }
43911 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43913 if (!SWIG_IsOK(res2)) {
43914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43915 }
43916 arg2 = reinterpret_cast< wxWindow * >(argp2);
43917 if (obj2) {
43918 ecode3 = SWIG_AsVal_int(obj2, &val3);
43919 if (!SWIG_IsOK(ecode3)) {
43920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43921 }
43922 arg3 = static_cast< int >(val3);
43923 }
43924 if (obj3) {
43925 {
43926 arg4 = wxString_in_helper(obj3);
43927 if (arg4 == NULL) SWIG_fail;
43928 temp4 = true;
43929 }
43930 }
43931 if (obj4) {
43932 {
43933 arg5 = wxString_in_helper(obj4);
43934 if (arg5 == NULL) SWIG_fail;
43935 temp5 = true;
43936 }
43937 }
43938 if (obj5) {
43939 {
43940 arg6 = wxString_in_helper(obj5);
43941 if (arg6 == NULL) SWIG_fail;
43942 temp6 = true;
43943 }
43944 }
43945 if (obj6) {
43946 {
43947 arg7 = &temp7;
43948 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43949 }
43950 }
43951 if (obj7) {
43952 {
43953 arg8 = &temp8;
43954 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43955 }
43956 }
43957 if (obj8) {
43958 ecode9 = SWIG_AsVal_long(obj8, &val9);
43959 if (!SWIG_IsOK(ecode9)) {
43960 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43961 }
43962 arg9 = static_cast< long >(val9);
43963 }
43964 if (obj9) {
43965 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43966 if (!SWIG_IsOK(res10)) {
43967 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43968 }
43969 if (!argp10) {
43970 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43971 }
43972 arg10 = reinterpret_cast< wxValidator * >(argp10);
43973 }
43974 if (obj10) {
43975 {
43976 arg11 = wxString_in_helper(obj10);
43977 if (arg11 == NULL) SWIG_fail;
43978 temp11 = true;
43979 }
43980 }
43981 {
43982 PyThreadState* __tstate = wxPyBeginAllowThreads();
43983 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxString const &)*arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
43984 wxPyEndAllowThreads(__tstate);
43985 if (PyErr_Occurred()) SWIG_fail;
43986 }
43987 {
43988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43989 }
43990 {
43991 if (temp4)
43992 delete arg4;
43993 }
43994 {
43995 if (temp5)
43996 delete arg5;
43997 }
43998 {
43999 if (temp6)
44000 delete arg6;
44001 }
44002 {
44003 if (temp11)
44004 delete arg11;
44005 }
44006 return resultobj;
44007 fail:
44008 {
44009 if (temp4)
44010 delete arg4;
44011 }
44012 {
44013 if (temp5)
44014 delete arg5;
44015 }
44016 {
44017 if (temp6)
44018 delete arg6;
44019 }
44020 {
44021 if (temp11)
44022 delete arg11;
44023 }
44024 return NULL;
44025 }
44026
44027
44028 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44029 PyObject *resultobj = 0;
44030 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44031 wxString result;
44032 void *argp1 = 0 ;
44033 int res1 = 0 ;
44034 PyObject *swig_obj[1] ;
44035
44036 if (!args) SWIG_fail;
44037 swig_obj[0] = args;
44038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44039 if (!SWIG_IsOK(res1)) {
44040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44041 }
44042 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44043 {
44044 PyThreadState* __tstate = wxPyBeginAllowThreads();
44045 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44046 wxPyEndAllowThreads(__tstate);
44047 if (PyErr_Occurred()) SWIG_fail;
44048 }
44049 {
44050 #if wxUSE_UNICODE
44051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44052 #else
44053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44054 #endif
44055 }
44056 return resultobj;
44057 fail:
44058 return NULL;
44059 }
44060
44061
44062 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44063 PyObject *resultobj = 0;
44064 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44065 wxString *arg2 = 0 ;
44066 void *argp1 = 0 ;
44067 int res1 = 0 ;
44068 bool temp2 = false ;
44069 PyObject * obj0 = 0 ;
44070 PyObject * obj1 = 0 ;
44071 char * kwnames[] = {
44072 (char *) "self",(char *) "str", NULL
44073 };
44074
44075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44077 if (!SWIG_IsOK(res1)) {
44078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44079 }
44080 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44081 {
44082 arg2 = wxString_in_helper(obj1);
44083 if (arg2 == NULL) SWIG_fail;
44084 temp2 = true;
44085 }
44086 {
44087 PyThreadState* __tstate = wxPyBeginAllowThreads();
44088 (arg1)->SetPath((wxString const &)*arg2);
44089 wxPyEndAllowThreads(__tstate);
44090 if (PyErr_Occurred()) SWIG_fail;
44091 }
44092 resultobj = SWIG_Py_Void();
44093 {
44094 if (temp2)
44095 delete arg2;
44096 }
44097 return resultobj;
44098 fail:
44099 {
44100 if (temp2)
44101 delete arg2;
44102 }
44103 return NULL;
44104 }
44105
44106
44107 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44108 PyObject *resultobj = 0;
44109 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44110 wxString *arg2 = 0 ;
44111 bool result;
44112 void *argp1 = 0 ;
44113 int res1 = 0 ;
44114 bool temp2 = false ;
44115 PyObject * obj0 = 0 ;
44116 PyObject * obj1 = 0 ;
44117 char * kwnames[] = {
44118 (char *) "self",(char *) "path", NULL
44119 };
44120
44121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44123 if (!SWIG_IsOK(res1)) {
44124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44125 }
44126 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44127 {
44128 arg2 = wxString_in_helper(obj1);
44129 if (arg2 == NULL) SWIG_fail;
44130 temp2 = true;
44131 }
44132 {
44133 PyThreadState* __tstate = wxPyBeginAllowThreads();
44134 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44135 wxPyEndAllowThreads(__tstate);
44136 if (PyErr_Occurred()) SWIG_fail;
44137 }
44138 {
44139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44140 }
44141 {
44142 if (temp2)
44143 delete arg2;
44144 }
44145 return resultobj;
44146 fail:
44147 {
44148 if (temp2)
44149 delete arg2;
44150 }
44151 return NULL;
44152 }
44153
44154
44155 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44156 PyObject *resultobj = 0;
44157 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44158 wxString result;
44159 void *argp1 = 0 ;
44160 int res1 = 0 ;
44161 PyObject *swig_obj[1] ;
44162
44163 if (!args) SWIG_fail;
44164 swig_obj[0] = args;
44165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44166 if (!SWIG_IsOK(res1)) {
44167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44168 }
44169 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44170 {
44171 PyThreadState* __tstate = wxPyBeginAllowThreads();
44172 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44173 wxPyEndAllowThreads(__tstate);
44174 if (PyErr_Occurred()) SWIG_fail;
44175 }
44176 {
44177 #if wxUSE_UNICODE
44178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44179 #else
44180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44181 #endif
44182 }
44183 return resultobj;
44184 fail:
44185 return NULL;
44186 }
44187
44188
44189 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44190 PyObject *obj;
44191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44192 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44193 return SWIG_Py_Void();
44194 }
44195
44196 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44197 return SWIG_Python_InitShadowInstance(args);
44198 }
44199
44200 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44201 PyObject *resultobj = 0;
44202 wxWindow *arg1 = (wxWindow *) 0 ;
44203 int arg2 = (int) -1 ;
44204 wxString const &arg3_defvalue = wxPyEmptyString ;
44205 wxString *arg3 = (wxString *) &arg3_defvalue ;
44206 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44207 wxString *arg4 = (wxString *) &arg4_defvalue ;
44208 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44209 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44210 wxSize const &arg6_defvalue = wxDefaultSize ;
44211 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44212 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44213 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44214 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44215 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44216 wxString *arg9 = (wxString *) &arg9_defvalue ;
44217 wxDirPickerCtrl *result = 0 ;
44218 void *argp1 = 0 ;
44219 int res1 = 0 ;
44220 int val2 ;
44221 int ecode2 = 0 ;
44222 bool temp3 = false ;
44223 bool temp4 = false ;
44224 wxPoint temp5 ;
44225 wxSize temp6 ;
44226 long val7 ;
44227 int ecode7 = 0 ;
44228 void *argp8 = 0 ;
44229 int res8 = 0 ;
44230 bool temp9 = false ;
44231 PyObject * obj0 = 0 ;
44232 PyObject * obj1 = 0 ;
44233 PyObject * obj2 = 0 ;
44234 PyObject * obj3 = 0 ;
44235 PyObject * obj4 = 0 ;
44236 PyObject * obj5 = 0 ;
44237 PyObject * obj6 = 0 ;
44238 PyObject * obj7 = 0 ;
44239 PyObject * obj8 = 0 ;
44240 char * kwnames[] = {
44241 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44242 };
44243
44244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44246 if (!SWIG_IsOK(res1)) {
44247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44248 }
44249 arg1 = reinterpret_cast< wxWindow * >(argp1);
44250 if (obj1) {
44251 ecode2 = SWIG_AsVal_int(obj1, &val2);
44252 if (!SWIG_IsOK(ecode2)) {
44253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44254 }
44255 arg2 = static_cast< int >(val2);
44256 }
44257 if (obj2) {
44258 {
44259 arg3 = wxString_in_helper(obj2);
44260 if (arg3 == NULL) SWIG_fail;
44261 temp3 = true;
44262 }
44263 }
44264 if (obj3) {
44265 {
44266 arg4 = wxString_in_helper(obj3);
44267 if (arg4 == NULL) SWIG_fail;
44268 temp4 = true;
44269 }
44270 }
44271 if (obj4) {
44272 {
44273 arg5 = &temp5;
44274 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44275 }
44276 }
44277 if (obj5) {
44278 {
44279 arg6 = &temp6;
44280 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44281 }
44282 }
44283 if (obj6) {
44284 ecode7 = SWIG_AsVal_long(obj6, &val7);
44285 if (!SWIG_IsOK(ecode7)) {
44286 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44287 }
44288 arg7 = static_cast< long >(val7);
44289 }
44290 if (obj7) {
44291 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44292 if (!SWIG_IsOK(res8)) {
44293 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44294 }
44295 if (!argp8) {
44296 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44297 }
44298 arg8 = reinterpret_cast< wxValidator * >(argp8);
44299 }
44300 if (obj8) {
44301 {
44302 arg9 = wxString_in_helper(obj8);
44303 if (arg9 == NULL) SWIG_fail;
44304 temp9 = true;
44305 }
44306 }
44307 {
44308 if (!wxPyCheckForApp()) SWIG_fail;
44309 PyThreadState* __tstate = wxPyBeginAllowThreads();
44310 result = (wxDirPickerCtrl *)new wxDirPickerCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
44311 wxPyEndAllowThreads(__tstate);
44312 if (PyErr_Occurred()) SWIG_fail;
44313 }
44314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44315 {
44316 if (temp3)
44317 delete arg3;
44318 }
44319 {
44320 if (temp4)
44321 delete arg4;
44322 }
44323 {
44324 if (temp9)
44325 delete arg9;
44326 }
44327 return resultobj;
44328 fail:
44329 {
44330 if (temp3)
44331 delete arg3;
44332 }
44333 {
44334 if (temp4)
44335 delete arg4;
44336 }
44337 {
44338 if (temp9)
44339 delete arg9;
44340 }
44341 return NULL;
44342 }
44343
44344
44345 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44346 PyObject *resultobj = 0;
44347 wxDirPickerCtrl *result = 0 ;
44348
44349 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44350 {
44351 if (!wxPyCheckForApp()) SWIG_fail;
44352 PyThreadState* __tstate = wxPyBeginAllowThreads();
44353 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44354 wxPyEndAllowThreads(__tstate);
44355 if (PyErr_Occurred()) SWIG_fail;
44356 }
44357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44358 return resultobj;
44359 fail:
44360 return NULL;
44361 }
44362
44363
44364 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44365 PyObject *resultobj = 0;
44366 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44367 wxWindow *arg2 = (wxWindow *) 0 ;
44368 int arg3 = (int) -1 ;
44369 wxString const &arg4_defvalue = wxPyEmptyString ;
44370 wxString *arg4 = (wxString *) &arg4_defvalue ;
44371 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44372 wxString *arg5 = (wxString *) &arg5_defvalue ;
44373 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44374 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44375 wxSize const &arg7_defvalue = wxDefaultSize ;
44376 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44377 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44378 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44379 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44380 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44381 wxString *arg10 = (wxString *) &arg10_defvalue ;
44382 bool result;
44383 void *argp1 = 0 ;
44384 int res1 = 0 ;
44385 void *argp2 = 0 ;
44386 int res2 = 0 ;
44387 int val3 ;
44388 int ecode3 = 0 ;
44389 bool temp4 = false ;
44390 bool temp5 = false ;
44391 wxPoint temp6 ;
44392 wxSize temp7 ;
44393 long val8 ;
44394 int ecode8 = 0 ;
44395 void *argp9 = 0 ;
44396 int res9 = 0 ;
44397 bool temp10 = false ;
44398 PyObject * obj0 = 0 ;
44399 PyObject * obj1 = 0 ;
44400 PyObject * obj2 = 0 ;
44401 PyObject * obj3 = 0 ;
44402 PyObject * obj4 = 0 ;
44403 PyObject * obj5 = 0 ;
44404 PyObject * obj6 = 0 ;
44405 PyObject * obj7 = 0 ;
44406 PyObject * obj8 = 0 ;
44407 PyObject * obj9 = 0 ;
44408 char * kwnames[] = {
44409 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44410 };
44411
44412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44414 if (!SWIG_IsOK(res1)) {
44415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44416 }
44417 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44418 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44419 if (!SWIG_IsOK(res2)) {
44420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44421 }
44422 arg2 = reinterpret_cast< wxWindow * >(argp2);
44423 if (obj2) {
44424 ecode3 = SWIG_AsVal_int(obj2, &val3);
44425 if (!SWIG_IsOK(ecode3)) {
44426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44427 }
44428 arg3 = static_cast< int >(val3);
44429 }
44430 if (obj3) {
44431 {
44432 arg4 = wxString_in_helper(obj3);
44433 if (arg4 == NULL) SWIG_fail;
44434 temp4 = true;
44435 }
44436 }
44437 if (obj4) {
44438 {
44439 arg5 = wxString_in_helper(obj4);
44440 if (arg5 == NULL) SWIG_fail;
44441 temp5 = true;
44442 }
44443 }
44444 if (obj5) {
44445 {
44446 arg6 = &temp6;
44447 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44448 }
44449 }
44450 if (obj6) {
44451 {
44452 arg7 = &temp7;
44453 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44454 }
44455 }
44456 if (obj7) {
44457 ecode8 = SWIG_AsVal_long(obj7, &val8);
44458 if (!SWIG_IsOK(ecode8)) {
44459 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44460 }
44461 arg8 = static_cast< long >(val8);
44462 }
44463 if (obj8) {
44464 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44465 if (!SWIG_IsOK(res9)) {
44466 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44467 }
44468 if (!argp9) {
44469 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44470 }
44471 arg9 = reinterpret_cast< wxValidator * >(argp9);
44472 }
44473 if (obj9) {
44474 {
44475 arg10 = wxString_in_helper(obj9);
44476 if (arg10 == NULL) SWIG_fail;
44477 temp10 = true;
44478 }
44479 }
44480 {
44481 PyThreadState* __tstate = wxPyBeginAllowThreads();
44482 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
44483 wxPyEndAllowThreads(__tstate);
44484 if (PyErr_Occurred()) SWIG_fail;
44485 }
44486 {
44487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44488 }
44489 {
44490 if (temp4)
44491 delete arg4;
44492 }
44493 {
44494 if (temp5)
44495 delete arg5;
44496 }
44497 {
44498 if (temp10)
44499 delete arg10;
44500 }
44501 return resultobj;
44502 fail:
44503 {
44504 if (temp4)
44505 delete arg4;
44506 }
44507 {
44508 if (temp5)
44509 delete arg5;
44510 }
44511 {
44512 if (temp10)
44513 delete arg10;
44514 }
44515 return NULL;
44516 }
44517
44518
44519 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44520 PyObject *resultobj = 0;
44521 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44522 wxString result;
44523 void *argp1 = 0 ;
44524 int res1 = 0 ;
44525 PyObject *swig_obj[1] ;
44526
44527 if (!args) SWIG_fail;
44528 swig_obj[0] = args;
44529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44530 if (!SWIG_IsOK(res1)) {
44531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44532 }
44533 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44534 {
44535 PyThreadState* __tstate = wxPyBeginAllowThreads();
44536 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44537 wxPyEndAllowThreads(__tstate);
44538 if (PyErr_Occurred()) SWIG_fail;
44539 }
44540 {
44541 #if wxUSE_UNICODE
44542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44543 #else
44544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44545 #endif
44546 }
44547 return resultobj;
44548 fail:
44549 return NULL;
44550 }
44551
44552
44553 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44554 PyObject *resultobj = 0;
44555 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44556 wxString *arg2 = 0 ;
44557 void *argp1 = 0 ;
44558 int res1 = 0 ;
44559 bool temp2 = false ;
44560 PyObject * obj0 = 0 ;
44561 PyObject * obj1 = 0 ;
44562 char * kwnames[] = {
44563 (char *) "self",(char *) "str", NULL
44564 };
44565
44566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44568 if (!SWIG_IsOK(res1)) {
44569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44570 }
44571 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44572 {
44573 arg2 = wxString_in_helper(obj1);
44574 if (arg2 == NULL) SWIG_fail;
44575 temp2 = true;
44576 }
44577 {
44578 PyThreadState* __tstate = wxPyBeginAllowThreads();
44579 (arg1)->SetPath((wxString const &)*arg2);
44580 wxPyEndAllowThreads(__tstate);
44581 if (PyErr_Occurred()) SWIG_fail;
44582 }
44583 resultobj = SWIG_Py_Void();
44584 {
44585 if (temp2)
44586 delete arg2;
44587 }
44588 return resultobj;
44589 fail:
44590 {
44591 if (temp2)
44592 delete arg2;
44593 }
44594 return NULL;
44595 }
44596
44597
44598 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44599 PyObject *resultobj = 0;
44600 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44601 wxString *arg2 = 0 ;
44602 bool result;
44603 void *argp1 = 0 ;
44604 int res1 = 0 ;
44605 bool temp2 = false ;
44606 PyObject * obj0 = 0 ;
44607 PyObject * obj1 = 0 ;
44608 char * kwnames[] = {
44609 (char *) "self",(char *) "path", NULL
44610 };
44611
44612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44614 if (!SWIG_IsOK(res1)) {
44615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44616 }
44617 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44618 {
44619 arg2 = wxString_in_helper(obj1);
44620 if (arg2 == NULL) SWIG_fail;
44621 temp2 = true;
44622 }
44623 {
44624 PyThreadState* __tstate = wxPyBeginAllowThreads();
44625 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44626 wxPyEndAllowThreads(__tstate);
44627 if (PyErr_Occurred()) SWIG_fail;
44628 }
44629 {
44630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44631 }
44632 {
44633 if (temp2)
44634 delete arg2;
44635 }
44636 return resultobj;
44637 fail:
44638 {
44639 if (temp2)
44640 delete arg2;
44641 }
44642 return NULL;
44643 }
44644
44645
44646 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44647 PyObject *resultobj = 0;
44648 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44649 wxString result;
44650 void *argp1 = 0 ;
44651 int res1 = 0 ;
44652 PyObject *swig_obj[1] ;
44653
44654 if (!args) SWIG_fail;
44655 swig_obj[0] = args;
44656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44657 if (!SWIG_IsOK(res1)) {
44658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44659 }
44660 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44661 {
44662 PyThreadState* __tstate = wxPyBeginAllowThreads();
44663 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44664 wxPyEndAllowThreads(__tstate);
44665 if (PyErr_Occurred()) SWIG_fail;
44666 }
44667 {
44668 #if wxUSE_UNICODE
44669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44670 #else
44671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44672 #endif
44673 }
44674 return resultobj;
44675 fail:
44676 return NULL;
44677 }
44678
44679
44680 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44681 PyObject *obj;
44682 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44683 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44684 return SWIG_Py_Void();
44685 }
44686
44687 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44688 return SWIG_Python_InitShadowInstance(args);
44689 }
44690
44691 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44692 PyObject *resultobj = 0;
44693 wxEventType arg1 ;
44694 wxObject *arg2 = (wxObject *) 0 ;
44695 int arg3 ;
44696 wxString *arg4 = 0 ;
44697 wxFileDirPickerEvent *result = 0 ;
44698 int val1 ;
44699 int ecode1 = 0 ;
44700 void *argp2 = 0 ;
44701 int res2 = 0 ;
44702 int val3 ;
44703 int ecode3 = 0 ;
44704 bool temp4 = false ;
44705 PyObject * obj0 = 0 ;
44706 PyObject * obj1 = 0 ;
44707 PyObject * obj2 = 0 ;
44708 PyObject * obj3 = 0 ;
44709 char * kwnames[] = {
44710 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44711 };
44712
44713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44714 ecode1 = SWIG_AsVal_int(obj0, &val1);
44715 if (!SWIG_IsOK(ecode1)) {
44716 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44717 }
44718 arg1 = static_cast< wxEventType >(val1);
44719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44720 if (!SWIG_IsOK(res2)) {
44721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44722 }
44723 arg2 = reinterpret_cast< wxObject * >(argp2);
44724 ecode3 = SWIG_AsVal_int(obj2, &val3);
44725 if (!SWIG_IsOK(ecode3)) {
44726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44727 }
44728 arg3 = static_cast< int >(val3);
44729 {
44730 arg4 = wxString_in_helper(obj3);
44731 if (arg4 == NULL) SWIG_fail;
44732 temp4 = true;
44733 }
44734 {
44735 PyThreadState* __tstate = wxPyBeginAllowThreads();
44736 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44737 wxPyEndAllowThreads(__tstate);
44738 if (PyErr_Occurred()) SWIG_fail;
44739 }
44740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44741 {
44742 if (temp4)
44743 delete arg4;
44744 }
44745 return resultobj;
44746 fail:
44747 {
44748 if (temp4)
44749 delete arg4;
44750 }
44751 return NULL;
44752 }
44753
44754
44755 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44756 PyObject *resultobj = 0;
44757 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44758 wxString result;
44759 void *argp1 = 0 ;
44760 int res1 = 0 ;
44761 PyObject *swig_obj[1] ;
44762
44763 if (!args) SWIG_fail;
44764 swig_obj[0] = args;
44765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44766 if (!SWIG_IsOK(res1)) {
44767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44768 }
44769 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44770 {
44771 PyThreadState* __tstate = wxPyBeginAllowThreads();
44772 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44773 wxPyEndAllowThreads(__tstate);
44774 if (PyErr_Occurred()) SWIG_fail;
44775 }
44776 {
44777 #if wxUSE_UNICODE
44778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44779 #else
44780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44781 #endif
44782 }
44783 return resultobj;
44784 fail:
44785 return NULL;
44786 }
44787
44788
44789 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44790 PyObject *resultobj = 0;
44791 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44792 wxString *arg2 = 0 ;
44793 void *argp1 = 0 ;
44794 int res1 = 0 ;
44795 bool temp2 = false ;
44796 PyObject * obj0 = 0 ;
44797 PyObject * obj1 = 0 ;
44798 char * kwnames[] = {
44799 (char *) "self",(char *) "p", NULL
44800 };
44801
44802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44804 if (!SWIG_IsOK(res1)) {
44805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44806 }
44807 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44808 {
44809 arg2 = wxString_in_helper(obj1);
44810 if (arg2 == NULL) SWIG_fail;
44811 temp2 = true;
44812 }
44813 {
44814 PyThreadState* __tstate = wxPyBeginAllowThreads();
44815 (arg1)->SetPath((wxString const &)*arg2);
44816 wxPyEndAllowThreads(__tstate);
44817 if (PyErr_Occurred()) SWIG_fail;
44818 }
44819 resultobj = SWIG_Py_Void();
44820 {
44821 if (temp2)
44822 delete arg2;
44823 }
44824 return resultobj;
44825 fail:
44826 {
44827 if (temp2)
44828 delete arg2;
44829 }
44830 return NULL;
44831 }
44832
44833
44834 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44835 PyObject *obj;
44836 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44837 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44838 return SWIG_Py_Void();
44839 }
44840
44841 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44842 return SWIG_Python_InitShadowInstance(args);
44843 }
44844
44845 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44846 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44847 return 1;
44848 }
44849
44850
44851 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44852 PyObject *pyobj = 0;
44853
44854 {
44855 #if wxUSE_UNICODE
44856 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44857 #else
44858 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44859 #endif
44860 }
44861 return pyobj;
44862 }
44863
44864
44865 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44866 PyObject *resultobj = 0;
44867 wxWindow *arg1 = (wxWindow *) 0 ;
44868 int arg2 = (int) -1 ;
44869 wxFont const &arg3_defvalue = wxNullFont ;
44870 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44873 wxSize const &arg5_defvalue = wxDefaultSize ;
44874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44875 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44876 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44877 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44878 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44879 wxString *arg8 = (wxString *) &arg8_defvalue ;
44880 wxFontPickerCtrl *result = 0 ;
44881 void *argp1 = 0 ;
44882 int res1 = 0 ;
44883 int val2 ;
44884 int ecode2 = 0 ;
44885 void *argp3 = 0 ;
44886 int res3 = 0 ;
44887 wxPoint temp4 ;
44888 wxSize temp5 ;
44889 long val6 ;
44890 int ecode6 = 0 ;
44891 void *argp7 = 0 ;
44892 int res7 = 0 ;
44893 bool temp8 = false ;
44894 PyObject * obj0 = 0 ;
44895 PyObject * obj1 = 0 ;
44896 PyObject * obj2 = 0 ;
44897 PyObject * obj3 = 0 ;
44898 PyObject * obj4 = 0 ;
44899 PyObject * obj5 = 0 ;
44900 PyObject * obj6 = 0 ;
44901 PyObject * obj7 = 0 ;
44902 char * kwnames[] = {
44903 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44904 };
44905
44906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44908 if (!SWIG_IsOK(res1)) {
44909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44910 }
44911 arg1 = reinterpret_cast< wxWindow * >(argp1);
44912 if (obj1) {
44913 ecode2 = SWIG_AsVal_int(obj1, &val2);
44914 if (!SWIG_IsOK(ecode2)) {
44915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44916 }
44917 arg2 = static_cast< int >(val2);
44918 }
44919 if (obj2) {
44920 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44921 if (!SWIG_IsOK(res3)) {
44922 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44923 }
44924 if (!argp3) {
44925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44926 }
44927 arg3 = reinterpret_cast< wxFont * >(argp3);
44928 }
44929 if (obj3) {
44930 {
44931 arg4 = &temp4;
44932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44933 }
44934 }
44935 if (obj4) {
44936 {
44937 arg5 = &temp5;
44938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44939 }
44940 }
44941 if (obj5) {
44942 ecode6 = SWIG_AsVal_long(obj5, &val6);
44943 if (!SWIG_IsOK(ecode6)) {
44944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44945 }
44946 arg6 = static_cast< long >(val6);
44947 }
44948 if (obj6) {
44949 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44950 if (!SWIG_IsOK(res7)) {
44951 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44952 }
44953 if (!argp7) {
44954 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44955 }
44956 arg7 = reinterpret_cast< wxValidator * >(argp7);
44957 }
44958 if (obj7) {
44959 {
44960 arg8 = wxString_in_helper(obj7);
44961 if (arg8 == NULL) SWIG_fail;
44962 temp8 = true;
44963 }
44964 }
44965 {
44966 if (!wxPyCheckForApp()) SWIG_fail;
44967 PyThreadState* __tstate = wxPyBeginAllowThreads();
44968 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44969 wxPyEndAllowThreads(__tstate);
44970 if (PyErr_Occurred()) SWIG_fail;
44971 }
44972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44973 {
44974 if (temp8)
44975 delete arg8;
44976 }
44977 return resultobj;
44978 fail:
44979 {
44980 if (temp8)
44981 delete arg8;
44982 }
44983 return NULL;
44984 }
44985
44986
44987 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44988 PyObject *resultobj = 0;
44989 wxFontPickerCtrl *result = 0 ;
44990
44991 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44992 {
44993 if (!wxPyCheckForApp()) SWIG_fail;
44994 PyThreadState* __tstate = wxPyBeginAllowThreads();
44995 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
44996 wxPyEndAllowThreads(__tstate);
44997 if (PyErr_Occurred()) SWIG_fail;
44998 }
44999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45000 return resultobj;
45001 fail:
45002 return NULL;
45003 }
45004
45005
45006 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45007 PyObject *resultobj = 0;
45008 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45009 wxWindow *arg2 = (wxWindow *) 0 ;
45010 int arg3 = (int) -1 ;
45011 wxFont const &arg4_defvalue = wxNullFont ;
45012 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45013 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45014 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45015 wxSize const &arg6_defvalue = wxDefaultSize ;
45016 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45017 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45018 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45019 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45020 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45021 wxString *arg9 = (wxString *) &arg9_defvalue ;
45022 bool result;
45023 void *argp1 = 0 ;
45024 int res1 = 0 ;
45025 void *argp2 = 0 ;
45026 int res2 = 0 ;
45027 int val3 ;
45028 int ecode3 = 0 ;
45029 void *argp4 = 0 ;
45030 int res4 = 0 ;
45031 wxPoint temp5 ;
45032 wxSize temp6 ;
45033 long val7 ;
45034 int ecode7 = 0 ;
45035 void *argp8 = 0 ;
45036 int res8 = 0 ;
45037 bool temp9 = false ;
45038 PyObject * obj0 = 0 ;
45039 PyObject * obj1 = 0 ;
45040 PyObject * obj2 = 0 ;
45041 PyObject * obj3 = 0 ;
45042 PyObject * obj4 = 0 ;
45043 PyObject * obj5 = 0 ;
45044 PyObject * obj6 = 0 ;
45045 PyObject * obj7 = 0 ;
45046 PyObject * obj8 = 0 ;
45047 char * kwnames[] = {
45048 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45049 };
45050
45051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45053 if (!SWIG_IsOK(res1)) {
45054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45055 }
45056 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45057 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45058 if (!SWIG_IsOK(res2)) {
45059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45060 }
45061 arg2 = reinterpret_cast< wxWindow * >(argp2);
45062 if (obj2) {
45063 ecode3 = SWIG_AsVal_int(obj2, &val3);
45064 if (!SWIG_IsOK(ecode3)) {
45065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45066 }
45067 arg3 = static_cast< int >(val3);
45068 }
45069 if (obj3) {
45070 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45071 if (!SWIG_IsOK(res4)) {
45072 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45073 }
45074 if (!argp4) {
45075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45076 }
45077 arg4 = reinterpret_cast< wxFont * >(argp4);
45078 }
45079 if (obj4) {
45080 {
45081 arg5 = &temp5;
45082 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45083 }
45084 }
45085 if (obj5) {
45086 {
45087 arg6 = &temp6;
45088 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45089 }
45090 }
45091 if (obj6) {
45092 ecode7 = SWIG_AsVal_long(obj6, &val7);
45093 if (!SWIG_IsOK(ecode7)) {
45094 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45095 }
45096 arg7 = static_cast< long >(val7);
45097 }
45098 if (obj7) {
45099 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45100 if (!SWIG_IsOK(res8)) {
45101 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45102 }
45103 if (!argp8) {
45104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45105 }
45106 arg8 = reinterpret_cast< wxValidator * >(argp8);
45107 }
45108 if (obj8) {
45109 {
45110 arg9 = wxString_in_helper(obj8);
45111 if (arg9 == NULL) SWIG_fail;
45112 temp9 = true;
45113 }
45114 }
45115 {
45116 PyThreadState* __tstate = wxPyBeginAllowThreads();
45117 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45118 wxPyEndAllowThreads(__tstate);
45119 if (PyErr_Occurred()) SWIG_fail;
45120 }
45121 {
45122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45123 }
45124 {
45125 if (temp9)
45126 delete arg9;
45127 }
45128 return resultobj;
45129 fail:
45130 {
45131 if (temp9)
45132 delete arg9;
45133 }
45134 return NULL;
45135 }
45136
45137
45138 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45139 PyObject *resultobj = 0;
45140 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45141 wxFont result;
45142 void *argp1 = 0 ;
45143 int res1 = 0 ;
45144 PyObject *swig_obj[1] ;
45145
45146 if (!args) SWIG_fail;
45147 swig_obj[0] = args;
45148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45149 if (!SWIG_IsOK(res1)) {
45150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45151 }
45152 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45153 {
45154 PyThreadState* __tstate = wxPyBeginAllowThreads();
45155 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45156 wxPyEndAllowThreads(__tstate);
45157 if (PyErr_Occurred()) SWIG_fail;
45158 }
45159 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45160 return resultobj;
45161 fail:
45162 return NULL;
45163 }
45164
45165
45166 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45167 PyObject *resultobj = 0;
45168 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45169 wxFont *arg2 = 0 ;
45170 void *argp1 = 0 ;
45171 int res1 = 0 ;
45172 void *argp2 = 0 ;
45173 int res2 = 0 ;
45174 PyObject * obj0 = 0 ;
45175 PyObject * obj1 = 0 ;
45176 char * kwnames[] = {
45177 (char *) "self",(char *) "f", NULL
45178 };
45179
45180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45182 if (!SWIG_IsOK(res1)) {
45183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45184 }
45185 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45186 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45187 if (!SWIG_IsOK(res2)) {
45188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45189 }
45190 if (!argp2) {
45191 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45192 }
45193 arg2 = reinterpret_cast< wxFont * >(argp2);
45194 {
45195 PyThreadState* __tstate = wxPyBeginAllowThreads();
45196 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45197 wxPyEndAllowThreads(__tstate);
45198 if (PyErr_Occurred()) SWIG_fail;
45199 }
45200 resultobj = SWIG_Py_Void();
45201 return resultobj;
45202 fail:
45203 return NULL;
45204 }
45205
45206
45207 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45208 PyObject *resultobj = 0;
45209 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45210 unsigned int arg2 ;
45211 void *argp1 = 0 ;
45212 int res1 = 0 ;
45213 unsigned int val2 ;
45214 int ecode2 = 0 ;
45215 PyObject * obj0 = 0 ;
45216 PyObject * obj1 = 0 ;
45217 char * kwnames[] = {
45218 (char *) "self",(char *) "max", NULL
45219 };
45220
45221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45223 if (!SWIG_IsOK(res1)) {
45224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45225 }
45226 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45227 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45228 if (!SWIG_IsOK(ecode2)) {
45229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45230 }
45231 arg2 = static_cast< unsigned int >(val2);
45232 {
45233 PyThreadState* __tstate = wxPyBeginAllowThreads();
45234 (arg1)->SetMaxPointSize(arg2);
45235 wxPyEndAllowThreads(__tstate);
45236 if (PyErr_Occurred()) SWIG_fail;
45237 }
45238 resultobj = SWIG_Py_Void();
45239 return resultobj;
45240 fail:
45241 return NULL;
45242 }
45243
45244
45245 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45246 PyObject *resultobj = 0;
45247 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45248 unsigned int result;
45249 void *argp1 = 0 ;
45250 int res1 = 0 ;
45251 PyObject *swig_obj[1] ;
45252
45253 if (!args) SWIG_fail;
45254 swig_obj[0] = args;
45255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45256 if (!SWIG_IsOK(res1)) {
45257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45258 }
45259 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45260 {
45261 PyThreadState* __tstate = wxPyBeginAllowThreads();
45262 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45263 wxPyEndAllowThreads(__tstate);
45264 if (PyErr_Occurred()) SWIG_fail;
45265 }
45266 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45267 return resultobj;
45268 fail:
45269 return NULL;
45270 }
45271
45272
45273 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45274 PyObject *obj;
45275 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45276 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45277 return SWIG_Py_Void();
45278 }
45279
45280 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45281 return SWIG_Python_InitShadowInstance(args);
45282 }
45283
45284 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45285 PyObject *resultobj = 0;
45286 wxObject *arg1 = (wxObject *) 0 ;
45287 int arg2 ;
45288 wxFont *arg3 = 0 ;
45289 wxFontPickerEvent *result = 0 ;
45290 void *argp1 = 0 ;
45291 int res1 = 0 ;
45292 int val2 ;
45293 int ecode2 = 0 ;
45294 void *argp3 = 0 ;
45295 int res3 = 0 ;
45296 PyObject * obj0 = 0 ;
45297 PyObject * obj1 = 0 ;
45298 PyObject * obj2 = 0 ;
45299 char * kwnames[] = {
45300 (char *) "generator",(char *) "id",(char *) "f", NULL
45301 };
45302
45303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45305 if (!SWIG_IsOK(res1)) {
45306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45307 }
45308 arg1 = reinterpret_cast< wxObject * >(argp1);
45309 ecode2 = SWIG_AsVal_int(obj1, &val2);
45310 if (!SWIG_IsOK(ecode2)) {
45311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45312 }
45313 arg2 = static_cast< int >(val2);
45314 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45315 if (!SWIG_IsOK(res3)) {
45316 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45317 }
45318 if (!argp3) {
45319 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45320 }
45321 arg3 = reinterpret_cast< wxFont * >(argp3);
45322 {
45323 PyThreadState* __tstate = wxPyBeginAllowThreads();
45324 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45325 wxPyEndAllowThreads(__tstate);
45326 if (PyErr_Occurred()) SWIG_fail;
45327 }
45328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45329 return resultobj;
45330 fail:
45331 return NULL;
45332 }
45333
45334
45335 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45336 PyObject *resultobj = 0;
45337 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45338 wxFont result;
45339 void *argp1 = 0 ;
45340 int res1 = 0 ;
45341 PyObject *swig_obj[1] ;
45342
45343 if (!args) SWIG_fail;
45344 swig_obj[0] = args;
45345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45346 if (!SWIG_IsOK(res1)) {
45347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45348 }
45349 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45350 {
45351 PyThreadState* __tstate = wxPyBeginAllowThreads();
45352 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45353 wxPyEndAllowThreads(__tstate);
45354 if (PyErr_Occurred()) SWIG_fail;
45355 }
45356 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45357 return resultobj;
45358 fail:
45359 return NULL;
45360 }
45361
45362
45363 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45364 PyObject *resultobj = 0;
45365 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45366 wxFont *arg2 = 0 ;
45367 void *argp1 = 0 ;
45368 int res1 = 0 ;
45369 void *argp2 = 0 ;
45370 int res2 = 0 ;
45371 PyObject * obj0 = 0 ;
45372 PyObject * obj1 = 0 ;
45373 char * kwnames[] = {
45374 (char *) "self",(char *) "c", NULL
45375 };
45376
45377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45379 if (!SWIG_IsOK(res1)) {
45380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45381 }
45382 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45384 if (!SWIG_IsOK(res2)) {
45385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45386 }
45387 if (!argp2) {
45388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45389 }
45390 arg2 = reinterpret_cast< wxFont * >(argp2);
45391 {
45392 PyThreadState* __tstate = wxPyBeginAllowThreads();
45393 (arg1)->SetFont((wxFont const &)*arg2);
45394 wxPyEndAllowThreads(__tstate);
45395 if (PyErr_Occurred()) SWIG_fail;
45396 }
45397 resultobj = SWIG_Py_Void();
45398 return resultobj;
45399 fail:
45400 return NULL;
45401 }
45402
45403
45404 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45405 PyObject *obj;
45406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45408 return SWIG_Py_Void();
45409 }
45410
45411 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45412 return SWIG_Python_InitShadowInstance(args);
45413 }
45414
45415 SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45416 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45417 return 1;
45418 }
45419
45420
45421 SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45422 PyObject *pyobj = 0;
45423
45424 {
45425 #if wxUSE_UNICODE
45426 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45427 #else
45428 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45429 #endif
45430 }
45431 return pyobj;
45432 }
45433
45434
45435 SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45436 PyObject *resultobj = 0;
45437 wxWindow *arg1 = (wxWindow *) 0 ;
45438 int arg2 = (int) -1 ;
45439 wxString const &arg3_defvalue = wxPyEmptyString ;
45440 wxString *arg3 = (wxString *) &arg3_defvalue ;
45441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45443 wxSize const &arg5_defvalue = wxDefaultSize ;
45444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45445 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45446 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45447 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45448 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45449 wxString *arg8 = (wxString *) &arg8_defvalue ;
45450 wxCollapsiblePane *result = 0 ;
45451 void *argp1 = 0 ;
45452 int res1 = 0 ;
45453 int val2 ;
45454 int ecode2 = 0 ;
45455 bool temp3 = false ;
45456 wxPoint temp4 ;
45457 wxSize temp5 ;
45458 long val6 ;
45459 int ecode6 = 0 ;
45460 void *argp7 = 0 ;
45461 int res7 = 0 ;
45462 bool temp8 = false ;
45463 PyObject * obj0 = 0 ;
45464 PyObject * obj1 = 0 ;
45465 PyObject * obj2 = 0 ;
45466 PyObject * obj3 = 0 ;
45467 PyObject * obj4 = 0 ;
45468 PyObject * obj5 = 0 ;
45469 PyObject * obj6 = 0 ;
45470 PyObject * obj7 = 0 ;
45471 char * kwnames[] = {
45472 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45473 };
45474
45475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45477 if (!SWIG_IsOK(res1)) {
45478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45479 }
45480 arg1 = reinterpret_cast< wxWindow * >(argp1);
45481 if (obj1) {
45482 ecode2 = SWIG_AsVal_int(obj1, &val2);
45483 if (!SWIG_IsOK(ecode2)) {
45484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45485 }
45486 arg2 = static_cast< int >(val2);
45487 }
45488 if (obj2) {
45489 {
45490 arg3 = wxString_in_helper(obj2);
45491 if (arg3 == NULL) SWIG_fail;
45492 temp3 = true;
45493 }
45494 }
45495 if (obj3) {
45496 {
45497 arg4 = &temp4;
45498 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45499 }
45500 }
45501 if (obj4) {
45502 {
45503 arg5 = &temp5;
45504 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45505 }
45506 }
45507 if (obj5) {
45508 ecode6 = SWIG_AsVal_long(obj5, &val6);
45509 if (!SWIG_IsOK(ecode6)) {
45510 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45511 }
45512 arg6 = static_cast< long >(val6);
45513 }
45514 if (obj6) {
45515 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45516 if (!SWIG_IsOK(res7)) {
45517 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45518 }
45519 if (!argp7) {
45520 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45521 }
45522 arg7 = reinterpret_cast< wxValidator * >(argp7);
45523 }
45524 if (obj7) {
45525 {
45526 arg8 = wxString_in_helper(obj7);
45527 if (arg8 == NULL) SWIG_fail;
45528 temp8 = true;
45529 }
45530 }
45531 {
45532 if (!wxPyCheckForApp()) SWIG_fail;
45533 PyThreadState* __tstate = wxPyBeginAllowThreads();
45534 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45535 wxPyEndAllowThreads(__tstate);
45536 if (PyErr_Occurred()) SWIG_fail;
45537 }
45538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45539 {
45540 if (temp3)
45541 delete arg3;
45542 }
45543 {
45544 if (temp8)
45545 delete arg8;
45546 }
45547 return resultobj;
45548 fail:
45549 {
45550 if (temp3)
45551 delete arg3;
45552 }
45553 {
45554 if (temp8)
45555 delete arg8;
45556 }
45557 return NULL;
45558 }
45559
45560
45561 SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45562 PyObject *resultobj = 0;
45563 wxCollapsiblePane *result = 0 ;
45564
45565 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45566 {
45567 if (!wxPyCheckForApp()) SWIG_fail;
45568 PyThreadState* __tstate = wxPyBeginAllowThreads();
45569 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45570 wxPyEndAllowThreads(__tstate);
45571 if (PyErr_Occurred()) SWIG_fail;
45572 }
45573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45574 return resultobj;
45575 fail:
45576 return NULL;
45577 }
45578
45579
45580 SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45581 PyObject *resultobj = 0;
45582 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45583 wxWindow *arg2 = (wxWindow *) 0 ;
45584 int arg3 = (int) -1 ;
45585 wxString const &arg4_defvalue = wxPyEmptyString ;
45586 wxString *arg4 = (wxString *) &arg4_defvalue ;
45587 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45588 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45589 wxSize const &arg6_defvalue = wxDefaultSize ;
45590 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45591 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45592 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45593 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45594 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45595 wxString *arg9 = (wxString *) &arg9_defvalue ;
45596 bool result;
45597 void *argp1 = 0 ;
45598 int res1 = 0 ;
45599 void *argp2 = 0 ;
45600 int res2 = 0 ;
45601 int val3 ;
45602 int ecode3 = 0 ;
45603 bool temp4 = false ;
45604 wxPoint temp5 ;
45605 wxSize temp6 ;
45606 long val7 ;
45607 int ecode7 = 0 ;
45608 void *argp8 = 0 ;
45609 int res8 = 0 ;
45610 bool temp9 = false ;
45611 PyObject * obj0 = 0 ;
45612 PyObject * obj1 = 0 ;
45613 PyObject * obj2 = 0 ;
45614 PyObject * obj3 = 0 ;
45615 PyObject * obj4 = 0 ;
45616 PyObject * obj5 = 0 ;
45617 PyObject * obj6 = 0 ;
45618 PyObject * obj7 = 0 ;
45619 PyObject * obj8 = 0 ;
45620 char * kwnames[] = {
45621 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45622 };
45623
45624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45626 if (!SWIG_IsOK(res1)) {
45627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45628 }
45629 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45631 if (!SWIG_IsOK(res2)) {
45632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45633 }
45634 arg2 = reinterpret_cast< wxWindow * >(argp2);
45635 if (obj2) {
45636 ecode3 = SWIG_AsVal_int(obj2, &val3);
45637 if (!SWIG_IsOK(ecode3)) {
45638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45639 }
45640 arg3 = static_cast< int >(val3);
45641 }
45642 if (obj3) {
45643 {
45644 arg4 = wxString_in_helper(obj3);
45645 if (arg4 == NULL) SWIG_fail;
45646 temp4 = true;
45647 }
45648 }
45649 if (obj4) {
45650 {
45651 arg5 = &temp5;
45652 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45653 }
45654 }
45655 if (obj5) {
45656 {
45657 arg6 = &temp6;
45658 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45659 }
45660 }
45661 if (obj6) {
45662 ecode7 = SWIG_AsVal_long(obj6, &val7);
45663 if (!SWIG_IsOK(ecode7)) {
45664 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45665 }
45666 arg7 = static_cast< long >(val7);
45667 }
45668 if (obj7) {
45669 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45670 if (!SWIG_IsOK(res8)) {
45671 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45672 }
45673 if (!argp8) {
45674 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45675 }
45676 arg8 = reinterpret_cast< wxValidator * >(argp8);
45677 }
45678 if (obj8) {
45679 {
45680 arg9 = wxString_in_helper(obj8);
45681 if (arg9 == NULL) SWIG_fail;
45682 temp9 = true;
45683 }
45684 }
45685 {
45686 PyThreadState* __tstate = wxPyBeginAllowThreads();
45687 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45688 wxPyEndAllowThreads(__tstate);
45689 if (PyErr_Occurred()) SWIG_fail;
45690 }
45691 {
45692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45693 }
45694 {
45695 if (temp4)
45696 delete arg4;
45697 }
45698 {
45699 if (temp9)
45700 delete arg9;
45701 }
45702 return resultobj;
45703 fail:
45704 {
45705 if (temp4)
45706 delete arg4;
45707 }
45708 {
45709 if (temp9)
45710 delete arg9;
45711 }
45712 return NULL;
45713 }
45714
45715
45716 SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45717 PyObject *resultobj = 0;
45718 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45719 bool arg2 = (bool) true ;
45720 void *argp1 = 0 ;
45721 int res1 = 0 ;
45722 bool val2 ;
45723 int ecode2 = 0 ;
45724 PyObject * obj0 = 0 ;
45725 PyObject * obj1 = 0 ;
45726 char * kwnames[] = {
45727 (char *) "self",(char *) "collapse", NULL
45728 };
45729
45730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45732 if (!SWIG_IsOK(res1)) {
45733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45734 }
45735 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45736 if (obj1) {
45737 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45738 if (!SWIG_IsOK(ecode2)) {
45739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45740 }
45741 arg2 = static_cast< bool >(val2);
45742 }
45743 {
45744 PyThreadState* __tstate = wxPyBeginAllowThreads();
45745 (arg1)->Collapse(arg2);
45746 wxPyEndAllowThreads(__tstate);
45747 if (PyErr_Occurred()) SWIG_fail;
45748 }
45749 resultobj = SWIG_Py_Void();
45750 return resultobj;
45751 fail:
45752 return NULL;
45753 }
45754
45755
45756 SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45757 PyObject *resultobj = 0;
45758 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45759 void *argp1 = 0 ;
45760 int res1 = 0 ;
45761 PyObject *swig_obj[1] ;
45762
45763 if (!args) SWIG_fail;
45764 swig_obj[0] = args;
45765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45766 if (!SWIG_IsOK(res1)) {
45767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45768 }
45769 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45770 {
45771 PyThreadState* __tstate = wxPyBeginAllowThreads();
45772 (arg1)->Expand();
45773 wxPyEndAllowThreads(__tstate);
45774 if (PyErr_Occurred()) SWIG_fail;
45775 }
45776 resultobj = SWIG_Py_Void();
45777 return resultobj;
45778 fail:
45779 return NULL;
45780 }
45781
45782
45783 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45784 PyObject *resultobj = 0;
45785 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45786 bool result;
45787 void *argp1 = 0 ;
45788 int res1 = 0 ;
45789 PyObject *swig_obj[1] ;
45790
45791 if (!args) SWIG_fail;
45792 swig_obj[0] = args;
45793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45794 if (!SWIG_IsOK(res1)) {
45795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45796 }
45797 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45798 {
45799 PyThreadState* __tstate = wxPyBeginAllowThreads();
45800 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
45801 wxPyEndAllowThreads(__tstate);
45802 if (PyErr_Occurred()) SWIG_fail;
45803 }
45804 {
45805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45806 }
45807 return resultobj;
45808 fail:
45809 return NULL;
45810 }
45811
45812
45813 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45814 PyObject *resultobj = 0;
45815 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45816 bool result;
45817 void *argp1 = 0 ;
45818 int res1 = 0 ;
45819 PyObject *swig_obj[1] ;
45820
45821 if (!args) SWIG_fail;
45822 swig_obj[0] = args;
45823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45824 if (!SWIG_IsOK(res1)) {
45825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45826 }
45827 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45828 {
45829 PyThreadState* __tstate = wxPyBeginAllowThreads();
45830 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
45831 wxPyEndAllowThreads(__tstate);
45832 if (PyErr_Occurred()) SWIG_fail;
45833 }
45834 {
45835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45836 }
45837 return resultobj;
45838 fail:
45839 return NULL;
45840 }
45841
45842
45843 SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45844 PyObject *resultobj = 0;
45845 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45846 wxWindow *result = 0 ;
45847 void *argp1 = 0 ;
45848 int res1 = 0 ;
45849 PyObject *swig_obj[1] ;
45850
45851 if (!args) SWIG_fail;
45852 swig_obj[0] = args;
45853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45854 if (!SWIG_IsOK(res1)) {
45855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45856 }
45857 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45858 {
45859 PyThreadState* __tstate = wxPyBeginAllowThreads();
45860 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
45861 wxPyEndAllowThreads(__tstate);
45862 if (PyErr_Occurred()) SWIG_fail;
45863 }
45864 {
45865 resultobj = wxPyMake_wxObject(result, 0);
45866 }
45867 return resultobj;
45868 fail:
45869 return NULL;
45870 }
45871
45872
45873 SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45874 PyObject *obj;
45875 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45876 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
45877 return SWIG_Py_Void();
45878 }
45879
45880 SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45881 return SWIG_Python_InitShadowInstance(args);
45882 }
45883
45884 SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45885 PyObject *resultobj = 0;
45886 wxObject *arg1 = (wxObject *) 0 ;
45887 int arg2 ;
45888 bool arg3 ;
45889 wxCollapsiblePaneEvent *result = 0 ;
45890 void *argp1 = 0 ;
45891 int res1 = 0 ;
45892 int val2 ;
45893 int ecode2 = 0 ;
45894 bool val3 ;
45895 int ecode3 = 0 ;
45896 PyObject * obj0 = 0 ;
45897 PyObject * obj1 = 0 ;
45898 PyObject * obj2 = 0 ;
45899 char * kwnames[] = {
45900 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45901 };
45902
45903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45905 if (!SWIG_IsOK(res1)) {
45906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45907 }
45908 arg1 = reinterpret_cast< wxObject * >(argp1);
45909 ecode2 = SWIG_AsVal_int(obj1, &val2);
45910 if (!SWIG_IsOK(ecode2)) {
45911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45912 }
45913 arg2 = static_cast< int >(val2);
45914 ecode3 = SWIG_AsVal_bool(obj2, &val3);
45915 if (!SWIG_IsOK(ecode3)) {
45916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45917 }
45918 arg3 = static_cast< bool >(val3);
45919 {
45920 PyThreadState* __tstate = wxPyBeginAllowThreads();
45921 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
45922 wxPyEndAllowThreads(__tstate);
45923 if (PyErr_Occurred()) SWIG_fail;
45924 }
45925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
45926 return resultobj;
45927 fail:
45928 return NULL;
45929 }
45930
45931
45932 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45933 PyObject *resultobj = 0;
45934 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
45935 bool result;
45936 void *argp1 = 0 ;
45937 int res1 = 0 ;
45938 PyObject *swig_obj[1] ;
45939
45940 if (!args) SWIG_fail;
45941 swig_obj[0] = args;
45942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
45943 if (!SWIG_IsOK(res1)) {
45944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45945 }
45946 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
45947 {
45948 PyThreadState* __tstate = wxPyBeginAllowThreads();
45949 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
45950 wxPyEndAllowThreads(__tstate);
45951 if (PyErr_Occurred()) SWIG_fail;
45952 }
45953 {
45954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45955 }
45956 return resultobj;
45957 fail:
45958 return NULL;
45959 }
45960
45961
45962 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45963 PyObject *resultobj = 0;
45964 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
45965 bool arg2 ;
45966 void *argp1 = 0 ;
45967 int res1 = 0 ;
45968 bool val2 ;
45969 int ecode2 = 0 ;
45970 PyObject * obj0 = 0 ;
45971 PyObject * obj1 = 0 ;
45972 char * kwnames[] = {
45973 (char *) "self",(char *) "c", NULL
45974 };
45975
45976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
45977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
45978 if (!SWIG_IsOK(res1)) {
45979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45980 }
45981 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
45982 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45983 if (!SWIG_IsOK(ecode2)) {
45984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45985 }
45986 arg2 = static_cast< bool >(val2);
45987 {
45988 PyThreadState* __tstate = wxPyBeginAllowThreads();
45989 (arg1)->SetCollapsed(arg2);
45990 wxPyEndAllowThreads(__tstate);
45991 if (PyErr_Occurred()) SWIG_fail;
45992 }
45993 resultobj = SWIG_Py_Void();
45994 return resultobj;
45995 fail:
45996 return NULL;
45997 }
45998
45999
46000 SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46001 PyObject *obj;
46002 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46003 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46004 return SWIG_Py_Void();
46005 }
46006
46007 SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46008 return SWIG_Python_InitShadowInstance(args);
46009 }
46010
46011 static PyMethodDef SwigMethods[] = {
46012 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46013 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46014 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46015 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46016 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46017 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46018 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46019 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46020 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46021 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46022 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46023 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46024 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46025 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46026 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46027 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46028 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46029 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46030 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46031 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46032 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46033 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46034 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46035 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46036 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46037 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46038 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46039 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46040 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46041 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46042 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46043 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46044 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46045 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46046 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46047 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46048 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46049 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46050 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46051 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46052 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46053 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46054 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46055 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46056 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46057 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46058 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46059 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46060 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46061 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46062 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46063 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46064 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46065 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46066 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46067 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46068 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46069 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46070 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46071 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
46072 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46073 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46076 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46077 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46078 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46079 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46080 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46081 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46082 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46083 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46084 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46085 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46086 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46087 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46089 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46090 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46091 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46092 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46093 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46094 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46095 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46096 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
46097 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
46098 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46099 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46100 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46101 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46102 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46103 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46105 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46106 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46107 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46108 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46109 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46110 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46111 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46112 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46113 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46114 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46115 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46116 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46117 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46118 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46119 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46120 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46121 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46122 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46124 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46125 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46126 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46127 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46128 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46129 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46130 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46131 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46132 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46133 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46134 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46135 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46136 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46137 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46138 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46139 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46140 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46141 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46142 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46143 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46144 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
46147 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46148 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
46149 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
46150 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
46151 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46152 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46153 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
46154 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46157 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46158 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46159 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
46160 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
46161 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
46163 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46164 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46165 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46166 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
46167 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
46168 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
46169 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46170 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
46171 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
46172 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46174 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46175 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46176 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
46177 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
46178 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46179 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46180 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46181 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
46182 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
46183 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
46184 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
46185 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
46186 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
46187 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
46188 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46189 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
46190 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
46191 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
46192 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
46193 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
46194 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
46195 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
46196 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
46197 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
46198 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
46199 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
46200 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
46201 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
46202 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
46204 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46205 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
46206 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
46208 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46210 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
46213 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
46214 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
46215 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
46216 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
46217 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
46218 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
46219 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
46220 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46221 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46222 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
46225 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
46226 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
46227 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
46229 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
46230 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
46231 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46233 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46234 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
46235 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46236 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46238 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46239 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
46241 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
46242 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
46243 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
46244 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
46245 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
46246 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
46247 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
46248 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
46249 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
46250 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46251 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
46252 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
46253 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
46254 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46255 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
46256 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46257 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
46258 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
46259 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46260 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46261 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
46262 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
46263 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46264 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
46265 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
46266 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
46267 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
46268 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
46269 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
46270 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
46271 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
46273 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
46274 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
46275 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
46276 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
46277 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46278 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46279 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
46280 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
46281 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
46282 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
46283 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46284 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
46285 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
46286 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
46287 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46288 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46290 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46291 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
46292 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
46294 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
46295 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46296 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
46297 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46298 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
46299 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46300 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
46301 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46302 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
46303 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
46304 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46305 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
46307 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
46308 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
46310 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
46312 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
46313 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
46315 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
46318 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
46319 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46320 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
46321 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
46322 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46324 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
46325 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
46328 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
46329 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
46330 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46331 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46332 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46334 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46336 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
46337 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
46338 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
46339 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
46340 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46341 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
46342 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
46345 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
46346 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
46347 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
46348 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46349 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
46350 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
46353 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
46354 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46356 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
46357 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46358 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
46359 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
46360 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
46362 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
46363 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
46364 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
46365 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
46366 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
46367 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
46368 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
46369 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
46372 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
46373 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
46375 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46376 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
46378 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46379 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
46380 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
46381 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
46382 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
46384 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
46385 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46386 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46387 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46388 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46389 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
46390 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46391 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46393 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
46395 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46396 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
46397 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46398 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
46399 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
46400 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
46401 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
46402 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
46403 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
46405 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
46406 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
46407 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46408 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46409 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46410 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46411 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46412 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
46413 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46414 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
46415 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46416 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
46417 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46418 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
46419 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
46420 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
46422 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46423 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
46424 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
46427 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46430 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
46431 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
46432 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
46434 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
46435 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
46437 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
46439 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
46440 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
46441 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
46443 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
46444 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
46445 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
46446 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46447 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
46448 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
46449 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
46450 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
46452 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
46453 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
46455 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46456 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46458 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46459 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
46461 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
46462 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
46463 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
46464 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
46465 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
46467 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
46468 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
46470 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
46472 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
46473 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
46474 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
46475 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46476 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
46477 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
46478 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
46479 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
46480 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
46481 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
46482 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
46483 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
46484 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
46485 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
46486 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
46487 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
46488 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
46489 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
46490 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
46491 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
46492 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
46493 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
46494 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
46495 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46496 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
46497 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46498 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46499 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46500 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46501 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
46504 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
46506 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46507 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
46508 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
46509 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46511 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
46514 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
46515 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
46516 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46517 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
46518 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
46519 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
46520 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
46521 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
46522 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
46523 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
46524 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46525 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46526 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46527 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
46528 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
46529 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46530 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46531 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46532 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46533 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46534 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
46535 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46536 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
46537 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
46538 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
46539 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
46540 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
46541 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
46542 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46543 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
46544 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
46545 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
46546 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
46548 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
46549 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46550 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
46551 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
46552 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
46553 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
46554 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
46555 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
46556 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46557 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46558 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
46559 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
46560 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46561 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
46562 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46563 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46564 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46565 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
46566 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
46567 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
46568 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
46569 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
46570 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
46571 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
46572 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
46573 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
46574 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
46575 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
46576 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
46577 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
46578 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
46579 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
46580 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46581 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46583 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46587 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46588 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
46589 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46590 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46591 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
46593 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
46594 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
46595 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
46596 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
46597 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
46598 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
46599 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
46600 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
46601 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46602 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46603 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46604 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46605 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46606 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46607 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46608 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46609 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46610 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46611 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46612 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46613 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46614 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46615 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46616 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46617 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46618 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46619 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46620 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46621 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46622 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46623 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46624 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46625 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46626 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46627 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46628 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46630 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46631 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46632 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46633 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46634 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46635 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46636 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46637 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46638 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46639 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46640 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46641 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46642 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46643 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46644 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46645 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46646 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46647 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46648 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46649 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46650 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46651 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46652 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46653 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46654 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46655 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46656 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46657 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46658 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46659 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46661 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46662 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46663 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46664 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46665 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46666 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46667 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46668 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46669 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46670 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46671 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46672 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46673 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46674 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46675 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46676 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46677 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46678 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46679 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46680 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46681 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46682 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46683 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46684 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46685 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46686 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46687 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46688 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46689 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46690 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46691 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46692 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46693 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46694 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46695 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46696 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46697 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46698 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46699 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46700 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46701 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46702 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46703 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46704 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46705 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46706 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46707 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46708 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46709 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46710 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
46711 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46712 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46713 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46714 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46715 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46716 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46717 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46718 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46719 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46720 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46721 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46722 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46723 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46724 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46725 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46726 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46727 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46728 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46729 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46730 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46731 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46732 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46733 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46734 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46735 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46736 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46737 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46738 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46739 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46740 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46741 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46742 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46743 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46744 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46745 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46746 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46747 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46748 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46749 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46750 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46751 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46752 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46753 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46754 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46755 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46756 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46757 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46758 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46759 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46760 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
46761 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
46762 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46763 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46764 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46765 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46766 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46767 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46768 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46769 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46770 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46771 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46772 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46773 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46774 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46775 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46776 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46777 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46778 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46779 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46780 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46781 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46782 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46783 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46784 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46785 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46786 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46787 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46788 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46789 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46790 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46791 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46792 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46793 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46794 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46795 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46796 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46797 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46798 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46799 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46800 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46801 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46802 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46803 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46804 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46805 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46806 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
46807 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
46808 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46809 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46810 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46811 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46812 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46813 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46814 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46815 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
46816 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
46817 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
46818 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
46819 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
46820 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
46821 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
46822 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
46823 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
46824 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46825 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46826 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
46827 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46828 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46829 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
46830 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46831 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46832 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
46833 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46834 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46835 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46836 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
46837 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
46838 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46839 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
46840 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46841 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
46842 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46843 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
46844 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46845 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
46846 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46847 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46848 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46849 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
46850 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46851 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
46852 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46853 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46854 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
46855 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46856 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46857 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
46858 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
46859 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
46860 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46861 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
46862 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46863 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
46864 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
46865 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
46866 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
46867 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
46868 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
46869 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46870 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
46871 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
46872 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
46873 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
46874 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
46875 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
46876 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
46877 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
46878 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
46879 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
46881 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
46882 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
46883 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
46884 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46885 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
46886 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46887 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
46889 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
46890 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
46891 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
46892 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46893 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46894 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46895 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46896 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46897 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46898 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
46899 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
46900 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
46901 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
46902 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
46903 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
46904 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
46905 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
46906 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
46907 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
46909 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46910 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
46911 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
46912 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
46913 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46914 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
46915 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
46916 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
46917 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
46918 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46919 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
46920 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46921 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
46922 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
46923 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
46924 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46925 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
46926 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
46927 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
46928 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46929 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
46930 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46931 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46932 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46934 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
46935 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46936 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
46937 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
46938 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
46939 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
46940 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
46941 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
46942 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46943 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
46944 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
46945 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
46946 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
46947 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46948 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
46950 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
46951 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46952 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
46953 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
46954 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
46955 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46956 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46957 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46958 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
46959 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
46960 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46961 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
46962 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46963 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46964 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
46965 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46966 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
46967 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
46968 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
46969 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
46970 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46971 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
46972 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46973 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
46974 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
46975 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
46976 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
46977 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
46978 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
46980 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46981 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
46982 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
46983 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
46984 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
46985 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46986 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
46987 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
46989 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
46990 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46992 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
46993 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46994 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
46995 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
46997 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
46998 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46999 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47000 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47001 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47002 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47003 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47004 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47005 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47006 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47007 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47008 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47009 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47011 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47012 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47014 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47015 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47016 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47017 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47018 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47019 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47021 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47022 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47023 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
47024 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47025 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47026 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47027 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47028 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47029 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47030 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
47033 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47034 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47035 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47036 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47037 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47038 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47039 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47040 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47041 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47042 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47043 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47044 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47045 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47046 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47047 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47048 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47049 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47050 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47051 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47052 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47053 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
47054 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47055 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47056 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47057 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47058 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47059 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47060 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47061 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47062 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47063 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47064 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47065 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47066 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47067 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47068 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
47069 { NULL, NULL, 0, NULL }
47070 };
47071
47072
47073 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47074
47075 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47076 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47077 }
47078 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47079 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47080 }
47081 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47082 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47083 }
47084 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47085 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47086 }
47087 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47088 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47089 }
47090 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47091 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47092 }
47093 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47094 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47095 }
47096 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47097 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47098 }
47099 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47101 }
47102 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47104 }
47105 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47107 }
47108 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47109 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47110 }
47111 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47112 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47113 }
47114 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47115 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47116 }
47117 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47119 }
47120 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47121 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
47122 }
47123 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47124 return (void *)((wxEvent *) ((wxPyEvent *) x));
47125 }
47126 static void *_p_wxListEventTo_p_wxEvent(void *x) {
47127 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47128 }
47129 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
47130 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47131 }
47132 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
47133 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47134 }
47135 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
47136 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47137 }
47138 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
47139 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47140 }
47141 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
47142 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47143 }
47144 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
47145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
47146 }
47147 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
47148 return (void *)((wxEvent *) ((wxIdleEvent *) x));
47149 }
47150 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
47151 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
47152 }
47153 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
47154 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
47155 }
47156 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
47157 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
47158 }
47159 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
47160 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
47161 }
47162 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
47163 return (void *)((wxEvent *) ((wxActivateEvent *) x));
47164 }
47165 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
47166 return (void *)((wxEvent *) ((wxSizeEvent *) x));
47167 }
47168 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
47169 return (void *)((wxEvent *) ((wxMoveEvent *) x));
47170 }
47171 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
47172 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
47173 }
47174 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
47175 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47176 }
47177 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
47178 return (void *)((wxEvent *) ((wxPaintEvent *) x));
47179 }
47180 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
47181 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
47182 }
47183 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
47184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
47185 }
47186 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
47187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
47188 }
47189 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
47190 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
47191 }
47192 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
47193 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
47194 }
47195 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
47196 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47197 }
47198 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
47199 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
47200 }
47201 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
47202 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
47203 }
47204 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
47205 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
47206 }
47207 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
47208 return (void *)((wxEvent *) ((wxFocusEvent *) x));
47209 }
47210 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
47211 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
47212 }
47213 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
47214 return (void *)((wxEvent *) ((wxShowEvent *) x));
47215 }
47216 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
47217 return (void *)((wxEvent *) ((wxCommandEvent *) x));
47218 }
47219 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
47220 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
47221 }
47222 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
47223 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47224 }
47225 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
47226 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
47227 }
47228 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
47229 return (void *)((wxEvent *) ((wxKeyEvent *) x));
47230 }
47231 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
47232 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
47233 }
47234 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
47235 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47236 }
47237 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
47238 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
47239 }
47240 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
47241 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
47242 }
47243 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
47244 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
47245 }
47246 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
47247 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
47248 }
47249 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
47250 return (void *)((wxItemContainer *) ((wxComboBox *) x));
47251 }
47252 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
47253 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47254 }
47255 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
47256 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
47257 }
47258 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
47259 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
47260 }
47261 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
47262 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
47263 }
47264 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
47265 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47266 }
47267 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
47268 return (void *)((wxPyListCtrl *) ((wxListView *) x));
47269 }
47270 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
47271 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
47272 }
47273 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
47274 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
47275 }
47276 static void *_p_wxToolBarTo_p_wxControl(void *x) {
47277 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
47278 }
47279 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
47280 return (void *)((wxControl *) ((wxPickerBase *) x));
47281 }
47282 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
47283 return (void *)((wxControl *) ((wxToggleButton *) x));
47284 }
47285 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
47286 return (void *)((wxControl *) ((wxRadioButton *) x));
47287 }
47288 static void *_p_wxToolbookTo_p_wxControl(void *x) {
47289 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
47290 }
47291 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
47292 return (void *)((wxControl *) ((wxToolBarBase *) x));
47293 }
47294 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
47295 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47296 }
47297 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
47298 return (void *)((wxControl *) ((wxPyListCtrl *) x));
47299 }
47300 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
47301 return (void *)((wxControl *) ((wxComboBox *) x));
47302 }
47303 static void *_p_wxPyControlTo_p_wxControl(void *x) {
47304 return (void *)((wxControl *) ((wxPyControl *) x));
47305 }
47306 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
47307 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
47308 }
47309 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
47310 return (void *)((wxControl *) ((wxScrollBar *) x));
47311 }
47312 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
47313 return (void *)((wxControl *) ((wxControlWithItems *) x));
47314 }
47315 static void *_p_wxGaugeTo_p_wxControl(void *x) {
47316 return (void *)((wxControl *) ((wxGauge *) x));
47317 }
47318 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
47319 return (void *)((wxControl *) ((wxStaticLine *) x));
47320 }
47321 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
47322 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
47323 }
47324 static void *_p_wxListbookTo_p_wxControl(void *x) {
47325 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
47326 }
47327 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
47328 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
47329 }
47330 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
47331 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
47332 }
47333 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
47334 return (void *)((wxControl *) ((wxCheckBox *) x));
47335 }
47336 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
47337 return (void *)((wxControl *) ((wxRadioBox *) x));
47338 }
47339 static void *_p_wxChoiceTo_p_wxControl(void *x) {
47340 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
47341 }
47342 static void *_p_wxListBoxTo_p_wxControl(void *x) {
47343 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
47344 }
47345 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
47346 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47347 }
47348 static void *_p_wxListViewTo_p_wxControl(void *x) {
47349 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
47350 }
47351 static void *_p_wxNotebookTo_p_wxControl(void *x) {
47352 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
47353 }
47354 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
47355 return (void *)((wxControl *) ((wxStaticBitmap *) x));
47356 }
47357 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
47358 return (void *)((wxControl *) ((wxSpinCtrl *) x));
47359 }
47360 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
47361 return (void *)((wxControl *) ((wxStaticText *) x));
47362 }
47363 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
47364 return (void *)((wxControl *) ((wxStaticBox *) x));
47365 }
47366 static void *_p_wxSliderTo_p_wxControl(void *x) {
47367 return (void *)((wxControl *) ((wxSlider *) x));
47368 }
47369 static void *_p_wxTreebookTo_p_wxControl(void *x) {
47370 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
47371 }
47372 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
47373 return (void *)((wxControl *) ((wxSpinButton *) x));
47374 }
47375 static void *_p_wxButtonTo_p_wxControl(void *x) {
47376 return (void *)((wxControl *) ((wxButton *) x));
47377 }
47378 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
47379 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
47380 }
47381 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
47382 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47383 }
47384 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
47385 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
47386 }
47387 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
47388 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
47389 }
47390 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
47391 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
47392 }
47393 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
47394 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
47395 }
47396 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
47397 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
47398 }
47399 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
47400 return (void *)((wxControl *) ((wxTextCtrl *) x));
47401 }
47402 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
47403 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
47404 }
47405 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
47406 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
47407 }
47408 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
47409 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47410 }
47411 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
47412 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
47413 }
47414 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
47415 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
47416 }
47417 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
47418 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
47419 }
47420 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
47421 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47422 }
47423 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
47424 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47425 }
47426 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
47427 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47428 }
47429 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
47430 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47431 }
47432 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
47433 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47434 }
47435 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
47436 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
47437 }
47438 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
47439 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
47440 }
47441 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
47442 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
47443 }
47444 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
47445 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
47446 }
47447 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
47448 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
47449 }
47450 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
47451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
47452 }
47453 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
47454 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
47455 }
47456 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
47457 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47458 }
47459 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
47460 return (void *)((wxEvtHandler *) ((wxValidator *) x));
47461 }
47462 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
47463 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
47464 }
47465 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
47466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47467 }
47468 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
47469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
47470 }
47471 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
47472 return (void *)((wxEvtHandler *) ((wxMenu *) x));
47473 }
47474 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
47475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
47476 }
47477 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
47478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
47479 }
47480 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
47481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47482 }
47483 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
47484 return (void *)((wxEvtHandler *) ((wxWindow *) x));
47485 }
47486 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
47487 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
47488 }
47489 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
47490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
47491 }
47492 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
47493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47494 }
47495 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
47496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47497 }
47498 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
47499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47500 }
47501 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
47502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
47503 }
47504 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
47505 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
47506 }
47507 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
47508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47509 }
47510 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
47511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
47512 }
47513 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
47514 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47515 }
47516 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
47517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
47518 }
47519 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
47520 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
47521 }
47522 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
47523 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47524 }
47525 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
47526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47527 }
47528 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
47529 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47530 }
47531 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
47532 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47533 }
47534 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
47535 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
47536 }
47537 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
47538 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
47539 }
47540 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
47541 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47542 }
47543 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
47544 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47545 }
47546 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
47547 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47548 }
47549 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
47550 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47551 }
47552 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
47553 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47554 }
47555 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
47556 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47557 }
47558 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
47559 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47560 }
47561 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
47562 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
47563 }
47564 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
47565 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
47566 }
47567 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
47568 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
47569 }
47570 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
47571 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47572 }
47573 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
47574 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
47575 }
47576 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
47577 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
47578 }
47579 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
47580 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47581 }
47582 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
47583 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47584 }
47585 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
47586 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47587 }
47588 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
47589 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47590 }
47591 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
47592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47593 }
47594 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
47595 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47596 }
47597 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
47598 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47599 }
47600 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
47601 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47602 }
47603 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
47604 return (void *)((wxListBox *) ((wxCheckListBox *) x));
47605 }
47606 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
47607 return (void *)((wxButton *) ((wxBitmapButton *) x));
47608 }
47609 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
47610 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
47611 }
47612 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
47613 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
47614 }
47615 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
47616 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
47617 }
47618 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
47619 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
47620 }
47621 static void *_p_wxToolbookTo_p_wxObject(void *x) {
47622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47623 }
47624 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
47625 return (void *)((wxObject *) ((wxSizerItem *) x));
47626 }
47627 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47628 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47629 }
47630 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47631 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47632 }
47633 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47634 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47635 }
47636 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47638 }
47639 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47640 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47641 }
47642 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47643 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47644 }
47645 static void *_p_wxSizerTo_p_wxObject(void *x) {
47646 return (void *)((wxObject *) ((wxSizer *) x));
47647 }
47648 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47649 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47650 }
47651 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47653 }
47654 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47656 }
47657 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47659 }
47660 static void *_p_wxEventTo_p_wxObject(void *x) {
47661 return (void *)((wxObject *) ((wxEvent *) x));
47662 }
47663 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47664 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47665 }
47666 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47667 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47668 }
47669 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47670 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47671 }
47672 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47674 }
47675 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47677 }
47678 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47680 }
47681 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47683 }
47684 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47686 }
47687 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47688 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47689 }
47690 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47691 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47692 }
47693 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47694 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47695 }
47696 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47697 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47698 }
47699 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47700 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47701 }
47702 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47703 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47704 }
47705 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47707 }
47708 static void *_p_wxControlTo_p_wxObject(void *x) {
47709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47710 }
47711 static void *_p_wxPyControlTo_p_wxObject(void *x) {
47712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47713 }
47714 static void *_p_wxGaugeTo_p_wxObject(void *x) {
47715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47716 }
47717 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47719 }
47720 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47722 }
47723 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47725 }
47726 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47727 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47728 }
47729 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47730 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47731 }
47732 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47734 }
47735 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47736 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47737 }
47738 static void *_p_wxChoiceTo_p_wxObject(void *x) {
47739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47740 }
47741 static void *_p_wxFSFileTo_p_wxObject(void *x) {
47742 return (void *)((wxObject *) ((wxFSFile *) x));
47743 }
47744 static void *_p_wxPySizerTo_p_wxObject(void *x) {
47745 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47746 }
47747 static void *_p_wxTreebookTo_p_wxObject(void *x) {
47748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47749 }
47750 static void *_p_wxListViewTo_p_wxObject(void *x) {
47751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47752 }
47753 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47754 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47755 }
47756 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47758 }
47759 static void *_p_wxNotebookTo_p_wxObject(void *x) {
47760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47761 }
47762 static void *_p_wxPyEventTo_p_wxObject(void *x) {
47763 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47764 }
47765 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47767 }
47768 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47770 }
47771 static void *_p_wxListbookTo_p_wxObject(void *x) {
47772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47773 }
47774 static void *_p_wxShowEventTo_p_wxObject(void *x) {
47775 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47776 }
47777 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47779 }
47780 static void *_p_wxSliderTo_p_wxObject(void *x) {
47781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47782 }
47783 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47784 return (void *)((wxObject *) ((wxMenuItem *) x));
47785 }
47786 static void *_p_wxDateEventTo_p_wxObject(void *x) {
47787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47788 }
47789 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47790 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47791 }
47792 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47794 }
47795 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47796 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47797 }
47798 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47799 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47800 }
47801 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47802 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47803 }
47804 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47805 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47806 }
47807 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47808 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47809 }
47810 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47811 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47812 }
47813 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
47814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
47815 }
47816 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
47817 return (void *)((wxObject *) ((wxContextHelp *) x));
47818 }
47819 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
47820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47821 }
47822 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
47823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47824 }
47825 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47826 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47827 }
47828 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47829 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47830 }
47831 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47832 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47833 }
47834 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47835 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47836 }
47837 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47838 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47839 }
47840 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47841 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47842 }
47843 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47844 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47845 }
47846 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47847 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47848 }
47849 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47850 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47851 }
47852 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
47853 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
47854 }
47855 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47856 return (void *)((wxObject *) ((wxImageHandler *) x));
47857 }
47858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47859 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47860 }
47861 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47862 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47863 }
47864 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
47865 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
47866 }
47867 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47868 return (void *)((wxObject *) ((wxEvtHandler *) x));
47869 }
47870 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
47871 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
47872 }
47873 static void *_p_wxListEventTo_p_wxObject(void *x) {
47874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47875 }
47876 static void *_p_wxListBoxTo_p_wxObject(void *x) {
47877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47878 }
47879 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
47880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47881 }
47882 static void *_p_wxButtonTo_p_wxObject(void *x) {
47883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
47884 }
47885 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
47886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47887 }
47888 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
47889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
47890 }
47891 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
47892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47893 }
47894 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47895 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47896 }
47897 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47898 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47899 }
47900 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
47901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
47902 }
47903 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
47904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
47905 }
47906 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
47907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
47908 }
47909 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
47910 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
47911 }
47912 static void *_p_wxListItemTo_p_wxObject(void *x) {
47913 return (void *)((wxObject *) ((wxListItem *) x));
47914 }
47915 static void *_p_wxImageTo_p_wxObject(void *x) {
47916 return (void *)((wxObject *) ((wxImage *) x));
47917 }
47918 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47919 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47920 }
47921 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
47922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47923 }
47924 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
47925 return (void *)((wxObject *) ((wxGenericDragImage *) x));
47926 }
47927 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
47928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47929 }
47930 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
47931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47932 }
47933 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
47934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47935 }
47936 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
47937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47938 }
47939 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
47940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47941 }
47942 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
47943 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47944 }
47945 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47947 }
47948 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47949 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47950 }
47951 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47952 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47953 }
47954 static void *_p_wxWindowTo_p_wxObject(void *x) {
47955 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47956 }
47957 static void *_p_wxMenuTo_p_wxObject(void *x) {
47958 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47959 }
47960 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47962 }
47963 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47964 return (void *)((wxObject *) ((wxFileSystem *) x));
47965 }
47966 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
47967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
47968 }
47969 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47970 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47971 }
47972 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47973 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47974 }
47975 static void *_p_wxPyAppTo_p_wxObject(void *x) {
47976 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47977 }
47978 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47979 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47980 }
47981 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47982 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47983 }
47984 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47985 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47986 }
47987 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
47988 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47989 }
47990 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
47991 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47992 }
47993 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47995 }
47996 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47997 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47998 }
47999 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48001 }
48002 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48003 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48004 }
48005 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48006 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48007 }
48008 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48010 }
48011 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48013 }
48014 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48016 }
48017 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48019 }
48020 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48022 }
48023 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48025 }
48026 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48028 }
48029 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48031 }
48032 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48033 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48034 }
48035 static void *_p_wxToolBarTo_p_wxObject(void *x) {
48036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48037 }
48038 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48039 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48040 }
48041 static void *_p_wxValidatorTo_p_wxObject(void *x) {
48042 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48043 }
48044 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48045 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48046 }
48047 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48048 return (void *)((wxWindow *) ((wxMenuBar *) x));
48049 }
48050 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48051 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48052 }
48053 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48054 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48055 }
48056 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48057 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48058 }
48059 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48060 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48061 }
48062 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48063 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48064 }
48065 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48066 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48067 }
48068 static void *_p_wxControlTo_p_wxWindow(void *x) {
48069 return (void *)((wxWindow *) ((wxControl *) x));
48070 }
48071 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48072 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48073 }
48074 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48075 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48076 }
48077 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48078 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
48079 }
48080 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48081 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48082 }
48083 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48084 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48085 }
48086 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48087 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48088 }
48089 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48090 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48091 }
48092 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48093 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48094 }
48095 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48096 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48097 }
48098 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48099 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48100 }
48101 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48102 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48103 }
48104 static void *_p_wxListbookTo_p_wxWindow(void *x) {
48105 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48106 }
48107 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
48108 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
48109 }
48110 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
48111 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
48112 }
48113 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
48114 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
48115 }
48116 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
48117 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
48118 }
48119 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
48120 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48121 }
48122 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
48123 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48124 }
48125 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
48126 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48127 }
48128 static void *_p_wxListViewTo_p_wxWindow(void *x) {
48129 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48130 }
48131 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
48132 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48133 }
48134 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
48135 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
48136 }
48137 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
48138 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
48139 }
48140 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
48141 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
48142 }
48143 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
48144 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
48145 }
48146 static void *_p_wxSliderTo_p_wxWindow(void *x) {
48147 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
48148 }
48149 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
48150 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48151 }
48152 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
48153 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
48154 }
48155 static void *_p_wxButtonTo_p_wxWindow(void *x) {
48156 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
48157 }
48158 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
48159 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
48160 }
48161 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
48162 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48163 }
48164 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
48165 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
48166 }
48167 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
48168 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48169 }
48170 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
48171 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48172 }
48173 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
48174 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48175 }
48176 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
48177 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48178 }
48179 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
48180 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
48181 }
48182 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48183 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48184 }
48185 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48186 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48187 }
48188 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48189 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48190 }
48191 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48192 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48193 }
48194 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48195 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48196 }
48197 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
48198 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48199 }
48200 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
48201 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
48202 }
48203 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
48204 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
48205 }
48206 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
48207 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
48208 }
48209 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
48210 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48211 }
48212 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
48213 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
48214 }
48215 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
48216 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
48217 }
48218 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
48219 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
48220 }
48221 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
48222 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
48223 }
48224 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
48225 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
48226 }
48227 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
48228 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
48229 }
48230 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
48231 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48232 }
48233 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
48234 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48235 }
48236 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
48237 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48238 }
48239 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
48240 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48241 }
48242 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
48243 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48244 }
48245 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
48246 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
48247 }
48248 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
48249 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
48250 }
48251 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
48252 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
48253 }
48254 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
48255 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48256 }
48257 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
48258 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48259 }
48260 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
48261 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
48262 }
48263 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
48264 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
48265 }
48266 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
48267 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
48268 }
48269 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
48270 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
48271 }
48272 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
48273 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
48274 }
48275 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
48276 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
48277 }
48278 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
48279 return (void *)((wxControlWithItems *) ((wxChoice *) x));
48280 }
48281 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
48282 return (void *)((wxControlWithItems *) ((wxListBox *) x));
48283 }
48284 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
48285 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
48286 }
48287 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
48288 return (void *)((wxValidator *) ((wxPyValidator *) x));
48289 }
48290 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48291 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
48292 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
48293 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
48294 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
48295 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48296 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48297 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48298 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
48299 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48300 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48301 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48302 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48303 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48304 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48305 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48306 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48307 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48308 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48309 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48310 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48311 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48312 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48313 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48314 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48315 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48316 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48317 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48318 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48319 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48320 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48321 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48322 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48323 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48324 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48325 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48326 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48327 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48328 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48329 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48330 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48331 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48332 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48333 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48334 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48335 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48336 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48337 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48338 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48339 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48340 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48341 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48342 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48343 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48344 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48345 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48346 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48347 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48348 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48349 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48350 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48351 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48352 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48353 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48354 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48355 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48356 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48357 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48358 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48359 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48360 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48361 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48362 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48363 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48364 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48365 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48366 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48367 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
48368 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
48369 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48370 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48371 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48372 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48373 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48374 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48375 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48376 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48377 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48378 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48379 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48380 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48381 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48382 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48383 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48384 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48385 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48386 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48387 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48388 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48389 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48390 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48391 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48392 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48393 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48394 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48395 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48396 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48397 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48398 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48399 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48400 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48401 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48402 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48403 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48404 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
48405 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48406 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48407 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48408 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
48409 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
48410 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48411 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48412 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48413 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48414 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48415 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48416 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48417 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48418 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48419 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48420 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48421 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48422 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48423 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48424 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48425 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48426 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48427 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
48428 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48429 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48430 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48431 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48432 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48433 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48434 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48435 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48436 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48437 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48438 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48439 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48440 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48441 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48442 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48443 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48444 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48445 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48446 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48447 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48448 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48449 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48450 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48451 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48452 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48453 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48454 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48455 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48456 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48457 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48458 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48459 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48460 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48461 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48462 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48463 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48464 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48465 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48466 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48467 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48468
48469 static swig_type_info *swig_type_initial[] = {
48470 &_swigt__p_bool,
48471 &_swigt__p_char,
48472 &_swigt__p_form_ops_t,
48473 &_swigt__p_int,
48474 &_swigt__p_long,
48475 &_swigt__p_unsigned_char,
48476 &_swigt__p_unsigned_int,
48477 &_swigt__p_unsigned_long,
48478 &_swigt__p_void,
48479 &_swigt__p_wxANIHandler,
48480 &_swigt__p_wxAcceleratorTable,
48481 &_swigt__p_wxActivateEvent,
48482 &_swigt__p_wxArrayInt,
48483 &_swigt__p_wxArrayString,
48484 &_swigt__p_wxBMPHandler,
48485 &_swigt__p_wxBitmap,
48486 &_swigt__p_wxBitmapButton,
48487 &_swigt__p_wxBookCtrlBase,
48488 &_swigt__p_wxBookCtrlBaseEvent,
48489 &_swigt__p_wxBoxSizer,
48490 &_swigt__p_wxButton,
48491 &_swigt__p_wxCURHandler,
48492 &_swigt__p_wxCheckBox,
48493 &_swigt__p_wxCheckListBox,
48494 &_swigt__p_wxChildFocusEvent,
48495 &_swigt__p_wxChoice,
48496 &_swigt__p_wxChoicebook,
48497 &_swigt__p_wxChoicebookEvent,
48498 &_swigt__p_wxClipboardTextEvent,
48499 &_swigt__p_wxCloseEvent,
48500 &_swigt__p_wxCollapsiblePane,
48501 &_swigt__p_wxCollapsiblePaneEvent,
48502 &_swigt__p_wxColour,
48503 &_swigt__p_wxColourPickerCtrl,
48504 &_swigt__p_wxColourPickerEvent,
48505 &_swigt__p_wxComboBox,
48506 &_swigt__p_wxCommandEvent,
48507 &_swigt__p_wxContextHelp,
48508 &_swigt__p_wxContextHelpButton,
48509 &_swigt__p_wxContextMenuEvent,
48510 &_swigt__p_wxControl,
48511 &_swigt__p_wxControlWithItems,
48512 &_swigt__p_wxCursor,
48513 &_swigt__p_wxDC,
48514 &_swigt__p_wxDateEvent,
48515 &_swigt__p_wxDatePickerCtrl,
48516 &_swigt__p_wxDateTime,
48517 &_swigt__p_wxDirFilterListCtrl,
48518 &_swigt__p_wxDirPickerCtrl,
48519 &_swigt__p_wxDisplayChangedEvent,
48520 &_swigt__p_wxDropFilesEvent,
48521 &_swigt__p_wxDuplexMode,
48522 &_swigt__p_wxEraseEvent,
48523 &_swigt__p_wxEvent,
48524 &_swigt__p_wxEvtHandler,
48525 &_swigt__p_wxFSFile,
48526 &_swigt__p_wxFileDirPickerEvent,
48527 &_swigt__p_wxFilePickerCtrl,
48528 &_swigt__p_wxFileSystem,
48529 &_swigt__p_wxFlexGridSizer,
48530 &_swigt__p_wxFocusEvent,
48531 &_swigt__p_wxFont,
48532 &_swigt__p_wxFontPickerCtrl,
48533 &_swigt__p_wxFontPickerEvent,
48534 &_swigt__p_wxGBSizerItem,
48535 &_swigt__p_wxGIFHandler,
48536 &_swigt__p_wxGauge,
48537 &_swigt__p_wxGenericDirCtrl,
48538 &_swigt__p_wxGenericDragImage,
48539 &_swigt__p_wxGridBagSizer,
48540 &_swigt__p_wxGridSizer,
48541 &_swigt__p_wxHelpEvent,
48542 &_swigt__p_wxHelpProvider,
48543 &_swigt__p_wxHyperlinkCtrl,
48544 &_swigt__p_wxHyperlinkEvent,
48545 &_swigt__p_wxICOHandler,
48546 &_swigt__p_wxIcon,
48547 &_swigt__p_wxIconizeEvent,
48548 &_swigt__p_wxIdleEvent,
48549 &_swigt__p_wxImage,
48550 &_swigt__p_wxImageHandler,
48551 &_swigt__p_wxImageList,
48552 &_swigt__p_wxIndividualLayoutConstraint,
48553 &_swigt__p_wxInitDialogEvent,
48554 &_swigt__p_wxItemContainer,
48555 &_swigt__p_wxJPEGHandler,
48556 &_swigt__p_wxKeyEvent,
48557 &_swigt__p_wxLayoutConstraints,
48558 &_swigt__p_wxListBox,
48559 &_swigt__p_wxListEvent,
48560 &_swigt__p_wxListItem,
48561 &_swigt__p_wxListItemAttr,
48562 &_swigt__p_wxListView,
48563 &_swigt__p_wxListbook,
48564 &_swigt__p_wxListbookEvent,
48565 &_swigt__p_wxMaximizeEvent,
48566 &_swigt__p_wxMemoryDC,
48567 &_swigt__p_wxMenu,
48568 &_swigt__p_wxMenuBar,
48569 &_swigt__p_wxMenuEvent,
48570 &_swigt__p_wxMenuItem,
48571 &_swigt__p_wxMouseCaptureChangedEvent,
48572 &_swigt__p_wxMouseCaptureLostEvent,
48573 &_swigt__p_wxMouseEvent,
48574 &_swigt__p_wxMoveEvent,
48575 &_swigt__p_wxNavigationKeyEvent,
48576 &_swigt__p_wxNcPaintEvent,
48577 &_swigt__p_wxNotebook,
48578 &_swigt__p_wxNotebookEvent,
48579 &_swigt__p_wxNotifyEvent,
48580 &_swigt__p_wxObject,
48581 &_swigt__p_wxPCXHandler,
48582 &_swigt__p_wxPNGHandler,
48583 &_swigt__p_wxPNMHandler,
48584 &_swigt__p_wxPaintEvent,
48585 &_swigt__p_wxPaletteChangedEvent,
48586 &_swigt__p_wxPaperSize,
48587 &_swigt__p_wxPickerBase,
48588 &_swigt__p_wxPoint,
48589 &_swigt__p_wxPyApp,
48590 &_swigt__p_wxPyCommandEvent,
48591 &_swigt__p_wxPyControl,
48592 &_swigt__p_wxPyEvent,
48593 &_swigt__p_wxPyImageHandler,
48594 &_swigt__p_wxPyListCtrl,
48595 &_swigt__p_wxPySizer,
48596 &_swigt__p_wxPyTreeCtrl,
48597 &_swigt__p_wxPyTreeItemData,
48598 &_swigt__p_wxPyValidator,
48599 &_swigt__p_wxQueryNewPaletteEvent,
48600 &_swigt__p_wxRadioBox,
48601 &_swigt__p_wxRadioButton,
48602 &_swigt__p_wxRect,
48603 &_swigt__p_wxScrollBar,
48604 &_swigt__p_wxScrollEvent,
48605 &_swigt__p_wxScrollWinEvent,
48606 &_swigt__p_wxSetCursorEvent,
48607 &_swigt__p_wxShowEvent,
48608 &_swigt__p_wxSimpleHelpProvider,
48609 &_swigt__p_wxSize,
48610 &_swigt__p_wxSizeEvent,
48611 &_swigt__p_wxSizer,
48612 &_swigt__p_wxSizerItem,
48613 &_swigt__p_wxSlider,
48614 &_swigt__p_wxSpinButton,
48615 &_swigt__p_wxSpinCtrl,
48616 &_swigt__p_wxSpinEvent,
48617 &_swigt__p_wxStaticBitmap,
48618 &_swigt__p_wxStaticBox,
48619 &_swigt__p_wxStaticBoxSizer,
48620 &_swigt__p_wxStaticLine,
48621 &_swigt__p_wxStaticText,
48622 &_swigt__p_wxStdDialogButtonSizer,
48623 &_swigt__p_wxString,
48624 &_swigt__p_wxSysColourChangedEvent,
48625 &_swigt__p_wxTGAHandler,
48626 &_swigt__p_wxTIFFHandler,
48627 &_swigt__p_wxTextAttr,
48628 &_swigt__p_wxTextCtrl,
48629 &_swigt__p_wxTextUrlEvent,
48630 &_swigt__p_wxToggleButton,
48631 &_swigt__p_wxToolBar,
48632 &_swigt__p_wxToolBarBase,
48633 &_swigt__p_wxToolBarToolBase,
48634 &_swigt__p_wxToolbook,
48635 &_swigt__p_wxToolbookEvent,
48636 &_swigt__p_wxTreeEvent,
48637 &_swigt__p_wxTreeItemId,
48638 &_swigt__p_wxTreebook,
48639 &_swigt__p_wxTreebookEvent,
48640 &_swigt__p_wxUpdateUIEvent,
48641 &_swigt__p_wxValidator,
48642 &_swigt__p_wxVisualAttributes,
48643 &_swigt__p_wxWindow,
48644 &_swigt__p_wxWindowBase,
48645 &_swigt__p_wxWindowCreateEvent,
48646 &_swigt__p_wxWindowDestroyEvent,
48647 &_swigt__p_wxXPMHandler,
48648 };
48649
48650 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48651 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48658 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48659 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48660 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48661 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48662 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}};
48663 static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
48664 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
48665 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}};
48666 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48668 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
48669 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48671 static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
48672 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
48673 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48676 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48677 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48680 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48681 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48685 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
48686 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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}};
48687 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48688 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
48689 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_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_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_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}};
48690 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
48691 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48692 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48693 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48694 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48695 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48697 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48698 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48699 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
48705 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48706 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48708 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48710 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
48711 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48713 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48714 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48720 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48721 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
48723 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_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_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_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_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}};
48724 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48725 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48726 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48727 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
48728 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_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_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_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_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_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}};
48729 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48730 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48731 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
48732 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48734 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48735 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48736 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48737 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48738 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}};
48739 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48740 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
48741 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48742 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48743 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}};
48744 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48745 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}};
48746 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48747 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48748 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48749 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48750 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48751 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48752 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48753 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48754 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48755 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48756 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
48757 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
48758 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48759 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48760 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48761 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48762 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48763 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48764 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48765 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48766 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48767 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48768 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48769 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
48770 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48771 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48772 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48773 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
48774 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
48775 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48776 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48777 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48778 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
48779 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48780 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48781 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48782 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
48783 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
48784 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
48785 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
48786 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48787 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
48788 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_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_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_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_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_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_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_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_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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}};
48789 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
48790 static swig_cast_info _swigc__p_wxPickerBase[] = { {&_swigt__p_wxPickerBase, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxPickerBase, 0, 0},{0, 0, 0, 0}};
48791 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48792 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48793 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}};
48794 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
48795 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
48796 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
48797 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
48798 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48799 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
48800 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
48801 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48802 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
48803 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
48804 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
48805 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
48806 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
48807 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48808 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
48809 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
48810 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
48811 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
48812 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
48813 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
48814 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
48815 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
48816 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}};
48817 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
48818 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
48819 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48820 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
48821 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
48822 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
48823 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48824 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}};
48825 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
48826 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_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_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_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}};
48827 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
48828
48829 static swig_cast_info *swig_cast_initial[] = {
48830 _swigc__p_bool,
48831 _swigc__p_char,
48832 _swigc__p_form_ops_t,
48833 _swigc__p_int,
48834 _swigc__p_long,
48835 _swigc__p_unsigned_char,
48836 _swigc__p_unsigned_int,
48837 _swigc__p_unsigned_long,
48838 _swigc__p_void,
48839 _swigc__p_wxANIHandler,
48840 _swigc__p_wxAcceleratorTable,
48841 _swigc__p_wxActivateEvent,
48842 _swigc__p_wxArrayInt,
48843 _swigc__p_wxArrayString,
48844 _swigc__p_wxBMPHandler,
48845 _swigc__p_wxBitmap,
48846 _swigc__p_wxBitmapButton,
48847 _swigc__p_wxBookCtrlBase,
48848 _swigc__p_wxBookCtrlBaseEvent,
48849 _swigc__p_wxBoxSizer,
48850 _swigc__p_wxButton,
48851 _swigc__p_wxCURHandler,
48852 _swigc__p_wxCheckBox,
48853 _swigc__p_wxCheckListBox,
48854 _swigc__p_wxChildFocusEvent,
48855 _swigc__p_wxChoice,
48856 _swigc__p_wxChoicebook,
48857 _swigc__p_wxChoicebookEvent,
48858 _swigc__p_wxClipboardTextEvent,
48859 _swigc__p_wxCloseEvent,
48860 _swigc__p_wxCollapsiblePane,
48861 _swigc__p_wxCollapsiblePaneEvent,
48862 _swigc__p_wxColour,
48863 _swigc__p_wxColourPickerCtrl,
48864 _swigc__p_wxColourPickerEvent,
48865 _swigc__p_wxComboBox,
48866 _swigc__p_wxCommandEvent,
48867 _swigc__p_wxContextHelp,
48868 _swigc__p_wxContextHelpButton,
48869 _swigc__p_wxContextMenuEvent,
48870 _swigc__p_wxControl,
48871 _swigc__p_wxControlWithItems,
48872 _swigc__p_wxCursor,
48873 _swigc__p_wxDC,
48874 _swigc__p_wxDateEvent,
48875 _swigc__p_wxDatePickerCtrl,
48876 _swigc__p_wxDateTime,
48877 _swigc__p_wxDirFilterListCtrl,
48878 _swigc__p_wxDirPickerCtrl,
48879 _swigc__p_wxDisplayChangedEvent,
48880 _swigc__p_wxDropFilesEvent,
48881 _swigc__p_wxDuplexMode,
48882 _swigc__p_wxEraseEvent,
48883 _swigc__p_wxEvent,
48884 _swigc__p_wxEvtHandler,
48885 _swigc__p_wxFSFile,
48886 _swigc__p_wxFileDirPickerEvent,
48887 _swigc__p_wxFilePickerCtrl,
48888 _swigc__p_wxFileSystem,
48889 _swigc__p_wxFlexGridSizer,
48890 _swigc__p_wxFocusEvent,
48891 _swigc__p_wxFont,
48892 _swigc__p_wxFontPickerCtrl,
48893 _swigc__p_wxFontPickerEvent,
48894 _swigc__p_wxGBSizerItem,
48895 _swigc__p_wxGIFHandler,
48896 _swigc__p_wxGauge,
48897 _swigc__p_wxGenericDirCtrl,
48898 _swigc__p_wxGenericDragImage,
48899 _swigc__p_wxGridBagSizer,
48900 _swigc__p_wxGridSizer,
48901 _swigc__p_wxHelpEvent,
48902 _swigc__p_wxHelpProvider,
48903 _swigc__p_wxHyperlinkCtrl,
48904 _swigc__p_wxHyperlinkEvent,
48905 _swigc__p_wxICOHandler,
48906 _swigc__p_wxIcon,
48907 _swigc__p_wxIconizeEvent,
48908 _swigc__p_wxIdleEvent,
48909 _swigc__p_wxImage,
48910 _swigc__p_wxImageHandler,
48911 _swigc__p_wxImageList,
48912 _swigc__p_wxIndividualLayoutConstraint,
48913 _swigc__p_wxInitDialogEvent,
48914 _swigc__p_wxItemContainer,
48915 _swigc__p_wxJPEGHandler,
48916 _swigc__p_wxKeyEvent,
48917 _swigc__p_wxLayoutConstraints,
48918 _swigc__p_wxListBox,
48919 _swigc__p_wxListEvent,
48920 _swigc__p_wxListItem,
48921 _swigc__p_wxListItemAttr,
48922 _swigc__p_wxListView,
48923 _swigc__p_wxListbook,
48924 _swigc__p_wxListbookEvent,
48925 _swigc__p_wxMaximizeEvent,
48926 _swigc__p_wxMemoryDC,
48927 _swigc__p_wxMenu,
48928 _swigc__p_wxMenuBar,
48929 _swigc__p_wxMenuEvent,
48930 _swigc__p_wxMenuItem,
48931 _swigc__p_wxMouseCaptureChangedEvent,
48932 _swigc__p_wxMouseCaptureLostEvent,
48933 _swigc__p_wxMouseEvent,
48934 _swigc__p_wxMoveEvent,
48935 _swigc__p_wxNavigationKeyEvent,
48936 _swigc__p_wxNcPaintEvent,
48937 _swigc__p_wxNotebook,
48938 _swigc__p_wxNotebookEvent,
48939 _swigc__p_wxNotifyEvent,
48940 _swigc__p_wxObject,
48941 _swigc__p_wxPCXHandler,
48942 _swigc__p_wxPNGHandler,
48943 _swigc__p_wxPNMHandler,
48944 _swigc__p_wxPaintEvent,
48945 _swigc__p_wxPaletteChangedEvent,
48946 _swigc__p_wxPaperSize,
48947 _swigc__p_wxPickerBase,
48948 _swigc__p_wxPoint,
48949 _swigc__p_wxPyApp,
48950 _swigc__p_wxPyCommandEvent,
48951 _swigc__p_wxPyControl,
48952 _swigc__p_wxPyEvent,
48953 _swigc__p_wxPyImageHandler,
48954 _swigc__p_wxPyListCtrl,
48955 _swigc__p_wxPySizer,
48956 _swigc__p_wxPyTreeCtrl,
48957 _swigc__p_wxPyTreeItemData,
48958 _swigc__p_wxPyValidator,
48959 _swigc__p_wxQueryNewPaletteEvent,
48960 _swigc__p_wxRadioBox,
48961 _swigc__p_wxRadioButton,
48962 _swigc__p_wxRect,
48963 _swigc__p_wxScrollBar,
48964 _swigc__p_wxScrollEvent,
48965 _swigc__p_wxScrollWinEvent,
48966 _swigc__p_wxSetCursorEvent,
48967 _swigc__p_wxShowEvent,
48968 _swigc__p_wxSimpleHelpProvider,
48969 _swigc__p_wxSize,
48970 _swigc__p_wxSizeEvent,
48971 _swigc__p_wxSizer,
48972 _swigc__p_wxSizerItem,
48973 _swigc__p_wxSlider,
48974 _swigc__p_wxSpinButton,
48975 _swigc__p_wxSpinCtrl,
48976 _swigc__p_wxSpinEvent,
48977 _swigc__p_wxStaticBitmap,
48978 _swigc__p_wxStaticBox,
48979 _swigc__p_wxStaticBoxSizer,
48980 _swigc__p_wxStaticLine,
48981 _swigc__p_wxStaticText,
48982 _swigc__p_wxStdDialogButtonSizer,
48983 _swigc__p_wxString,
48984 _swigc__p_wxSysColourChangedEvent,
48985 _swigc__p_wxTGAHandler,
48986 _swigc__p_wxTIFFHandler,
48987 _swigc__p_wxTextAttr,
48988 _swigc__p_wxTextCtrl,
48989 _swigc__p_wxTextUrlEvent,
48990 _swigc__p_wxToggleButton,
48991 _swigc__p_wxToolBar,
48992 _swigc__p_wxToolBarBase,
48993 _swigc__p_wxToolBarToolBase,
48994 _swigc__p_wxToolbook,
48995 _swigc__p_wxToolbookEvent,
48996 _swigc__p_wxTreeEvent,
48997 _swigc__p_wxTreeItemId,
48998 _swigc__p_wxTreebook,
48999 _swigc__p_wxTreebookEvent,
49000 _swigc__p_wxUpdateUIEvent,
49001 _swigc__p_wxValidator,
49002 _swigc__p_wxVisualAttributes,
49003 _swigc__p_wxWindow,
49004 _swigc__p_wxWindowBase,
49005 _swigc__p_wxWindowCreateEvent,
49006 _swigc__p_wxWindowDestroyEvent,
49007 _swigc__p_wxXPMHandler,
49008 };
49009
49010
49011 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49012
49013 static swig_const_info swig_const_table[] = {
49014 {0, 0, 0, 0.0, 0, 0}};
49015
49016 #ifdef __cplusplus
49017 }
49018 #endif
49019 /* -----------------------------------------------------------------------------
49020 * Type initialization:
49021 * This problem is tough by the requirement that no dynamic
49022 * memory is used. Also, since swig_type_info structures store pointers to
49023 * swig_cast_info structures and swig_cast_info structures store pointers back
49024 * to swig_type_info structures, we need some lookup code at initialization.
49025 * The idea is that swig generates all the structures that are needed.
49026 * The runtime then collects these partially filled structures.
49027 * The SWIG_InitializeModule function takes these initial arrays out of
49028 * swig_module, and does all the lookup, filling in the swig_module.types
49029 * array with the correct data and linking the correct swig_cast_info
49030 * structures together.
49031 *
49032 * The generated swig_type_info structures are assigned staticly to an initial
49033 * array. We just loop though that array, and handle each type individually.
49034 * First we lookup if this type has been already loaded, and if so, use the
49035 * loaded structure instead of the generated one. Then we have to fill in the
49036 * cast linked list. The cast data is initially stored in something like a
49037 * two-dimensional array. Each row corresponds to a type (there are the same
49038 * number of rows as there are in the swig_type_initial array). Each entry in
49039 * a column is one of the swig_cast_info structures for that type.
49040 * The cast_initial array is actually an array of arrays, because each row has
49041 * a variable number of columns. So to actually build the cast linked list,
49042 * we find the array of casts associated with the type, and loop through it
49043 * adding the casts to the list. The one last trick we need to do is making
49044 * sure the type pointer in the swig_cast_info struct is correct.
49045 *
49046 * First off, we lookup the cast->type name to see if it is already loaded.
49047 * There are three cases to handle:
49048 * 1) If the cast->type has already been loaded AND the type we are adding
49049 * casting info to has not been loaded (it is in this module), THEN we
49050 * replace the cast->type pointer with the type pointer that has already
49051 * been loaded.
49052 * 2) If BOTH types (the one we are adding casting info to, and the
49053 * cast->type) are loaded, THEN the cast info has already been loaded by
49054 * the previous module so we just ignore it.
49055 * 3) Finally, if cast->type has not already been loaded, then we add that
49056 * swig_cast_info to the linked list (because the cast->type) pointer will
49057 * be correct.
49058 * ----------------------------------------------------------------------------- */
49059
49060 #ifdef __cplusplus
49061 extern "C" {
49062 #if 0
49063 } /* c-mode */
49064 #endif
49065 #endif
49066
49067 #if 0
49068 #define SWIGRUNTIME_DEBUG
49069 #endif
49070
49071 SWIGRUNTIME void
49072 SWIG_InitializeModule(void *clientdata) {
49073 size_t i;
49074 swig_module_info *module_head;
49075 static int init_run = 0;
49076
49077 clientdata = clientdata;
49078
49079 if (init_run) return;
49080 init_run = 1;
49081
49082 /* Initialize the swig_module */
49083 swig_module.type_initial = swig_type_initial;
49084 swig_module.cast_initial = swig_cast_initial;
49085
49086 /* Try and load any already created modules */
49087 module_head = SWIG_GetModule(clientdata);
49088 if (module_head) {
49089 swig_module.next = module_head->next;
49090 module_head->next = &swig_module;
49091 } else {
49092 /* This is the first module loaded */
49093 swig_module.next = &swig_module;
49094 SWIG_SetModule(clientdata, &swig_module);
49095 }
49096
49097 /* Now work on filling in swig_module.types */
49098 #ifdef SWIGRUNTIME_DEBUG
49099 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
49100 #endif
49101 for (i = 0; i < swig_module.size; ++i) {
49102 swig_type_info *type = 0;
49103 swig_type_info *ret;
49104 swig_cast_info *cast;
49105
49106 #ifdef SWIGRUNTIME_DEBUG
49107 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49108 #endif
49109
49110 /* if there is another module already loaded */
49111 if (swig_module.next != &swig_module) {
49112 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
49113 }
49114 if (type) {
49115 /* Overwrite clientdata field */
49116 #ifdef SWIGRUNTIME_DEBUG
49117 printf("SWIG_InitializeModule: found type %s\n", type->name);
49118 #endif
49119 if (swig_module.type_initial[i]->clientdata) {
49120 type->clientdata = swig_module.type_initial[i]->clientdata;
49121 #ifdef SWIGRUNTIME_DEBUG
49122 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
49123 #endif
49124 }
49125 } else {
49126 type = swig_module.type_initial[i];
49127 }
49128
49129 /* Insert casting types */
49130 cast = swig_module.cast_initial[i];
49131 while (cast->type) {
49132 /* Don't need to add information already in the list */
49133 ret = 0;
49134 #ifdef SWIGRUNTIME_DEBUG
49135 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
49136 #endif
49137 if (swig_module.next != &swig_module) {
49138 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
49139 #ifdef SWIGRUNTIME_DEBUG
49140 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
49141 #endif
49142 }
49143 if (ret) {
49144 if (type == swig_module.type_initial[i]) {
49145 #ifdef SWIGRUNTIME_DEBUG
49146 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
49147 #endif
49148 cast->type = ret;
49149 ret = 0;
49150 } else {
49151 /* Check for casting already in the list */
49152 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
49153 #ifdef SWIGRUNTIME_DEBUG
49154 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
49155 #endif
49156 if (!ocast) ret = 0;
49157 }
49158 }
49159
49160 if (!ret) {
49161 #ifdef SWIGRUNTIME_DEBUG
49162 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
49163 #endif
49164 if (type->cast) {
49165 type->cast->prev = cast;
49166 cast->next = type->cast;
49167 }
49168 type->cast = cast;
49169 }
49170 cast++;
49171 }
49172 /* Set entry in modules->types array equal to the type */
49173 swig_module.types[i] = type;
49174 }
49175 swig_module.types[i] = 0;
49176
49177 #ifdef SWIGRUNTIME_DEBUG
49178 printf("**** SWIG_InitializeModule: Cast List ******\n");
49179 for (i = 0; i < swig_module.size; ++i) {
49180 int j = 0;
49181 swig_cast_info *cast = swig_module.cast_initial[i];
49182 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49183 while (cast->type) {
49184 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
49185 cast++;
49186 ++j;
49187 }
49188 printf("---- Total casts: %d\n",j);
49189 }
49190 printf("**** SWIG_InitializeModule: Cast List ******\n");
49191 #endif
49192 }
49193
49194 /* This function will propagate the clientdata field of type to
49195 * any new swig_type_info structures that have been added into the list
49196 * of equivalent types. It is like calling
49197 * SWIG_TypeClientData(type, clientdata) a second time.
49198 */
49199 SWIGRUNTIME void
49200 SWIG_PropagateClientData(void) {
49201 size_t i;
49202 swig_cast_info *equiv;
49203 static int init_run = 0;
49204
49205 if (init_run) return;
49206 init_run = 1;
49207
49208 for (i = 0; i < swig_module.size; i++) {
49209 if (swig_module.types[i]->clientdata) {
49210 equiv = swig_module.types[i]->cast;
49211 while (equiv) {
49212 if (!equiv->converter) {
49213 if (equiv->type && !equiv->type->clientdata)
49214 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
49215 }
49216 equiv = equiv->next;
49217 }
49218 }
49219 }
49220 }
49221
49222 #ifdef __cplusplus
49223 #if 0
49224 {
49225 /* c-mode */
49226 #endif
49227 }
49228 #endif
49229
49230
49231
49232 #ifdef __cplusplus
49233 extern "C" {
49234 #endif
49235
49236 /* Python-specific SWIG API */
49237 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49238 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49239 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49240
49241 /* -----------------------------------------------------------------------------
49242 * global variable support code.
49243 * ----------------------------------------------------------------------------- */
49244
49245 typedef struct swig_globalvar {
49246 char *name; /* Name of global variable */
49247 PyObject *(*get_attr)(void); /* Return the current value */
49248 int (*set_attr)(PyObject *); /* Set the value */
49249 struct swig_globalvar *next;
49250 } swig_globalvar;
49251
49252 typedef struct swig_varlinkobject {
49253 PyObject_HEAD
49254 swig_globalvar *vars;
49255 } swig_varlinkobject;
49256
49257 SWIGINTERN PyObject *
49258 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
49259 return PyString_FromString("<Swig global variables>");
49260 }
49261
49262 SWIGINTERN PyObject *
49263 swig_varlink_str(swig_varlinkobject *v) {
49264 PyObject *str = PyString_FromString("(");
49265 swig_globalvar *var;
49266 for (var = v->vars; var; var=var->next) {
49267 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
49268 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
49269 }
49270 PyString_ConcatAndDel(&str,PyString_FromString(")"));
49271 return str;
49272 }
49273
49274 SWIGINTERN int
49275 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
49276 PyObject *str = swig_varlink_str(v);
49277 fprintf(fp,"Swig global variables ");
49278 fprintf(fp,"%s\n", PyString_AsString(str));
49279 Py_DECREF(str);
49280 return 0;
49281 }
49282
49283 SWIGINTERN void
49284 swig_varlink_dealloc(swig_varlinkobject *v) {
49285 swig_globalvar *var = v->vars;
49286 while (var) {
49287 swig_globalvar *n = var->next;
49288 free(var->name);
49289 free(var);
49290 var = n;
49291 }
49292 }
49293
49294 SWIGINTERN PyObject *
49295 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
49296 PyObject *res = NULL;
49297 swig_globalvar *var = v->vars;
49298 while (var) {
49299 if (strcmp(var->name,n) == 0) {
49300 res = (*var->get_attr)();
49301 break;
49302 }
49303 var = var->next;
49304 }
49305 if (res == NULL && !PyErr_Occurred()) {
49306 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
49307 }
49308 return res;
49309 }
49310
49311 SWIGINTERN int
49312 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
49313 int res = 1;
49314 swig_globalvar *var = v->vars;
49315 while (var) {
49316 if (strcmp(var->name,n) == 0) {
49317 res = (*var->set_attr)(p);
49318 break;
49319 }
49320 var = var->next;
49321 }
49322 if (res == 1 && !PyErr_Occurred()) {
49323 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
49324 }
49325 return res;
49326 }
49327
49328 SWIGINTERN PyTypeObject*
49329 swig_varlink_type(void) {
49330 static char varlink__doc__[] = "Swig var link object";
49331 static PyTypeObject varlink_type;
49332 static int type_init = 0;
49333 if (!type_init) {
49334 const PyTypeObject tmp
49335 = {
49336 PyObject_HEAD_INIT(NULL)
49337 0, /* Number of items in variable part (ob_size) */
49338 (char *)"swigvarlink", /* Type name (tp_name) */
49339 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
49340 0, /* Itemsize (tp_itemsize) */
49341 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
49342 (printfunc) swig_varlink_print, /* Print (tp_print) */
49343 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
49344 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
49345 0, /* tp_compare */
49346 (reprfunc) swig_varlink_repr, /* tp_repr */
49347 0, /* tp_as_number */
49348 0, /* tp_as_sequence */
49349 0, /* tp_as_mapping */
49350 0, /* tp_hash */
49351 0, /* tp_call */
49352 (reprfunc)swig_varlink_str, /* tp_str */
49353 0, /* tp_getattro */
49354 0, /* tp_setattro */
49355 0, /* tp_as_buffer */
49356 0, /* tp_flags */
49357 varlink__doc__, /* tp_doc */
49358 0, /* tp_traverse */
49359 0, /* tp_clear */
49360 0, /* tp_richcompare */
49361 0, /* tp_weaklistoffset */
49362 #if PY_VERSION_HEX >= 0x02020000
49363 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49364 #endif
49365 #if PY_VERSION_HEX >= 0x02030000
49366 0, /* tp_del */
49367 #endif
49368 #ifdef COUNT_ALLOCS
49369 0,0,0,0 /* tp_alloc -> tp_next */
49370 #endif
49371 };
49372 varlink_type = tmp;
49373 varlink_type.ob_type = &PyType_Type;
49374 type_init = 1;
49375 }
49376 return &varlink_type;
49377 }
49378
49379 /* Create a variable linking object for use later */
49380 SWIGINTERN PyObject *
49381 SWIG_Python_newvarlink(void) {
49382 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
49383 if (result) {
49384 result->vars = 0;
49385 }
49386 return ((PyObject*) result);
49387 }
49388
49389 SWIGINTERN void
49390 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
49391 swig_varlinkobject *v = (swig_varlinkobject *) p;
49392 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
49393 if (gv) {
49394 size_t size = strlen(name)+1;
49395 gv->name = (char *)malloc(size);
49396 if (gv->name) {
49397 strncpy(gv->name,name,size);
49398 gv->get_attr = get_attr;
49399 gv->set_attr = set_attr;
49400 gv->next = v->vars;
49401 }
49402 }
49403 v->vars = gv;
49404 }
49405
49406 SWIGINTERN PyObject *
49407 SWIG_globals() {
49408 static PyObject *_SWIG_globals = 0;
49409 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
49410 return _SWIG_globals;
49411 }
49412
49413 /* -----------------------------------------------------------------------------
49414 * constants/methods manipulation
49415 * ----------------------------------------------------------------------------- */
49416
49417 /* Install Constants */
49418 SWIGINTERN void
49419 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
49420 PyObject *obj = 0;
49421 size_t i;
49422 for (i = 0; constants[i].type; ++i) {
49423 switch(constants[i].type) {
49424 case SWIG_PY_POINTER:
49425 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
49426 break;
49427 case SWIG_PY_BINARY:
49428 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
49429 break;
49430 default:
49431 obj = 0;
49432 break;
49433 }
49434 if (obj) {
49435 PyDict_SetItemString(d, constants[i].name, obj);
49436 Py_DECREF(obj);
49437 }
49438 }
49439 }
49440
49441 /* -----------------------------------------------------------------------------*/
49442 /* Fix SwigMethods to carry the callback ptrs when needed */
49443 /* -----------------------------------------------------------------------------*/
49444
49445 SWIGINTERN void
49446 SWIG_Python_FixMethods(PyMethodDef *methods,
49447 swig_const_info *const_table,
49448 swig_type_info **types,
49449 swig_type_info **types_initial) {
49450 size_t i;
49451 for (i = 0; methods[i].ml_name; ++i) {
49452 const char *c = methods[i].ml_doc;
49453 if (c && (c = strstr(c, "swig_ptr: "))) {
49454 int j;
49455 swig_const_info *ci = 0;
49456 const char *name = c + 10;
49457 for (j = 0; const_table[j].type; ++j) {
49458 if (strncmp(const_table[j].name, name,
49459 strlen(const_table[j].name)) == 0) {
49460 ci = &(const_table[j]);
49461 break;
49462 }
49463 }
49464 if (ci) {
49465 size_t shift = (ci->ptype) - types;
49466 swig_type_info *ty = types_initial[shift];
49467 size_t ldoc = (c - methods[i].ml_doc);
49468 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
49469 char *ndoc = (char*)malloc(ldoc + lptr + 10);
49470 if (ndoc) {
49471 char *buff = ndoc;
49472 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
49473 if (ptr) {
49474 strncpy(buff, methods[i].ml_doc, ldoc);
49475 buff += ldoc;
49476 strncpy(buff, "swig_ptr: ", 10);
49477 buff += 10;
49478 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
49479 methods[i].ml_doc = ndoc;
49480 }
49481 }
49482 }
49483 }
49484 }
49485 }
49486
49487 #ifdef __cplusplus
49488 }
49489 #endif
49490
49491 /* -----------------------------------------------------------------------------*
49492 * Partial Init method
49493 * -----------------------------------------------------------------------------*/
49494
49495 #ifdef __cplusplus
49496 extern "C"
49497 #endif
49498 SWIGEXPORT void SWIG_init(void) {
49499 PyObject *m, *d;
49500
49501 /* Fix SwigMethods to carry the callback ptrs when needed */
49502 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
49503
49504 m = Py_InitModule((char *) SWIG_name, SwigMethods);
49505 d = PyModule_GetDict(m);
49506
49507 SWIG_InitializeModule(0);
49508 SWIG_InstallConstants(d,swig_const_table);
49509
49510
49511 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
49512 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
49513 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
49514 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
49515 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
49516 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
49517 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
49518 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
49519 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
49520 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
49521 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
49522 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
49523 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
49524 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
49525 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
49526 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
49527 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
49528 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
49529 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
49530 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
49531 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
49532 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
49533 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
49534 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
49535 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
49536 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
49537 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
49538 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
49539 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
49540 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
49541 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
49542 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
49543 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
49544 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
49545 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
49546 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
49547 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
49548 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
49549 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
49550 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
49551 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
49552 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
49553 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
49554 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
49555 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
49556 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
49557 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
49558 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
49559 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
49560 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
49561 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
49562 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
49563 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
49564 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
49565 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
49566 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
49567 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
49568 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
49569 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
49570 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
49571 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
49572 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
49573 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
49574 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
49575 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
49576 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
49577 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
49578 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
49579 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
49580 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
49581 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
49582 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
49583 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
49584 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
49585 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
49586 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
49587 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
49588 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
49589 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
49590 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
49591 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
49592 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
49593 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
49594 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
49595 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
49596 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
49597 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
49598 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
49599 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
49600 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
49601 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
49602 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
49603 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
49604 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
49605 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
49606 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
49607 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
49608 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
49609 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
49610 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
49611 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
49612 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
49613 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
49614 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
49615 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
49616 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
49617 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
49618 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
49619 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
49620 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
49621 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
49622 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
49623 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
49624 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
49625 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
49626 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
49627 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
49628 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
49629 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
49630 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
49631 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
49632 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
49633 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
49634 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
49635 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
49636 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
49637 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
49638 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
49639 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
49640 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
49641 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
49642 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
49643 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
49644 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
49645 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49646 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49647 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49648 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49649 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49650 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49651 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49652 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49653 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49654 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49655 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49656 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49657 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49658 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49659 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49660 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49661 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49662 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49663 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49664 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49665 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49666 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
49667 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
49668 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
49669 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49670 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
49671 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49672 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49673 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49674 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49675 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49676 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49677 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49678 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49679 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
49680 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
49681 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49682 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49683 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49684 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49685 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49686 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49687 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49688 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49689 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49690 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49691 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49692 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49693 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49694 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49695 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49696 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49697 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49698 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49699 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49700 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49701 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49702 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49703 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49704 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49705 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49706 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49707 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49708 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49709 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49710 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49711 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49712 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49713 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49714 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49715 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49716 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49717 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49718 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49719 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49720 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49721 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49722 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49723 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49724 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49725 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49726 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49727 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
49728 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
49729 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49730 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49731 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49732 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49733 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49734 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49735 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49736 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49737 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49738 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49739 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49740 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49741 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49742 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49743 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49744 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49745 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49746 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49747 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49748 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49749 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49750 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49751 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49752 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49753 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49754 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49755 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49756 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49757 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49758 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49759 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49760 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49761 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49762 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49763 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49764 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49765 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49766 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49767 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49768 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49769 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49770 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49771
49772 // Map renamed classes back to their common name for OOR
49773 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49774
49775 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49776 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49777 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49778 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49779 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49780 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49781 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49782 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49783 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49784 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49785 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49786 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49787 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49788 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49789 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
49790 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49791 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49792 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49793 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49794 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
49795 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
49796 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
49797 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
49798 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
49799 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
49800 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
49801 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
49802 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
49803 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
49804 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
49805 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
49806 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
49807 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
49808 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
49809 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
49810 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
49811 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
49812 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
49813 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
49814 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
49815 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
49816 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
49817 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
49818 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
49819 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
49820 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
49821 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
49822 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
49823 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
49824 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
49825 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
49826 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
49827 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
49828 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
49829 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
49830 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
49831
49832 // Map renamed classes back to their common name for OOR
49833 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49834 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49835
49836 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
49837 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
49838 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
49839 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
49840 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
49841 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
49842 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
49843 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
49844 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
49845 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
49846 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
49847
49848 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49849
49850 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
49851 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
49852 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
49853 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
49854 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
49855 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
49856 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
49857 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
49858 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
49859 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
49860 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
49861 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
49862 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
49863 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
49864 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
49865 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
49866 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
49867 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
49868 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
49869 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
49870 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
49871 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
49872 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
49873 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
49874 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
49875 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
49876 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
49877 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
49878 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
49879 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
49880 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
49881 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
49882 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
49883 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
49884 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
49885 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
49886 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
49887 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
49888 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
49889 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
49890 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
49891 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
49892 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
49893 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
49894 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
49895 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
49896 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
49897 }
49898